/*
Theme Name:   Fête Urban Theme
Theme URI:    https://fetedelamusique-koeln.de
Description:  Theme der Fête de la Musique Köln 2027 im Design der Mutterseite „Die Stadt klingt e.V.“ (Anthrazit, Warm-Weiß, Orange, Gold). Unterseiten-Routing (Home, Über die Fête, Spielorte, Mitmachen, Kalk klingt!, Unterstützer:in / Spenden, Kontakt, Impressum, Datenschutz), Sprachen DE/EN/FR, Live-Countdown, mehrstufige Formulare mit Vorschau, PDF-Zusammenfassung, Datei-Uploads und E-Mail-Versand an die zuständigen Teams, Newsletter mit FluentCRM (Double-Opt-In), Export als CSV/Excel/SQL, Cookie-Banner, SEO-Tags.
Author:       Die Stadt klingt e.V.
Author URI:   https://diestadtklingt.de
Version:      2.7.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fete-urban
*/

/* Automatisch aus /style.css des Projektordners erzeugt (tools/build-theme.js). */

/* Lokal gehostete Schriften – keine Verbindung zu Google Fonts (DSGVO) */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

/* ===== 1. Tokens ===== */
:root {
	--ink: #1E1B18;          /* Brand Primary – warmer Anthrazit */
	--ink-2: #2A2622;        /* Flächen auf Anthrazit */
	--ink-3: #3A342E;        /* Linien auf Anthrazit */
	--cream: #FDFBF7;        /* Brand Base – Warm-Weiß */
	--cream-2: #F5F0E6;      /* abgesetzte helle Flächen */
	--sand: #E7DFD2;         /* Linien auf hell */
	--orange: #E65100;       /* Stadt-klingt-Orange – Akzentrahmen, Highlights, Buttons */
	--orange-2: #D84315;     /* zweiter Orange-Ton (CLAUDE.md) – Hover, Offset-Karten */
	--orange-ink: #B23C00;   /* Orange für Text auf Hell (5,6:1) */
	--gold: #FFB300;         /* Sonnengold – Highlights, Icons, Countdown */
	--muted: #6B6259;        /* Sekundärtext auf Hell (5,7:1) */
	--muted-dark: #B8AFA3;   /* Sekundärtext auf Anthrazit (7,7:1) */
	--danger: #B3261E;
	--danger-dark: #FF8A80;
	--success: #2E7D32;

	--display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
	--fs-xl: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
	--fs-2xl: clamp(1.875rem, 1.3rem + 2.4vw, 3.125rem);
	--fs-3xl: clamp(2.5rem, 1.4rem + 5vw, 5.75rem);

	--gutter: clamp(1rem, .6rem + 2vw, 2rem);
	--section: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);
	--max: 1240px;
	--radius: 16px;
	--radius-sm: 10px;
	--pill: 999px;
	--tap: 48px;
	--shadow: 0 18px 40px -22px rgba(30, 27, 24, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===== 2. Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: var(--fs-base)/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.025em;
	margin: 0 0 .75rem;
	text-wrap: balance;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--orange-ink); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .header :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--gold); color: var(--ink); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== 3. Layout-Helfer ===== */
.wrap { padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.wrap--narrow { padding-inline: max(var(--gutter), calc((100% - 860px) / 2)); }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--cream-2); }
.dark { background: var(--ink); color: var(--cream); }
.dark a { color: var(--gold); }
.dark a:hover { color: var(--cream); }
.dark .muted, .dark .lead { color: var(--muted-dark); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font: 700 var(--fs-xs)/1 var(--body);
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--orange-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--orange); }
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.dark .eyebrow::before, .hero .eyebrow::before { background: var(--gold); }
.title { font-size: var(--fs-2xl); }
.title mark, .hero h1 mark {
	background: none; color: inherit;
	box-shadow: inset 0 -.32em 0 rgba(255, 179, 0, .55);
}
.dark .title mark { box-shadow: inset 0 -.32em 0 rgba(230, 81, 0, .7); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.mt-2 { margin-top: 2rem; }

/* ===== 4. Header & Navigation ===== */
.header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(30, 27, 24, .94);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	color: var(--cream);
	border-bottom: 3px solid var(--orange);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--cream); text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__title { font: 800 1.06rem var(--display); letter-spacing: -.01em; }
.logo__sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.logo:hover { color: var(--cream); }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: .55rem .7rem; border-radius: var(--pill);
	color: var(--cream); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
	transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--ink-2); color: var(--gold); }
