/* WIR.HÜFFELSHEIM – Farben aus den Illustrationen: Abendgold, Weinberggrün, Nachtblau, Papier */
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 900; font-display: swap; src: url("../fonts/cinzel-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Kaushan Script"; font-weight: 400; font-display: swap; src: url("../fonts/kaushan-script-latin-400-normal.woff2") format("woff2"); }

/* WIR.HÜFFELSHEIM – Farben der LP-Bildwelt: Abendlila, Glutorange, Gold, Wappenrot, Weinlaub */
:root {
	--nacht: #101d2b; --nacht-2: #1f3a52; --wein: #4f7a1f; --gold: #f2b53a; --gold-hell: #ffe08a; --gold-dunkel: #a8650c; --glut: #f07a1a; --wappen: #b3192f;
	--papier: #fff5df; --papier-2: #f9e7c2; --tinte: #2b1a10; --gedaempft: #6e5844; --rand: rgba(43, 26, 16, .16);
	--serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--titel: "Cinzel", "Trajan Pro", "Times New Roman", serif;
	--skript: "Kaushan Script", "Brush Script MT", cursive;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--breite: 74rem; --radius: 14px;
	--goldtext: linear-gradient(180deg, #fff3b8 0%, #ffd45a 38%, #e09a1c 62%, #a8650c 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 1.0625rem/1.7 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #8a5a12; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.12; font-family: var(--titel); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
p { text-wrap: pretty; }
.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.marke { display: block; font: 600 .75rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #a26f12; margin: 0 0 .6rem; }
.leit { font-size: 1.2rem; color: var(--gedaempft); max-width: 46rem; }
.hinweis, .wir-hinweis { font: .8125rem/1.5 var(--sans); color: var(--gedaempft); border-left: 3px solid var(--gold); padding: .2rem 0 .2rem .75rem; }
.klein { font-size: .8rem; opacity: .75; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung:focus { position: fixed; left: 1rem; top: 1rem; z-index: 3000; width: auto; height: auto; clip: auto; padding: .5rem 1rem; background: var(--gold); color: var(--nacht); }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
	font: 600 .95rem/1 var(--sans); text-decoration: none; background: var(--gold); color: var(--nacht); box-shadow: 0 8px 24px rgba(217, 164, 65, .35); transition: transform .2s, background .2s; }
.knopf:hover { background: var(--gold-hell); color: var(--nacht); transform: translateY(-2px); }
.knopf--hohl { background: rgba(20, 33, 58, .35); color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-hell); backdrop-filter: blur(6px); }
.knopf--hohl:hover { background: rgba(20, 33, 58, .55); color: #fff; }
.knopf--klein { min-height: 40px; padding: .5rem 1rem; font-size: .85rem; box-shadow: none; }

/* Kopfzeile */
.kopf { position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff; transition: background .3s, box-shadow .3s; }
.kopf.ist-gescrollt, .seite-bereich:not(:has(.hero)) .kopf, body:not(:has(.hero)) .kopf { background: rgba(20, 33, 58, .88); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .15); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.logo { font: 900 1.15rem/1 var(--titel); letter-spacing: .04em; text-decoration: none; white-space: nowrap; color: #fff; }
.logo span, .gold { background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 #5a3206) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.kopf nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(.1rem, 1.4vw, 1.2rem); list-style: none; margin: 0; padding: 0; }
.kopf nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .35rem; font: 500 .9rem/1 var(--sans); text-decoration: none; opacity: .9; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.kopf nav a:hover { opacity: 1; color: var(--gold-hell); }
.kopf nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold-hell); }
@media (max-width: 46rem) {
	.kopf__innen { flex-direction: column; align-items: flex-start; gap: 0; padding-block: .5rem; min-height: 0; }
	.kopf nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
	.kopf nav ul { flex-wrap: nowrap; justify-content: flex-start; }
	.kopf nav a { font-size: .85rem; white-space: nowrap; min-height: 40px; }
}

/* Bildkopf */
.hero { position: relative; height: 78svh; min-height: 30rem; overflow: hidden; color: #fff; background: var(--nacht); isolation: isolate; }
.hero--voll { height: 100svh; min-height: 36rem; }
.hero__bild { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__licht { position: absolute; inset: 0; z-index: -2; pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 33, 58, .55) 0%, rgba(20, 33, 58, 0) 32%, rgba(20, 33, 58, 0) 55%, rgba(20, 33, 58, .7) 100%),
		radial-gradient(ellipse at 15% 20%, rgba(255, 196, 120, .28), transparent 55%); mix-blend-mode: normal; }
.hero__nacht { position: absolute; inset: 0; z-index: -2; opacity: 0; pointer-events: none; mix-blend-mode: multiply;
	background: linear-gradient(180deg, #0b1630 0%, #22355f 60%, #3a3f6b 100%); }
.hero__funken { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__text { position: absolute; inset: auto 0 0; padding-bottom: clamp(2.5rem, 9svh, 6rem); }
.hero__text .marke { color: var(--gold-hell); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.6rem); max-width: 15ch; text-shadow: 0 3px 30px rgba(10, 15, 30, .6); margin: 0; }
.hero:not(.hero--voll) h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); }
.hero__leit { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 34rem; margin: .8rem 0 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }

/* Inhalt */
.inhalt { padding-block: clamp(3rem, 7vw, 5.5rem); }
body:not(:has(.hero)) .inhalt { padding-top: 7rem; }
.inhalt > h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.einladung { max-width: 50rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.einladung h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }

.wege { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-bottom: clamp(3rem, 7vw, 5rem); }
.weg { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; min-height: 22rem; padding: 1.5rem; overflow: hidden;
	border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 18px 40px rgba(42, 33, 24, .18); }
.weg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.weg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20, 33, 58, .88)); }
.weg:hover { color: #fff; }
.weg:hover img { transform: scale(1.06); }
.weg .marke { color: var(--gold-hell); margin: 0; }
.weg strong { font-size: 1.6rem; line-height: 1.15; }
.weg span:last-child { font-size: .98rem; opacity: .92; }

/* Zettel an der Effe */
.zettel { list-style: none; padding: 0; margin: 1.5rem 0 3rem; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.zettel li { position: relative; padding: 1.6rem 1.25rem 1.1rem; background: #fff6c9; color: var(--tinte); border-radius: 2px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 14px 26px -12px rgba(60, 40, 10, .45); transform: rotate(var(--dreh, -1.5deg)); font-size: 1.02rem; }
.zettel li:nth-child(3n+2) { background: #ffe0e6; --dreh: 1.8deg; }
.zettel li:nth-child(3n) { background: #e2f0ff; --dreh: -.6deg; }
.zettel li::before { content: ""; position: absolute; top: .45rem; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ff8a7a, #b8322a); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.zettel blockquote, .zettel p { margin: 0 0 .7rem; }
.zettel cite { font: italic .85rem var(--sans); color: var(--gedaempft); }
.zettel-vorschau { margin-bottom: clamp(3rem, 7vw, 5rem); }

/* Trackliste */
.trackliste ol { list-style: none; padding: 0; margin: 1.5rem 0 0; columns: 2 20rem; column-gap: 3rem; }
.trackliste li { display: flex; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--rand); break-inside: avoid; }
.trackliste a { font-weight: 600; }
.nr { font: 600 .85rem/1 var(--sans); color: #a26f12; min-width: 1.8rem; }
small { font: .8rem var(--sans); color: var(--gedaempft); }

/* Formulare */
.wir-form { max-width: 40rem; margin-top: 2.5rem; padding: clamp(1.25rem, 4vw, 2rem); background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(42, 33, 24, .1); display: grid; gap: 1rem; }
.wir-form h2 { font-size: 1.5rem; margin: 0; }
.wir-form label { display: grid; gap: .35rem; font: 500 .92rem/1.4 var(--sans); }
.wir-form input:not([type=checkbox]), .wir-form textarea, .wir-form select { width: 100%; min-height: 46px; padding: .65rem .8rem; font: 1rem/1.4 var(--sans);
	color: var(--tinte); background: var(--papier); border: 1.5px solid var(--rand); border-radius: 10px; }
.wir-form input:focus, .wir-form textarea:focus, .wir-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 65, .3); }
.wir-form .wir-check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.wir-form input[type=checkbox] { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--wein); }
.wir-form button { justify-self: start; }
.wir-form button, .wir-form [type=submit] { min-height: 46px; padding: .7rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer; font: 600 .95rem/1 var(--sans); background: var(--gold); color: var(--nacht); }
.wir-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wir-ok, .wir-fehler { padding: 1rem 1.25rem; border-radius: 10px; font-family: var(--sans); }
.wir-ok { background: #e6f2dc; border: 1px solid #a9c98f; }
.wir-fehler { background: #fde6e2; border: 1px solid #e6a59a; }

/* Tauschbörse */
.wir-angebote { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.wir-angebote li { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(42, 33, 24, .1); padding-bottom: 1rem; }
.wir-angebote li > :not(img) { margin-inline: 1rem; }
.wir-angebote img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .8rem; }
.wir-angebote h3 { font-size: 1.2rem; margin-top: .2rem; }
.wir-art { display: inline-block; margin-top: .8rem; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wein); }

/* Galerie */
.wir-galerie { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 1.5rem 0; }
.wir-galerie figure { margin: 0; padding: .8rem .8rem 1rem; background: #fff; box-shadow: 0 12px 30px rgba(42, 33, 24, .14); transform: rotate(-.6deg); }
.wir-galerie figure:nth-child(even) { transform: rotate(.8deg); }
.wir-galerie img { filter: sepia(.15); }
.wir-galerie figcaption { font: .9rem/1.45 var(--sans); margin-top: .6rem; }

/* Dorfkarte */
.karte-rahmen { margin: 1.5rem calc(50% - 50vw + clamp(0rem, 2vw, 1.5rem)); }
.karte { aspect-ratio: 1680 / 944; max-height: 82svh; width: 100%; border-radius: clamp(0px, 1vw, var(--radius)); background: var(--nacht); box-shadow: 0 24px 60px rgba(20, 33, 58, .25); }
.punkt { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; vertical-align: middle; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.punkt--lied { background: var(--gold); } .punkt--mit { background: #e2544a; } .punkt--erinnerung { background: #6f8fd0; }
.pin { width: 44px; height: 44px; display: grid; place-items: center; }
.leaflet-marker-icon.pin { background: none; border: 0; }
.pin span { display: block; position: relative; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); background: var(--gold); transition: transform .2s; }
.pin--mitmachen span { background: #e2544a; } .pin--erinnerung span { background: #6f8fd0; }
.pin:hover span, .pin:focus-visible span { transform: rotate(-45deg) scale(1.2); }
.pin span::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); animation: puls 2.4s ease-out infinite; }
.pin span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
@keyframes puls { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.leaflet-popup-content { font: 1rem/1.5 var(--serif); }
.leaflet-popup-content h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.leaflet-container a.knopf { color: var(--nacht); }
.ortsliste { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.ortsliste li { padding: 1.4rem; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(42, 33, 24, .08); scroll-margin-top: 6rem; }
.ortsliste li:target { box-shadow: 0 0 0 3px var(--gold); }
.ortsliste h3 { font-size: 1.3rem; }

/* Liedseite */
.lied { display: grid; gap: clamp(2rem, 6vw, 5rem); }

.strophe { font-size: 1.2rem; line-height: 1.75; margin: 0 0 1.8rem; }
.refrain { padding: 1.1rem 1.4rem; margin-inline: -1.4rem; background: linear-gradient(135deg, var(--nacht), var(--nacht-2)); color: var(--gold-hell); border-radius: 12px; font-style: italic; }
.lied__seite section + section { margin-top: 2.5rem; }
.lied__seite h2 { font-size: 1.5rem; }
.orte { list-style: none; padding: 0; margin: 0; }
.orte li { border-bottom: 1px solid var(--rand); }
.orte a { display: flex; align-items: center; min-height: 48px; font-weight: 600; }
.blaettern { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--rand); font-family: var(--sans); }

/* Fußzeile */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .78); font: .9rem/1.6 var(--sans); padding-block: 2.5rem; }
.fuss a { color: var(--gold-hell); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* LP-Schriftzug: Gold, plastisch wie auf dem Cover */
.lp-titel { font: 900 clamp(2.8rem, 9vw, 7.2rem)/.95 var(--titel); letter-spacing: .01em; margin: 0; }
.lp-titel span { display: inline-block; background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 0 #6b3a07) drop-shadow(0 4px 0 #4a2804) drop-shadow(0 10px 18px rgba(10, 5, 30, .7)); }
.lp-unter { font: 700 clamp(1rem, 2.6vw, 1.9rem)/1.2 var(--titel); letter-spacing: .06em; margin: .4rem 0 0; }
.lp-unter span { background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #5a3206) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.ranke { display: block; width: min(22rem, 70%); height: 22px; margin: .6rem 0 0; background:
	linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent) center / 100% 2px no-repeat; position: relative; }
.ranke::after { content: "❦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 .5rem; font-size: 1.3rem; color: var(--gold); }
.skript { font-family: var(--skript); font-weight: 400; }
.hero .skript-zeile { font: 400 clamp(1.4rem, 3.4vw, 2.6rem)/1.15 var(--skript); color: #fff3d6; margin: 0 0 .6rem; text-shadow: 0 3px 16px rgba(0, 0, 0, .7); }
.hero .skript-zeile::after { content: ""; display: block; width: 9rem; height: .45rem; margin-top: .35rem; border-radius: 1rem; background: linear-gradient(90deg, var(--glut), #ff9a3c 70%, transparent); transform: rotate(-2deg); }
.hero h1:not(.lp-titel) { font-family: var(--titel); font-weight: 900; }
.hero h1:not(.lp-titel) span { background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #5a3206) drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.marke { color: var(--glut); }
.inhalt h2 { color: var(--nacht); }
.einladung h2 .skript, h2 .skript { color: var(--glut); font-size: 1.1em; }

/* Goldrahmen wie auf den Plakaten */
.goldrahmen { position: relative; border: 5px solid transparent; border-radius: var(--radius);
	background: linear-gradient(var(--nacht), var(--nacht)) padding-box, linear-gradient(135deg, #fff1a8, #d9931c 30%, #ffe48a 50%, #a8650c 75%, #ffd45a) border-box;
	box-shadow: 0 0 0 1px #5a3206, 0 22px 50px rgba(16, 29, 43, .35); }
.goldrahmen::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 224, 138, .55); border-radius: calc(var(--radius) - 6px); pointer-events: none; z-index: 2; }
.weg.goldrahmen { padding: 1.5rem; }
.weg strong { font-family: var(--titel); font-weight: 900; font-size: 1.45rem; }

/* Dorfleben-Bänder */
.baender { display: grid; gap: 1.2rem; margin: 0 0 clamp(3rem, 7vw, 5rem); }
.band { position: relative; overflow: hidden; aspect-ratio: 1628 / 270; }
.band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.band figcaption { position: absolute; left: 1.2rem; bottom: .8rem; z-index: 3; font: 400 clamp(1.1rem, 2.4vw, 1.8rem)/1 var(--skript); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
@media (max-width: 40rem) { .band { aspect-ratio: 16 / 7; } }

/* Karte: Klickflächen über den gemalten Nummern */
.treffer { border-radius: 50%; }
.treffer span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 224, 138, 0); transition: box-shadow .25s; }
.treffer:hover span, .treffer:focus-visible span { box-shadow: 0 0 0 4px rgba(255, 224, 138, .95), 0 0 24px 8px rgba(255, 196, 60, .7); }
.karte-rahmen .karte { border-radius: calc(var(--radius) - 5px); }

/* Kräftige Umlaut-Punkte in der Goldschrift */
.uml { position: relative; display: inline-block; }
.uml::before, .uml::after { content: ""; position: absolute; top: -.08em; width: .15em; height: .15em; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff6c4, #ffcf4a 45%, #b9700f); box-shadow: 0 .02em 0 #5a3206; }
.uml::before { left: 22%; } .uml::after { right: 22%; }
.logo .uml::before, .logo .uml::after { top: -.12em; width: .18em; height: .18em; }

/* Dorfkalender */
.monat { margin-bottom: 2.5rem; }
.monat__titel { font-size: clamp(1.6rem, 3.5vw, 2.4rem); border-bottom: 2px solid var(--gold); padding-bottom: .4rem; }
.monat__titel span { color: var(--glut); }
.termine { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.termin { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.2rem; align-items: start; padding: 1rem; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 26px rgba(43, 26, 16, .08); }
.termin__datum { display: grid; justify-items: center; padding: .55rem 0 .6rem; color: #fff; font: 600 .75rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.termin__datum strong { font: 900 2rem/1 var(--titel); color: var(--gold-hell); margin: .15rem 0; }
.termin__datum span { position: relative; z-index: 3; }
.termin h3 { font-size: 1.3rem; margin: .1rem 0 .3rem; }
.termin__meta { font: 600 .9rem/1.4 var(--sans); color: var(--gold-dunkel); margin: 0 0 .4rem; }
.termin__fuss { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font: .82rem/1.4 var(--sans); color: var(--gedaempft); margin: .4rem 0 0; }
.termin__fuss a { font-weight: 600; color: var(--nacht); }
.zweispaltig { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.filter button, .filter a { min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--gold); background: #fff; color: var(--nacht); font: 600 .9rem/1 var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.filter [aria-pressed="true"] { background: var(--nacht); color: var(--gold-hell); border-color: var(--nacht); }
.chip { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font: 600 .7rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: #fbe6c2; color: var(--gold-dunkel); }
.chip--sport { background: #fde0e3; color: var(--wappen); }
.wochentag { font-size: 1.15rem; margin: 1.4rem 0 .4rem; color: var(--glut); }
.regel { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.regel li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .75rem 1rem; background: #fff; border-radius: 10px; box-shadow: 0 6px 16px rgba(43, 26, 16, .06); }
.regel__zeit { font: 700 1rem/1.4 var(--sans); color: var(--nacht); }
@media (max-width: 30rem) { .regel li { grid-template-columns: 1fr; gap: .2rem; } }

.termin h3 { font: 600 1.25rem/1.3 var(--serif); letter-spacing: 0; }
.trackliste--gross li { padding: 1rem 0; }
.trackliste--gross a { font-size: 1.2rem; }
.trackliste--gross p { margin: .2rem 0 0; color: var(--gedaempft); font-size: .98rem; }

/* Pop-up */
.popup { padding: 0; max-width: min(36rem, calc(100vw - 2rem)); width: 100%; border: 5px solid transparent; color: #fff; overflow: hidden; }
.popup::backdrop { background: rgba(10, 20, 32, .6); backdrop-filter: blur(3px); }
.popup img { width: 100%; aspect-ratio: 3 / 2; max-height: 45svh; object-fit: cover; }
.popup__text { padding: 1.4rem 1.6rem 1.6rem; }
.popup__text h2 { font: 900 clamp(1.5rem, 4vw, 2rem)/1.15 var(--titel); margin: 0 0 .6rem; }
.popup__text h2 > span[aria-hidden] { background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.popup__text p { margin: 0 0 .8rem; color: #f6ead2; }
.popup__termin { padding: .8rem 1rem; border-radius: 10px; background: rgba(255, 224, 138, .12); border-left: 3px solid var(--gold); }
.popup__termin strong { color: var(--gold-hell); font-size: 1.15rem; }
.popup .knoepfe { margin-top: 1rem; }
.knopf--leise { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.popup__x { position: absolute; top: .6rem; right: .6rem; z-index: 4; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(10, 20, 32, .7); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .popup[open] { animation: popup-rein .5s cubic-bezier(.2, .9, .3, 1.2); } }
@keyframes popup-rein { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* Wartung */
.wartung { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 100svh; margin: 0; padding: 1rem 1rem clamp(1rem, 4vh, 3rem);
	background: #2b1a10 url("../bilder/wartung-gross.webp") center 30% / cover no-repeat; }
@media (max-width: 40rem) { .wartung { background-image: url("../bilder/wartung-klein.webp"); background-position: 50% 0; background-size: auto 62svh; background-color: #3a2414; } }
.wartung__karte { width: min(100%, 38rem); padding: 1.4rem 1.8rem 1.2rem; text-align: center; color: #f6ead2; border-radius: 16px;
	background: rgba(16, 29, 43, .86); box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 224, 138, .5); backdrop-filter: blur(4px); }
.wartung__karte .skript { font-size: 2rem; color: var(--gold-hell); margin: 0; }
.wartung__karte .lp-titel { font-size: clamp(2rem, 7vw, 3.2rem); margin: .2rem 0; }
.wartung__karte .lp-unter { margin: 0 0 .8rem; }
.wartung__karte p { color: #f6ead2; margin: .4rem 0; }
.wartung__bis { font: 600 .95rem var(--sans); }
.wartung__bis strong { color: var(--gold-hell); }
.wartung__fuss { margin-top: 1rem !important; font: .8rem var(--sans); }
.wartung__fuss a { color: #ffe08a; }
.wartung-balken { position: fixed; inset: auto 0 0; z-index: 2000; padding: .6rem 1rem; text-align: center; font: 600 .9rem var(--sans); background: var(--wappen); color: #fff; }
.wartung-balken a { color: #fff; text-decoration: underline; }

/* Liederbuch */
.liederbuch { margin-bottom: clamp(3rem, 7vw, 5rem); }
.liederbuch__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.liederbuch__kopf .marke { margin: 0; }
.buch { position: relative; margin: 0 auto; outline: none; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.buch:focus-visible .buch__flaeche { box-shadow: 0 0 0 3px var(--gold), 0 30px 70px rgba(16, 29, 43, .35); }
.buch__flaeche { position: relative; perspective: 2400px; border-radius: 6px; box-shadow: 0 30px 70px rgba(16, 29, 43, .35); }
.buch--doppel .buch__flaeche { width: min(100%, 64rem); aspect-ratio: 3 / 2; margin: 0 auto; }
.buch--einzel .buch__flaeche { width: min(100%, 26rem); aspect-ratio: 3 / 4.2; margin: 0 auto; }
/* Einband: Goldkante */
.buch__flaeche::before { content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 10px;
	background: linear-gradient(135deg, #3a1a10, #6b2a18 40%, #3a1a10), #4a2015; box-shadow: inset 0 0 0 3px #d9a441, inset 0 0 0 5px #5a3206; }
.buch__vorsatz { position: absolute; inset: 0 50% 0 0; border-radius: 6px 0 0 6px; overflow: hidden;
	background: #2b1a10 no-repeat; }
.buch__vorsatz::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 224, 138, .6); border-radius: 4px; }
.buch__blatt { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transform-style: preserve-3d;
	transition: transform .6s cubic-bezier(.45, .05, .25, 1); cursor: pointer; }
.buch--einzel .buch__blatt { left: 0; width: 100%; }
.buch__blatt.ist-umgeblaettert { transform: rotateY(-180deg); }
.buch--einzel .buch__blatt.ist-umgeblaettert { transform: rotateY(-115deg); opacity: 0; transition: transform .55s cubic-bezier(.45, .05, .25, 1), opacity .2s .35s; }
.buch--ruhig .buch__blatt { transition: none !important; }
.buch__vorne, .buch__hinten { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.buch__hinten { transform: rotateY(180deg); }
/* Rückseiten nie spiegelverkehrt durchscheinen lassen (Fallback, falls ein Browser backface-visibility ignoriert):
   jede Seite wird zur Hälfte der Blätterbewegung aus- bzw. eingeblendet */
.buch__vorne, .buch__hinten { transition: visibility 0s linear .3s; }
.buch__blatt.ist-umgeblaettert > .buch__vorne, .buch__blatt:not(.ist-umgeblaettert) > .buch__hinten { visibility: hidden; }
.buch__seite { position: absolute; inset: 0; padding: 7% 9% 9%; overflow: hidden; color: #3a2614;
	background: radial-gradient(ellipse at 30% 20%, #fffaf0, #f6e8c9 70%, #ecd9b0); border-radius: 0 6px 6px 0;
	box-shadow: inset 18px 0 28px -18px rgba(90, 55, 20, .55); }
.buch__seite--links { border-radius: 6px 0 0 6px; box-shadow: inset -18px 0 28px -18px rgba(90, 55, 20, .55); }
.buch__seite::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
	background-image: radial-gradient(rgba(120, 80, 30, .12) 1px, transparent 1px); background-size: 3px 3px; }
.buch__seite--mess { position: absolute; visibility: hidden; left: 0; top: 0; aspect-ratio: 3 / 4; }
.buch--einzel .buch__seite--mess { aspect-ratio: 3 / 4.2; }
.buch__innen { height: 100%; overflow: hidden; }
.buch__innen .strophe { font: 1.02rem/1.6 var(--serif); margin: 0 0 1.1em; }
.buch--einzel .buch__innen .strophe { font-size: .98rem; }
.buch__innen .refrain { margin-inline: 0; padding: .2em 0 .2em .9em; background: none; color: #7a3b0c; border-left: 3px solid var(--gold); border-radius: 0; font-style: italic; }
.buch__zahl { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; font: italic .85rem var(--serif); color: #8a6a40; }
.buch__titelseite, .buch__ende { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; }
.buch__titelseite h3 { font: 400 clamp(1.8rem, 3.2vw, 2.6rem)/1.15 var(--skript); color: #7a3b0c; margin: 0; }
.buch__nr { font: 700 .8rem/1 var(--titel); letter-spacing: .2em; color: #a8650c; }
.buch__ranke { font-size: 1.6rem; color: var(--gold); }
.buch__titelseite p { font-style: italic; color: #6b4a2a; max-width: 18rem; }
.buch__tipp { margin-top: 1rem; font: .8rem var(--sans); color: #a08060; }
.buch__ende p { font: 400 2rem var(--skript); color: #7a3b0c; margin: 0; }
.buch__ende a { font: 600 .95rem var(--sans); color: var(--nacht); }
.buch__steuerung { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.buch__knopf { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); background: var(--nacht); color: var(--gold-hell); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.buch__knopf:disabled { opacity: .35; cursor: default; }
.buch__stand { font: 600 .9rem var(--sans); color: var(--gedaempft); min-width: 10rem; text-align: center; }

/* Geschichte */
.geschichte { max-width: 44rem; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.geschichte h2.skript { font: 400 clamp(2rem, 4.5vw, 3rem)/1.15 var(--skript); color: var(--glut); margin-bottom: 1.2rem; }
.geschichte h3 { font: 700 1.35rem/1.25 var(--titel); color: var(--nacht); margin: 2.2rem 0 .8rem; }
.geschichte p { font-size: 1.12rem; line-height: 1.8; margin: 0 0 1.1rem; }
.geschichte .initiale::first-letter { float: left; font: 900 3.6em/.85 var(--titel); padding: .06em .12em 0 0; color: var(--gold-dunkel); }
.lied__orte { max-width: 44rem; margin: 0 auto 2rem; }
.lied .blaettern { grid-column: auto; }
.textseite { max-width: 46rem; }
.textseite h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }

/* Liederbuch: Handschrift und Liedbild über der Doppelseite */
.buch__seite--bild { background-color: #2b1a10; background-repeat: no-repeat; }
.buch__seite--bild::after { opacity: .18; }
.buch__seite--bild .buch__innen { height: 100%; padding: 6% 7%; border-radius: 14px; overflow: hidden;
	background: linear-gradient(160deg, rgba(255, 248, 232, .72), rgba(255, 243, 218, .58)); box-shadow: 0 8px 30px rgba(30, 15, 5, .35), inset 0 0 0 1px rgba(255, 224, 138, .55); }
.buch__innen .strophe { text-shadow: 0 0 6px rgba(255, 248, 232, .9), 0 0 2px rgba(255, 248, 232, .9); }
.buch__seite--bild { padding: 6% 6% 9%; }
.buch__innen .strophe { font: 400 1.08rem/1.6 var(--serif); color: #2a1a0e; margin: 0 0 1em; }
.buch--einzel .buch__innen .strophe { font-size: 1rem; }
.buch__innen .refrain { font-style: italic; color: #8a3b0c; border-left: 3px solid var(--gold); padding-left: .9em; }
.buch__innen .zeile { display: block; }
/* Buchstabe für Buchstabe: jedes Zeichen blendet kurz nach dem vorherigen ein */
.buch__innen .zeile.schreibt .bz { opacity: 0; animation: buchstabe .35s ease-out forwards; animation-delay: calc(var(--verz) + var(--n) * var(--pz)); }
@keyframes buchstabe { from { opacity: 0; filter: blur(2px); } to { opacity: 1; filter: none; } }
.buch__zahl { color: #fff3d6; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }

/* Liedseite: drei Reiter */
.reiter { display: flex; justify-content: center; gap: .4rem; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); padding: .35rem; width: fit-content; max-width: 100%;
	background: var(--nacht); border-radius: 999px; box-shadow: 0 0 0 1px var(--gold-dunkel), 0 10px 30px rgba(16, 29, 43, .25); scroll-margin-top: 6rem; }
.reiter [role=tab] { min-height: 44px; padding: .55rem clamp(.8rem, 2.5vw, 1.4rem); border: 0; border-radius: 999px; background: none; cursor: pointer;
	font: 600 .95rem/1 var(--sans); color: rgba(255, 243, 214, .8); transition: background .2s, color .2s; }
.reiter [role=tab]:hover { color: var(--gold-hell); }
.reiter [aria-selected=true], .reiter [aria-selected=true]:hover { background: var(--gold); color: var(--nacht); }
@media (max-width: 30rem) { .reiter { gap: .15rem; } .reiter [role=tab] { padding-inline: .7rem; font-size: .85rem; white-space: nowrap; } }
.reiter [role=tab]:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }
[data-teil][hidden] { display: none !important; }
.lied__textteil { max-width: 44rem; margin: 0 auto clamp(3rem, 7vw, 5rem); }

/* Ornamente */
.ornament { text-align: center; color: var(--gold-dunkel); font-size: 1.6rem; line-height: 1; margin: .2rem 0 1.6rem; }
.ornament::before, .ornament::after { content: ""; display: inline-block; width: 4.5rem; height: 1px; margin: 0 .8rem; vertical-align: middle;
	background: linear-gradient(90deg, transparent, var(--gold-dunkel)); }
.ornament::after { background: linear-gradient(90deg, var(--gold-dunkel), transparent); }

/* Vorgelesene Geschichte */
.vorlesen { margin: 0 0 2rem; padding: 1rem 1.2rem; border: 3px double var(--gold-dunkel); border-radius: var(--radius); background: var(--papier-2); }
.vorlesen figcaption { font: 600 .9rem var(--sans); color: var(--nacht); margin-bottom: .5rem; }
.vorlesen audio { width: 100%; }

/* Startseite: Erscheinungstermin der LP */
.lp-termin { max-width: 46rem; margin: 0 auto clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center; color: #fff3d6; }
.lp-termin .marke { color: var(--gold-hell); }
.lp-termin h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.lp-termin h2 .skript { display: block; color: var(--gold); }
.lp-termin__zaehler { margin: 1rem 0 0; font: 600 1rem var(--sans); color: rgba(255, 243, 214, .85); }
.lp-termin__zaehler strong { display: block; font: 900 clamp(2.6rem, 7vw, 4rem)/1 var(--titel); background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-termin .ornament { color: var(--gold); }

/* Neues aus dem Dorf */
.neues { list-style: none; padding: 0; margin: 0 auto; max-width: 52rem; display: grid; gap: 1.6rem; }
.neues__eintrag { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: 1.2rem; align-items: start; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rand); }
.neues__eintrag:not(:has(img)) { grid-template-columns: 1fr; }
.neues__eintrag img { width: 100%; height: auto; border-radius: 10px; }
.neues__eintrag time { font: 600 .85rem var(--sans); color: var(--gold-dunkel); }
.neues__eintrag h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: .2rem 0 .4rem; }
.neues__eintrag h2 a { color: var(--nacht); text-decoration: none; }
.neues__eintrag h2 a:hover { text-decoration: underline; }
.neues__bild { width: 100%; height: auto; margin-bottom: 1.6rem; }
@media (max-width: 34rem) { .neues__eintrag { grid-template-columns: 1fr; } }

/* Effe: Bericht */
.effe-bericht { max-width: 46rem; margin: 0 auto 2.5rem; padding: 1.2rem 1.6rem; color: #fff3d6; }
.effe-bericht h2 { font: 700 1.3rem var(--titel); color: var(--gold-hell); margin: 0 0 .8rem; }
.effe-bericht__weiter summary { cursor: pointer; display: inline-block; margin-top: .3rem; padding: .5rem 1.1rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-hell); font: 600 .9rem var(--sans); list-style: none; }
.effe-bericht__weiter summary::-webkit-details-marker { display: none; }
.effe-bericht__weiter summary::after { content: " ▾"; }
.effe-bericht__weiter[open] summary { margin-bottom: .6rem; }
.effe-bericht__weiter[open] summary::after { content: " ▴"; }
.effe-bericht h3 { color: var(--gold); font: 700 1.1rem var(--titel); margin: 1.4rem 0 .4rem; }
.effe-bericht p { color: #f6ead2; }
.leaflet-tooltip.karte-tipp { background: var(--nacht); color: var(--gold-hell); border: 1px solid var(--gold); border-radius: 999px; padding: .3rem .8rem; font: 600 .9rem var(--sans); box-shadow: 0 6px 18px rgba(16, 29, 43, .35); }
.leaflet-tooltip.karte-tipp::before { border-top-color: var(--gold); }
.treffer--schrift, .treffer--schrift span { border-radius: 40px; }

.lied-hoeren { text-align: center; margin: 0; }
.lied-hoeren .knopf { min-width: 13rem; }
/* Reiterleiste mit Play-Knopf direkt neben „Das Lied“ */
.reiter-leiste { display: flex; justify-content: center; align-items: center; gap: .6rem; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); max-width: 100%; }
.reiter-leiste[hidden] { display: none !important; }
.reiter-leiste .reiter { margin: 0; }
.reiter__spielen { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); background: var(--gold); color: var(--nacht);
	font-size: 1.15rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 22px rgba(16, 29, 43, .25); transition: transform .2s, background .2s; }
.reiter__spielen:hover { transform: scale(1.06); }
.reiter__spielen[aria-pressed=true] { background: var(--nacht); color: var(--gold-hell); }
.reiter__spielen:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; }
@media (max-width: 30rem) { .reiter-leiste { gap: .3rem; } .reiter__spielen { width: 44px; height: 44px; } .reiter-leiste .reiter [role=tab] { padding-inline: .55rem; font-size: .8rem; } }
/* Liedbühne: ein Liedbild, darauf läuft der Liedtext blockweise mit */
.liedbuehne { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.buehne { position: relative; display: grid; place-items: center; width: min(100%, 64rem); aspect-ratio: 3 / 2; margin: 0 auto; overflow: hidden;
	border-radius: 8px; background: #2b1a10 var(--bild) center / cover no-repeat; box-shadow: 0 30px 70px rgba(16, 29, 43, .35), 0 0 0 3px #d9a441, 0 0 0 6px #5a3206; }
.buehne::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(16, 29, 43, .05), rgba(16, 29, 43, .5)); }
@media (max-width: 40rem) { .buehne { aspect-ratio: auto; min-height: 30rem; } }
.buehne__text { position: relative; width: min(88%, 40rem); padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2.4rem); margin-bottom: 2.5rem; text-align: center; border-radius: 14px;
	background: rgba(255, 248, 232, .82); box-shadow: 0 10px 34px rgba(30, 15, 5, .35), inset 0 0 0 1px rgba(255, 224, 138, .6); }
.buehne__titel h3 { font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.15 var(--skript); color: #7a3b0c; margin: .4rem 0 1rem; }
.buehne__still { font-style: italic; color: #6b4a2a; margin: 0; }
.buehne__block { margin: 0; }
.buehne__zeile { display: block; font: 400 clamp(1.05rem, 2.3vw, 1.45rem)/1.6 var(--serif); color: #2a1a0e; opacity: 0; animation: zeile-ein .7s ease-out forwards; animation-delay: var(--v); }
.buehne__block.refrain .buehne__zeile { font-style: italic; color: #8a3b0c; }
.buehne__naechst { margin: .9rem 0 0; font: italic .85rem var(--sans); color: #8a6a40; opacity: .8; }
@keyframes zeile-ein { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .buehne__zeile { animation: none; opacity: 1; } }
.buehne__leiste { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .8rem; padding: .7rem 1.1rem; background: linear-gradient(transparent, rgba(16, 29, 43, .75)); }
.buehne__leiste input { flex: 1; accent-color: var(--gold); min-height: 24px; }
.buehne__zeit { color: #fff3d6; font: 600 .8rem var(--sans); white-space: nowrap; }
.mitklopfen { width: min(100%, 64rem); margin: 1.2rem auto 0; padding: 1rem 1.2rem; border: 2px dashed var(--gold-dunkel); border-radius: var(--radius); background: var(--papier-2); }
.mitklopfen p { margin: 0 0 .7rem; }
.knopf--jetzt { min-width: 12rem; font-size: 1.2rem; }
.mitklopfen__stand { font-weight: 600; }
/* Geschichte als Buch: Wörter erscheinen nacheinander */
.geschichte--kopf { margin-bottom: 1.5rem; }
.buch__innen .absatz { font: 400 1.02rem/1.65 var(--serif); color: #2a1a0e; margin: 0 0 .8em; text-indent: 1.2em; text-shadow: 0 0 6px rgba(255, 248, 232, .9); }
.buch__innen .absatz.forts, .buch__innen .buch__zwischen + .absatz { text-indent: 0; }
.buch__zwischen { font: 700 1.1rem/1.3 var(--titel); color: #7a3b0c; margin: .4em 0 .5em; }
.buch__innen.schreibt .w { opacity: 0; animation: buchstabe .3s ease-out forwards; animation-delay: calc(var(--n) * var(--pz)); }
.teilen-zeile { text-align: center; margin: 0; }
.knopf--teilen::before { content: "↗"; margin-right: .5rem; }
.fuss__teilen { background: none; border: 1px solid currentColor; border-radius: 999px; padding: .45rem 1rem; color: inherit; font: inherit; cursor: pointer; }
.fuss__teilen:hover { color: var(--gold-hell); }
.knopf [data-symbol] { margin-right: .45rem; }
.lp-termin__unter { margin: .2rem 0 0; font: 600 .95rem var(--sans); color: var(--gold-hell); }
.lp-termin__zaehler { font-variant-numeric: tabular-nums; }
.plattformen { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.4rem 0 .4rem; padding: 0; }
.plattform { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid rgba(255, 224, 138, .45); border-radius: 999px;
	color: #fff3d6; font: 600 .9rem var(--sans); text-decoration: none; }
.plattform svg { width: 20px; height: 20px; flex: none; }
.plattform__note { font-size: 1.1rem; line-height: 1; }
a.plattform:hover, a.plattform:focus-visible { background: var(--gold); color: var(--nacht); border-color: var(--gold); }
/* Kalender: Monat blättern, „Als Nächstes“ */
.monatswahl { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.2rem; border-bottom: 2px solid var(--gold); padding-bottom: .4rem; }
.monatswahl[hidden] { display: none; }
.monatswahl .monat__titel { flex: 1; text-align: center; border: 0; padding: 0; margin: 0; }
.monatswahl button { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); background: var(--nacht); color: var(--gold-hell); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.monatswahl button:disabled { opacity: .3; cursor: default; }
.monat--geblaettert > .monat__titel { display: none; }
.monat__leer { font-style: italic; color: var(--gedaempft); margin: 0 0 2.5rem; }
.chip--naechstes { background: var(--gold); color: var(--nacht); margin-right: .4rem; }
.termin--naechstes { box-shadow: 0 0 0 3px var(--gold), 0 14px 34px rgba(16, 29, 43, .14); }
/* Effe: Zettelwand – links schreiben, rechts der Zaun */
.zettel--gelb { --zettel: #fff3b0; } .zettel--rosa { --zettel: #ffd9e0; } .zettel--gruen { --zettel: #d7f2c8; } .zettel--blau { --zettel: #d6e8ff; } .zettel--orange { --zettel: #ffe0bf; }
.zettel li[class*="zettel--"] { background: var(--zettel); }
.zettelwand { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: clamp(3rem, 7vw, 5rem); }
/* Wand immer in voller Breite oben (das Bild braucht Platz), Formular darunter in Lesebreite */
.zettelwand .zaun { order: -1; }
.zettelwand__schreiben { width: 100%; max-width: 46rem; margin-inline: auto; }
.zettelwand__schreiben h2 { margin-top: 0; }
.wir-form--zettel { max-width: none; margin: 0; }
.zeichen { margin: -.6rem 0 1rem; text-align: right; font: .8rem var(--sans); color: var(--gedaempft); }
.vorlagen { margin: 0 0 1.2rem; padding: 1rem; border: 1px solid rgba(201, 145, 40, .35); border-radius: 12px; background: rgba(255, 248, 232, .7); }
.vorlagen__titel { margin: 0 0 .8rem; font: .85rem/1.5 var(--sans); }
.vorlagen__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .7rem; }
.wir-form .vorlage { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 4.6rem; padding: .7rem .5rem; border: 0; border-radius: 2px; cursor: pointer;
	background: var(--zettel); color: var(--tinte); font: 600 .85rem var(--sans); box-shadow: 0 8px 16px -10px rgba(60, 40, 10, .55); transform: rotate(-1.5deg); transition: transform .15s; }
.wir-form .vorlage:nth-child(even) { transform: rotate(1.5deg); }
.wir-form .vorlage span { font-size: 1.4rem; line-height: 1; }
.wir-form .vorlage:hover, .wir-form .vorlage:focus-visible { transform: rotate(0) scale(1.05); }
.farbwahl { display: flex; gap: .6rem; align-items: center; border: 0; padding: 0; margin: 0 0 1rem; }
.farbwahl legend { float: left; margin-right: .6rem; font: 600 .9rem var(--sans); }
.farbwahl__punkt { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--zettel); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12); cursor: pointer; }
.farbwahl__punkt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.farbwahl__punkt:has(input:checked) { box-shadow: 0 0 0 3px var(--nacht), inset 0 0 0 2px rgba(0, 0, 0, .12); }
.farbwahl__punkt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Der Zaun: gemaltes Bild (Zaun mit Bank unterm Baum); die Zettel hängen über dem oberen Zaunbereich */
.zaun { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 2; padding: 7% 1rem 2.5%; border-radius: 10px; overflow: hidden;
	background: #5b3a1e url("../bilder/zaun-gross.webp") center / cover no-repeat; box-shadow: 0 24px 50px rgba(16, 29, 43, .25); }
@media (max-width: 40rem) { .zaun { aspect-ratio: auto; min-height: 30rem; padding-top: 2.5rem; background-image: url("../bilder/zaun-klein.webp"); background-position: 50% 30%; } }
/* Wenige Zettel (ohne Karussell): echte Zettelgröße, nebeneinander auf Höhe des Zauns */
.zaun:not(.zaun--karussell) .zettel { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(.8rem, 3vw, 2rem); margin-top: 9%; }
.zaun:not(.zaun--karussell) .zettel__blatt { width: clamp(9.5rem, 24vw, 14rem); min-height: clamp(8rem, 18vw, 11rem); }
@media (max-width: 40rem) { .zaun:not(.zaun--karussell) .zettel { margin-top: 1.5rem; } .zaun:not(.zaun--karussell) .zettel__blatt { width: min(62%, 15rem); } }
.zaun__leer { color: #fff3d6; text-align: center; font: 600 1rem var(--sans); padding: 3rem 0; }
.zaun .zettel { margin: 0; }
.zettel__blatt { overflow-wrap: anywhere; }
.zettel__name { display: block; font: 700 1.05rem var(--sans); }
.zettel__datum { display: block; font: .75rem var(--sans); color: rgba(30, 20, 10, .55); margin-bottom: .5rem; }
.zettel__blatt blockquote { margin: .5rem 0 0; font: 400 1.05rem/1.5 var(--serif); }
.zettel__start { display: inline-block; margin-top: .7rem; font: 600 .65rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(30, 20, 10, .45); }
/* Karussell (ab 4 Zetteln, per JavaScript): vorne groß, Nachbarn schräg dahinter */
.zaun--karussell .zettel { display: block; position: relative; height: clamp(15rem, 30vw, 24rem); perspective: 1400px; }
.zaun--karussell .zettel__blatt { position: absolute; left: 50%; top: 1rem; width: min(62%, 17rem); min-height: 12rem; margin-left: calc(min(62%, 17rem) / -2);
	transition: transform .7s cubic-bezier(.3, .7, .25, 1), opacity .5s, filter .5s; will-change: transform; }
.zaun--karussell .zettel__blatt:not(.ist-vorne) { filter: brightness(.8) saturate(.9); }
.zaun__steuerung { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1rem; }
.zaun__steuerung [data-zaun-stand] { padding: .35rem .7rem; border-radius: 999px; background: rgba(16, 29, 43, .7); }
.zaun__steuerung[hidden] { display: none; }
.zaun__steuerung button { min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 0; background: var(--nacht); color: #fff3d6; font: 600 .9rem var(--sans); cursor: pointer; }
.zaun__steuerung button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.zaun__steuerung [data-zaun-stand] { color: #fff3d6; font: 600 .85rem var(--sans); min-width: 3.5rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .zaun--karussell .zettel__blatt { transition: none; } }
.wir-form .wahl { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; border: 0; padding: 0; margin: 0; }
.wir-form .wahl legend { font: 600 .95rem var(--sans); margin-bottom: .5rem; width: 100%; }
.wir-form .wahl label { display: inline-flex; flex-direction: row; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; }
.wir-form .wahl input { width: auto; min-height: 0; flex: none; margin: 0; }
.wir-form .wahl label { white-space: nowrap; }
.wir-form .vorlage { justify-self: stretch; width: 100%; }
/* Impressum: kleiner Verweis auf die private Seite */
.besuch { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding: .7rem 1.2rem .7rem .7rem; border-radius: 12px; text-decoration: none;
	background: var(--nacht); color: #fff3d6; box-shadow: inset 0 0 0 1px rgba(255, 224, 138, .35); transition: transform .2s; }
.besuch:hover, .besuch:focus-visible { transform: translateY(-2px); }
.besuch img { width: 56px; height: 56px; border-radius: 50%; }
.besuch small { display: block; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.besuch strong { font: 700 1.05rem var(--sans); }
.emojis { display: flex; gap: .4rem; margin: -.5rem 0 .3rem; }
.wir-form .emoji { min-height: 44px; min-width: 44px; padding: 0; border-radius: 10px; background: #fff; border: 1px solid rgba(201, 145, 40, .45); font-size: 1.35rem; line-height: 1; color: inherit; }
.wir-form .emoji:hover, .wir-form .emoji:focus-visible { background: var(--papier-2); transform: scale(1.08); }
/* Startseite: die nächsten 3 Termine */
.demnaechst { max-width: 60rem; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.demnaechst__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.demnaechst__kopf .marke { margin: 0; }
.demnaechst__kopf a { font: 600 .9rem var(--sans); color: var(--nacht); }
.demnaechst ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.demnaechst li a { display: flex; gap: 1rem; align-items: center; height: 100%; padding: .9rem 1rem; border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none;
	box-shadow: 0 10px 26px rgba(16, 29, 43, .1); transition: transform .2s; }
.demnaechst li a:hover, .demnaechst li a:focus-visible { transform: translateY(-3px); }
.demnaechst .termin__datum { flex: none; }
.demnaechst__text strong { display: block; font: 700 1rem/1.3 var(--serif); }
.demnaechst__text small { display: block; margin-top: .3rem; font: 600 .8rem/1.4 var(--sans); color: var(--gold-dunkel); }
/* LP-Kasten breit und flach: Titel links, Zähler Mitte, Plattformen rechts */
.lp-termin--breit { max-width: none; padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2.5rem); }
@media (min-width: 62rem) {
	.lp-termin--breit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 2.5rem; text-align: left; }
	.lp-termin--breit .marke, .lp-termin--breit h2 { grid-column: 1; margin: 0; }
	.lp-termin--breit h2 .skript { display: inline; margin-left: .4rem; }
	.lp-termin--breit .lp-termin__zaehler { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: center; }
	.lp-termin--breit .lp-termin__unter { grid-column: 2; grid-row: 3; margin: 0; text-align: center; }
	.lp-termin--breit .plattformen { grid-column: 1 / -1; justify-content: flex-start; margin: .9rem 0 0; }
}
