/* Farbwelt der Cover: Nachtblau, Laternenlicht, ein roter Akzent */
:root {
  --nacht: #070d18;
  --nacht-2: #0d1626;
  --nacht-3: #16233a;
  --linie: #243450;
  --text: #ece6da;
  --text-leise: #a3adbf;
  --laterne: #e6b867;
  --laterne-hell: #f6d9a0;
  --rot: #b3262d;
  --rot-hell: #d63a41;
  --papier: #efe8d8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --display: "DIN Condensed", "Avenir Next Condensed", "Bahnschrift Condensed", "Roboto Condensed", sans-serif-condensed, "Arial Narrow", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schreibmaschine: "American Typewriter", "Courier New", Courier, monospace;
  --kreide: "Chalkduster", "Chalkboard SE", "Bradley Hand", "Segoe Print", cursive;
  --breite: 1160px;
  --rand: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Filmkorn über allem */
body::after {
  content: ""; position: fixed; inset: -100px; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  animation: korn 0.9s steps(4) infinite;
}
@keyframes korn {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-37px, 21px); }
  50% { transform: translate(18px, -44px); }
  75% { transform: translate(-12px, 33px); }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--laterne); text-underline-offset: 3px; }
a:hover { color: var(--laterne-hell); }

:focus-visible { outline: 2px solid var(--laterne); outline-offset: 3px; }

::selection { background: var(--rot); color: #fff; }

h1, h2, h3 { font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5.8vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.display {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 0.95;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--laterne);
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor;
  vertical-align: middle; margin-right: 12px; opacity: 0.7;
}

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 720px; }

/* Kopf */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 20px var(--rand);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.schwebend { position: fixed; }
.site-header.schwebend.gescrollt {
  background: rgba(7, 13, 24, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom-color: var(--linie);
}
.site-header.fest { position: static; background: var(--nacht); border-bottom: 1px solid var(--linie); }
.brand {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: 0.22em; color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--laterne-hell); }
.site-nav { display: flex; gap: clamp(14px, 3vw, 32px); font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.04em; }
.site-nav a { color: var(--text); text-decoration: none; opacity: 0.85; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--laterne); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--laterne); opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero-bild {
  position: absolute; inset: 0; z-index: -3;
  background: var(--nacht) url("/assets/img/hallberg-gasse.jpg") center 40% / cover no-repeat;
  transform-origin: 45% 35%;
  animation: heranfahren 28s cubic-bezier(.2,.6,.3,1) both;
}
@keyframes heranfahren { from { transform: scale(1.18); filter: brightness(0.4); } 15% { filter: brightness(1); } to { transform: scale(1.02); } }

.hero-laterne {
  position: absolute; z-index: -2; left: 42.5%; top: 29%;
  width: 46vmin; height: 46vmin; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,200,120,0.55) 0%, rgba(255,170,80,0.18) 30%, transparent 65%);
  mix-blend-mode: screen; pointer-events: none;
  animation: flackern 4.5s infinite;
}
@keyframes flackern {
  0%, 100% { opacity: 0.9; } 8% { opacity: 0.6; } 10% { opacity: 1; } 32% { opacity: 0.85; }
  34% { opacity: 0.45; } 36% { opacity: 0.95; } 70% { opacity: 0.8; } 72% { opacity: 1; }
}
.hero-dunkel {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(7,13,24,0.7) 100%),
    linear-gradient(180deg, rgba(7,13,24,0.6) 0%, rgba(7,13,24,0) 22%),
    linear-gradient(0deg, var(--nacht) 0%, rgba(7,13,24,0.88) 28%, rgba(7,13,24,0.1) 68%);
}
.schnee { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(72px, 13vh, 130px); }
.hero h1 { max-width: 13em; font-size: clamp(2.4rem, 6.4vw, 5rem); text-shadow: 0 4px 40px rgba(0,0,0,0.7); }
.hero p.lead { max-width: 32em; color: var(--text-leise); font-size: 1.2rem; }

.wort { display: inline-block; }
.js .hero h1 .wort {
  opacity: 0; filter: blur(12px); transform: translateY(0.3em);
  animation: wort-auf 1.1s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(0.9s + var(--i) * 0.12s);
}
@keyframes wort-auf { to { opacity: 1; filter: blur(0); transform: none; } }
.js .hero .nach-titel { opacity: 0; animation: einblenden 1.2s ease forwards; animation-delay: 2.4s; }
@keyframes einblenden { to { opacity: 1; } }

