/* AMTL – main.css
   Aufbau: 1 Schriften · 2 Variablen · 3 Basis · 4 Layout · 5 Header/Navigation · 6 Seitenkopf · 7 Inhalt
           8 Komponenten · 9 Startseite · 10 Footer · 11 Plugins · 12 Alt-Klassen aus Inhalten · 13 Hilfsklassen · 14 Druck
   Umbruchpunkte: 600px (Tablet hoch / Handy quer) und 1024px (Tablet quer, Laptop, alte PCs). Alles dazwischen fluid. */

/* 1 Schriften (lokal, woff2, nur benötigte Schnitte) */
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-300.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-400italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-600italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Dosis"; src: url(../fonts/dosis-300.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Dosis"; src: url(../fonts/dosis-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Dosis"; src: url(../fonts/dosis-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Dosis"; src: url(../fonts/dosis-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Dosis"; src: url(../fonts/dosis-800.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* 2 Variablen */
:root {
	/* Farben – alle im Customizer → Design änderbar */
	--blue: #0076c9;
	--blue-dark: #005a9c;
	--blue-form: #17a8e3;
	--ink: #2b2b2b;
	--muted: #555;
	--grey-1: #f3f3f3;
	--grey-2: #e1e1e1;
	--grey-line: #d4d4d4;
	--grey-head: #9e9e9e;
	--head-ink: #000;
	--grey-quote: #757575;
	--footer-bg: #e3e3e3;
	--blue-on-grey: #0069b8; /* Blau auf grauen Flächen (5,1:1 auf #f3f3f3) */
	--info-bg: #e1e1e1;
	--badge: #e00000;
	--beige: #e5e4db;
	--red: #c42d2d;
	--gold: #cda647;
	--white: #fff;
	--bg: #fff;
	--header-bg: #fff;
	--tile-bg: #fff;
	--tile-border: transparent;
	--form-bg: #f2f2f2;
	--ink-strong: #000;
	--field-bg: #fff;
	--field-border: #c8c8c8;
	--btn-bg: var(--blue);
	--btn-bg-h: var(--blue-dark);
	--btn-fg: #fff;
	--dot: #cfcfcf;
	--img-dim: 0;
	--logo-filter: none;
	--hist-dim: 0;

	/* Schrift */
	--font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Dosis", "Open Sans", system-ui, sans-serif;
	--fs: 15px;
	--fs-s: calc(var(--fs) - 2px);
	--lh: 1.6;
	--h-scale: 1;
	--title-fs: 28px;
	--menu-fs: 14px;
	--menu-ls: 1px;

	/* Layout & Formen */
	--container: 1500px;
	--text-max: 1100px;
	--gutter-max: 32px;
	--gutter: clamp(16px, 4vw, var(--gutter-max));
	--space: clamp(28px, 4vw, 40px);
	--gap: clamp(16px, 2.4vw, 24px);
	--radius: 2px;
	--btn-h: 40px;
	--logo-h: 92px;
	--footer-shadow: 0 -3px 4px #c2c2c2;
	--hdr-h: 64px;
	--focus: 0 0 0 3px #fff, 0 0 0 5px var(--blue);
}

/* 3 Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 70px); }
body { margin: 0; font: var(--fs)/var(--lh) var(--font-body); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
.entry-content img { display: inline-block; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-head); font-weight: 500; line-height: 1.25; color: var(--ink); text-wrap: balance; }
h1 { font-size: calc(clamp(24px, 2.6vw, 30px) * var(--h-scale)); }
h2 { font-size: calc(clamp(20px, 2.2vw, 24px) * var(--h-scale)); }
h3 { font-size: calc(24px * var(--h-scale)); }
h4 { font-size: calc(17px * var(--h-scale)); }
h5, h6 { font-size: var(--fs); }
p, ul, ol, dl, blockquote, figure, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--grey-2); margin: 1.25em 0; }
blockquote { padding: .6em 1em; background: var(--grey-1); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 6px 8px; border-bottom: 1px solid var(--grey-2); text-align: left; vertical-align: top; }
th { font-weight: 600; }
iframe { border: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--btn-bg); color: var(--btn-fg); }
.skip-link:focus { top: 8px; color: #fff; }

/* 4 Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * .6) 0; }
.section--grey { background: var(--grey-1); }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap) 32px; }
.layout-sidebar > * { min-width: 0; } /* breite Inhalte (Tabellen, Mini-Navi) dürfen die Spalte nicht aufdrücken */
@media (min-width: 1024px) {
	.layout-sidebar:has(> .sidebar) { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}

/* 5 Header & Navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); box-shadow: 0 1px 0 var(--grey-2); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0); }
.site-header__inner { display: flex; align-items: center; gap: 8px 10px; min-height: 64px; padding-block: 10px; }
.site-branding { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; text-decoration: none; }
.site-branding__text { display: grid; }
.custom-logo { width: auto; height: clamp(48px, 8vw, var(--logo-h)); transition: height .25s; }
.is-scrolled .custom-logo { height: min(52px, var(--logo-h)); }
.custom-logo, .site-info__logo img { filter: var(--logo-filter); }
.custom-logo--dark { display: none; }
.site-title { font: 500 clamp(24px, 3vw, 36px)/1 var(--font-head); color: var(--blue); letter-spacing: .04em; }
.site-description { margin: 2px 0 0; font-size: 12px; line-height: 1.2; color: var(--ink-strong); }
.nav-toggle, .search-toggle, .search-dialog__close { display: grid; place-items: center !important; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.search-toggle { order: 3; place-items: center end; }
.theme-toggle { order: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-toggle { order: 4; place-items: center end; color: var(--blue); }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: block; color: var(--ink-strong); text-decoration: none; }
.site-nav .menu-item { position: relative; }
.submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; }
.submenu-toggle svg { transition: transform .2s; }
.submenu-open > .submenu-toggle svg { transform: rotate(180deg); }
.menu-badge { position: relative; top: -.6em; margin-left: 3px; padding: 0 4px 1px; border-radius: 25px; background: var(--badge); color: #fff; font: 600 9px/1.3 var(--font-body); }
.badge-bounce { animation: amtl-bounce 1s cubic-bezier(.1, .05, .05, 1) infinite alternate both; }
@keyframes amtl-bounce { from { top: -.4em; } to { top: -.7em; } }

@media (max-width: 1023.98px) {
	.site-header__inner { flex-wrap: wrap; column-gap: 2px; }
	.site-branding { flex: 1 1 0; }
	.site-nav { display: none; order: 5; flex-basis: 100%; max-height: calc(100dvh - 80px); overflow-y: auto; border-top: 1px solid var(--grey-2); padding-bottom: 16px; }
	.nav-open .site-nav { display: block; }
	.site-nav .menu > .menu-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--grey-2); }
	.site-nav .menu > .menu-item > a { flex: 1; padding: 13px 0; font: 400 16px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: var(--menu-ls); }
	.site-nav .sub-menu { display: none; flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 8px 16px; }
	.site-nav .submenu-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: 10px 0; font-size: 15px; }
	.btn--donate { margin-top: 16px; width: 100%; }
}
@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 4px; order: 2; }
	.site-nav .menu { display: flex; align-items: center; }
	.site-nav .menu > .menu-item { display: flex; align-items: center; }
	.site-nav .menu > .menu-item > a { padding: 10px 7px; font: 300 var(--menu-fs)/1 var(--font-head); text-transform: uppercase; letter-spacing: var(--menu-ls); }
	.site-nav .menu > .menu-item > a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--blue); }
	.site-nav .submenu-toggle { width: 18px; height: 32px; margin-left: -4px; }
	.site-nav .sub-menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 230px; list-style: none; margin: 0; padding: 0; background: var(--header-bg); box-shadow: 0 6px 18px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
	.site-nav .menu-item:hover > .sub-menu, .site-nav .menu-item:focus-within > .sub-menu, .site-nav .submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub-menu .menu-item { border-bottom: 1px solid var(--grey-line); }
	.site-nav .sub-menu a { padding: 9px 14px; font-size: 14px; }
	.site-nav .sub-menu a:hover { background: var(--grey-1); color: var(--blue); }
	.btn--donate { margin-left: 6px; }
}

.search-dialog { width: min(640px, 92vw); padding: 24px 56px 24px 24px; border: 0; background: var(--bg); color: var(--ink); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.search-dialog::backdrop { background: rgba(0,0,0,.55); }
.search-dialog__close { position: absolute; top: 12px; right: 8px; }
.search-form { display: flex; gap: 8px; }
.search-form__field { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--field-bg); }

/* 6 Seitenkopf (grau, nur Titel). Mit .sticky-title bleibt er unter dem Menüband stehen und wird beim Scrollen kleiner. */
.page-header { background: var(--grey-head); color: var(--head-ink); }
.page-header .container { padding-block: 14px 12px; transition: padding .25s; }
.page-header__title { margin: 0; font-size: clamp(20px, 2.2vw + 6px, var(--title-fs)); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--head-ink); transition: font-size .25s; }
.page-header__kicker { margin: 0; font: 600 13px var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.sticky-title .page-header { position: sticky; top: calc(var(--hdr-h) + var(--wp-admin--admin-bar--height, 0px)); z-index: 90; }
.sticky-title.is-scrolled .page-header .container { padding-block: 6px; }
.sticky-title.is-scrolled .page-header__title { font-size: clamp(16px, 1.4vw + 6px, calc(var(--title-fs) * .7)); }
@media (max-width: 599.98px) { .sticky-title.is-scrolled .page-header__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* 7 Inhalt (volle Containerbreite; reiner Fließtext max. --text-max für lesbare Zeilen) */
.entry-content > :is(p, ul, ol, dl, h2, h3, h4, h5, h6, blockquote, hr) { max-width: var(--text-max); }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2 { color: var(--blue); text-transform: uppercase; letter-spacing: .03em; margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.2em; }
.entry-content .wp-caption, .entry-content figure { max-width: 100%; }
.wp-caption-text, figcaption { font-size: var(--fs-s); font-style: italic; line-height: 1.35; color: var(--muted); padding-top: 4px; }
.alignleft { float: left; margin: 0 22px 16px 0; }
.alignright { float: right; margin: 0 0 16px 22px; }
.aligncenter { display: block; margin-inline: auto; }
@media (max-width: 599.98px) { .alignleft, .alignright { float: none; margin: 0 0 16px; } }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.single-post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.post-meta { margin: 0; font-size: var(--fs-s); color: var(--muted); }
.post-meta__cats a { text-decoration: none; }
.post-navigation { margin-top: var(--space); }
.post-navigation .nav-links { display: grid; gap: 12px; }
@media (min-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .nav-next { text-align: right; } }
.post-navigation a { display: grid; gap: 2px; padding: 12px 14px; background: var(--grey-1); color: var(--ink); text-decoration: none; height: 100%; }
.post-navigation .nav-label { font: 600 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-navigation .nav-title { font-weight: 600; }

/* 8 Komponenten */
.btn, .btn-blue, .btn-default { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--btn-h); padding: 6px 18px; border: 0; border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); font: 600 14px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover, .btn-blue:hover, .btn-default:hover { background: var(--btn-bg-h); color: var(--btn-fg); }
.btn--cta { min-width: 10rem; background: var(--cta-btn-bg, var(--beige)); color: var(--cta-btn-fg, #1d1918); box-shadow: var(--cta-btn-shadow, 0 0 18px #202020); }
.btn--cta:hover { background: var(--cta-btn-hbg, #fff); color: var(--cta-btn-hfg, #1d1918); }

.date-tile { display: inline-block; flex: none; text-decoration: none; text-align: center; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.date-tile time { display: grid; min-width: 58px; }
.date-tile__top { padding: 8px 6px 6px; background: var(--btn-bg); color: var(--btn-fg); font: 600 22px/1 var(--font-head); }
.date-tile__bottom { padding: 4px 6px; background: var(--grey-1); color: var(--ink); font-weight: 600; font-size: 13px; }


.card-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--grey-2); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 14px 16px; }
.card__title { margin: 4px 0 6px; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--blue); }
.card__text p { margin: 0; font-size: 14px; color: var(--muted); }
.card.category-history-documents .card__title a, .card.category-history-person .card__title a, .card.category-history-pictures .card__title a, .card.category-history-videos .card__title a { color: var(--red); text-transform: none; }

.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: var(--space); }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--grey-1); color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.pagination .page-numbers.current { background: var(--btn-bg); color: var(--btn-fg); }

.sidebar { display: grid; gap: 20px; align-content: start; font-size: 14px; }
.sidebar .widget { background: var(--grey-1); }
.sidebar .widget-title { margin: 0; padding: 10px 14px; background: var(--grey-2); font-size: 16px; color: var(--ink-strong); }
.sidebar .widget > :not(.widget-title) { padding: 12px 14px; }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { border-bottom: 1px solid var(--grey-2); }
.sidebar .widget li a { display: block; padding: 7px 0; text-decoration: none; }

/* Vorstand [amtl_board] – Zeile 1: Name, Position · Zeile 2: rundes Foto links, Text rechts */
.board { display: grid; gap: 28px; max-width: var(--text-max); margin: 1em 0 2em; }
.person__head { margin: 0 0 10px; font: 500 20px/1.3 var(--font-head); letter-spacing: .02em; color: var(--ink-strong); }
.person__pos { font-weight: 400; color: var(--muted); }
.person__body { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 20px); }
.person__img { flex: none; width: clamp(84px, 10vw, 120px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.person__text { flex: 1; min-width: 0; }
.person__text > :last-child { margin-bottom: 0; }
.person__link { font-size: var(--fs-s); word-break: break-word; }

/* Gebühren-Boxen [amtl_fees] (ACF) */
.fees { margin: 1.5em 0; }
.fees__title { margin: 0 0 .6em; }
.fees__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.fee { display: grid; align-content: start; gap: 4px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--grey-2); border-top: 3px solid var(--blue); border-radius: var(--radius); }
.fee__head { font: 600 15px/1.25 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-strong); }
.fee__desc { font-size: var(--fs-s); line-height: 1.4; color: var(--muted); }
.fee__price { margin-top: 4px; font: 600 26px/1 var(--font-head); color: var(--ink); }
.fee__note { font-size: 12px; font-style: italic; color: var(--muted); }

details { border-bottom: 1px solid var(--grey-2); }
summary { padding: 10px 0; font-weight: 600; cursor: pointer; }

/* 9 Startseite (Konzept 2027) */
@font-face { font-family: "Mutter Krause"; src: url(../fonts/mutter-krause.woff2) format("woff2"); font-weight: 100 400; font-display: swap; }

/* Hero (CTA) und Fundraiser: Foto über die volle Breite, Box unten angedockt */
.front-cta { position: relative; display: grid; align-content: end; min-height: clamp(420px, 44vw, 600px); background: #2c3946 var(--bg-m, var(--bg, none)) var(--pos-m, center) / cover no-repeat; color: var(--cta-text, #fff); }
@media (min-width: 600px) { .front-cta { background-image: var(--bg, none); background-position: var(--pos-t, center); } }
@media (min-width: 1024px) { .front-cta { background-position: var(--pos-d, right center); } }
.front-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 25, 40, calc(.55 + var(--cta-overlay, .15) + var(--img-dim))), rgba(10, 25, 40, calc(var(--cta-overlay, .15) + var(--img-dim))) 70%); }
.front-cta__inner { position: relative; display: grid; justify-items: start; gap: 12px; padding-block: clamp(48px, 7vw, 110px) clamp(20px, 3vw, 36px); text-align: var(--cta-align, left); }
.front-cta__inner > * { max-width: 760px; }
.front-cta__kicker { margin: 0; font: 600 13px/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: #bfe2fa; }
.front-cta__title { margin: 0; font: 500 clamp(30px, 4.4vw, 60px)/1.06 var(--font-head); letter-spacing: .01em; text-transform: none; color: inherit; text-wrap: balance; }
.front-cta__text { margin: 0; max-width: 540px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: inherit; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); text-wrap: pretty; }
.front-cta__inner .btn--cta { margin-top: 6px; }

.front-dock { position: relative; padding-bottom: clamp(20px, 3vw, 40px); }
body { --surface: var(--bg); } /* --bg ist im Hero/Fundraiser das Foto – deshalb eigene Variable für die Box */
.dock-box { display: flex; flex-wrap: wrap; align-items: stretch; position: relative; isolation: isolate; background: transparent; color: var(--ink); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); overflow: hidden; }
.dock-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surface, #fff); opacity: var(--box-alpha, 1); } /* nur die Fläche der Box wird transparent, nicht Text und Buttons */
.dock-box > * { padding: 16px clamp(16px, 2vw, 24px); }
.dock-date { flex: none; display: grid; align-content: center; justify-items: center; width: clamp(76px, 8vw, 100px); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-head); }
.dock-date__yr { display: none; }
.dock-date__mon, .dock-date__wd { font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.2; }
.dock-date__day { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1; }
.dock-box__thumb { flex: none; display: grid; place-items: center; }
.dock-box__thumb img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--blue); object-fit: cover; }
.dock-box__main, .dock-box__deadline { display: grid; align-content: center; gap: 4px; }
.dock-box__main { flex: 1 1 260px; }
.dock-box__deadline { flex: 1 1 200px; border-left: 1px solid var(--grey-2); }
.dock-box__label { font: 600 12px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.dock-box__label--grey { color: var(--muted); }
.dock-box__name { font: 600 clamp(19px, 1.9vw, 25px)/1.15 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
.dock-box__meta { font-size: 14px; color: var(--muted); }
.dock-box__date { font-size: 15px; font-weight: 600; }
.dock-box__days { font-size: 14px; font-weight: 600; color: var(--muted); }
.dock-box__days--soon { color: #8a5a00; }
.dock-box__actions { flex: 1 1 220px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; }
.dock-box--glass { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dock-box .btn--cta { min-width: 0; }
.btn--cta.btn--shadow { box-shadow: 0 0 18px #202020; }
.btn--cta.btn--noshadow { box-shadow: none; }
.dock-box__link { font-size: 14px; font-weight: 600; }
.btn--lg { min-height: 48px; padding-inline: 24px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 599.98px) {
	/* Mobil: Datum + Event | Deadline + Status | ein Button */
	.dock-box { display: grid; grid-template-columns: auto minmax(0, 1fr); }
	.dock-box > * { padding: 12px 14px; }
	.dock-date { width: 72px; }
	.dock-box__label { display: none; }
	.dock-box__name { font-size: 19px; }
	.dock-box__meta { font-size: 13px; }
	/* alle Texte rechts der Datumskachel an einer senkrechten Linie (Spalte 2, gleicher Innenabstand) */
	.dock-date { grid-row: 1 / span 3; align-self: stretch; }
	.dock-box__thumb { grid-row: 1 / span 2; align-self: start; }
	.dock-box__main, .dock-box__deadline, .dock-box__actions { grid-column: 2; }
	.dock-box__deadline { display: grid; justify-items: start; gap: 3px; border-left: 0; border-top: 1px solid var(--grey-2); }
	.dock-box__deadline .dock-box__label { display: block; }
	.dock-box__date { font-size: 14.5px; }
	.dock-box__days { font-size: 13px; font-style: italic; font-weight: 400; }
	.dock-box__actions { display: block; padding-top: 0; }
	/* Button als Textlink: gleiche Linie, gleiche Typo wie der Event-Titel, Hauptfarbe */
	.dock-box__actions .btn,
	.dock-box__actions .btn.btn--shadow { display: inline-flex; justify-content: flex-start; width: auto; min-height: 44px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; color: var(--blue) !important; font: 600 19px/1.15 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
	.dock-box__actions .btn:hover, .dock-box__actions .btn:focus-visible { background: none !important; color: var(--blue-dark, var(--blue)) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
	.dock-box__actions .btn::after { display: none; }
	.dock-box__link { display: none; } /* nur der erste Button (Hero + Fundraiser) */
	.dock-box__thumb img { width: 52px; height: 52px; }
}
/* kein seitliches Scrollen durch zu breite Inhalte */
.front-cta { grid-template-columns: minmax(0, 1fr); }
.site-main { overflow-x: clip; }
.front-fund { --cta-overlay: var(--fund-overlay, .35); min-height: clamp(400px, 38vw, 520px); }
.front-fund .front-cta__title { font-size: clamp(26px, 3.4vw, 46px); }

.info-band { background: var(--grey-1); border-bottom: 1px solid var(--grey-2); }
.info-band__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 0 16px; list-style: none; margin-block: 0; padding-block: 6px; }
.info-band a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; font: 600 18px/1.2 var(--font-head); letter-spacing: .03em; }
.info-band a:hover { color: var(--blue); }
.info-band svg { color: var(--blue); }
@media (max-width: 599.98px) {
	.info-band__list { display: flex; justify-content: space-between; gap: 0; padding-block: 2px; }
	.info-band a { width: 48px; min-height: 48px; }
	.info-band a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* Text bleibt für Screenreader */
	.info-band svg { width: 24px; height: 24px; }
}


/* Students · Teachers · Supporters */
.front-paths:not(:has(+ .front-intro)) { border-bottom: 1px solid var(--grey-2); } /* keine Linie, wenn das blaue Band folgt */
.front-paths__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(20px, 3vw, 48px); list-style: none; margin-block: 0; padding-block: clamp(28px, 4vw, 48px); }
.path { position: relative; display: grid; align-content: start; gap: 8px; padding-top: 14px; border-top: 2px solid var(--blue); }
.path__who { margin: 0; font: 600 12px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.path__title { margin: 0; font: 500 clamp(20px, 1.9vw, 24px)/1.2 var(--font-head); text-transform: none; letter-spacing: 0; }
.path__title a { color: var(--ink); text-decoration: none; }
.path__title a::after { content: ""; position: absolute; inset: 0; }
.path__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.path__more { font-size: 14px; font-weight: 600; color: var(--blue); }
.path:hover .path__title a, .path:focus-within .path__title a { color: var(--blue); }
.path:hover .path__more { text-decoration: underline; text-underline-offset: 3px; }
.path:focus-within { outline: 2px solid var(--blue); outline-offset: 6px; }
.path__title a:focus-visible { outline: none; }

/* Überschrift links, Link rechts */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.head-row__text { display: grid; gap: 6px; }
.head-row__sub { margin: 0; font-size: 16px; line-height: 1.3; color: var(--blue); }
.head-row__title { margin: 0; font: 500 clamp(24px, 2.8vw, 34px)/1.15 var(--font-head); letter-spacing: .02em; text-transform: none; }
.head-row__link { font-size: 14px; font-weight: 600; }

/* Upcoming Events (aus „AMTL Event Dates“) */
.upcoming { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.upcoming__row { display: grid; grid-template-columns: clamp(64px, 7vw, 92px) minmax(0, 1fr) auto auto; align-items: center; gap: 10px clamp(14px, 2.4vw, 32px); padding: 16px 0; border-bottom: 1px solid var(--grey-2); color: var(--ink); text-decoration: none; }
.upcoming__row:hover .upcoming__name, .upcoming__row:focus-visible .upcoming__name { color: var(--blue); }
.up-date { display: grid; gap: 2px; font-family: var(--font-head); }
.up-date__mon { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.up-date__day { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1; }
.up-date__wd { display: none; }
.up-date__yr { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.upcoming__main { min-width: 0; display: grid; gap: 3px; }
.upcoming__name { font: 600 clamp(18px, 1.7vw, 22px)/1.2 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
.upcoming__meta, .upcoming__deadline { font-size: 14px; color: var(--muted); }
.upcoming__deadline { font-weight: 600; }
.pill { justify-self: start; padding: 5px 10px; border-radius: var(--radius); font-size: 13px; font-weight: 600; }
.pill--open { background: #e3f0fa; color: #004f87; }
.pill--soon { background: #f6ead0; color: #6b4a00; }
.pill--closed { background: var(--grey-1); color: var(--muted); }
.upcoming__arrow { flex: none; color: var(--blue); }
.upcoming__empty { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--grey-2); color: var(--muted); }
@media (max-width: 767.98px) {
	.upcoming__row { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; }
	.up-date { grid-row: 1 / span 2; padding-top: 2px; }
	.upcoming__main { grid-column: 2 / -1; }
	.upcoming__row > .pill { grid-column: 2; }
	.upcoming__arrow { grid-column: 3; align-self: center; }
	.upcoming__row > .pill + .upcoming__arrow, .upcoming__row > .upcoming__arrow { grid-row: 2; }
}

/* Pflichttext als Band in der Hauptfarbe (Button-Farbe aus dem Customizer, auch im Dunkelmodus kontrastsicher) */
.front-intro { position: relative; overflow: hidden; background-color: var(--btn-bg); background-image: radial-gradient(ellipse 45% 140% at 8% -30%, rgba(255, 255, 255, .10), transparent 70%), radial-gradient(ellipse 40% 120% at 96% 130%, rgba(255, 255, 255, .07), transparent 70%), linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .12)); color: var(--btn-fg); }
.front-intro::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 14px); pointer-events: none; }
.front-intro .container { position: relative; z-index: 1; }
.front-intro__text { margin: 0 auto;
  padding-block: clamp(10px, 3vw, 14px);
  text-align: center;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 300;
  line-height: 1.65;
  text-wrap: pretty;
}
.front-intro__text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Centennial (ohne Hintergrundbild) */
.front-centennial__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(24px, 4vw, 64px); }
.front-centennial__text { flex: 1 1 380px; display: grid; gap: 12px; }
.front-centennial__kicker { margin: 0; font-style: italic; color: #7a2020; }
.front-centennial__title { margin: 0; font: 400 clamp(30px, 4vw, 54px)/1.08 var(--font-hist, "Mutter Krause", Georgia, serif); text-transform: none; letter-spacing: .01em; color: var(--red); text-wrap: balance; }
.front-centennial__body { max-width: 620px; font-style: italic; }
.front-centennial__body > :last-child { margin-bottom: 0; }
.front-centennial__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn--hist { background: var(--red); color: #fff; font-family: var(--font-hist, "Mutter Krause", Georgia, serif); font-size: 18px; letter-spacing: .04em; }
.btn--hist:hover { background: #a32222; color: #fff; }
.btn--quiet { background: #ddd; color: #3b3128; }
.btn--quiet:hover { background: #cfcfcf; color: #3b3128; }
.front-centennial__docs { flex: 1 1 300px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.front-centennial__docs a { display: grid; gap: 6px; text-decoration: none; text-align: center; font-style: italic; font-weight: 600; color: var(--red); }
.front-centennial__docs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #fbf7ee; box-shadow: 0 2px 8px rgba(80, 60, 30, .25); }

/* Testimonials: Foto links, ein großes Zitat */
.front-testi__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 64px); }
.front-testi__img { flex: 1 1 300px; max-width: 420px; aspect-ratio: 1; object-fit: cover; }
.front-testi__body { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.front-testi .slider, .front-testi .slider__viewport { min-width: 0; max-width: 100%; }
.front-testi__img { width: 100%; }
.front-testi__title { margin: 0 0 6px; font: 500 clamp(18px, 1.6vw, 21px)/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.front-testi .slider__item { flex-basis: 100% !important; } /* immer ein Zitat */
.quote { display: grid; gap: 18px; margin: 0; }
.quote__text { margin: 0; }
.quote__text p { margin: 0; font: 400 clamp(22px, 2.6vw, 36px)/1.25 var(--font-head); color: var(--ink); text-wrap: balance; }
.quote__caption { display: grid; gap: 2px; font-size: 14.5px; }
.quote__name { font-weight: 600; color: var(--blue-on-grey, var(--blue)); }
.quote__position { color: var(--muted); }
.quote__caption a { margin-top: 4px; font-weight: 600; }
.front-testi__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.front-testi__foot .slider__dots { margin: 0; justify-content: flex-start; }
.front-testi__all { font-size: 14px; font-weight: 600; }
.section--grey .head-row__sub { color: var(--blue-on-grey, var(--blue)); }

.slider__viewport { overflow: hidden; margin-inline: -12px; }
.slider__track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform 1.2s ease-in-out; }
.slider__item { flex: 0 0 100%; padding: 0 12px; }
@media (min-width: 600px) { .slider__item { flex-basis: 50%; } }
@media (min-width: 1024px) { .slider__item { flex-basis: 25%; } }
.slider__dots { display: flex; justify-content: center; gap: 2px; margin-top: 18px; }
.slider__dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.slider__dots button[aria-current="true"]::before { background: var(--blue); }


/* Galleries */
.gallery-cards { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.gallery-card { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card__title { font: 600 16px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.gallery-card__text { font-size: 13.5px; color: var(--muted); }
.gallery-card:hover .gallery-card__title, .gallery-card:focus-visible .gallery-card__title { color: var(--blue); }

/* Dunkelmodus */
[data-theme="dark"] .pill--open { background: #12324a; color: #bfe0f7; }
[data-theme="dark"] .pill--soon { background: #3d3019; color: #f3d9a0; }
[data-theme="dark"] .dock-box__days--soon { color: #f3d9a0; }
[data-theme="dark"] .front-centennial__kicker { color: #f0a9a9; }
[data-theme="dark"] .front-centennial__title { color: #ef8a8a; }
[data-theme="dark"] .front-centennial__docs a { color: #ef8a8a; }
[data-theme="dark"] .btn--quiet { background: var(--grey-2); color: var(--ink); }
[data-theme="dark"] .upcoming { border-top-color: var(--grey-line); }
[data-theme="dark"] body:not(.is-history) :is(.front-testi__img, .front-centennial__docs img, .dock-box__thumb img) { filter: brightness(calc(1 - var(--img-dim))); }

/* 9c Eventseiten: einheitliche Info-Gliederung (Editor: .event-info, .note, .times, [amtl_event_nav]) */
.event-nav { margin: 1.4em 0 .4em; border-block: 1px solid var(--grey-2); overflow-x: auto; scrollbar-width: none; }
.event-nav::-webkit-scrollbar { display: none; }
.event-nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.event-nav li { display: flex; align-items: center; }
.event-nav li + li::before { content: ""; flex: none; width: 1px; height: 14px; margin-inline: 14px; background: var(--muted); opacity: .45; }
.event-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 14px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.event-nav__home a { color: var(--ink); }
.event-nav a:hover, .event-nav a:focus-visible { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 599.98px) { .event-nav li + li::before { margin-inline: 10px; } .event-nav a { font-size: 13px; } }

.event-info { margin: .6em 0 1.4em; border-top: 1px solid var(--grey-2); }
.entry-content .event-info > h3 { margin: 0; padding-top: 14px; font: 600 15px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-strong, var(--ink)); }
.event-info > div { padding: 6px 0 14px; border-bottom: 1px solid var(--grey-2); }
.event-info > div > :first-child { margin-top: 0; }
.event-info > div > :last-child { margin-bottom: 0; }
.event-info p { margin: 0 0 .7em; }

.entry-content .note { margin: .8em 0; padding: 10px 14px 12px; background: var(--grey-1); border-top: 2px solid var(--blue); border-radius: var(--radius); }
.entry-content .note::before { content: "Important"; display: block; margin-bottom: 2px; font: 600 12px/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-on-grey, var(--blue)); }

.entry-content .example { margin: .3em 0 .8em; padding-left: 14px; border-left: 1px solid var(--grey-2); font-size: var(--fs-s, 14px); font-style: italic; color: var(--muted); }
.entry-content .example span { display: block; font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.entry-content .fineprint { margin: 1em 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
/* Gold-Block (z. B. NYYPP-Gewinner): <div class="winners"><h3>…</h3><ul><li><a>…</a></li></ul></div> */
.entry-content .winners { --gold: #b8892e; --gold-ink: #6e4f0a; --gold-bg: #faf4e4; margin: 1.4em 0; padding: 14px 18px 16px; background: var(--gold-bg); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.entry-content .winners h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 15px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.entry-content .winners h3::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.entry-content .winners ul { margin: 0; padding: 0; list-style: none; }
.entry-content .winners li { border-top: 1px solid rgba(184, 137, 46, .3); }
.entry-content .winners li:first-child { border-top: 0; }
.entry-content .winners a { display: flex; align-items: center; min-height: 40px; color: var(--gold-ink); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
[data-theme="dark"] .entry-content .winners { --gold: #d9b25c; --gold-ink: #f3d9a0; --gold-bg: #2f2819; }
.entry-content ol ol, .entry-content ol ul { margin: .5em 0 .6em; }
.entry-content ol > li { margin-bottom: .5em; }
.entry-content li > .note { margin-top: .5em; }
.entry-content .times { display: grid; gap: 0; max-width: 420px; margin: .6em 0 .8em; padding: 0; list-style: none; }
.times li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dotted var(--grey-2); font-weight: 600; }
.times li span { font-weight: 400; }

/* Tabellen im Inhalt, z. B. NYYPP Reference Chart: <div class="chart"><table>…</table></div> */
.entry-content .chart { margin: .8em 0 1.4em; overflow-x: auto; border-top: 2px solid var(--blue); }
.entry-content .chart table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.entry-content .chart caption { padding: 8px 0; text-align: left; font-size: 13px; color: var(--muted); caption-side: bottom; }
.entry-content .chart th, .entry-content .chart td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--grey-2); text-align: left; vertical-align: top; }
.entry-content .chart thead th { font: 600 13px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.entry-content .chart tbody th { font-weight: 600; color: var(--ink-strong, var(--ink)); white-space: nowrap; }
.entry-content .chart td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.entry-content .chart tbody tr:hover { background: var(--grey-1); }
.entry-content .chart-cat { margin: -.3em 0 .4em; font-size: 14px; font-style: italic; color: var(--muted); }
.entry-content .chart-cat strong { font-style: normal; color: var(--ink); }
.entry-content .chart td.prize { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* E-Mail-Link mit Briefsymbol: <a class="mail-link" href="mailto:…">Text</a> */
.entry-content .mail-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; vertical-align: -4px;}
.entry-content .mail-link::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Offene Angaben in Entwürfen */
.entry-content .tba { padding: 0 4px; background: #fff3c4; color: #5a4300; border-radius: 2px; font-style: italic; }
[data-theme="dark"] .entry-content .tba { background: #4a3d12; color: #f6e3a6; }

/* Gewinner-Listen (NYYPP): .division > h3, .prizes, .mentions */
.entry-content .results-lead { font-size: 16px; }
.entry-content .division { --gold: #b8892e; --silver: #8b939b; margin: 0 0 1.6em; padding-top: 1em; border-top: 1px solid var(--grey-2); }
.entry-content .division > h3 { margin: 0 0 2px; font: 600 18px/1.25 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.entry-content .division > h3 span { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.entry-content .prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: .6em 0 1em; padding: 0; list-style: none; }
.prizes > .prize { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 46px; background: var(--grey-1); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.prizes > .prize--2 { border-top-color: var(--silver); }
.prizes > .prize::before { content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.prizes > .prize--2::before { background: var(--silver); }
.prizes > .prize--3 { border-top-color: #a0673a; }
.prizes > .prize--3::before { background: #a0673a; }
.prize--3 .prize__rank { color: #7a4a24; }
[data-theme="dark"] .prize--3 .prize__rank { color: #e3b08a; }
.prize__rank { font: 600 13px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #6e4f0a; }
.prize--2 .prize__rank { color: #4f565d; }
.prize__name { font-size: 17px; font-weight: 600; color: var(--ink-strong, var(--ink)); }
.prize__meta { font-size: 14px; line-height: 1.4; color: var(--muted); }
.prize__code { font-size: 12px; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry-content .mentions__title { display: flex; align-items: center; gap: 8px; margin: 0 0 .4em; font: 600 14px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.entry-content .mentions__title::before { content: ""; width: 18px; height: 18px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14-1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14-1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.entry-content .mentions__title span { font: italic 400 13px var(--font-body, inherit); letter-spacing: 0; text-transform: none; }
.entry-content .mentions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.mentions li { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid var(--grey-2); }
.mentions .prize__name { font-size: 15px; }
[data-theme="dark"] .entry-content .division { --gold: #d9b25c; --silver: #b5bcc3; }
[data-theme="dark"] .prize__rank { color: #f3d9a0; }
[data-theme="dark"] .prize--2 .prize__rank { color: #d5dadf; }

/* Statistik-Widget (z. B. NYYPP): <div class="stats"> … </div> */
.stats { --gold: #b8892e; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.45; }
.stats__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 600 16px/1.25 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-strong, var(--ink)); }
.stats__title:not(:first-child) { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--grey-2); }
.stats__title::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--gold); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.stats__title--people { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2.2.6 3.5 2.6 3.5 6'/%3E%3C/svg%3E"); }
.stats__title--globe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E"); }
.stats ul, .stats dl { margin: 0; padding: 0; list-style: none; }
.stats__list { display: grid; grid-template-columns: 1fr auto; }
.stats__list > * { margin: 0; padding: 5px 0; border-bottom: 1px solid var(--grey-2); }
.stats__list dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.stats__sub { grid-column: 1 / -1; margin: 2px 0 4px 2px !important; padding: 2px 0 2px 12px !important; border-left: 1px solid var(--gold) !important; border-bottom: 0 !important; font-size: 13px; color: var(--muted); }
.stats__sub li { display: flex; justify-content: space-between; padding: 2px 0; }
.stats__sub li span { color: var(--muted); }
.stats__sub li b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats__places > li { padding: 5px 0; border-bottom: 1px solid var(--grey-2); }
.stats__places > li:last-child { border-bottom: 0; }
.stats__places ul { display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 4px; font-size: 13px; color: var(--muted); }
.stats__places ul li:not(:last-child)::after { content: "·"; margin-inline: 6px; color: var(--gold); }
[data-theme="dark"] .stats { --gold: #d9b25c; }

/* 10 Footer */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--grey-2); font-size: 14px; }
.footer-widgets { display: grid; gap: 24px; padding-block: clamp(24px, 3vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.footer-widgets .widget-title { margin: 0 0 10px; padding-bottom: 8px; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(var(--blue), var(--blue)) left bottom / 40px 2px no-repeat; }
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets li { border-bottom: 1px solid var(--grey-2); }
.footer-widgets li:last-child { border: 0; }
.footer-widgets li a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; }
.footer-widgets li a:hover { color: var(--blue); }
.footer-widgets select { width: 100%; height: 40px; padding: 0 8px; border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--field-bg); color: var(--ink); }
.site-info { background: var(--info-bg); box-shadow: var(--footer-shadow); }
.site-info__inner { display: grid; justify-items: center; gap: 6px; padding-block: 12px; text-align: center; font-size: var(--fs-s); }
.site-info__text > :last-child { margin-bottom: 0; }
.site-info a { color: var(--ink-strong); }
.site-info__logo img { width: 24px; height: 24px; object-fit: contain; }
.site-info__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; }
.site-info__login { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.social-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); }
.social-links a:hover { color: var(--blue); }

/* 10b Buttons: Icon schwebt beim Hover von rechts ein (wie bisher; SVG-Maske statt FontAwesome). Schalter: Customizer → Design → Buttons. */
:root {
	--ico-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M5%2012h14M13%206l6%206-6%206'%2F%3E%3C%2Fsvg%3E");
	--ico-send: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M21%203%203%2010l7%203%203%207%208-17zM10%2013l11-10'%2F%3E%3C%2Fsvg%3E");
	--ico-user: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021c0-4%204-6%208-6s8%202%208%206'%2F%3E%3C%2Fsvg%3E");
	--ico-pen: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%2020h4L19%209l-4-4L4%2016v4zM14%206l4%204'%2F%3E%3C%2Fsvg%3E");
	--ico-eye: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'3'%2F%3E%3C%2Fsvg%3E");
	--ico-gear: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'3'%2F%3E%3Cpath%20d%3D'M12%202v3M12%2019v3M2%2012h3M19%2012h3M4.9%204.9%207%207M17%2017l2.1%202.1M4.9%2019.1%207%2017M17%207l2.1-2.1'%2F%3E%3C%2Fsvg%3E");
	--ico-upload: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%2021V9M7%2014l5-5%205%205M4%204h16'%2F%3E%3C%2Fsvg%3E");
}
.btn-icons :is(.btn, .btn-blue, .btn-default, .btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile) { --bp: 18px; position: relative; overflow: hidden; transition: padding .5s, background .2s, color .2s; }
.btn-icons :is(.btn, .btn-blue, .btn-default, .btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile)::after { content: ""; position: absolute; top: 50%; right: -20px; width: 15px; height: 15px; margin-top: -7.5px; background: currentColor; -webkit-mask: var(--ico, var(--ico-arrow)) center / contain no-repeat; mask: var(--ico, var(--ico-arrow)) center / contain no-repeat; opacity: 0; transition: right .5s, opacity .5s; }
.btn-icons :is(.btn, .btn-blue, .btn-default, .btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile):is(:hover, :focus-visible) { padding-left: max(6px, calc(var(--bp) - 12px)); padding-right: calc(var(--bp) + 12px); }
.btn-icons :is(.btn, .btn-blue, .btn-default, .btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile):is(:hover, :focus-visible)::after { right: 10px; opacity: 1; }
.btn-icons :is(.btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile) { --bp: 14px; }
.btn-icons .btn-app-sb { --ico: var(--ico-pen); }
.btn-icons .btn-app-lp, .btn-icons .swpm-view-profile { --ico: var(--ico-eye); }
.btn-icons .btn-support-sb { --ico: var(--ico-gear); }
.btn-icons .btn-contact-sb { --ico: var(--ico-send); }
.btn-icons .btn-submit-sb { --ico: var(--ico-upload); }
.btn-icons .swpm-login-submit { --ico: var(--ico-user); }

/* 10c Dunkelmodus – nur über den Umschalter im Menü (Customizer → Design → Dark mode).
   Historische Seiten bleiben hell und werden nur leicht gedimmt. Plugin-CSS ist bewusst nicht angepasst.
   Kontraste der Standardwerte (WCAG AA): Text 14:1, Nebentext 8:1, Links 7:1, Buttons weiß auf Blau 4,7:1. */
[data-theme="dark"] body:not(.is-history) {
	color-scheme: dark;
	--bg: #1e2227;
	--header-bg: #2b3138;
	--grey-1: #282d33;
	--grey-2: #3d444c;
	--grey-line: #3d444c;
	--ink: #e8eaec;
	--ink-strong: #ffffff;
	--muted: #b8bec4;
	--blue: #62b4f2;
	--blue-dark: #93cbf6;
	--btn-bg: #0076c9;
	--btn-bg-h: #005a9c;
	--btn-fg: #ffffff;
	--grey-head: #3a424b;
	--head-ink: #f4f6f8;
	--grey-quote: #474f58;
	--footer-bg: #2b3138;
	--blue-on-grey: var(--blue);
	--info-bg: #343b43;
	--field-bg: #2a2f35;
	--field-border: #56606a;
	--tile-bg: #3f4750;
	--tile-border: #56606a;
	--form-bg: #282d33;
	--dot: #66707a;
	--footer-shadow: 0 -3px 4px rgba(0, 0, 0, .6);
	--img-dim: .15;
	--logo-filter: invert(1);
}
[data-theme="dark"] { --hist-dim: .15; }
[data-theme="dark"] body:not(.is-history) :is(.entry-content img, .card__media img, .gallery-card img, .sidebar img) { filter: brightness(calc(1 - var(--img-dim))); }
[data-theme="dark"] body:not(.is-history) .site-header { box-shadow: 0 1px 0 var(--grey-2), 0 2px 8px rgba(0, 0, 0, .35); }
[data-theme="dark"] body:not(.is-history) .page-header { box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
[data-theme="dark"] body:not(.is-history) .custom-logo--dark { display: block; filter: none; }
[data-theme="dark"] body:not(.is-history) .custom-logo--dark ~ .custom-logo--light, [data-theme="dark"] body:not(.is-history) .custom-logo--light:has(~ .custom-logo--dark) { display: none; }
[data-theme="dark"] .is-history::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, var(--hist-dim)); pointer-events: none; }

/* 11 Plugins (ohne Layer, damit sie Plugin-Styles sicher überschreiben) */

/* AMTL Event Dates Plugin: [event-calendar-auto], [xx-cal-date], Add-to-Calendar */
.event-calendar-auto { display: grid; gap: var(--space); }
.event-calendar-title { font-size: clamp(20px, 2.2vw, 24px); text-transform: uppercase; color: var(--blue); }
.event-grid { display: grid; gap: 12px; }
.event-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 16px; padding: 12px; background: var(--grey-1); border-radius: var(--radius); }
.event-card.past-event { opacity: .7; }
.event-details h3 { margin: 0 0 2px; font-size: 18px; }
.event-details h3 a { text-decoration: none; }
.event-meta { font-size: 14px; line-height: 1.5; }
.event-actions { grid-column: 1 / -1; }
@media (min-width: 600px) { .event-card { grid-template-columns: auto 1fr auto; } .event-actions { grid-column: auto; } }
time.icon { display: inline-grid; width: 82px; text-align: center; font-style: normal; border-radius: var(--radius); overflow: hidden; background: var(--tile-bg); color: var(--ink); border: 1px solid var(--tile-border); box-shadow: 0 1px 3px rgba(0,0,0,.18); vertical-align: middle; }
time.icon em { padding: 3px 2px; font: 600 11px/1.2 var(--font-body); font-style: normal; color: var(--muted); order: 3; }
time.icon strong { padding: 4px 2px; background: var(--btn-bg); color: var(--btn-fg); font: 600 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .05em; order: 1; }
time.icon span { padding-top: 4px; font: 600 26px/1 var(--font-head); order: 2; }
.add-to-calendar-buttons { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.add-to-calendar-buttons a { display: inline-block; width: 24px; height: 24px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.add-to-calendar-buttons .button-ics { background-image: url(/wp-content/uploads/ics.png); }
.add-to-calendar-buttons .button-gc { background-image: url(/wp-content/uploads/google-calendar.png); }

/* Vertical Timeline – Seiten-/Beitragsnavigation exakt wie bisher */
.timeline-navigation { clear: both; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: var(--space); padding: 20px 0 5px; border-top: 1px solid #d4d4d4; font-family: var(--font-hist, inherit); letter-spacing: .05rem; }
.timeline-navigation a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.timeline-navigation .prev-post-button, .timeline-navigation .next-post-button { padding: 5px 15px; background: var(--red); color: #fff; border-radius: 4px; }
.timeline-navigation .prev-post-button:hover, .timeline-navigation .next-post-button:hover { background: #ddd; color: #545454; }
.timeline-navigation .home-link { margin: 0 auto; padding: 5px 35px; background: #ddd; color: #545454; border-radius: 5px; }
.timeline-navigation .home-link:hover { background: var(--red); color: #fff; }
@media (min-width: 768px) {
	.prev-post-button::after { content: "Previous Post"; margin-left: 5px; font-size: 14px; }
	.next-post-button::before { content: "Next Post"; margin-right: 5px; font-size: 14px; }
}
.vt-timeline::before { content: none !important; }

/* Photo Gallery / Simple Lightbox / Gallery Download */
#slb_viewer_wrap .slb_theme_slb_baseline .slb_container { padding: 3px !important; background: #cecece !important; }
.bwg_container, .bwg-container { margin-bottom: 1.5em; }

/* Display Posts – Event-Beitrag auf Eventseiten (Beitragsbild + Text + Karte; Sichtbarkeit über das Beitragsdatum) */
.display-posts-listing { list-style: none; padding: 0; margin: 0 0 1.5em; }
.display-posts-listing .listing-item { display: flow-root; margin-bottom: 10px; padding-top: 15px; border-top: 1px solid #333; }
.display-posts-listing .title { display: block; padding: 6px 0 14px; font: 600 clamp(20px, 2.4vw, 26px)/1.1 var(--font-head); letter-spacing: 2px; color: var(--blue); text-decoration: none; }
.display-posts-listing .image img { max-width: 100%; height: auto; }
@media (min-width: 768px) { .display-posts-listing.image-left .image { float: left; margin: 0 16px 8px 0; max-width: 45%; } }
.display-posts-listing .excerpt-dash { display: none; }
.dps-listing-content { padding-top: 12px; color: var(--ink-strong); line-height: 1.75; }
.map-wrapper { display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px; max-width: 100%; }
.lp-map { flex: 1 1 320px; width: 100%; max-width: 500px; height: 200px; border: 0; }
.map-photo { height: 200px !important; max-width: 150px !important; object-fit: cover; }
a.hrefmap { text-decoration: none; }

/* Cookie Law Info (CookieYes legacy) */
.cli-bar-btn_container .cli-plugin-button, .cli_action_button, #cookie_action_close_header { border-radius: var(--radius) !important; }
button.cli-ccpa-button-confirm { background: var(--blue) !important; }
.cli-alert-dialog-buttons button { border: 2px solid var(--blue) !important; border-radius: 0 !important; }
a.cli_settings_button { background: transparent !important; }

/* Popup Maker */
.pum-title, .popmake-title { color: #000 !important; font-family: var(--font-head); }

/* FAQ-Shortcode [all_faqs] (amtl-core) */
.faq-search-form { margin-bottom: 20px; }
.faq-search-form input { width: min(100%, 360px); height: 40px; padding: 0 10px; border: 1px solid #c8c8c8; border-radius: var(--radius); }
.faq-search-info { display: block; margin-top: 4px; font-size: var(--fs-s); color: var(--muted); }
.faq-category h2 { margin-top: 1.4em; }
.faq-item { padding: 10px 0; border-bottom: 1px solid var(--grey-2); }
.faq-item p { margin: 0 0 .4em; }
.highlight { background: #ff0; font-weight: 700; }

/* 12 Alt-Klassen aus Seiten-/Beitragsinhalten (ersetzt Bootstrap + altes Child-CSS) */
.entry-content .container { padding-inline: 0; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.row > [class*="col-"] { flex: 1 1 100%; min-width: 0; }
@media (min-width: 600px) { .row > .col-md-6, .row > .col-sm-6, .row > .col-lg-6 { flex-basis: calc(50% - var(--gap)); } .row > .col-md-4, .row > .col-lg-4 { flex-basis: calc(33.333% - var(--gap)); } .row > .col-md-3, .row > .col-lg-3 { flex-basis: calc(25% - var(--gap)); } }
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.img-fluid { max-width: 100%; height: auto; }
.d-flex { display: flex; flex-wrap: wrap; gap: 12px; }
.w-100 { width: 100%; }
.btn-small { min-height: 34px; padding: 4px 14px; font-size: 14px; }
.btn-small.btn-default { background: #e6ad02; color: #000; }
.btn-small.btn-default:hover { background: #f9bc04; color: #000; }
.btn-c2a { margin-top: 12px; }
.btn-app-sb, .btn-app-lp, .btn-support-sb, .btn-contact-sb, .btn-submit-sb, .swpm-login-submit, .swpm-view-profile { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; min-height: 36px; padding: 4px 14px; border: 0; border-radius: var(--radius); background: var(--blue-form); color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn-app-sb:hover, .btn-app-lp:hover, .btn-support-sb:hover, .btn-contact-sb:hover, .btn-submit-sb:hover { background: var(--blue); }
.btn-support-sb { min-width: 110px; margin-left: 6px; font-size: .9em; }
.venue-wrapper, .flex-container-nyypp { display: flex; flex-wrap: wrap; gap: 20px; }
.venue-wrapper > *, .venue-box { flex: 1 1 260px; }
.nonprofit { padding: 16px; font-weight: 600; text-align: center; }

/* 13 Hilfsklassen */
.has-text-align-center { text-align: center; }
.clear { clear: both; }

/* Weniger Bewegung, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 14 Druck */
@media print {
	.site-header, .site-footer, .skip-link, .search-dialog, .sidebar, .post-navigation, .timeline-navigation, .print-actions, .addtoany_share_save_container, #cookie-law-info-bar { display: none !important; }
	body { font-size: 11pt; color: #000; }
	.page-header { background: none; }
	a { color: #000; text-decoration: none; }
	.container { max-width: none; padding: 0; }
}

/* Galerien-Seite: 2 Spalten (links Photos, rechts Videos), darüber je eine Auswahl */
.flex-container-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-top: 1em; }
.flex-item-gallery { min-width: 0; padding: 16px; background: var(--grey-1); border: 1px solid var(--grey-2); border-radius: var(--radius); }
.flex-item-gallery > h3:first-child { margin-top: 0; }
.flex-item-gallery > p { margin: 0; }
.galleryselect2 { margin: 0 0 16px; }
.galleryselect2 label { display: block; margin-bottom: 4px; font-size: var(--fs-s); }
.galleryselect2 select { width: 100%; min-height: 40px; }
.galleryselect2 ul:not(.is-select-source) { margin: 0; }
.flex-item-gallery .display-posts-listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 14px; }
.flex-item-gallery .display-posts-listing .listing-item { display: grid; gap: 6px; align-content: start; margin: 0; padding: 0; float: none; width: auto; font-size: var(--fs-s); line-height: 1.35; }
.flex-item-gallery .display-posts-listing .image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.flex-item-gallery .display-posts-listing .title { font: 600 15px/1.3 var(--font-head); letter-spacing: .02em; }
@media (max-width: 767.98px) { .flex-container-gallery { grid-template-columns: 1fr; } }

/* Membership-Seite: 3 Boxen (.flex-container / .flex-item aus dem Seiteninhalt, bisher im Customizer-CSS) */
.flex-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; margin: 0 0 1.5em; }
.flex-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 14px 12px 16px; text-align: center; background: linear-gradient(39deg, #e4e4e4 0%, #eaeaea 35%, #e8e8e8 100%); border: 1px solid #a8a8a8; border-radius: var(--radius); color: #000; }
.flex-item > br { display: none; }
.flex-item .membership-title { font: 600 1.3rem/1.25 var(--font-head); letter-spacing: .02em; }
.flex-item .membership-text { flex: 1; max-width: 32em; padding: 6px 8px 10px; line-height: 1.5; }
.flex-item .icon { width: 1.1em; height: 1.1em; color: var(--blue); vertical-align: middle; }
.flex-item .btn-app-sb { margin-top: auto; }
.flex-item .member-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.flex-item .member-btns .btn-app-sb { margin: 0; min-width: 0; flex: 1 1 130px; max-width: 180px; }
.btn-icons .btn-app-sb.member-renew { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%2011a8%208%200%200%200-14.3-4.9L4%208M4%204v4h4M4%2013a8%208%200%200%200%2014.3%204.9L20%2016M20%2020v-4h-4%27%2F%3E%3C%2Fsvg%3E"); }
.flex-item2 { background: none; }
[data-theme="dark"] .flex-item { background: var(--grey-1); border-color: var(--grey-2); color: var(--ink); }

/* Footer-Menüs: Icon + Text mit festem Abstand (statt &nbsp;) */
.footer-widgets li a { display: flex; align-items: center; gap: 8px; }
.footer-widgets li a .icon { flex: none; width: 16px; height: 16px; color: var(--blue); }
.footer-widgets li a:empty { display: none; }

/* Letzter Eintrag „Cookie Settings“ (Cookie Law Info setzt eigene Inline-Farben) – exakt wie die übrigen Einträge */
.footer-widgets li:last-child > a:not(:empty),
.footer-widgets li:last-child > .cli_settings_button {
	all: unset;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 5px 0 !important;
	background: transparent !important;
	color: var(--ink) !important;
	font: inherit !important;
	line-height: inherit;
	text-decoration: none;
	cursor: pointer;
}
.footer-widgets li:last-child > .cli_settings_button::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: var(--blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'1.7'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%206h10M18%206h2M4%2012h4M12%2012h8M4%2018h12M20%2018h0'%2F%3E%3Ccircle%20cx%3D'16'%20cy%3D'6'%20r%3D'2'%2F%3E%3Ccircle%20cx%3D'10'%20cy%3D'12'%20r%3D'2'%2F%3E%3Ccircle%20cx%3D'18'%20cy%3D'18'%20r%3D'2'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'1.7'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%206h10M18%206h2M4%2012h4M12%2012h8M4%2018h12M20%2018h0'%2F%3E%3Ccircle%20cx%3D'16'%20cy%3D'6'%20r%3D'2'%2F%3E%3Ccircle%20cx%3D'10'%20cy%3D'12'%20r%3D'2'%2F%3E%3Ccircle%20cx%3D'18'%20cy%3D'18'%20r%3D'2'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.footer-widgets li:last-child > :is(a, .cli_settings_button):is(:hover, :focus-visible) { color: var(--blue) !important; }
.footer-widgets li:last-child > .cli_settings_button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Kontrast (PageSpeed/WCAG AA): Blau auf grauen Flächen etwas dunkler */
.section--grey a:not([class*="btn"]),
.footer-widgets .icon { color: var(--blue-on-grey); }
/* Cookie-Banner: „Cookie Settings“ war hellgrau auf weiß */
#cookie-law-info-bar .cli_settings_button { color: #005a9c !important; text-decoration: underline; text-underline-offset: 3px; }