.nav__list a[aria-current="page"] { color: var(--gold); }
.nav__list .nav__home {
	display: inline-flex; align-items: center; gap: .4rem;
	border: 1px solid var(--ink-3);
}
.nav__home svg { width: 16px; height: 16px; }
.nav__toggle {
	display: none; min-width: var(--tap); min-height: var(--tap);
	background: transparent; color: var(--cream);
	border: 1px solid var(--ink-3); border-radius: var(--radius-sm); cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
@media (max-width: 1320px) {
	.nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
	/* backdrop-filter würde den Header zum Bezugsrahmen des fixierten Menüs machen (Menü nur wenige Pixel hoch) */
	.header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
	.nav__list {
		position: fixed; inset: 75px 0 0 0; z-index: 99;
		flex-direction: column; gap: 0;
		background: var(--ink); padding: 1rem var(--gutter) 2rem;
		/* eingeklappt per clip-path statt translateX: ragt nicht über den Rand (kein seitliches Wischen auf iOS) */
		clip-path: inset(0 0 0 100%); visibility: hidden;
		transition: clip-path .3s var(--ease), visibility .3s;
		overflow-y: auto;
	}
	.nav__list.is-open { clip-path: inset(0); visibility: visible; }
	.nav__list a { font: 800 1.5rem var(--display); padding: .9rem 0; border-radius: 0; border-bottom: 1px solid var(--ink-3); }
	.nav__list .nav__home { border: 0; border-bottom: 1px solid var(--ink-3); }
	.nav__home svg { width: 22px; height: 22px; }
	.nav__list a:hover { background: transparent; }
}
/* CTA „Jetzt mitmachen“: auf Smartphones im geöffneten Menü statt in der Kopfzeile */
.nav__cta-mobile { display: none; }
@media (max-width: 520px) {
	.nav__cta-mobile { display: block; margin-top: 1.5rem; }
	.nav__list .nav__cta-mobile a { width: 100%; justify-content: center; border-bottom: 0; padding: .85rem 1.6rem; border-radius: var(--radius-sm); font: 800 1rem var(--display); color: var(--ink); }
	.nav .btn--nav { display: none; }
	.logo__sub { display: none; }
}

/* ===== 5. Buttons ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: var(--tap); padding: .85rem 1.6rem;
	border: 2px solid var(--orange); border-radius: var(--pill);
	background: var(--orange); color: #fff;
	/* 19px Bold = „großer Text“ nach WCAG → 3,8:1 auf Orange ist konform */
	font: 800 1.1875rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { color: #fff; background: var(--orange-2); border-color: var(--orange-2); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(216, 67, 21, .8); }
.btn:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
.dark .btn--outline, .hero .btn--outline { color: var(--cream); border-color: var(--cream); }
.dark .btn--outline:hover, .hero .btn--outline:hover { background: var(--cream); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { color: var(--ink); box-shadow: 0 12px 26px -12px rgba(255, 179, 0, .8); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.btn--ghost:hover { background: transparent; border-color: transparent; color: var(--orange-2); box-shadow: none; }
.dark .btn--ghost, .hero .btn--ghost { color: var(--cream); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--gold); }
.btn--nav { min-height: 42px; padding: .55rem 1.1rem; font-size: .82rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 599px) { .hero .btns { flex-direction: column; } .hero .btn { width: 100%; } }

/* ===== 6. Hero mit S/W-Foto, Farb-Overlay und Live-Countdown ===== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(92svh, 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: calc(var(--section) + 1rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
	color: var(--cream);
	background: var(--ink);
}
.hero__img {
	position: absolute; inset: 0; z-index: -3;
	width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
	filter: grayscale(1) contrast(1.15) brightness(.85);
}
.hero::before { /* warmer Anthrazit-Verlauf für Lesbarkeit */
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		linear-gradient(180deg, rgba(30, 27, 24, .35) 0%, rgba(30, 27, 24, .55) 45%, rgba(30, 27, 24, .96) 100%),
		linear-gradient(90deg, rgba(30, 27, 24, .85) 0%, rgba(30, 27, 24, 0) 70%);
}
.hero::after { /* farbiger Akzent: Orange-Gold-Lichtkegel */
	content: ""; position: absolute; z-index: -1;
	width: 60vmax; height: 60vmax; right: -22vmax; top: -26vmax; border-radius: 50%;
	background: radial-gradient(circle, rgba(230, 81, 0, .55), rgba(255, 179, 0, .18) 45%, transparent 70%);
	mix-blend-mode: screen;
}
.hero h1 { font-size: var(--fs-3xl); line-height: .95; letter-spacing: -.04em; max-width: 14ch; margin-bottom: 1.1rem; }
.hero h1 .gold { color: var(--gold); }
.hero__lead { font-size: var(--fs-lg); max-width: 54ch; color: #EDE6DA; }
.hero__claims { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.hero__claims li {
	padding: .35rem .85rem; border-radius: var(--pill);
	border: 1px solid rgba(255, 179, 0, .6); color: var(--gold);
	font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.25fr .9fr; } }

.countdown {
	background: rgba(30, 27, 24, .72);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--ink-3); border-top: 4px solid var(--gold);
	border-radius: var(--radius); padding: 1.25rem;
}
.countdown__label { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .9rem; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.countdown__unit { text-align: center; padding: .7rem .2rem; border-radius: var(--radius-sm); background: var(--ink-2); }
.countdown__num {
	display: block; font: 800 clamp(1.75rem, 1.2rem + 2.4vw, 3rem)/1 var(--display);
	font-variant-numeric: tabular-nums; color: var(--gold);
}
.countdown__num.tick { animation: tick .35s var(--ease); }
@keyframes tick { from { transform: translateY(-6px); opacity: .4; } to { transform: none; opacity: 1; } }
.countdown__name { display: block; margin-top: .35rem; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.countdown__note { font-size: var(--fs-xs); color: var(--muted-dark); margin: .9rem 0 0; }

/* ===== 7. Fotos: Schwarz-Weiß mit farbigen Akzenten ===== */
.photo { position: relative; margin: 0; }
.photo img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	filter: grayscale(1) contrast(1.15);
	border-radius: var(--radius);
	position: relative; z-index: 1;
}
.photo::before { /* versetzter Farbblock */
	content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	background: var(--orange); border-radius: var(--radius);
}
.photo--gold::before { background: var(--orange-2); } /* alle Fotos: orange Offset-Karten (CLAUDE.md) */
.photo--tint::after { /* Farb-Overlay im Bild */
	content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(230, 81, 0, .35), rgba(255, 179, 0, 0) 55%);
	mix-blend-mode: multiply; pointer-events: none;
}
.photo figcaption {
	position: absolute; z-index: 3; left: 1rem; bottom: 1rem;
	background: var(--ink); color: var(--cream);
	padding: .35rem .75rem; border-radius: var(--pill);
	font-size: var(--fs-xs); font-weight: 600;
}
@media (max-width: 719px) { .photo::before { inset: .75rem -.6rem -.75rem .6rem; } }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.strip img { width: 100%; height: clamp(140px, 22vw, 300px); object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.strip img:hover { filter: grayscale(.2) contrast(1.05); }
@media (max-width: 600px) { .strip { grid-template-columns: 1fr 1fr; } .strip img:last-child { display: none; } }

/* ===== 8. Karten, Listen, Tags ===== */
.card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
	padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow);
	transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
	border-top: 4px solid var(--orange);
}
.card--gold { border-top-color: var(--gold); }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -24px rgba(30, 27, 24, .5); }
.card h3 { font-size: var(--fs-xl); }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card .btns { margin-top: auto; padding-top: 1.25rem; }
.dark .card { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; }
.dark .card p { color: var(--muted-dark); }
.card__icon {
	width: 52px; height: 52px; margin-bottom: 1rem;
	display: grid; place-items: center; border-radius: 14px;
	background: var(--ink); color: var(--gold);
}
.card__icon svg { width: 28px; height: 28px; }
.dark .card__icon { background: var(--ink); border: 1px solid var(--ink-3); }
.badge {
	display: inline-flex; width: fit-content; margin-bottom: .9rem;
	padding: .3rem .75rem; border-radius: var(--pill);
	background: rgba(255, 179, 0, .2); color: #7A4F00;
	font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.dark .badge { background: rgba(255, 179, 0, .15); color: var(--gold); }

.list, .checks { list-style: none; padding: 0; margin: 1rem 0; }
.list li, .checks li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(230, 81, 0, .15); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--orange-ink); }
.dark .checks li::before { color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0; }
.tags li { padding: .45rem .95rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--sand); font-size: var(--fs-sm); font-weight: 600; }
.dark .tags li { background: var(--ink-2); border-color: var(--ink-3); }