.scroll-hinweis {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%);
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-leise); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hinweis::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--laterne), transparent);
  animation: tropfen 2.2s ease-in-out infinite; transform-origin: top;
}
@keyframes tropfen { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.knopf {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
  padding: 14px 30px 15px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(230,184,103,0.5); color: var(--laterne-hell);
  background: radial-gradient(120% 160% at 30% 0%, rgba(230,184,103,0.14), rgba(230,184,103,0.04) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 6px 18px rgba(0,0,0,0.35);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.knopf:hover {
  color: #fff6e6; border-color: var(--laterne);
  background: radial-gradient(120% 160% at 30% 0%, rgba(230,184,103,0.3), rgba(230,184,103,0.1) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 34px rgba(230,184,103,0.28), 0 8px 22px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
/* Kaufknopf: Siegelrot mit Papierstruktur */
.knopf.kaufen {
  color: #fff4ea; border-color: rgba(40,4,8,0.5);
  background: radial-gradient(130% 170% at 28% 10%, #cc3a41, #9c2026 55%, #7c151b);
  box-shadow: inset 0 1px 0 rgba(255,220,210,0.25), inset 0 -3px 8px rgba(40,4,8,0.35), 0 10px 26px rgba(179,38,45,0.35);
  text-shadow: 0 1px 0 rgba(60,6,10,0.5);
}
.knopf.kaufen::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.03 0 0 0 0 0.05 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply; opacity: 0.55;
}
.knopf.kaufen:hover {
  color: #fff; border-color: rgba(40,4,8,0.5);
  background: radial-gradient(130% 170% at 28% 10%, #da474e, #ad262d 55%, #8a1a20);
  box-shadow: inset 0 1px 0 rgba(255,220,210,0.3), inset 0 -3px 8px rgba(40,4,8,0.3), 0 12px 40px rgba(214,58,65,0.5);
  transform: translateY(-2px);
}
.knopf:active { transform: translateY(1px); }

/* Einblenden beim Scrollen */
.js [data-reveal] {
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1), filter 1.2s;
  transition-delay: var(--verz, 0s);
}
.js [data-reveal].sichtbar { opacity: 1; transform: none; filter: none; }

/* Abschnitte */
.abschnitt { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.abschnitt.dunkel { background: var(--nacht-2); }
.abschnitt-kopf { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); }
.abschnitt-kopf p { color: var(--text-leise); }

/* Szene: Sie gehen weiter */
.schweigen {
  position: relative; padding: clamp(120px, 20vh, 220px) 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(179,38,45,0.12), transparent 60%), var(--nacht);
  text-align: center;
}
.zeile {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(2.4rem, 9vw, 7rem); line-height: 1; margin: 0 0 clamp(80px, 18vh, 200px);
  color: var(--text);
}
.zeile.klein {
  font-family: var(--schreibmaschine); font-weight: 400; text-transform: none; letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--laterne);
}
.zeile.leise { color: var(--text-leise); font-size: clamp(2rem, 7vw, 5.2rem); }
.zeile.rot { color: var(--rot-hell); margin-bottom: 0; text-shadow: 0 0 60px rgba(214,58,65,0.45); }
.zeile.rot.sichtbar { animation: zittern 0.5s 1.2s 2; }
@keyframes zittern { 0%,100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* Szene: roter Umschlag (Papier, Laschen, Wachssiegel) */
.post { text-align: center; overflow: hidden; }
.post .abschnitt-kopf { margin-left: auto; margin-right: auto; }
.brief-buehne { display: flex; flex-direction: column; align-items: center; padding-top: clamp(150px, 26vw, 230px); margin-bottom: 40px; }
.brief {
  position: relative; display: block; cursor: pointer;
  width: min(440px, 84vw); aspect-ratio: 1.6;
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  transform: rotate(-3deg); perspective: 900px;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,0.6)) drop-shadow(0 2px 2px rgba(0,0,0,0.4));
  transition: transform 0.5s cubic-bezier(.3,1.3,.5,1);
}
.brief:hover { transform: rotate(-1.5deg) translateY(-4px); }
.brief:focus-visible { outline-offset: 14px; }
.brief-rueck::after, .brief-karte::after, .brief-klappe::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply; opacity: 0.5;
}
.brief-rueck {
  position: absolute; inset: 0; z-index: 1; border-radius: 5px 4px 6px 4px;
  background: radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255,160,150,0.12), transparent 70%), linear-gradient(170deg, #8a1b21, #6a1117);
}
.brief-karte {
  position: absolute; left: 6%; right: 6%; top: 8%; height: 84%; z-index: 2;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12% 8% 0; border-radius: 2px;
  background: linear-gradient(175deg, #f4ecdc, #e6dac2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transform: rotate(0.8deg);
  transition: transform 0.9s cubic-bezier(.3,1.2,.4,1) 0.45s;
}
.brief-karte-text {
  font: 400 clamp(1rem, 3.8vw, 1.35rem)/1.3 var(--schreibmaschine);
  color: #23201c; letter-spacing: 0.02em; text-align: center;
  text-shadow: 0.4px 0.3px 0 rgba(35,32,28,0.45);
  opacity: 0.15; transition: opacity 0.8s ease 1.1s;
}
.brief-tasche { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.brief-klappe {
  position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: 4;
  transform-origin: 50% 0;
  transition: transform 0.7s cubic-bezier(.5,0,.3,1), z-index 0s linear 0.35s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 62' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L160 0 L160 5 L90 57 Q80 64 70 57 L0 5 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 62' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L160 0 L160 5 L90 57 Q80 64 70 57 L0 5 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.brief-klappe svg { display: block; width: 100%; height: 100%; }
.brief-klappe::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 70%, rgba(40,4,8,0.25));
}
.siegel-wachs {
  position: absolute; left: 50%; top: 62%; z-index: 5; width: 17%; aspect-ratio: 1;
  transform: translate(-50%, -62%) rotate(-8deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
  transition: opacity 0.3s, transform 0.4s;
}
.siegel-wachs svg { display: block; width: 100%; height: 100%; }
.brief.offen .siegel-wachs { opacity: 0; transform: translate(-50%, -40%) rotate(-20deg) scale(0.8); }
.brief.offen .brief-klappe { transform: rotateX(180deg); z-index: 0; }
.brief.offen .brief-karte { transform: translateY(-58%) rotate(-1.5deg); }
.brief.offen .brief-karte-text { opacity: 1; }
.brief-hinweis { margin: 26px 0 0; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-leise); transition: opacity 0.5s; }
.brief-buehne:has(.offen) .brief-hinweis { opacity: 0; }
html:not(.js) .brief .brief-klappe { transform: rotateX(180deg); z-index: 0; }
html:not(.js) .brief .brief-karte { transform: translateY(-58%); }
html:not(.js) .brief .brief-karte-text { opacity: 1; }
html:not(.js) .siegel-wachs, html:not(.js) .brief-hinweis { display: none; }

/* Buchkarten */
.buecher { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 6vw, 80px); }
.buch { display: grid; grid-template-columns: minmax(130px, 44%) 1fr; gap: 28px; align-items: start; }
.buch h3 { margin-bottom: 0.3em; }
.buch h3 a { color: var(--text); text-decoration: none; }
.buch h3 a:hover { color: var(--laterne-hell); }
.buch .band { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laterne); margin-bottom: 0.5rem; }
.buch p { font-size: 1rem; color: var(--text-leise); }
.buch .mehr { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

.cover-kippen { position: relative; display: block; perspective: 900px; }
.cover-kippen .cover-innen {
  position: relative; display: block; border-radius: 2px; transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), box-shadow 0.6s;
  box-shadow: 0 24px 50px rgba(0,0,0,0.65), 0 0 0 rgba(230,184,103,0);
}
.cover-kippen:hover .cover-innen { box-shadow: 0 34px 70px rgba(0,0,0,0.75), 0 0 60px rgba(230,184,103,0.18); }
.cover-kippen .glanz {
  position: absolute; inset: 0; border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.28), transparent 55%);
  mix-blend-mode: overlay;
}
.cover-kippen:hover .glanz { opacity: 1; }

