/* Basis der Erben-Seite: unverändert aus strudel-de-startseite/entwurf/startseite.css (Stand 06.11.2026),
   nur die Schriftpfade zeigen auf /bewertung/schrift/. Neu abziehen, wenn sich die Vorlage ändert. */
/* ============================================================
   Startseite · strudel.de · „Designed to be found."
   Volle Breite wie die Live-Seite. Schriftgrößen fest wie dort gemessen
   (H1 64, Aussage 28, Lauftext 18, Karten 280), nicht mitwachsend.
   Bausteine der Live-Seite: Aussage mit erdfarbenem Auftakt, Schieber,
   Hover-Karte, Banner mit Glaskarte, Partnerkacheln, Fragen.
   Neu: Intro-Vorhang, gepinnte Idee, Titelseiten je Kapitel, Szenen,
   Suchpass-Bühne, Ratgeber als Titelblätter, Schlussszene als Footer.
   ============================================================ */

@font-face{font-family:'Reckless';src:url('../bewertung/schrift/Reckless-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Saans';src:url('../bewertung/schrift/Saans-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Saans';src:url('../bewertung/schrift/Saans-Medium.woff2') format('woff2');font-weight:500;font-display:swap}

:root{
  --ink:#000; --grau:#4a4a4a; --leise:#8a8a8a;
  --erde:#9E918A; --erde-hell:#C1B5AF; --sand:#E4E0DC; --papier:#F4F2EF; --kachel:#E3E3E3;
  --linie:rgba(0,0,0,.1); --linie-stark:rgba(0,0,0,.3);
  --gelb:#F0C808;
  --serif:'Reckless',ui-serif,Georgia,serif;
  --sans:'Saans',ui-sans-serif,system-ui,-apple-system,sans-serif;
  --radius:4px; --pille:9999px;
  --rand:20px; --kopf:64px; --luecke:16px;
  --lauf:18px;
  --leiste:0px; /* Höhe einer fest stehenden Leiste am unteren Bildrand. Im Entwurf gibt es keine; die Live-Seite hat mobil eine (64 px + sicherer Bereich) und setzt den Wert dort. */
  --aus:cubic-bezier(.23,1,.32,1); --rein-raus:cubic-bezier(.77,0,.175,1);
}

@media (min-width:768px){ :root{ --rand:52px; --kopf:80px; --luecke:24px } }

*{margin:0;padding:0;box-sizing:border-box}
html{color-scheme:light;scroll-behavior:smooth}
/* overflow-x: clip, nicht hidden: hidden am body hebt in iOS-Safari position:sticky auf (Prozessbahn, Titelseiten, Suchpass) */
body{background:#fff;color:var(--ink);font-family:var(--sans);font-size:var(--lauf);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration:none}
img,video{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
em{font-style:normal}
fieldset{border:0}
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.02em}

.rahmen{width:100%;padding-left:var(--rand);padding-right:var(--rand)}
.block{margin-top:clamp(96px,9vw,176px)}
.block.halb{margin-top:56px}
.klein{font-size:14px;color:var(--grau);letter-spacing:.01em}

/* ---------- Pillen ---------- */
.pille{display:inline-flex;align-items:center;gap:12px;padding:12px 24px;border-radius:var(--pille);border:1px solid var(--ink);font-size:18px;line-height:1.5;white-space:nowrap;transition:background-color .25s,color .25s,border-color .25s,transform .2s var(--aus)}
.pille i,.mehr i,.pfeilliste i{font-style:normal;display:inline-block;transition:transform .3s var(--aus)}
.pille:hover i,.mehr:hover i,a:hover > .mehr i{transform:translateX(4px)}
.pille:active{transform:scale(.97)}
.pille:not(.voll):not(.hell):not(.durch):hover{background:var(--ink);color:#fff}
.pille.voll{background:var(--ink);color:#fff}
.pille.voll:hover{background:#262626}
.pille.hell{background:#fff;color:var(--ink);border-color:#fff}
.pille.hell:hover{background:var(--sand);border-color:var(--sand)}
.pille.durch{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.pille.durch:hover{background:rgba(255,255,255,.22);border-color:#fff}
.knoepfe{display:flex;gap:10px;flex-wrap:wrap}
.mehr{display:inline-flex;align-items:center;gap:8px;font-size:16px;margin-top:14px}
.mehr.hell{color:#fff;font-weight:500}

/* ---------- Aussage: erdfarbener Auftakt, dann schwarz ---------- */
.aussage{max-width:672px;margin:0 auto;font-family:var(--serif);font-size:clamp(23px,2.4vw,28px);line-height:1.62;letter-spacing:-.01em}
.aussage em{color:var(--erde)}
.aussage.links{margin:0;max-width:660px;font-size:clamp(26px,3vw,40px);line-height:1.6}
.aussage.gross{font-size:clamp(26px,3vw,40px);line-height:1.6;max-width:760px}
.zeile .w{transition:opacity .35s ease}
.zeile .w:not(.da){opacity:.14}
.kap .rahmen + .schieber{margin-top:56px}

.tritt{opacity:0;transform:translateY(24px);transition:opacity .9s var(--aus),transform .9s var(--aus)}
.tritt.da{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .tritt{opacity:1;transform:none}
  .zeile .w{opacity:1!important}
}

/* ---------- Intro: Marke, Satz, Vorhang ---------- */
.intro{position:fixed;inset:0;z-index:100;display:grid;place-items:center;cursor:pointer}
html.intro-fertig .intro:not(.oeffnet){display:none}
.introHalb{position:absolute;left:0;right:0;height:50.5%;background:#0b0b0a;transition:transform 1000ms var(--rein-raus)}
.introHalb.oben{top:0}
.introHalb.unten{bottom:0}
.intro.oeffnet{pointer-events:none}
.intro.oeffnet .introHalb.oben{transform:translateY(-100%)}
.intro.oeffnet .introHalb.unten{transform:translateY(100%)}
.introMitte{position:relative;z-index:1;display:grid;place-items:center;color:#fff;text-align:center;padding:0 24px}
.introMitte > *{grid-area:1/1}
.introMarke{height:clamp(20px,2.2vw,32px);width:auto;opacity:0;clip-path:inset(0 100% 0 0);filter:invert(1) brightness(2) blur(6px);animation:faedeltEin 1100ms var(--aus) 200ms forwards, faedeltAus 500ms var(--rein-raus) 1500ms forwards}
.introSatz{font-family:var(--serif);font-size:clamp(30px,3.6vw,56px);line-height:1;letter-spacing:-.02em;opacity:0;animation:satzDa 1ms 2000ms forwards, satzWeg 500ms var(--rein-raus) 3500ms forwards}
.introSatz span{display:inline-block;opacity:0;filter:blur(8px);transform:translateY(14px);animation:wortEin 700ms var(--aus) forwards}
.introSatz span:nth-child(1){animation-delay:2050ms}
.introSatz span:nth-child(2){animation-delay:2170ms}
.introSatz span:nth-child(3){animation-delay:2290ms}
.introSatz span:nth-child(4){animation-delay:2410ms}
@keyframes faedeltEin{0%{opacity:0;clip-path:inset(0 100% 0 0);filter:invert(1) brightness(2) blur(6px)}30%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);filter:invert(1) brightness(2) blur(0)}}
@keyframes faedeltAus{to{opacity:0;transform:translateY(-10px);filter:invert(1) brightness(2) blur(6px)}}
@keyframes satzDa{to{opacity:1}}
@keyframes satzWeg{to{opacity:0;transform:translateY(-10px);filter:blur(6px)}}
@keyframes wortEin{to{opacity:1;filter:blur(0);transform:none}}
html.intro-laeuft{overflow:hidden}

/* ---------- Kopf: Logo links, Navigation rechts, sonst nichts ---------- */
.kopf:not(.fest) .hauptnav,.kopf:not(.fest) .ikon{text-shadow:0 1px 12px rgba(0,0,0,.45)}
.kopf{position:fixed;inset:0 0 auto 0;z-index:50;height:var(--kopf);color:#fff;transition:background-color .35s,color .35s,transform .5s var(--aus)}
.kopf.fest{background:rgba(255,255,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--ink)}
.kopf.fest.dunkel{color:#fff;background:linear-gradient(180deg,rgba(11,11,10,.92) 0%,rgba(11,11,10,.6) 60%,rgba(11,11,10,0) 100%);backdrop-filter:none;-webkit-backdrop-filter:none}
html.intro-laeuft .kopf{transform:translateY(-100%)}
.kopfzeile{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.marke img{height:clamp(20px,1.7vw,25px);width:auto;transition:filter .35s}
.kopf:not(.fest) .marke img,.kopf.dunkel .marke img{filter:invert(1) brightness(2)}
.kopfrechts{display:flex;align-items:center;gap:4px}
.hauptnav{display:none;gap:32px;margin-right:28px;font-size:20px}
@media (min-width:900px){ .hauptnav{display:flex} }
.hauptnav a{position:relative}
.hauptnav a::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .35s var(--aus)}
.hauptnav a:hover::after{transform:scaleX(1)}
.ikon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;transition:background-color .2s}
.ikon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ikon:hover{background:rgba(128,128,128,.18)}

/* ---------- Hero: Inhalt unten links, Bild über alles ---------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;color:#fff;background:#23211f;overflow:hidden}
.herobild,.herofilm{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);transition:transform 2600ms var(--aus),opacity 1400ms ease}
.herobild{object-position:60% 30%}
.herofilm{opacity:0}
.herofilm.laeuft{opacity:1}
html.intro-fertig .herobild,html.intro-fertig .herofilm{transform:none}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.18) 22%,rgba(0,0,0,.12) 45%,rgba(0,0,0,.66) 100%),rgba(0,0,0,.18)}
.heroinhalt{position:relative;z-index:1;padding-top:calc(var(--kopf) + 40px);padding-bottom:calc(clamp(40px,5vw,72px) + var(--leiste))}
.belege{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.beleg{display:inline-flex;align-items:center;gap:8px;height:39px;padding:0 14px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.6);font-size:14px}
.beleg b{font-weight:500}
.hero h1{font-size:clamp(48px,5.8vw,92px);line-height:1.04;letter-spacing:-.025em}
.hero h1 span{display:block}
.hero p{font-size:clamp(18px,1.4vw,20px);line-height:1.65;max-width:672px;color:rgba(255,255,255,.92);margin:20px 0 32px}
.heroinhalt > *{opacity:0;transform:translateY(26px);transition:opacity 1100ms var(--aus),transform 1100ms var(--aus)}
html.intro-fertig .heroinhalt > *{opacity:1;transform:none}
html.intro-fertig .heroinhalt > :nth-child(1){transition-delay:350ms}
html.intro-fertig .heroinhalt > :nth-child(2){transition-delay:480ms}
html.intro-fertig .heroinhalt > :nth-child(3){transition-delay:640ms}
html.intro-fertig .heroinhalt > :nth-child(4){transition-delay:780ms}

/* ---------- Die Idee: allein auf der Seite, gepinnt ---------- */
.idee{padding:clamp(112px,14vw,220px) var(--rand)}
@media (min-width:900px){
  .idee{height:220vh;padding:0}
  .ideeklebt{position:sticky;top:0;height:100vh;display:grid;place-items:center;padding:var(--kopf) var(--rand) 0}
}

/* ---------- Titelseite je Kapitel: getöntes Blatt, Claim über die volle Breite ---------- */
.titelpin{height:190vh}
.titelseite{position:sticky;top:0;background:var(--papier);height:100vh;height:100svh;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:calc(var(--kopf) + 24px) var(--rand) 48px;overflow:hidden;--t:0}
.titelkopf{display:flex;justify-content:space-between;gap:20px;font-family:var(--serif);font-size:20px;letter-spacing:-.01em;opacity:calc(var(--t) * 4);transform:translateY(calc((1 - min(1, var(--t) * 4)) * -14px))}
.titelkopf span:first-child{color:var(--erde)}
.claimzeile{font-size:clamp(44px,7.2vw,132px);line-height:1.12;letter-spacing:-.03em;margin-left:-.03em;white-space:nowrap;padding-bottom:.12em;clip-path:inset(-20% -2% calc((1 - min(1, var(--t) * 2.6)) * 130% - 25%) -2%);transform:translateY(calc((1 - min(1, var(--t) * 2.6)) * 36%))}
.claimzeile > span{color:#D9D4CE}
.claimzeile b{font-weight:400;display:inline-block;padding-bottom:.16em;margin-bottom:-.16em;background:linear-gradient(90deg,var(--ink) 50%,#D9D4CE 50%);background-size:200% 100%;background-position:calc((1 - clamp(0, (var(--t) - .3) * 2.6, 1)) * 100%) 0;-webkit-background-clip:text;background-clip:text;color:transparent}

.titelseite p{font-family:var(--serif);font-size:clamp(22px,2.2vw,28px);line-height:1.45;letter-spacing:-.01em;max-width:660px;margin-left:auto;opacity:clamp(0, (var(--t) - .55) * 4, 1);transform:translateY(calc((1 - clamp(0, (var(--t) - .55) * 4, 1)) * 24px))}

@media (max-width:640px){
  .titelpin{height:150vh}
  .claimzeile{white-space:normal;font-size:17vw}
  .claimzeile > span,.claimzeile > b{display:block}
  .titelseite p{margin-left:0}
}

/* ---------- Szene: Text groß, Bild über die volle Höhe ---------- */
.schritt{display:flex;flex-direction:column-reverse;gap:26px;padding:56px var(--rand) 0}
.schritt figure{border-radius:var(--radius);overflow:hidden}
.schritt img{width:100%;aspect-ratio:4/5;object-fit:cover}
.schritttext .n{font-family:var(--serif);font-size:18px;color:var(--erde);display:block;margin-bottom:14px}
.schritttext h3{font-size:clamp(32px,3.2vw,48px);line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.schritttext p{font-size:clamp(18px,1.4vw,20px);line-height:1.6;color:var(--grau);max-width:30em;margin-top:20px}
.belege2{margin-top:26px;max-width:34em;border-top:1px solid var(--linie)}
.belege2 li{display:grid;grid-template-columns:12.5em minmax(0,1fr);gap:4px 20px;padding:12px 0;border-bottom:1px solid var(--linie);font-size:16px;line-height:1.45}
.belege2 b{font-weight:500;white-space:nowrap}
.belege2 span{color:var(--grau)}
@media (max-width:560px){ .belege2 li{grid-template-columns:1fr} }
@media (min-width:900px) and (max-height:860px){ .schritttext h3{font-size:clamp(28px,2.6vw,38px)} .schritttext p{margin-top:14px;font-size:17px} .belege2{margin-top:16px} .belege2 li{padding:8px 0;font-size:15px} .marke2{margin-top:16px} }
.stufen{display:none}
.stufenzeile{display:none} /* nur mobil, siehe unten; das Skript legt sie neben .stufen an */

@media (min-width:900px){
  .schritte{display:contents}
  .szene{height:calc(100vh + var(--n,3) * 95vh)}
  .szeneklebt{position:sticky;top:0;height:100vh;display:grid;overflow:hidden}
  .schritt{grid-area:1/1;display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:0;padding:0;flex-direction:initial;pointer-events:none}
  .schritttext{align-self:center;padding:var(--kopf) clamp(40px,5vw,96px) 120px var(--rand)}
  .schritttext > *{opacity:0;transform:translateY(28px);transition:opacity .45s ease,transform .8s var(--aus)}
  .schritt.an{pointer-events:auto}
  .schritt.an .schritttext > *{opacity:1;transform:none}
  .schritt.an .schritttext > :nth-child(1){transition-delay:.10s}
  .schritt.an .schritttext > :nth-child(2){transition-delay:.16s}
  .schritt.an .schritttext > :nth-child(3){transition-delay:.24s}
  .schritt.an .schritttext > :nth-child(4){transition-delay:.32s}
  .schritt.an .schritttext > :nth-child(5){transition-delay:.40s}
  .schritt figure{grid-column:2;grid-row:1;height:100vh;border-radius:0;clip-path:inset(var(--zu,0%) 0 0 0);will-change:clip-path}
  .schritt img{height:100%;aspect-ratio:auto;transform:scale(var(--gross,1));will-change:transform}
  /* Kapitel 2 gespiegelt: Bild links, Text rechts */
  .gespiegelt .schritt{grid-template-columns:minmax(0,55fr) minmax(0,45fr)}
  .gespiegelt .schritt figure{grid-column:1}
  .gespiegelt .schritttext{grid-column:2;grid-row:1;padding:var(--kopf) var(--rand) 120px clamp(40px,5vw,96px)}
  /* Stufen: jede Stufe hat Namen, Zeit und einen eigenen Balken, der sich beim Scrollen füllt */
  .stufen{position:absolute;z-index:2;left:var(--rand);bottom:40px;width:calc(45% - var(--rand) - clamp(40px,5vw,96px));display:flex;gap:10px}
  .gespiegelt .stufen{left:calc(55% + clamp(40px,5vw,96px))}
  .stufen li{flex:1;min-width:0}
  .stufen button{display:block;width:100%;text-align:left;padding:0 0 4px;color:var(--leise);transition:color .3s}
  .stufen .balken{display:block;height:2px;background:var(--linie);margin-bottom:12px;overflow:hidden;border-radius:2px}
  .stufen .balken i{display:block;height:100%;background:var(--ink);transform-origin:left;transform:scaleX(var(--f,0))}
  .stufen li:first-child .balken i{background:var(--ink)}
  .stufen small{display:block;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .stufen b{display:block;font-weight:500;font-size:14.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .stufen li.an button,.stufen li.war button{color:var(--ink)}
  .stufen li.war button{color:var(--grau)}
  .stufen button:hover{color:var(--ink)}
}


/* ---------- Der Suchpass: ein Bild, eine Frage, ein Formular ---------- */
.suche{position:relative;background:#0b0b0a;color:#fff;margin-top:0}
/* Das Foto bleibt als Grund stehen, während links gescrollt wird */
.suchegrund{position:absolute;inset:0;z-index:0}
.suchegrund img{position:sticky;top:0;width:100%;height:100vh;height:100svh;object-fit:cover;opacity:.9}
.suche::before{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(11,11,10,.86) 0%,rgba(11,11,10,.5) 38%,rgba(11,11,10,.22) 58%,rgba(11,11,10,.6) 100%)}
.suche::after{content:'';position:absolute;z-index:1;left:0;right:0;bottom:0;height:30vh;background:linear-gradient(0deg,#0b0b0a,rgba(11,11,10,0))}
.sucheraster{position:relative;z-index:2;display:grid;gap:56px;padding-top:calc(var(--kopf) + 48px);padding-bottom:clamp(96px,9vw,160px)}
.suche .klein{color:rgba(255,255,255,.7);display:block;margin-bottom:16px}
.suche h2{font-size:clamp(36px,4.4vw,64px);line-height:1.08;letter-spacing:-.025em;text-wrap:balance;max-width:12em}
.suchesatz{font-family:var(--serif);font-size:clamp(20px,2vw,28px);line-height:1.5;color:rgba(255,255,255,.88);max-width:620px;margin-top:22px}
/* Vorteile: große Blöcke ohne Linien, der aktive leuchtet */
.vorteile{display:grid;gap:clamp(48px,6vw,72px);margin-top:clamp(56px,7vw,96px);max-width:620px}
.vorteile li{transition:opacity .5s ease}
.vorteile b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(44px,5vw,80px);line-height:1;letter-spacing:-.03em}
.vorteile h3{font-family:var(--sans);font-weight:500;font-size:clamp(19px,1.5vw,22px);letter-spacing:0;line-height:1.3;margin-top:18px}
.vorteile p{font-size:clamp(17px,1.3vw,19px);line-height:1.6;color:rgba(255,255,255,.75);max-width:30em;margin-top:6px}
.sucherechts{display:flex;flex-direction:column;gap:20px}
@media (min-width:900px){
  .sucheraster{grid-template-columns:minmax(0,1fr) minmax(0,clamp(400px,36vw,580px));gap:clamp(48px,7vw,140px);align-items:start;padding-top:0}
  .sucheauftakt{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding-top:var(--kopf)}
  .vorteile{margin-top:0;gap:0}
  .vorteile li{min-height:62vh;display:flex;flex-direction:column;justify-content:center}
  .suche.lebt .vorteile li:not(.an){opacity:.28}
  .fuereigentuemer{margin-top:18vh}
  /* rechts: Pass und Frage bleiben stehen, solange man in diesem Teil scrollt */
  .sucherechts{position:sticky;top:0;height:100vh;height:100svh;justify-content:center;padding-top:var(--kopf)}
}
@media (min-width:900px) and (max-height:800px){
  .pass{aspect-ratio:2} .starter{padding:16px;gap:10px} .option{padding:9px 14px} .starterhinweis{display:none} .sucherechts{gap:14px}
}
/* Der Pass: groß, gerade, neigt sich zur Maus, Stempel erscheinen */
.sucherechts{display:flex;flex-direction:column;gap:20px}
.passbuehne{perspective:1400px}
.pass{position:relative;aspect-ratio:1.62;border-radius:18px;padding:clamp(20px,1.8vw,30px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;overflow:hidden;
  background:linear-gradient(135deg,#1d1c1a 0%,#0c0c0b 45%,#1a1917 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 60px 120px -40px rgba(0,0,0,.9),0 0 120px -30px rgba(240,200,8,.16);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s var(--aus);will-change:transform}
.pass .glanz{position:absolute;inset:-40%;background:linear-gradient(115deg,rgba(255,255,255,0) 42%,rgba(255,255,255,.13) 50%,rgba(255,255,255,0) 58%);transform:translateX(var(--gx,-30%));transition:transform .6s var(--aus);pointer-events:none}
.passkopf{position:relative;display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-family:var(--serif);font-size:clamp(13px,1vw,16px);line-height:1;color:rgba(255,255,255,.8)}
.passkopf img{display:block;height:clamp(13px,1.1vw,17px);width:auto;max-width:48%;filter:invert(1) brightness(2);align-self:baseline}
.passmitte{position:relative}
.passk{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-bottom:6px}
.passmitte b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(32px,3.2vw,48px);line-height:1;letter-spacing:-.01em}
.passmitte small{display:block;font-size:13.5px;color:rgba(255,255,255,.7);margin-top:8px}
.stempel{position:relative;display:flex;flex-wrap:wrap;gap:8px 8px;margin:14px 0 12px}
.stempel li{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:var(--pille);border:1px solid rgba(255,255,255,.22);font-size:12.5px;color:rgba(255,255,255,.4);transition:color .4s,border-color .4s,background-color .4s,transform .6s var(--aus)}
.stempel li::before{content:'';width:8px;height:4px;border:solid currentColor;border-width:0 0 1.5px 1.5px;transform:rotate(-45deg) translateY(-2px);opacity:.5}
.stempel li.an{color:#0b0b0a;background:var(--gelb);border-color:var(--gelb)}
.stempel li.an::before{opacity:1}
.passfuss{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:rgba(255,255,255,.65)}
.flagge{display:inline-flex;flex-direction:column;width:28px;height:16px;overflow:hidden;border-radius:1px}
.flagge i{flex:1;background:#fff}
.flagge i + i{background:var(--gelb)}
/* Einstieg: Glas statt weißer Karte, die Knöpfe werden beim Überfahren weiß */
.starter{background:rgba(255,255,255,.07);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:14px;color:#fff}
.starterfrage .klein{color:rgba(255,255,255,.6);font-size:12px;letter-spacing:.06em;margin-bottom:6px}
.starterfrage h3{font-size:clamp(26px,2.2vw,32px);line-height:1.1;letter-spacing:-.01em}
.optionen{display:flex;flex-direction:column;gap:8px}
.option{position:relative;display:flex;align-items:center;gap:14px;width:100%;padding:13px 16px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.04);color:#fff;text-align:left;transition:background-color .2s,border-color .2s,color .2s,transform .2s var(--aus)}
.option .ikone{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.1);flex:none;display:grid;place-items:center;transition:background-color .2s,color .2s}
.option .ikone svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.option > span{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
.option b{font-weight:500;font-size:16.5px;line-height:1.2}
.option small{font-size:13.5px;color:rgba(255,255,255,.65);line-height:1.35;transition:color .2s}
.option .pfeil{font-style:normal;flex:none;transition:transform .3s var(--aus)}
.option:active{transform:scale(.98)}
.option:hover,.option.gewaehlt{background:#fff;border-color:#fff;color:#0b0b0a}
.option:hover small,.option.gewaehlt small{color:var(--grau)}
.option:hover .ikone,.option.gewaehlt .ikone{background:var(--papier);color:#0b0b0a}
.option:hover .pfeil{transform:translateX(4px)}
.starterhinweis{font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.6)}
.fuereigentuemer{font-family:var(--serif);font-size:clamp(23px,2.4vw,28px);line-height:1.62;letter-spacing:-.01em;max-width:620px;margin:clamp(72px,8vw,120px) 0 0}
.fuereigentuemer em{color:var(--erde-hell)}
.bruecke{padding:clamp(140px,14vw,240px) 0 0}
.kap{padding-top:clamp(112px,11vw,176px)}
#mehrwert{padding-top:clamp(72px,7vw,112px);padding-bottom:clamp(120px,12vw,200px)}

/* Person */
.banner{position:relative;max-width:1400px;margin:0 24px;border-radius:8px;overflow:hidden;color:#fff;min-height:860px;display:flex;flex-direction:column;justify-content:flex-end;gap:24px;padding:28px 20px;background:#1a1917}
@media (min-width:1448px){ .banner{margin-left:auto;margin-right:auto} }
.banner > img{position:absolute;inset:0 0 auto 0;width:100%;height:62%;object-fit:cover;object-position:60% 15%}
.banner::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1a1917 38%,rgba(26,25,23,0) 66%)}
.bannertext,.glas{position:relative;z-index:1}
.bannertext h2{font-size:clamp(34px,3.4vw,48px);line-height:1.12;margin-bottom:12px}
.bannertext p{max-width:576px;font-size:18px;color:rgba(255,255,255,.92);margin-bottom:24px}
.glas{background:rgba(255,255,255,.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:18px;max-width:300px}
.glas li{display:flex;gap:12px;align-items:flex-start}
.glas svg{width:22px;height:22px;flex:none;margin-top:3px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.glas b{display:block;font-weight:500;font-size:18px;line-height:1.3}
.glas small{font-size:14px;color:rgba(255,255,255,.75)}
@media (min-width:900px){
  .banner{min-height:min(78vh,810px);flex-direction:row;align-items:center;justify-content:space-between;padding:clamp(40px,4vw,80px)}
  .bannertext{margin-top:8vh}
  .glas{align-self:flex-end}
  .banner > img{inset:0;height:100%;object-position:center 22%}
  .banner::after{background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.05) 60%),linear-gradient(0deg,rgba(0,0,0,.45),rgba(0,0,0,0) 50%)}
}
.zitat{padding:clamp(96px,9vw,160px) 0 0}
.unterschrift{margin:36px 0 0 auto;width:min(300px,72%);font-family:var(--sans);letter-spacing:0;line-height:1.3}
.unterschrift img{width:100%;height:auto;border-bottom:1px solid var(--linie);padding-bottom:10px;margin-bottom:12px}
.unterschrift b{display:block;font-weight:400;font-size:16px}
.unterschrift small{display:block;margin-top:2px;font-family:var(--serif);font-size:13px;color:var(--grau)}
.partnerreihe{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--luecke);max-width:1496px;margin:56px auto 0}
@media (min-width:700px){ .partnerreihe{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (min-width:1100px){ .partnerreihe{grid-template-columns:repeat(5,minmax(0,1fr))} }
.partner{aspect-ratio:1;background:var(--kachel);border-radius:var(--radius);display:grid;place-items:center;padding:clamp(20px,2.4vw,36px);transition:background-color .4s}
.partner:hover{background:#DADADA}
.partner img{max-height:84px;width:100%;object-fit:contain}
.partner > a{display:grid;place-items:center;width:100%;height:100%}
.partner.wort{text-align:center}
.partner.wort > a{align-content:center}
.partner.wort span{font-family:var(--sans);font-size:clamp(20px,1.7vw,26px);line-height:1.1;letter-spacing:.01em}
.partner.wort small{display:block;font-size:12px;color:var(--grau);margin-top:10px}

/* Schieber */
.bahn{display:flex;gap:var(--luecke);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 var(--rand);scroll-padding-left:var(--rand)}
.bahn::-webkit-scrollbar{display:none}
.bahn > *{flex:none;scroll-snap-align:start}
.regler{display:flex;align-items:center;gap:6px;margin-top:28px}
.regler button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;font-size:16px;transition:background-color .2s,opacity .2s}
.regler button:hover{background:rgba(0,0,0,.06)}
.regler button[disabled]{opacity:.25;cursor:default}
.regler .linie{position:relative;width:180px;height:1px;background:var(--linie);margin-left:14px}
.regler .linie span{position:absolute;left:0;top:-.5px;height:2px;width:100%;background:var(--ink);transform-origin:left;transform:scaleX(.2);transition:transform .25s ease-out}
.stimme{width:84vw;max-width:280px;min-height:513px;background:var(--erde-hell);color:#fff;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:20px}
.stimme .g{font-size:14px;letter-spacing:.06em}
.stimme .g b{font-weight:500;margin-right:4px;letter-spacing:0}
.stimme blockquote{font-size:16px;line-height:26px;flex:1}
.stimme figcaption{display:flex;align-items:center;gap:12px}
.stimme figcaption i{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:18px}
.stimme figcaption b{display:block;font-weight:500;font-size:14.5px;line-height:1.3}
.stimme figcaption small{font-size:12.5px;opacity:.8}
.lage{position:relative;width:70vw;max-width:280px;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;color:#fff;background:#222}
.lage img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--aus)}
.lage:hover img{transform:scale(1.05)}
.lage::after{content:'';position:absolute;inset:45% 0 0 0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.75))}
.lage span{position:absolute;z-index:1;left:20px;bottom:18px}
.lage b{display:block;font-weight:500;font-size:18px;line-height:1.3}
.lage small{font-size:12px;opacity:.85}

/* Anlässe */
.anlassraster{display:grid;gap:48px}
@media (min-width:900px){ .anlassraster{grid-template-columns:minmax(0,660px) minmax(0,581px);gap:clamp(48px,8vw,120px);align-items:center;justify-content:center} }
.pfeilliste{margin-top:40px;max-width:660px}
.pfeilliste li{border-bottom:1px solid var(--linie)}
.pfeilliste li:last-child{border-bottom:0}
.pfeilliste a{display:flex;align-items:center;gap:14px;padding:20px 0;font-size:clamp(20px,2vw,24px);line-height:1.3;transition:color .25s,padding-left .4s var(--aus)}
.pfeilliste:hover a:not(:hover){color:var(--leise)}
.pfeilliste a:hover{padding-left:8px}
.pfeilliste a:hover i{transform:translateX(5px)}
.hoverkarte{position:relative;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:#111;color:#fff}
.hoverkarte img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.05);transition:opacity .6s ease,transform 1.6s var(--aus)}
.hoverkarte img.an{opacity:1;transform:none}
.hoverkarte::after{content:'';position:absolute;inset:30% 0 0 0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.92) 62%)}
.hovertext{position:absolute;z-index:1;left:32px;right:32px;bottom:28px;display:grid}
.hovertext p{grid-area:1/1;align-self:end;font-size:clamp(17px,1.5vw,20px);line-height:1.7;opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .6s var(--aus)}
.hovertext p.an{opacity:1;transform:none;transition-delay:.08s}
.hovertext .mehr{grid-row:2;margin-top:16px}


/* Fragen */
.fragen{max-width:672px;margin:0 auto;border-top:1px solid var(--linie)}
.frage{border-bottom:1px solid var(--linie)}
.frage summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;font-size:clamp(19px,1.6vw,22px);font-weight:500;line-height:1.4}
.frage summary::-webkit-details-marker{display:none}
.frage summary::after{content:'';flex:none;width:9px;height:9px;border:solid var(--ink);border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translate(-2px,-2px);transition:transform .35s var(--aus)}
.frage[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.frage p{color:var(--grau);padding:0 28px 24px 0}

/* ---------- Schlussszene: derselbe Film wie im Hero, der Claim, zwei Türen ---------- */
.schlussbild{position:relative;margin-top:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:#1a1917;overflow:hidden}
.schlussfoto,.schlussfilm{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.schlussfilm{opacity:0;transition:opacity 1400ms ease}
.schlussfilm.laeuft{opacity:1}
.schlussbild::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.4) 40%,rgba(0,0,0,.82) 100%)}
.schlussmitte,.schlussunten{position:relative;z-index:1}
.schlussmitte{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(var(--kopf) + 56px) var(--rand) 56px}
.schlussclaim{font-size:clamp(48px,8vw,140px);line-height:1;letter-spacing:-.03em}
.schlussclaim span{display:inline-block;opacity:0;transform:translateY(30%);filter:blur(8px);transition:opacity 1s ease,transform 1.2s var(--aus),filter 1s ease}
.schlussclaim span + span{transition-delay:.18s}
.schlussbild.da .schlussclaim span{opacity:1;transform:none;filter:none}
.schlussmitte > p{font-family:var(--serif);font-size:clamp(20px,2vw,28px);line-height:1.4;color:rgba(255,255,255,.92);margin:24px 0 0;max-width:26em}
.tueren{display:grid;gap:16px;width:100%;max-width:980px;margin-top:clamp(36px,4vw,56px)}
@media (min-width:760px){ .tueren{grid-template-columns:1fr 1fr;gap:var(--luecke)} }
.tuer{display:flex;flex-direction:column;align-items:flex-start;gap:14px;text-align:left;padding:clamp(24px,2.4vw,36px);border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;transform:translateY(24px);transition:opacity .9s ease .5s,transform 1.1s var(--aus) .5s,background-color .3s,border-color .3s}
.tuer + .tuer{transition-delay:.65s,.65s,0s,0s}
.schlussbild.da .tuer{opacity:1;transform:none}
.tuer:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.45)}
.tuer .klein{color:rgba(255,255,255,.7)}
.tuer b{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.3vw,34px);line-height:1.15;letter-spacing:-.015em;flex:1}
.tuer .pille{margin-top:8px}
.tuer:hover .pille i{transform:translateX(4px)}
.direkt{font-family:var(--sans)!important;font-size:16px!important;color:rgba(255,255,255,.75)!important;margin-top:28px!important;max-width:none!important}
@media (min-width:620px){ .direkt{white-space:nowrap} }
.direkt a{color:#fff;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4)}
.direkt a:hover{text-decoration-color:#fff}
.schlussunten{padding-bottom:calc(36px + var(--leiste))}
.fussspalten{display:grid;grid-template-columns:repeat(2,1fr);gap:36px var(--luecke);font-size:17px;padding-top:32px;border-top:1px solid rgba(255,255,255,.18)}
@media (min-width:900px){ .fussspalten{grid-template-columns:repeat(4,1fr)} }
.fussspalten div{display:flex;flex-direction:column;gap:8px;align-items:flex-start;color:rgba(255,255,255,.82)}
.fussspalten h3{font-family:var(--serif);font-size:20px;letter-spacing:-.01em;color:#fff;margin-bottom:8px}
.fussspalten a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.fussrecht{display:block;margin-top:48px;font-size:14px;color:rgba(255,255,255,.6)}
.fussspalten button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left}
.fussspalten button:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}

/* Footer-Variante für Unterseiten, auf denen die volle Schlussszene nicht passt (Kontakt, Rechtliches, Formulare):
   kein Film, kein Claim, keine Türen. Es bleiben die Direktzeile, die vier Spalten und die Adresszeile. */
.schlussbild.kompakt{min-height:0;display:block}
.schlussbild.kompakt::after{display:none}
.schlussbild.kompakt .schlussmitte{display:block;flex:none;text-align:left;padding:56px var(--rand) 0}
.schlussbild.kompakt .direkt{margin-top:0!important;white-space:normal}
.schlussbild.kompakt .schlussunten{padding-top:32px}

/* ---------- Übergang zur Suchpass-Seite: eine dunkle Decke blendet weich zu. Die Seite selbst bleibt unbewegt,
   sonst springen die klebenden Elemente und am Rand blitzt der weiße Grund ---------- */
.blende{position:fixed;inset:0;z-index:120;pointer-events:none;background:#0b0b0a;opacity:0;transition:opacity 700ms cubic-bezier(.4,0,.2,1)}
.blende.zu{pointer-events:auto;opacity:1}
html.geht .option{transition:none}

/* ---------- Ratgeber als Titelblätter: Hochformat im Schieber, die Schrift steht auf dem Bild ---------- */
.lesekarte{position:relative;width:74vw;max-width:360px;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;color:#fff;background:#1a1917;display:flex;flex-direction:column;justify-content:space-between;padding:24px}
.lesekarte img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--aus)}
.lesekarte::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.05) 35%,rgba(0,0,0,.2) 55%,rgba(0,0,0,.82) 100%)}
.lesekarte > *:not(img){position:relative;z-index:1}
.lesekarte .oben{display:flex;justify-content:space-between;font-size:13px;letter-spacing:.02em;color:rgba(255,255,255,.85)}
.lesekarte h3{font-size:clamp(24px,2vw,30px);line-height:1.15;letter-spacing:-.015em;text-wrap:balance}
.lesekarte .mehr{margin-top:14px;font-size:15px;font-weight:500}
.lesekarte:hover img{transform:scale(1.05)}
.lesekarte:hover .mehr i{transform:translateX(4px)}
/* letzte Karte: führt zu allen Beiträgen, die Zahl kommt aus dem CMS */
.lesekarte.alle{background:var(--papier);color:var(--ink);justify-content:flex-end;transition:background-color .35s}
.lesekarte.alle:hover{background:var(--sand)}
.lesekarte.alle::after{display:none}
.lesekarte.alle b{font-family:var(--serif);font-weight:400;font-size:clamp(64px,6vw,96px);line-height:1;letter-spacing:-.03em;display:block;margin-bottom:10px}


/* ============================================================
   MOBIL (unter 900 px): dieselben Inhalte, andere Bühne.
   Hero kompakt, damit beide Knöpfe über der unteren Leiste stehen.
   Titelseiten ohne Pin (kein Weißraum). Schritte als Kartenbahn
   mit Stufenleiste statt acht Bildschirmen untereinander.
   Luft vor dem Suchpass. Seitenschluss mit Wortmarke.
   ============================================================ */
@media (max-width:899px){
  /* Hero: kleiner gesetzt, Knöpfe sicher über der Leiste (--leiste setzt die Live-Seite) */
  .heroinhalt{padding-top:calc(var(--kopf) + 16px);padding-bottom:calc(24px + var(--leiste))}
  .belege{margin-bottom:14px}
  .beleg{height:32px;padding:0 11px;font-size:13px}
  .hero h1{font-size:clamp(40px,11.5vw,48px);line-height:1.02}
  .hero p{font-size:16px;line-height:1.5;margin:14px 0 20px}
  .hero .knoepfe{gap:8px}
  .hero .pille{padding:10px 20px;font-size:16px}
  @media (max-height:640px){ .hero p{display:none} .hero h1{font-size:40px} }

  /* Titelseite: ein ruhiges Blatt, kein Kleben, kein Weißraum danach */
  .titelpin{height:auto}
  .titelseite{position:static;height:auto;min-height:0;--t:1;padding:calc(var(--kopf) + 32px) var(--rand) 48px;gap:28px}
  .claimzeile{clip-path:none;transform:none}
  .titelseite p{margin-left:0;font-size:22px}

  /* Szene: Bahn aus Karten, eine Karte je Schritt, Stufenleiste darüber. Die Karte ist so bemessen,
     dass sie mit Kopf, Leiste und Stufenleiste in einen Bildschirm ab 640 px Höhe passt. */
  .szene{padding:32px 0 clamp(80px,12vw,120px)}
  .szeneklebt{display:flex;flex-direction:column;gap:12px}
  .stufen{display:flex;order:-1;position:relative;gap:6px;padding:0 var(--rand)}
  .stufen li{flex:1;min-width:0}
  .stufen button{display:block;width:100%;padding:0}
  .stufen .balken{display:block;height:2px;background:var(--linie);overflow:hidden;border-radius:2px}
  .stufen .balken i{display:block;height:100%;background:var(--ink);transform-origin:left;transform:scaleX(var(--f,0))}
  /* Zeit und Name bleiben für Screenreader im Knopf, nur das Auge sieht sie nicht (kein display:none) */
  .stufen li small,.stufen li b{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  /* Die Zeile ist ein Geschwister der Liste (kein Kind, das gehört nicht in ein <ol>) und steht per order direkt darunter */
  .stufenzeile{display:block;order:-1;padding:0 var(--rand);font-size:13.5px;line-height:1.35;color:var(--grau);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .stufenzeile b{font-weight:500;color:var(--ink);margin-left:8px}
  .schritte{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 var(--rand);scroll-padding:0 var(--rand)}
  .schritte::-webkit-scrollbar{display:none}
  .schritt{flex:none;width:min(80vw,340px);scroll-snap-align:start;flex-direction:column-reverse;justify-content:flex-end;gap:0;padding:0;background:var(--papier);border-radius:8px;overflow:hidden}
  .schritt figure{border-radius:0}
  .schritt img{aspect-ratio:auto;height:clamp(150px,26svh,210px)}
  .schritttext{padding:12px 16px 16px}
  .schritttext .n{font-size:13px;margin-bottom:4px}
  .schritttext h3{font-size:22px;line-height:1.12}
  .schritttext p{font-size:14.5px;line-height:1.42;margin-top:6px}
  .belege2{margin-top:10px;max-width:none;border-top-color:rgba(0,0,0,.12)}
  .belege2 li{display:block;padding:5px 0;font-size:13px;line-height:1.36;border-bottom-color:rgba(0,0,0,.12)}
  .belege2 li:last-child{border-bottom:0;padding-bottom:0}
  .belege2 b{white-space:normal;margin-right:4px}
  .belege2 b::after{content:':'}

  /* Gepinnt (ab 640 px Höhe, ohne „weniger Bewegung“, nur mit Skript): die Szene ist so hoch wie der Weg durch die Karten,
     der Inhalt klebt, und das vertikale Scrollen fährt die Bahn zur Seite. Erst wenn die letzte Karte steht, geht es weiter.
     Die Bedingung steht bewusst im CSS und nicht in einer Klasse vom Skript: So ist die Seite schon beim ersten Bild so lang
     wie später, und iOS setzt beim Neuladen die Scrollposition nicht in eine Seite, die danach noch wächst.
     Alle Höhen in svh (kleine Bildschirmhöhe): vh ändert sich auf dem iPhone, wenn die Adressleiste ein- und ausfährt. */
  @media (min-height:640px) and (prefers-reduced-motion:no-preference){
    /* Der untere Rand des klebenden Teils (Platz für die Leiste) wird am Ende vom nächsten Abschnitt überdeckt,
       sonst läuft er als weißer Streifen mit nach oben. Sichtbar bleiben 24 px Abstand. */
    html.js:not(.ohne-pin) .szene{height:calc(100svh + (var(--n,3) - 1) * 50svh);padding:0;margin-bottom:calc(24px - var(--leiste) - 16px)}
    /* Der klebende Teil ist genau eine Bildschirmhöhe (dvh: folgt der Adressleiste, svh als Rückfall) und wird
       vollständig gefüllt: Stufenleiste oben, darunter die Karten bis knapp über die untere Leiste. Das Bild nimmt
       den ganzen Rest. So bleibt weder während des Klebens noch beim Weglaufen eine leere Fläche stehen. */
    html.js:not(.ohne-pin) .szeneklebt{position:sticky;top:0;height:100svh;height:100dvh;padding-top:calc(var(--kopf) + 8px);padding-bottom:calc(var(--leiste) + 16px);overflow:hidden}
    html.js:not(.ohne-pin) .schritte{flex:1 1 auto;min-height:0;align-items:stretch;overflow:visible;scroll-snap-type:none;transform:translateX(var(--x,0px));will-change:transform}
    html.js:not(.ohne-pin) .schritt{height:auto}
    html.js:not(.ohne-pin) .schritt figure{position:relative;flex:1 1 auto;min-height:120px}
    html.js:not(.ohne-pin) .schritt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
    html.js:not(.ohne-pin) .schritttext{flex:none}
    /* Alle Bilder einer Szene gleich hoch: die Karten teilen sich ein Raster aus zwei Zeilen (Subgrid).
       Zeile 2 ist so hoch wie der längste Text aller Karten, Zeile 1 (das Bild) bekommt bei allen denselben Rest. */
    @supports (grid-template-rows: subgrid){
      html.js:not(.ohne-pin) .schritte{display:grid;grid-auto-flow:column;grid-auto-columns:min(80vw,340px);grid-template-rows:minmax(120px,1fr) auto;column-gap:12px;row-gap:0}
      html.js:not(.ohne-pin) .schritt{display:grid;grid-row:span 2;grid-template-rows:subgrid;width:auto}
      html.js:not(.ohne-pin) .schritt figure{grid-row:1;min-height:0}
      html.js:not(.ohne-pin) .schritttext{grid-row:2}
    }
  }
  /* Niedrige Bildschirme (Safari mit eingeblendeter Leiste): der Einleitungssatz der Karte entfällt, Titel und
     Belegzeilen tragen die Aussage, das Bild behält seine Größe */
  @media (min-height:640px) and (max-height:760px) and (prefers-reduced-motion:no-preference){
    html.js:not(.ohne-pin) .schritttext > p{display:none}
    html.js:not(.ohne-pin) .schritttext .belege2{margin-top:10px}
  }

  /* Suchpass: der Pass wächst mit seinem Inhalt, damit die Stempel Luft haben und nichts abgeschnitten wird */
  .pass{aspect-ratio:auto;min-height:0;gap:6px;padding:20px 20px 18px}

  /* Seitenschluss: Türen, Direktzeile, Spalten kompakt, Adresszeile; darunter nur Platz für die Leiste */
  .schlussmitte{padding-bottom:40px}
  .fussspalten{gap:28px var(--luecke);font-size:15px;padding-top:28px}
  .fussspalten h3{font-size:18px;margin-bottom:4px}
  .fussspalten div{gap:6px}
  .fussrecht{margin-top:36px;font-size:13px}
  .schlussunten{padding-bottom:calc(28px + var(--leiste))}
}