/* Wochenende */
.day { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--sand); box-shadow: var(--shadow); }
.day__date {
	display: inline-block; margin-bottom: .9rem; padding: .35rem .8rem; border-radius: var(--pill);
	background: var(--orange); color: #fff; font: 800 var(--fs-xs) var(--body); letter-spacing: .12em; text-transform: uppercase;
}
.day--sun .day__date { background: var(--gold); color: var(--ink); }
.day h3 { font-size: var(--fs-xl); }

/* Zitat & Statement */
.quote { font: 700 var(--fs-xl)/1.25 var(--display); border-left: 5px solid var(--gold); padding-left: 1.25rem; margin: 2rem 0; }
.statement { font-size: var(--fs-2xl); max-width: 18ch; }

/* Finanzierungsstufen */
.meter { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.meter li {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem;
	padding: .85rem 1rem; border-radius: var(--radius-sm);
	background: linear-gradient(90deg, rgba(255, 179, 0, .28) var(--fill), var(--ink-2) var(--fill));
	border: 1px solid var(--ink-3);
}
.meter strong { color: var(--cream); }
.meter span { color: var(--muted-dark); font-size: var(--fs-sm); }

/* Klang-Linie als Trenner */
.wave { display: block; width: 100%; height: 40px; color: var(--orange); }

/* ===== 9. Multi-Step-Formulare ===== */
.forms { background: var(--cream-2); }
.form-shell {
	background: #fff; border: 1px solid var(--sand); border-radius: calc(var(--radius) + 6px);
	box-shadow: var(--shadow); overflow: hidden;
}
.form-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--ink); }
.form-tab {
	min-height: 64px; padding: .9rem .5rem;
	background: transparent; color: var(--muted-dark);
	border: 0; border-bottom: 4px solid transparent; cursor: pointer;
	font: 700 var(--fs-sm)/1.2 var(--body);
	display: flex; flex-direction: column; align-items: center; gap: .35rem;
	transition: color .2s, background .2s, border-color .2s;
}
.form-tab svg { width: 22px; height: 22px; }
.form-tab:hover { color: var(--cream); background: var(--ink-2); }
.form-tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--orange); background: var(--ink-2); }
@media (min-width: 720px) { .form-tab { flex-direction: row; justify-content: center; font-size: var(--fs-base); } }
.form-body { padding: clamp(1.25rem, .75rem + 2.5vw, 3rem); }
.form-panel[hidden] { display: none; }

/* Fortschrittsbalken */
.progress { margin-bottom: 2rem; }
.progress__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); margin-bottom: .6rem; }
.progress__meta strong { font-family: var(--display); font-size: var(--fs-lg); }
.progress__meta span { color: var(--muted); white-space: nowrap; }
.progress__track { height: 10px; border-radius: var(--pill); background: var(--cream-2); overflow: hidden; border: 1px solid var(--sand); }
.progress__bar { height: 100%; width: 33.33%; border-radius: var(--pill); background: linear-gradient(90deg, var(--orange), var(--gold)); transition: width .45s var(--ease); }
.progress__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; list-style: none; padding: 0; margin: .9rem 0 0; }
.progress__steps li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.progress__steps li::before {
	content: attr(data-n); flex: 0 0 auto;
	width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
	background: var(--cream-2); border: 1px solid var(--sand); color: var(--muted); font-weight: 800;
}
.progress__steps li.is-active { color: var(--ink); }
.progress__steps li.is-active::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.progress__steps li.is-done::before { content: "✓"; background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (max-width: 520px) { .progress__steps li span { display: none; } .progress__steps li { justify-content: center; } }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font: 800 var(--fs-xl) var(--display); padding: 0; margin-bottom: .35rem; }
.step__intro { color: var(--muted); margin-bottom: 1.5rem; }
.fields { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fields--2 { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field[hidden] { display: none; }
.field > label, .group-label { font-weight: 700; font-size: var(--fs-sm); }
.req { color: var(--orange-ink); margin-left: .15rem; }
.hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.file-preview { display: block; width: 120px; height: 120px; object-fit: cover; margin-top: .5rem; border-radius: 10px; border: 2px solid var(--sand); background: var(--cream); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="time"], select, textarea {
	width: 100%; min-height: var(--tap); padding: .75rem 1rem;
	background: var(--cream); color: var(--ink);
	border: 1.5px solid var(--sand); border-radius: var(--radius-sm);
	font: 16px/1.4 var(--body); /* 16px verhindert iOS-Zoom */
	transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9A9086; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(230, 81, 0, .15); }
select {
	appearance: none; padding-right: 2.6rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px; background-repeat: no-repeat;
}
input[type="file"] { padding: .75rem; border: 1.5px dashed var(--sand); border-radius: var(--radius-sm); background: var(--cream); width: 100%; font: inherit; font-size: var(--fs-sm); }
input[type="file"]::file-selector-button { margin-right: .75rem; padding: .5rem 1rem; border: 0; border-radius: var(--pill); background: var(--ink); color: var(--cream); font-weight: 700; cursor: pointer; }

.choices { display: grid; gap: .55rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices--2 { grid-template-columns: 1fr 1fr; } .choices--3 { grid-template-columns: repeat(3, 1fr); } }
.choice {
	position: relative; display: flex; align-items: center; gap: .7rem;
	min-height: var(--tap); padding: .75rem 1rem;
	background: var(--cream); border: 1.5px solid var(--sand); border-radius: var(--radius-sm);
	cursor: pointer; font-weight: 600; font-size: var(--fs-sm);
	transition: border-color .2s, background .2s, transform .15s;
}
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(230, 81, 0, .07); }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange-ink); outline-offset: 2px; }
.choice--card { flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1rem; }
.choice--card .choice__icon { font-size: 1.6rem; line-height: 1; }
.choice--card small { color: var(--muted); font-weight: 500; }
.choice--card input { position: absolute; top: 1rem; right: 1rem; }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (min-width: 560px) { .amounts { grid-template-columns: repeat(4, 1fr); } }
.amounts .choice { justify-content: center; font: 800 var(--fs-lg) var(--display); }
.amounts .choice input { position: absolute; opacity: 0; pointer-events: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--orange); width: 1.2rem; height: 1.2rem; margin: 0; flex: 0 0 auto; }