.countdown {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 0 0 0.9rem;
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-leise);
}
.countdown strong { font-family: var(--display); font-size: 2.4rem; letter-spacing: 0.02em; color: var(--rot-hell); line-height: 1; }

/* Szene: Kreide an der Tür */
.tuer-szene {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, rgba(230,184,103,0.18), transparent 45%), var(--nacht-2);
}
.tuer-raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
/* Tür aus dem Cover von Band 2: Laterne flackert, Glut glimmt, Rauch steigt, Licht streift die Kreide */
.tuer {
  position: relative; aspect-ratio: 1400 / 1115; border-radius: 3px; overflow: hidden;
  background: #0b1220;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.tuer img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: 35% 30%; transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.tuer.sichtbar img { transform: scale(1); }
.tuer::after {
  /* Vignette, damit das Bild in den Abschnitt übergeht */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px rgba(5,9,18,0.75);
}
.tuer-laterne, .tuer-glut, .tuer-kreidelicht { position: absolute; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; }
.tuer-laterne {
  left: 89%; top: 39%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,205,130,0.45), rgba(255,180,90,0.12) 40%, transparent 68%);
  animation: flackern 5s infinite;
}
.tuer-glut {
  left: 50.5%; top: 90%; width: 16%; aspect-ratio: 1.4; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,70,60,0.5), rgba(200,30,40,0.15) 45%, transparent 70%);
  animation: glimmen 3.4s ease-in-out infinite;
}
@keyframes glimmen { 0%, 100% { opacity: 0.55; } 40% { opacity: 1; } 70% { opacity: 0.75; } }
.tuer-kreidelicht {
  left: 0; top: 26%; width: 34%; aspect-ratio: 2.4; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,240,215,0.32), rgba(255,230,190,0.08) 45%, transparent 70%);
  opacity: 0;
}
.tuer.sichtbar .tuer-kreidelicht { animation: kreide-streifen 3.6s 0.8s cubic-bezier(.4,0,.3,1) forwards; }
@keyframes kreide-streifen {
  0% { left: 12%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 35%; opacity: 0.55; }
}
.tuer-rauch { position: absolute; left: 50.5%; top: 86%; width: 0; height: 0; pointer-events: none; }
.tuer-rauch i {
  position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,210,225,0.22), transparent 65%);
  filter: blur(6px); opacity: 0;
  animation: rauch 7s ease-out infinite;
}
.tuer-rauch i:nth-child(2) { animation-delay: 2.3s; }
.tuer-rauch i:nth-child(3) { animation-delay: 4.6s; }
@keyframes rauch {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: translate(-30px, -170px) scale(1.4); opacity: 0.6; }
  100% { transform: translate(-10px, -300px) scale(2.2); opacity: 0; }
}
html:not(.js) .tuer img { transform: none; }
.tuer-text .anreisser { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text); line-height: 1.35; }
.tuer-text p { color: var(--text-leise); }