.is-invalid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.is-invalid select, .is-invalid textarea { border-color: var(--danger); background: #FFF6F5; }
.is-invalid .choice { border-color: rgba(179, 38, 30, .55); }
.error { margin: 0; color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.error:empty { display: none; }

/* DSGVO-Pflichteinwilligung (CLAUDE.md) */
.dsgvo {
	display: flex; gap: .85rem; align-items: flex-start; cursor: pointer;
	padding: 1.1rem 1.2rem; margin-top: 1.5rem;
	background: var(--cream); border: 1.5px solid var(--sand); border-left: 5px solid var(--gold);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm); font-weight: 400; line-height: 1.55; color: var(--muted);
}
.dsgvo input { margin-top: .2rem; }
.field > .dsgvo { font-weight: 400; }
.dsgvo strong { color: var(--ink); font-weight: 700; }
.is-invalid .dsgvo { border-color: var(--danger); border-left-color: var(--danger); background: #FFF6F5; }
.dsgvo-more { font-size: var(--fs-xs); margin: .5rem 0 0; color: var(--muted); }
/* Optionale Newsletter-Checkbox (Akteur-Formulare): dezenter als die Pflicht-Einwilligung */
.newsletter-optin { background: #FFFFFF; border-left-color: var(--orange); }
.newsletter-optin + .dsgvo-more { margin-bottom: .25rem; }

/* ===== Ankündigungsseite 2027 ===== */
.announce-intro .title { max-width: 20ch; }
.fete-info__sub { margin: 2rem 0 .85rem; font-size: var(--fs-lg); }
.fete-info__features { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.fete-info__features li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; background: var(--cream); border: 1px solid var(--sand); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); }
.fete-info__features svg { flex: none; width: 28px; height: 28px; margin-top: .1rem; color: var(--orange); }
.fete-info__features p { margin: 0; color: var(--muted); }
.fete-info__features strong { color: var(--ink); }
/* Fakten-Karten: Smartphone 1-spaltig, Tablet 2-spaltig, Desktop 3-spaltig */
.fete-info__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 600px) { .fete-info__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .fete-info__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .facts-band .fete-info__facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.facts-band { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
/* Über die Fête: zusammengeführter Text neben dem Bild */
#ueber .fete-info__features { margin-bottom: 1.5rem; }
#ueber .fete-info__features li { background: #fff; }
/* langer Text neben dem Foto: Foto auf großen Bildschirmen oben bündig und mitlaufend */
@media (min-width: 960px) {
	#ueber > section:first-of-type .split { align-items: start; }
	#ueber > section:first-of-type .photo { position: sticky; top: 110px; }
}
.ueber-claim { margin: 1.75rem 0 0; padding: .9rem 0 .9rem 1.1rem; border-left: 5px solid var(--orange); font: 700 var(--fs-lg)/1.4 var(--display); color: var(--ink); }
.fete-stat { padding: 1rem 1.2rem; background: var(--ink); border-radius: var(--radius-sm); border-left: 4px solid var(--gold); }
.fete-stat strong { display: block; font: 800 clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem)/1.05 var(--display); color: var(--gold); }
.fete-stat span { display: block; margin-top: .25rem; font-size: var(--fs-sm); color: var(--muted-dark); }
.announce-cta .newsletter { margin: 2rem 0 0; }
.announce-cta__sub { margin: 3rem 0 1.25rem; color: var(--cream); font-size: var(--fs-lg); }
.actor-links .card h4 { font-size: var(--fs-lg); color: var(--cream); margin: .25rem 0 .5rem; }
.actor-links .card p { color: var(--muted-dark); }
.actor-links .card__icon { margin-bottom: .75rem; }
.announce-thanks .quote { margin-bottom: 0; }

/* Newsletter im Footer (Publikum) */
.newsletter {
	display: grid; gap: 1.25rem 3rem; margin-bottom: 3rem; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
	background: var(--ink-2); border: 1px solid var(--ink-3); border-left: 5px solid var(--orange); border-radius: 16px;
}
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.25fr; align-items: center; } }
.newsletter__eyebrow { margin: 0; color: var(--gold); font: 700 var(--fs-xs) var(--body); letter-spacing: .14em; text-transform: uppercase; }
.newsletter__title { margin: .35rem 0 .5rem; color: var(--cream); font-family: var(--display); font-size: var(--fs-xl); line-height: 1.15; }
.newsletter__text p:last-child { margin: 0; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.newsletter__row input {
	flex: 1 1 220px; min-width: 0; min-height: 50px; padding: .75rem 1rem; font: inherit; font-size: var(--fs-base);
	color: var(--cream); background: #151310; border: 2px solid var(--ink-3); border-radius: 10px;
}
.newsletter__row input::placeholder { color: #8C8378; }
.newsletter__row input:focus { border-color: var(--gold); }
.newsletter__row input[aria-invalid="true"] { border-color: var(--danger-dark); }
.newsletter__row .btn { flex: 0 0 auto; }
.newsletter__consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; cursor: pointer; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted-dark); }
.newsletter__consent input { flex: none; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--orange); }
.newsletter__consent a { color: var(--gold); text-decoration: underline; }
.newsletter__hint { margin: .5rem 0 0; font-size: var(--fs-xs); color: var(--muted-dark); }
.newsletter__msg { margin: .75rem 0 0; font-size: var(--fs-sm); font-weight: 600; }
.newsletter__msg:empty { display: none; }
.newsletter__msg.is-ok { color: #A5D6A7; }
.newsletter__msg.is-error { color: var(--danger-dark); }

/* Review in Schritt 3 */
.review { margin-top: 1.5rem; border: 1px solid var(--sand); border-radius: var(--radius-sm); overflow: hidden; }
.review summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; background: var(--cream-2); list-style: none; display: flex; justify-content: space-between; }
.review summary::after { content: "+"; font-weight: 800; color: var(--orange-ink); }
.review[open] summary::after { content: "–"; }
.review table, .summary { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.review th, .review td, .summary th, .summary td { text-align: left; vertical-align: top; padding: .55rem 1.1rem; border-top: 1px solid var(--sand); }
.review th, .summary th { width: 40%; color: var(--muted); font-weight: 600; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--sand); }
.step-nav .btn { font-size: 1rem; }
.step-nav .btn--back { background: transparent; border-color: var(--sand); color: var(--ink); }
.step-nav .btn--back:hover { border-color: var(--ink); box-shadow: none; color: var(--ink); }
.step-nav .btn--next { margin-left: auto; }
@media (max-width: 520px) { .step-nav { flex-direction: column-reverse; align-items: stretch; } .step-nav .btn { width: 100%; } .step-nav .btn--next { margin-left: 0; } }
.form-alert { display: none; margin-bottom: 1.25rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm); background: #FFF6F5; border: 1.5px solid var(--danger); color: var(--danger); font-weight: 600; font-size: var(--fs-sm); }
.form-alert.is-visible { display: block; }

/* Erfolg */
.success { text-align: left; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 2rem; margin-bottom: 1rem; }
.mailflow { display: grid; gap: .75rem; margin: 1.25rem 0; }
@media (min-width: 720px) { .mailflow { grid-template-columns: 1fr 1fr; } }
.mailflow div { padding: 1rem; border-radius: var(--radius-sm); background: var(--cream-2); border: 1px solid var(--sand); font-size: var(--fs-sm); color: var(--muted); }
.mailflow strong { display: block; color: var(--ink); margin-bottom: .2rem; word-break: break-word; }
.demo-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); }

/* ===== 10. Kontakt & Footer ===== */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; color: var(--gold); flex: 0 0 auto; margin-top: .15rem; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social a {
	display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 1.1rem;
	border: 1px solid var(--ink-3); border-radius: var(--pill);
	color: var(--cream); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
}
.social a:hover { border-color: var(--gold); color: var(--gold); }

.footer { background: #151310; color: var(--muted-dark); font-size: var(--fs-sm); padding-top: var(--section); padding-bottom: 2rem; border-top: 4px solid var(--orange); }
.footer h2 { color: var(--cream); font-size: var(--fs-xl); }
.footer h3 { color: var(--gold); font: 700 var(--fs-xs) var(--body); letter-spacing: .14em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-3); font-size: var(--fs-xs); }
.credits { margin-top: 2rem; font-size: .75rem; line-height: 1.6; color: #8C8379; }
.credits summary { cursor: pointer; color: var(--muted-dark); font-weight: 600; }
.credits a { color: #CFC6BA; text-decoration: underline; }

/* ===== 11. Scroll-Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===== 12. Druck = PDF-Zusammenfassung ===== */
.print-head { display: none; }
@media print {
	body { background: #fff; }
	body > *:not(main), main > *:not(#mitmachen-formular), #mitmachen-formular > .wrap--narrow > :not(.form-shell), .form-tabs, .form-panel, .no-print { display: none !important; }
	.form-shell { border: 0; box-shadow: none; }
	.print-head { display: block !important; border-bottom: 4px solid #E65100; padding-bottom: .5rem; margin-bottom: 1rem; }
	.summary th, .summary td { border-color: #ccc; }
}


/* ===== 13. Kontakt-Sektion: Side-by-Side (CLAUDE.md §2) ===== */
.contact-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-photo { position: relative; margin: 0 1.25rem 1.25rem 0; }
.contact-photo::before { /* versetzte orange Akzentkarte im Hintergrund */
	content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	background: #E65100; border-radius: var(--radius);
}
.contact-photo img {
	position: relative; z-index: 1;
	width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: var(--radius);
	filter: grayscale(1) contrast(1.15);
}
.contact-photo__badge { /* dunkles Pill-Label unten links, weiße Schrift */
	position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
	padding: .55rem 1.1rem; border-radius: var(--pill);
	background: var(--ink); color: #fff;
	font: 700 var(--fs-sm)/1.2 var(--body);
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
@media (min-width: 900px) { .contact-photo img { aspect-ratio: 4 / 5; object-position: 22% 50%; } }
@media (max-width: 719px) {
	.contact-photo { margin: 0 .75rem .75rem 0; }
	.contact-photo::before { inset: .75rem -.75rem -.75rem .75rem; }
}
.contact-card { background: #fff; border: 1px solid var(--sand); border-top: 4px solid var(--orange); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: clamp(1.25rem, .75rem + 2vw, 2.25rem); }
.contact-card .step legend { margin-bottom: 1.25rem; }
.contact-card .dsgvo { margin-top: 1.25rem; }
.contact-card .step-nav { justify-content: flex-end; }
.contact-strip { list-style: none; padding: 0; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-strip { grid-template-columns: repeat(3, 1fr); } }
.contact-strip li { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--cream-2); border-radius: var(--radius-sm); border-left: 4px solid var(--gold); font-size: var(--fs-sm); }
.contact-strip svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--orange-ink); }
.contact-strip strong { display: block; margin-bottom: .15rem; }
.contact-strip a { word-break: break-word; }

/* Zahlenfeld (Band-Formular, Schritt 2) */
.field--number input { max-width: 220px; font-size: 1.25rem !important; font-weight: 700; }
.field--number input::-webkit-outer-spin-button, .field--number input::-webkit-inner-spin-button { opacity: 1; }

/* ===== 14. Review-Screen & Abschluss (CLAUDE.md §4) ===== */
.review-screen, .done-screen { outline: none; }
.review-screen__title { font-size: var(--fs-xl); margin-bottom: .35rem; }
.review-group { margin-top: 1.5rem; border: 1px solid var(--sand); border-radius: var(--radius-sm); overflow: hidden; }
.review-group__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1.1rem; background: var(--cream-2); border-left: 4px solid var(--orange); }
.review-group__head h4 { margin: 0; font-size: var(--fs-base); }
.review-group .summary th, .review-group .summary td { padding: .6rem 1.1rem; }
.link-btn { background: none; border: 0; padding: .5rem .25rem; min-height: 40px; color: var(--orange-ink); font: 700 var(--fs-sm) var(--body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.review-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--sand); }
.review-actions .btn { font-size: 1.0625rem; }
@media (max-width: 560px) { .review-actions { flex-direction: column-reverse; align-items: stretch; } .review-actions .btn { width: 100%; } .review-actions .link-btn { align-self: center; } }
.redirect-note { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 179, 0, .16); border: 1px solid rgba(255, 179, 0, .5); font-size: var(--fs-sm); }

/* Toast nach dem Redirect */
.toast {
	position: fixed; z-index: 200; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
	width: min(92vw, 460px); padding: 1rem 1.25rem;
	background: var(--ink); color: var(--cream); border-left: 5px solid var(--gold);
	border-radius: var(--radius-sm); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
	animation: toast-in .35s var(--ease);
}
.toast strong { color: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }


/* ===== 15. Sprachauswahl (Combobox oben links neben der Navigation) ===== */
.logo { flex: 0 1 auto; }
.lang {
	position: relative; flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: .4rem;
	min-height: 42px; padding: 0 .85rem; border-radius: var(--pill);
	border: 1px solid var(--ink-3); color: var(--cream);
	font: 700 var(--fs-sm) var(--body); letter-spacing: .06em;
}
.lang::after { content: ""; width: 7px; height: 7px; margin-left: .15rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-2px) rotate(45deg); }
.lang:hover { border-color: var(--gold); }
.lang:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.lang__icon { width: 18px; height: 18px; color: var(--gold); }
.lang__select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang__select option { color: var(--ink); background: #fff; }
@media (max-width: 520px) {
	.header__inner { gap: .6rem; }
	.logo svg { width: 36px; height: 36px; }
	.logo__title { font-size: .92rem; max-width: 8.5rem; }
	.lang { padding: 0 .65rem; }
}

/* ===== 16. Footer: Copyright · KI-Hinweis · Rechtliches (exakte Reihenfolge) ===== */
.footer__cookie { margin: 1.25rem 0 0; }
.link-btn--light { color: var(--cream); padding-left: 0; }
.link-btn--light:hover { color: var(--gold); }
.footer__bottom { align-items: center; }
.footer__ai { color: var(--gold); }
@media (max-width: 720px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* ===== 17. Cookie-Banner & Einstellungen (DSGVO) ===== */
.cookie {
	position: fixed; z-index: 250; left: 50%; bottom: 1rem; transform: translateX(-50%);
	width: min(calc(100% - 2rem), 760px);
	background: var(--ink); color: var(--cream);
	border: 1px solid var(--ink-3); border-top: 4px solid var(--orange);
	border-radius: var(--radius); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65);
	animation: toast-in .4s var(--ease);
}
.cookie__inner { padding: 1.25rem 1.4rem; }
.cookie__title { font: 800 var(--fs-lg) var(--display); margin: 0 0 .4rem; color: var(--cream); }
.cookie__text { font-size: var(--fs-sm); color: var(--muted-dark); margin: 0 0 1rem; }
.cookie__text a { color: var(--gold); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
/* „Alle akzeptieren“ und „Nur essenzielle“ gleichwertig gestaltet – keine Lenkung (DSGVO) */
.btn--cookie { font-size: .95rem; min-height: 46px; padding: .65rem 1.2rem; }
.btn--cookie-ghost { font-size: .95rem; min-height: 46px; padding: .65rem 1.2rem; background: transparent; color: var(--cream); border-color: var(--muted-dark); }
.btn--cookie-ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: none; }
@media (max-width: 560px) { .cookie__actions { flex-direction: column; } .cookie__actions .btn { width: 100%; } }
.cookie-dialog {
	width: min(calc(100% - 2rem), 560px); padding: 0; border: 0;
	border-radius: var(--radius); border-top: 4px solid var(--orange);
	background: var(--ink); color: var(--cream);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.cookie-dialog::backdrop { background: rgba(30, 27, 24, .6); backdrop-filter: blur(3px); }
.cookie-dialog__form { padding: 1.4rem; }
.cookie-opt {
	display: flex; gap: .85rem; align-items: flex-start; margin: 0 0 .75rem;
	padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--ink-3);
	font-size: var(--fs-sm); color: var(--muted-dark); cursor: pointer;
}
.cookie-opt strong { color: var(--cream); }
.cookie-opt input { margin-top: .2rem; accent-color: var(--orange); }
.cookie-opt:has(input:disabled) { cursor: default; }
.cookie-dialog .cookie__actions { margin-top: 1.25rem; }

/* Header-Platz mit Sprachauswahl: keine Umbrüche in Navigation und CTA */
.nav { gap: 1rem; }
.nav__list a, .btn--nav, .logo__title { white-space: nowrap; }
@media (min-width: 1321px) { .nav__list a { padding: .5rem .6rem; } }
@media (max-width: 520px) { .logo__title { white-space: normal; } }

/* ===== 18. Rechtstexte: Impressum & Datenschutz (Design der Mutterseite) =====
   Helle Cream-Flächen, Anthrazit-Typografie, orange Akzente und weiße Cards –
   bewusst ohne dunkle Flächen, damit die Texte ruhig und gut lesbar bleiben. */
.legal-page { background: var(--cream); color: var(--ink); }
.legal-hero {
	position: relative; overflow: hidden;
	padding-top: calc(var(--section) * .8); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	background: var(--cream-2); border-bottom: 1px solid var(--sand);
}
.legal-hero::after { /* großes, dezentes Paragraphenzeichen als Markenakzent */
	content: "§"; position: absolute; right: max(var(--gutter), calc((100% - var(--max)) / 2)); top: 50%;
	transform: translateY(-50%);
	font: 800 clamp(8rem, 5rem + 12vw, 16rem)/1 var(--display);
	color: rgba(230, 81, 0, .1); pointer-events: none;
}
.legal-hero .title { font-size: var(--fs-3xl); margin-bottom: .75rem; position: relative; z-index: 1; }
.legal-hero .title::after { content: ""; display: block; width: 4.5rem; height: 6px; margin-top: 1rem; border-radius: var(--pill); background: linear-gradient(90deg, var(--orange), var(--gold)); }
.legal-hero .lead { position: relative; z-index: 1; color: var(--muted); }
.legal-badge {
	display: inline-flex; margin: .5rem 0 0; padding: .35rem .85rem; border-radius: var(--pill);
	background: rgba(255, 179, 0, .22); color: #7A4F00;
	font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.legal-body { background: var(--cream); }

/* Impressum: Cards */
.legal-card { border-top-color: var(--orange); }
.legal-card.card--gold { border-top-color: var(--gold); }
.legal-card:hover { transform: none; box-shadow: var(--shadow); }
.legal-card__title { font: 800 var(--fs-lg)/1.25 var(--display); margin: 0 0 .6rem; }
.legal-card .legal-card__text { color: var(--ink); margin: 0; line-height: 1.7; }
.legal-card a { word-break: break-word; }

/* Datenschutz: Inhaltsverzeichnis + Abschnitts-Cards */
.legal-layout { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 280px 1fr; } .legal-toc { position: sticky; top: 104px; } }
.legal-toc {
	background: #fff; border: 1px solid var(--sand); border-top: 4px solid var(--orange);
	border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; box-shadow: var(--shadow);
}
.legal-toc__title { font: 800 var(--fs-xs) var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 .75rem; }
.legal-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.legal-toc li { counter-increment: toc; border-top: 1px solid var(--sand); }
.legal-toc li:first-child { border-top: 0; }
.legal-toc a {
	display: flex; gap: .6rem; padding: .55rem 0; min-height: 40px; align-items: center;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange-ink); font: 800 var(--fs-xs) var(--display); }
.legal-toc a:hover { color: var(--orange-ink); }
.legal-section {
	background: #fff; border: 1px solid var(--sand); border-left: 4px solid var(--orange);
	border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
	margin-bottom: 1.25rem; box-shadow: var(--shadow); scroll-margin-top: 1rem; /* + scroll-padding-top des Headers */
}
.legal-section:nth-child(even) { border-left-color: var(--gold); }
.legal-section__title { display: flex; align-items: center; gap: .75rem; font: 800 var(--fs-xl)/1.2 var(--display); margin: 0 0 1rem; }
.legal-section__num {
	flex: 0 0 auto; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: var(--orange); color: #fff; font: 800 .85rem var(--display);
}
.legal-section:nth-child(even) .legal-section__num { background: var(--gold); color: var(--ink); }
.legal-section p, .legal-section li { color: var(--ink); line-height: 1.7; }
.legal-section > :last-child { margin-bottom: 0; }
.legal-address { padding: 1rem 1.2rem; background: var(--cream-2); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); }
.legal-rights { columns: 2 260px; column-gap: 2rem; }
.legal-rights li { break-inside: avoid; }
.legal-note {
	margin: 1.5rem 0 0; padding: .9rem 1.1rem; border: 1px dashed var(--sand); border-radius: var(--radius-sm);
	font-size: var(--fs-xs); color: var(--muted); background: var(--cream-2);
}
.legal-hero .title::first-letter { text-transform: uppercase; } /* „privacy policy“ → „Privacy policy“ in EN/FR */
/* Rechtstexte mobil: lange Wörter umbrechen, §-Akzent in die Ecke */
.legal-hero .title { font-size: clamp(2.1rem, 1.1rem + 5vw, 5.75rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 720px) {
	.legal-hero::after { top: .5rem; transform: none; font-size: 6rem; }
	.legal-hero .lead { max-width: 100%; }
}

/* ===== 19. Navigation: Sprachauswahl zwischen „Kontakt“ und CTA (CLAUDE.md §2) ===== */
.header__inner .logo { margin-right: auto; }
.nav { margin-left: auto; }

/* ===== 20. Spenden-Zusage: Hinweis zum Vereinskonto (CLAUDE.md §4A) ===== */
.donation-note {
	flex-direction: row; align-items: flex-start; gap: .85rem;
	padding: 1rem 1.2rem; border-radius: var(--radius-sm);
	background: rgba(255, 179, 0, .16); border: 1px solid rgba(255, 179, 0, .55); border-left: 5px solid var(--gold);
}
.donation-note svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--orange-ink); margin-top: .1rem; }
.donation-note p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink); }
.pay-next { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255, 179, 0, .14); border: 1px solid rgba(255, 179, 0, .5); border-left: 5px solid var(--gold); }
.pay-next strong { display: block; margin-bottom: .25rem; }
.pay-next p { margin: 0; font-size: var(--fs-sm); color: var(--ink); }