/* Szene: Taschenlampe */
.taschenlampe {
  position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #03060c; cursor: crosshair; text-align: center;
}
.lampe-bild {
  position: absolute; inset: 0;
  background: url("/assets/img/hallberg-kirche.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(circle var(--r, 230px) at var(--x, 50%) var(--y, 45%), #000 0%, rgba(0,0,0,0.75) 35%, transparent 72%);
  mask-image: radial-gradient(circle var(--r, 230px) at var(--x, 50%) var(--y, 45%), #000 0%, rgba(0,0,0,0.75) 35%, transparent 72%);
}
.lampe-text { position: relative; z-index: 1; max-width: 820px; padding: 0 var(--rand); pointer-events: none; }
.lampe-text h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); text-shadow: 0 4px 30px #000, 0 0 2px #000; }
.lampe-text .knopf { pointer-events: auto; }

/* Bild und Text nebeneinander */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zweispaltig img { border-radius: 2px; }
.zweispaltig .text p { color: var(--text-leise); }
.portraet { position: relative; }
.portraet img { filter: saturate(0.85) contrast(1.05); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.portraet::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(7,13,24,0.65) 100%);
}

/* Buchseite */
.buchseite { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 10vw, 120px); }
.buchseite-raster { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.buchseite-raster .cover { position: sticky; top: 32px; }
.buchseite h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; line-height: 0.95; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.untertitel { font-style: italic; color: var(--text-leise); font-size: 1.15rem; }
.anreisser { font-size: 1.3rem; color: var(--laterne-hell); }
.liste { padding-left: 1.1em; margin: 0 0 1.4em; }
.liste li { margin-bottom: 0.7em; }
.liste li::marker { color: var(--rot-hell); }
.hinweis { font-family: var(--sans); font-size: 0.88rem; color: var(--text-leise); }

/* Rechtsseiten */
.recht { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 10vw, 120px); }
.recht h2 { font-size: 1.4rem; margin-top: 2em; }
.recht p, .recht li { color: var(--text-leise); }
.entwurf {
  font-family: var(--sans); font-size: 0.9rem;
  border: 1px solid var(--rot); background: rgba(179,38,45,0.12);
  padding: 12px 16px; border-radius: 3px; margin-bottom: 2rem; color: var(--text);
}

/* Fuß */
.site-footer {
  border-top: 1px solid var(--linie); padding: 32px var(--rand);
  font-family: var(--sans); font-size: 0.85rem; color: var(--text-leise);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--text-leise); text-decoration: none; }
.site-footer a:hover { color: var(--laterne); }

@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand { font-size: 1.15rem; }
  .zweispaltig, .buchseite-raster, .tuer-raster { grid-template-columns: 1fr; }
  .zweispaltig .bild { order: -1; }
  .buchseite-raster .cover { position: static; max-width: 260px; }
  .hero-bild { background-position: 68% 40%; }
  .hero-laterne { display: none; }
  .taschenlampe { min-height: 80vh; }
}

@media (max-width: 420px) {
  .buch { grid-template-columns: 1fr; }
  .buch .cover-kippen { max-width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  body::after { animation: none; }
}

/* ===== Hallberg-Seite ===== */
.hero-hallberg .hero-bild {
  background-image: url("/assets/img/hallberg-kirche-gross.jpg");
  background-position: center 55%;
  transform-origin: 50% 45%;
}
.hero-hallberg h1 { max-width: 15em; }

/* Orte im Dunkeln: Lichtkegel folgt der Maus */
.tatorte { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.tatort {
  position: relative; padding: 30px 26px 26px; border: 1px solid var(--linie); border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  display: flex; flex-direction: column;
}
.tatort::before {
  content: ""; position: absolute; left: 26px; top: -1px; width: 40px; height: 2px; background: var(--rot-hell);
}
.tatort-zeit { font-family: var(--schreibmaschine); font-size: 0.95rem; color: var(--laterne); margin-bottom: 0.8rem; }
.tatort h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.7rem; line-height: 1; }
.tatort p { color: var(--text-leise); font-size: 1rem; }
.tatort-band { margin-top: auto; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.lichtfeld-hinweis { display: none; margin-top: 18px; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-leise); text-align: center; }
.lichtfeld-aktiv + .lichtfeld-hinweis { display: block; }
.lichtfeld-aktiv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle 300px at var(--x, 50%) var(--y, 50%), transparent 0%, rgba(13,22,38,0.35) 45%, rgba(13,22,38,0.88) 80%);
  transition: opacity 0.4s;
}
.lichtfeld-aktiv:focus-within::after { opacity: 0; }