/* ===== 21. Footer-Links & Bildnachweise-Dialog (CLAUDE.md §4) ===== */
.link-btn--inline { display: inline; min-height: 0; padding: 0; color: var(--cream); text-decoration: none; font: inherit; }
.link-btn--inline:hover { color: var(--gold); text-decoration: underline; }
.footer__legal { line-height: 2; }
.credits-dialog {
	width: min(calc(100% - 2rem), 720px); max-height: calc(100vh - 2rem); padding: 0; border: 0;
	border-radius: var(--radius); border-top: 5px solid var(--orange);
	background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.credits-dialog::backdrop { background: rgba(30, 27, 24, .6); backdrop-filter: blur(3px); }
.credits-dialog__inner { padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.credits-dialog__title { font-size: var(--fs-2xl); margin-bottom: .5rem; }
.credits-dialog__intro { color: var(--muted); }
.credits-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.credits-list li { display: flex; gap: .9rem; align-items: center; padding: .6rem; background: #fff; border: 1px solid var(--sand); border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.credits-list img { width: 64px; height: 48px; flex: 0 0 auto; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(1.1); box-shadow: 4px 4px 0 var(--orange); }
.credits-dialog__actions { margin-top: 1.5rem; display: flex; justify-content: flex-end; }

/* ===== 22. Versand-Status (WordPress) & Spam-Schutz ===== */
.send-error { margin: 1.25rem 0 0; padding: .85rem 1.1rem; border-radius: var(--radius-sm); background: #FFF6F5; border: 1.5px solid var(--danger); color: var(--danger); font-weight: 600; font-size: var(--fs-sm); }
.btn[disabled][data-send] { opacity: .7; cursor: progress; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ===== Responsive-Absicherung (alle Seiten) ===== */
/* Grid-/Flex-Kinder dürfen schmaler werden als ihr längstes Wort – verhindert Überlaufen auf 320-px-Geräten */
.grid > *, .split > *, .contact-grid > *, .legal-layout > *, .form-shell, .contact-card { min-width: 0; }
/* lange Wörter, E-Mail-Adressen und Links umbrechen statt den Rand zu sprengen */
p, li, dd, td, th, label, h1, h2, h3, h4, .legal-content a, .footer a { overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; }
@media (max-width: 480px) {
	h1, h2, .title { hyphens: auto; -webkit-hyphens: auto; }
}
/* Touch-Geräte / Smartphones: Footer-Links mit ausreichend großer Klickfläche (≥ 44 px) */
@media (pointer: coarse), (max-width: 720px) {
	.footer li { margin-bottom: 0; }
	.footer li a { display: inline-flex; align-items: center; min-height: 44px; }
	.footer__legal { line-height: 1.4; }
	.footer__legal a, .footer__legal .link-btn--inline { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Ankündigungsseite auf kleinen Smartphones: Info-Karte nutzt die Breite, Icons über dem Text */
@media (max-width: 480px) {
	.fete-info__features li { flex-direction: column; gap: .5rem; padding: .9rem 1rem; }
	.announce-cta .newsletter { padding: 1.1rem; }
}

/* ===== Partner-Veedel 2027: leuchtendes Badge (Home, Mitmachen, Kalk) ===== */
.partner-badge {
	display: flex; align-items: center; gap: .5rem; width: fit-content; max-width: 100%; margin: 0 0 1.1rem;
	padding: .5rem 1.05rem; border-radius: var(--pill);
	background: var(--gold); color: var(--ink); text-decoration: none;
	font: 800 .85rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase;
	box-shadow: 0 0 0 0 rgba(255, 179, 0, .55), 0 0 18px 2px rgba(255, 179, 0, .35);
	animation: partner-glow 2.6s ease-in-out infinite;
}
a.partner-badge:hover { color: var(--ink); background: #FFC533; }
@keyframes partner-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, .55), 0 0 18px 2px rgba(255, 179, 0, .35); }
	50% { box-shadow: 0 0 0 8px rgba(255, 179, 0, 0), 0 0 30px 6px rgba(230, 81, 0, .45); }
}
@media (prefers-reduced-motion: reduce) { .partner-badge { animation: none; } }
/* Hero: großes Badge rechts neben dem Titel (bricht auf schmalen Screens darunter um) + hervorgehobener Tag */
.hero__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.1rem; }
.hero__head h1 { margin-bottom: 0; max-width: 4.7em; } /* drei Zeilen: „Fête de la / Musique / Köln 2027“ – Platz fürs Badge daneben */
.partner-badge--lg {
	transform: rotate(-3.5deg); transition: transform .25s var(--ease), background .2s;
	margin: 0; max-width: 15rem; padding: .85rem 1.1rem .85rem .95rem; border-radius: 1.1rem; gap: .65rem;
	font-size: .95rem; line-height: 1.3;
}
.partner-badge--lg > span { font-size: 1.7em; line-height: 1; }
a.partner-badge--lg:hover { transform: rotate(-3.5deg) scale(1.04); }
/* Action-Badge in der Tag-Leiste: gleiche Größe/Typo wie Kostenlos · Offen · Inklusiv, orange, verlinkt auf /kalk */
.hero__claims .hero__claim--action { padding: 0; border: 0; }
/* Desktop: alle vier Badges in einer Reihe. Die Reihe bekommt eine eigene Rasterzeile über beide Spalten,
   der Countdown steht nur neben Text + Button darunter – so können sich Reihe und Countdown bei keiner Breite überdecken. */
@media (min-width: 1000px) {
	.hero__grid { row-gap: 0; }
	.hero__grid > :first-child { display: contents; }
	.hero__grid > :first-child > * { grid-column: 1; }
	.hero__grid > :first-child > .hero__claims { grid-column: 1 / -1; flex-wrap: nowrap; }
	.hero__grid > .countdown { grid-column: 2; grid-row: 4 / span 2; align-self: end; }
}
.hero__claim--action a {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .35rem .85rem; border: 1px solid var(--orange-2); border-radius: var(--pill);
	background: var(--orange-2); color: #fff; text-decoration: none;
	font: inherit; letter-spacing: inherit; text-transform: inherit;
	box-shadow: 0 0 14px rgba(230, 81, 0, .45);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.hero__claim--action a span { font-size: 1em; line-height: 1; }
.hero__claim--action a:hover, .hero__claim--action a:focus-visible {
	color: #fff; transform: scale(1.07); /* Hintergrund bleibt #D84315 – Kontrast weiße Schrift ≥ 4,5:1 */
	box-shadow: 0 0 0 3px rgba(255, 179, 0, .35), 0 0 26px 4px rgba(230, 81, 0, .75);
}
@media (prefers-reduced-motion: reduce) {
	.hero__claim--action a, .partner-badge--lg { transition: none; }
	.hero__claim--action a:hover, .hero__claim--action a:focus-visible { transform: none; }
	a.partner-badge--lg:hover { transform: rotate(-3.5deg); }
}


/* ===== WordPress-Ergänzungen (nur im Theme) ===== */
/* Admin-Leiste für angemeldete Nutzer:innen: Header darunter einrasten */
.admin-bar .header { top: 32px; }
.admin-bar .nav__list { top: calc(75px + 32px); }
@media (max-width: 782px) {
	.admin-bar .header { top: 46px; }
	.admin-bar .nav__list { top: calc(75px + 46px); }
}
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