/* Zeitleiste der Feiertage */
.zeitleiste { list-style: none; margin: 0; padding: 0 0 0 clamp(36px, 6vw, 64px); position: relative; }
.zeitleiste::before, .zeitleiste::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 2px; border-radius: 2px;
}
.zeitleiste::before { bottom: 8px; background: var(--linie); }
.zeitleiste::after {
  height: calc((100% - 16px) * var(--fortschritt, 0));
  background: linear-gradient(var(--laterne), var(--rot-hell));
  box-shadow: 0 0 18px rgba(230,184,103,0.6);
}
html:not(.js) .zeitleiste::after { height: calc(100% - 16px); }
.station { position: relative; padding-bottom: clamp(56px, 9vw, 96px); }
.station:last-child { padding-bottom: 0; }
.station-punkt {
  position: absolute; left: calc(-1 * clamp(36px, 6vw, 64px)); top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--nacht); border: 2px solid var(--linie); transition: all 0.5s;
}
.station.erreicht .station-punkt, html:not(.js) .station-punkt {
  border-color: var(--laterne); background: var(--laterne); box-shadow: 0 0 0 6px rgba(230,184,103,0.15), 0 0 24px rgba(230,184,103,0.7);
}
.station-datum { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; color: var(--text); margin-bottom: 1.4rem; }
.station-inhalt { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; max-width: 720px; }
.station-inhalt h3 a { color: var(--text); text-decoration: none; }
.station-inhalt h3 a:hover { color: var(--laterne-hell); }
.station-inhalt p { color: var(--text-leise); font-size: 1rem; }
.station .band { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laterne); margin-bottom: 0.5rem; }
.station-offen .station-datum { color: var(--text-leise); }
.station-offen .station-inhalt { grid-template-columns: 1fr; }
.station-frage { font-style: italic; font-size: 1.2rem !important; }

/* Merkmale mit großen Nummern */
.merkmale { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 56px) clamp(32px, 6vw, 80px); }
.merkmal { position: relative; padding-top: 70px; }
.merkmal-nr {
  position: absolute; top: 0; left: -4px; font-family: var(--display); font-weight: 700; font-size: 6rem; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(230,184,103,0.45); letter-spacing: 0.02em;
}
.merkmal h3 { position: relative; }
.merkmal p { color: var(--text-leise); }

/* Schluss: Licht im Flur */
.flurlicht {
  position: relative; text-align: center; padding: clamp(110px, 18vh, 200px) 0;
  background: #02040a; transition: background 1.2s ease;
  overflow: hidden;
}
.flurlicht::before {
  content: ""; position: absolute; left: 50%; top: -10%; width: 140vmax; height: 140vmax; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, rgba(255,214,150,0.55), rgba(230,184,103,0.12) 30%, transparent 55%);
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.flurlicht.an::before { animation: licht-an 1.4s steps(1) forwards; }
@keyframes licht-an { 0% { opacity: 0.8; } 8% { opacity: 0; } 16% { opacity: 0.9; } 22% { opacity: 0.1; } 30%, 100% { opacity: 1; } }
.flurlicht.an { background: #1a140d; }
.flur-text {
  position: relative; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1; color: #2b3346; transition: color 0.6s 0.4s, text-shadow 0.6s 0.4s;
  text-shadow: 0 0 1px rgba(255,255,255,0.05);
}
.flurlicht.an .flur-text { color: var(--laterne-hell); text-shadow: 0 0 40px rgba(246,217,160,0.45); }
html:not(.js) .flur-text { color: var(--text); }
.lichtschalter {
  position: relative; margin: 40px auto 0; display: inline-flex; align-items: center; gap: 16px;
  background: none; border: 0; color: var(--text-leise); cursor: pointer; font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase;
}
html:not(.js) .lichtschalter { display: none; }
.schalter-wippe {
  width: 44px; height: 64px; border-radius: 6px; background: #d9d3c6; position: relative;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 0 6px 18px rgba(0,0,0,0.5);
}
.schalter-wippe::after {
  content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 26px; border-radius: 4px;
  background: linear-gradient(#f2eee6, #c9c2b3); box-shadow: 0 3px 4px rgba(0,0,0,0.25); transition: top 0.2s;
}
.lichtschalter[aria-pressed="true"] .schalter-wippe::after { top: 31px; }
.lichtschalter:hover { color: var(--laterne); }
.flur-knoepfe { position: relative; justify-content: center; opacity: 0.6; transition: opacity 0.8s 0.6s; }
.flurlicht.an .flur-knoepfe, html:not(.js) .flur-knoepfe { opacity: 1; }

@media (max-width: 760px) {
  .station-inhalt { grid-template-columns: 100px 1fr; gap: 18px; }
  .merkmal-nr { font-size: 4.6rem; }
  .merkmal { padding-top: 54px; }
}

/* Stadtplan von Hallberg: Skizze, nicht maßstabsgetreu */
.stadtplan-szene { background: radial-gradient(ellipse at 50% 30%, rgba(230,184,103,0.08), transparent 60%), var(--nacht); }
.stadtplan { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.plan {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--linie);
}
.plan-bild { display: block; width: 100%; height: auto; }
.plan-schrift text { font-family: var(--schreibmaschine); font-size: 17px; fill: #b9c2d3; letter-spacing: 0.04em; }
.plan-schrift text.rot { fill: var(--rot-hell); }
.plan-schrift text.leise { fill: #56627a; font-size: 14px; }
.plan-vermerk { font-family: var(--schreibmaschine); font-size: 13px; fill: #56627a; font-style: italic; }
.plan-kirchgasse { stroke-dasharray: 260; stroke-dashoffset: 0; }
.js .plan .plan-kirchgasse { stroke-dashoffset: 260; }
.js .plan.sichtbar .plan-kirchgasse { transition: stroke-dashoffset 2.2s 0.8s ease-in-out; stroke-dashoffset: 0; }

.plan-punkt {
  position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; border: 2px solid var(--laterne); background: rgba(7,13,24,0.7); cursor: pointer; padding: 0;
  box-shadow: 0 0 0 0 rgba(230,184,103,0.45);
  transition: transform 0.25s, background 0.25s;
}
.plan-punkt::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--laterne); }
.plan-punkt.rot { border-color: var(--rot-hell); }
.plan-punkt.rot::after { background: var(--rot-hell); }
.plan-punkt:hover, .plan-punkt.aktiv { transform: scale(1.25); background: rgba(230,184,103,0.25); }
.plan-punkt.aktiv { animation: puls 1.8s ease-out infinite; }
.plan-punkt.rot.aktiv { animation-name: puls-rot; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(230,184,103,0.5); } 100% { box-shadow: 0 0 0 18px rgba(230,184,103,0); } }
@keyframes puls-rot { 0% { box-shadow: 0 0 0 0 rgba(214,58,65,0.6); } 100% { box-shadow: 0 0 0 18px rgba(214,58,65,0); } }

.plan-orte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-orte li {
  padding: 14px 18px; border-left: 2px solid var(--linie); background: rgba(13,22,38,0.6); border-radius: 0 3px 3px 0;
  transition: border-color 0.3s, background 0.3s, opacity 0.3s;
}
.plan-orte h3 { font-size: 1.1rem; margin: 0 0 4px; }
.plan-orte p { margin: 0; font-size: 0.95rem; color: var(--text-leise); }
.plan-orte .plan-band { margin-top: 6px; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--laterne); }
.plan-orte .plan-band a { text-decoration: none; }
.plan-orte li.rot { border-left-color: rgba(214,58,65,0.6); }
/* Mit Script: nur der gewählte Ort ist ausgeklappt */
.js .plan-orte li { cursor: pointer; }
.js .plan-orte li:not(.aktiv) p { display: none; }
.js .plan-orte li:not(.aktiv) { opacity: 0.6; padding-block: 10px; }
.js .plan-orte li:not(.aktiv) h3 { margin: 0; font-size: 1rem; }
.js .plan-orte li:hover { opacity: 1; }
.plan-orte li.aktiv { border-left-color: var(--laterne); background: rgba(22,35,58,0.85); }
.plan-orte li.rot.aktiv { border-left-color: var(--rot-hell); }

@media (max-width: 860px) {
  .stadtplan { grid-template-columns: 1fr; }
  .plan-punkt { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .plan-punkt::after { inset: 5px; }
  .js .plan-orte li:not(.aktiv) { display: none; }
}

/* Rundgang: in das Kirchgassen-Bild hineingehen (WebGL, scrollgesteuert) */
.rundgang { position: relative; background: #05080f; }
.rundgang-buehne { position: relative; overflow: hidden; }
.rundgang-bild { display: block; width: 100%; max-height: 90vh; object-fit: cover; }
.rundgang-leinwand, .rundgang-schnee { display: none; }
.rundgang-kopf { position: absolute; left: var(--rand); right: var(--rand); top: clamp(80px, 12vh, 120px); pointer-events: none; text-shadow: 0 2px 16px rgba(0,0,0,0.8); }
.rundgang-kopf h2 { font-size: clamp(2.4rem, 7vw, 5rem); margin: 0; }
.rundgang-hinweis { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-leise); margin-top: 0.6rem; }
.rundgang-stationen { list-style: none; margin: 0; padding: 24px var(--rand) 48px; display: grid; gap: 14px; }
.rundgang-stationen li { background: rgba(13,22,38,0.9); border-left: 3px solid var(--laterne); padding: 16px 20px; border-radius: 0 4px 4px 0; max-width: 520px; }
.rundgang-stationen li.rot { border-left-color: var(--rot-hell); }
.rundgang-stationen h3 { margin: 0 0 6px; font-size: 1.2rem; }
.rundgang-stationen p { margin: 0; color: var(--text-leise); font-size: 1rem; }
.rundgang-band { margin-top: 8px !important; font-family: var(--sans); font-size: 0.7rem !important; letter-spacing: 0.14em; text-transform: uppercase; }
.rundgang-band a { text-decoration: none; }

/* Mit WebGL: lange Strecke, Bühne bleibt stehen, Scrollen ist Gehen */
.rundgang.aktiv { height: 420vh; }
.rundgang.aktiv .rundgang-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; }
.rundgang.aktiv .rundgang-bild { display: none; }
.rundgang.aktiv .rundgang-leinwand, .rundgang.aktiv .rundgang-schnee { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.rundgang.aktiv .rundgang-buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 45%, rgba(4,7,13,0.7) 100%), linear-gradient(to bottom, var(--nacht) 0, transparent 14%, transparent 86%, var(--nacht) 100%); }
.rundgang.aktiv .rundgang-kopf { z-index: 2; transition: opacity 0.6s; }
.rundgang.aktiv.unterwegs .rundgang-kopf { opacity: 0; }
.rundgang.aktiv .rundgang-stationen { position: absolute; left: 50%; bottom: clamp(24px, 6vh, 56px); width: min(520px, calc(100vw - 32px)); transform: translateX(-50%); padding: 0; z-index: 2; display: block; }
.rundgang.aktiv .rundgang-stationen li { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.rundgang.aktiv .rundgang-stationen li.an { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .rundgang.aktiv .rundgang-stationen { left: var(--rand); transform: none; width: min(440px, 36vw); }
}

/* Sprunglink: unsichtbar, bis er per Tastatur den Fokus bekommt */
.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--laterne); color: var(--nacht); font-family: var(--sans); font-weight: 600;
  padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top 0.2s;
}
.sprung:focus { top: 12px; }
.lampe-unter { max-width: 34em; margin: 0 auto 1.6rem; color: var(--text); font-size: 1.1rem; text-shadow: 0 2px 14px #000, 0 0 2px #000; }
/* Ohne begehbaren Rundgang (kein WebGL, "Bewegung reduzieren", kein Script) gibt es nichts zu gehen */
.rundgang:not(.aktiv) .rundgang-hinweis { display: none; }

/* ===== Newsletter: Post aus Hallberg ===== */
.post-raster { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.post-text p { color: var(--text-leise); max-width: 32em; }
.post-buchseite { margin-top: clamp(64px, 10vw, 120px); margin-bottom: calc(-1 * clamp(64px, 10vw, 120px)); }
.post-karte {
  position: relative; isolation: isolate; color: #23201c;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 5vw, 40px) clamp(22px, 4vw, 32px);
  background: linear-gradient(175deg, #f4ecdc, #e6dac2); border-radius: 2px;
  transform: rotate(1.2deg);
  box-shadow: 0 26px 40px rgba(0,0,0,0.55), 0 2px 3px rgba(0,0,0,0.4);
}
.post-karte::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply; opacity: 0.45;
}
/* kleines Wachssiegel oben rechts */
.post-karte::before {
  content: ""; position: absolute; right: 22px; top: -18px; width: 46px; height: 46px; border-radius: 47% 53% 50% 50%;
  background: radial-gradient(circle at 38% 32%, #8e1a20, #5a0c11 60%, #3d070b);
  box-shadow: inset 0 0 0 7px rgba(44,5,8,0.35), 0 4px 8px rgba(0,0,0,0.45);
}
.post-ort, .post-label { font-family: var(--schreibmaschine); letter-spacing: 0.02em; }
.post-ort { margin: 0 0 1.4rem; font-size: 0.95rem; color: #5b5247; }
.post-label { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.post-feld {
  width: 100%; font: 400 1.15rem/1.4 var(--schreibmaschine); color: #23201c;
  background: transparent; border: 0; border-bottom: 1.5px solid #6f6658; border-radius: 0;
  padding: 8px 2px; margin-bottom: 1.3rem;
}
.post-feld::placeholder { color: #8a8174; }
.post-feld:focus { outline: none; border-bottom-color: var(--rot); box-shadow: 0 2px 0 var(--rot); }
.post-feld:user-invalid { border-bottom-color: var(--rot); }
.post-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.post-knopf {
  font: 600 1.06rem var(--serif); letter-spacing: 0.01em; cursor: pointer;
  color: var(--papier); background: #23201c; border: 0; border-radius: 999px; padding: 13px 30px 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3); transition: background 0.3s, transform 0.3s;
}
.post-knopf:hover { background: #3a342d; transform: translateY(-1px); }
.post-knopf:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
.post-hinweis { font-family: var(--sans); font-size: 0.8rem; line-height: 1.5; color: #5b5247; margin: 1.2rem 0 0; }
.post-hinweis a { color: #23201c; }
.post-status { font-family: var(--schreibmaschine); font-size: 1rem; margin: 0; color: #23201c; }
.post-status:not(:empty) { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #8a8174; }
@media (max-width: 860px) {
  .post-raster { grid-template-columns: 1fr; }
  .post-karte { transform: rotate(0.6deg); }
}

/* ===== Feinschliff Abstände (27.11.2026) ===== */
/* Seitenrand auf dem Handy etwas großzügiger (vorher 16 bis 19 px) */
:root { --rand: clamp(22px, 5.5vw, 48px); }

/* Lange Wörter dürfen nie über den Rand ragen ("Datenschutzerklärung", "Dreiundzwanzig") */
h1, h2, h3, .zeile, .display { overflow-wrap: break-word; hyphens: manual; }

@media (max-width: 760px) {
  /* Szene "Sie gehen weiter": Zeilen kleiner und dichter, sonst riesige Lücken */
  .schweigen { padding: clamp(88px, 14vh, 140px) 0; }
  .zeile { font-size: clamp(1.45rem, 8.2vw, 3rem); letter-spacing: 0.01em; margin-bottom: clamp(56px, 11vh, 110px); }
  .zeile.leise { font-size: clamp(1.7rem, 9vw, 2.6rem); }
  .zeile.klein { font-size: 1.05rem; }

  /* Abschnitte: gleichmäßiger Rhythmus oben und unten */
  .abschnitt { padding: 72px 0; }
  .abschnitt-kopf { margin-bottom: 36px; }
  .recht, .buchseite { padding: 40px 0 72px; }
  .recht h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }

  /* Knöpfe untereinander gleich breit */
  .knoepfe { flex-direction: column; align-items: stretch; }
  .knoepfe .knopf { justify-content: center; text-align: center; }

  /* Fuß: gleicher Rand wie der Inhalt */
  .site-footer { padding: 28px var(--rand) 32px; }
}

@media (max-width: 380px) {
  .knopf { padding: 13px 22px 14px; }
}

/* Zeitleiste: Textspalte darf schrumpfen, sonst drückt ein langes Wort sie über den Rand */
.station-inhalt { grid-template-columns: 150px minmax(0, 1fr); }
@media (max-width: 760px) { .station-inhalt { grid-template-columns: 100px minmax(0, 1fr); } }
@media (max-width: 400px) {
  .zeitleiste { padding-left: 32px; }
  .station-punkt { left: -32px; }
  .station-inhalt { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
}
.station-offen .station-inhalt { grid-template-columns: 1fr; }

/* Flüssiges Scrollen auf Touch-Geräten (27.11.2026) */
@media (hover: none), (pointer: coarse) {
  /* Weichzeichner hinter der festen Kopfzeile kostet beim Scrollen viel Leistung */
  .site-header.schwebend.gescrollt { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 13, 24, 0.96); }
  /* Einblenden ohne Unschärfe, nur Deckkraft und Bewegung */
  .js [data-reveal] { filter: none; transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
}

/* Taschenlampe auf Touch-Geräten: statt die Maske des Fotos in jedem Bild neu zu berechnen,
   wandert eine dunkle Ebene mit Loch darüber. Das verschiebt nur die Grafikkarte. */
.lampe-touch { overflow: hidden; }
.lampe-touch .lampe-bild { -webkit-mask-image: none; mask-image: none; }
.lampe-touch .lampe-bild::after {
  content: ""; position: absolute; left: -100%; top: -100%; width: 300%; height: 300%;
  background: radial-gradient(circle 230px at 50% 50%, rgba(3,6,12,0) 0%, rgba(3,6,12,0.25) 35%, #03060c 72%);
  animation: lampe-wandern 16s ease-in-out infinite alternate;
  will-change: transform; pointer-events: none;
}
@keyframes lampe-wandern {
  0% { transform: translate(-9%, -2%); }
  25% { transform: translate(5%, 5%); }
  50% { transform: translate(10%, -4%); }
  75% { transform: translate(-3%, 6%); }
  100% { transform: translate(-8%, 1%); }
}
@media (prefers-reduced-motion: reduce) { .lampe-touch .lampe-bild::after { animation: none; } }

/* Cover auf dem Handy mittig (27.11.2026) */
@media (max-width: 760px) {
  .buchseite-raster .cover { width: 100%; margin-left: auto; margin-right: auto; }
}
@media (max-width: 420px) {
  .buch .cover-kippen { width: 100%; margin-left: auto; margin-right: auto; }
}

/* Seitenkopf: Platz unter dem Menü und für "Weiter" (27.11.2026) */
.hero { padding-top: 110px; }
.hero .wrap { padding-bottom: max(clamp(72px, 13vh, 130px), 104px); }
@media (max-width: 760px) {
  .hero { padding-top: 132px; }
  .hero .wrap { padding-bottom: 128px; }
}

/* Filmkorn auf Touch-Geräten aus (27.11.2026): Die feste, ständig bewegte Ebene über der ganzen Seite
   muss beim Ein- und Ausblenden der Adressleiste neu berechnet werden und lässt das Scrollen haken. */
@media (hover: none), (pointer: coarse) {
  body::after { display: none; animation: none; }
}
