/* Demo-Seite feuerwehr-planer.de/demo – Rundgang durch die App. Ergänzt stil.css.
   Ohne JavaScript (CSP: nur style-src 'self'): Scroll-Effekte per CSS scroll-driven animations.
   Grundregeln = ruhige Darstellung (Text und Bildschirm nebeneinander bzw. untereinander). Nur wenn der Browser
   animation-timeline + timeline-scope kann UND keine reduzierte Bewegung gewünscht ist, greift unten der Block
   „Rundgang mit Scroll-Effekten“ (stehendes Telefon, Bildschirme blenden je Kapitel über). */

:root { --nacht: #0b0d12; --nacht2: #171b23; --rahmen: #14181f; --gelb: #b86e00; --gelbSoft: #fff3dc; --grau: #8a94a3; }

/* ------------------------------------------------------------------ Einstieg */
.dHero {
  margin: 8px 16px 0; border-radius: 36px; overflow: hidden; color: #fff; text-align: center; padding: 96px 24px 0;
  background: radial-gradient(60% 50% at 50% 100%, rgba(198, 40, 40, .55), transparent 70%), var(--nacht);
}
.dHeroText { max-width: 860px; margin: 0 auto; }
.eyebrowHell { color: #ff8a80; }
.dHero h1 { font-size: 72px; font-weight: 800; margin: 18px 0 22px; }
.verlauf { background: linear-gradient(90deg, #ffb199, #ff5252 55%, #ff8a80); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dHero p { font-size: 20px; color: #b9c1cc; max-width: 640px; margin: 0 auto; }
.scrollHinweis { display: inline-block; margin-top: 34px; font-size: 14px; font-weight: 600; color: #8a94a3; }
.scrollHinweis::after { content: ""; display: block; width: 10px; height: 10px; margin: 10px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.heroTelefon { width: 330px; margin: 56px auto -150px; }
.demoHinweis { text-align: center; color: var(--ged); font-size: 13px; margin-top: 18px; }

/* ------------------------------------------------------------------ Gerät: Telefon */
.telefon { position: relative; width: 330px; height: 680px; padding: 11px; background: var(--rahmen); border-radius: 54px; box-shadow: 0 50px 100px -30px rgba(20, 24, 31, .45); }
.insel { position: absolute; z-index: 5; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #000; border-radius: 20px; }

/* Sperrbildschirm im Einstieg */
.sperre { height: 100%; border-radius: 44px; overflow: hidden; padding: 70px 14px 20px; color: #fff; text-align: left;
  background: radial-gradient(90% 60% at 30% 0%, #5a1717, transparent 70%), linear-gradient(180deg, #2a0f12, #0b0d12 70%); }
.sperreZeit { text-align: center; margin-bottom: 22px; }
.sperreZeit small { display: block; font-size: 15px; font-weight: 600; opacity: .85; }
.sperreZeit b { display: block; font-size: 76px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.widget, .push { display: flex; gap: 10px; align-items: center; border-radius: 20px; padding: 11px 12px; margin-bottom: 9px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(14px); }
.widget small, .push small { display: block; font-size: 10px; font-weight: 700; opacity: .7; letter-spacing: .03em; }
.widget b, .push b { display: block; font-size: 13.5px; }
.widget span, .push span { display: block; font-size: 12px; opacity: .85; }
.widget { margin-bottom: 18px; }
.wPunkt { flex: none; width: 34px; height: 34px; border-radius: 99px; background: #2ea866; box-shadow: 0 0 0 5px rgba(46, 168, 102, .3); }
.push img { flex: none; border-radius: 8px; }

/* ------------------------------------------------------------------ App-Bildschirme (vereinfachte Darstellung) */
.anzeige { position: relative; overflow: hidden; background: #f4f6f9; color: var(--text); border-radius: 44px; padding: 52px 14px 74px; font-size: 12.5px; line-height: 1.35; text-align: left; }
.anzeige svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aLeiste { position: absolute; top: 18px; left: 30px; right: 26px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.aSym { display: flex; align-items: flex-end; gap: 2px; font-size: 11px; }
.aSym i { display: block; width: 3px; background: var(--text); border-radius: 1px; height: 4px; }
.aSym i:nth-child(2) { height: 6px; } .aSym i:nth-child(3) { height: 8px; } .aSym i:nth-child(4) { height: 10px; margin-right: 3px; }
.aKopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 4px 2px 12px; }
.aKopf small { display: block; font-size: 11px; color: var(--ged); font-weight: 600; }
.aKopf b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.aGlocke { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; background: #fff; border: 1px solid var(--rand); }
.aGlocke em { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; border-radius: 99px; background: var(--rot); color: #fff; font: 700 10px/17px system-ui, sans-serif; text-align: center; }
.aStatus { background: var(--gruen); color: #fff; border-radius: 18px; padding: 13px 15px; margin-bottom: 4px; }
.aStatus small { display: block; font-size: 10.5px; font-weight: 600; opacity: .9; }
.aStatus b { display: block; font-size: 19px; }
.aAbschnitt { font-size: 10.5px; font-weight: 700; color: var(--ged); text-transform: uppercase; letter-spacing: .05em; margin: 12px 2px 6px; }
.aKarte { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 10px 12px; margin-bottom: 7px; }
.aZeile, .aTaug { display: flex; gap: 10px; align-items: center; }
.aZeile > div, .aTaug > div, .aPerson > div, .aVon > div, .aGeo > div { flex: 1; min-width: 0; }
.aZeile b, .aTaug b, .aPerson b, .aVon b, .aGeo b { display: block; font-size: 12.5px; }
.aZeile span, .aTaug span, .aPerson span, .aVon span, .aGeo span { display: block; font-size: 11px; color: var(--ged); }
.aIc { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.aIc.blau { background: var(--blauSoft); color: var(--blau); } .aIc.rot { background: var(--rotSoft); color: var(--rot); }
.aIc.gruen { background: var(--gruenSoft); color: var(--gruen); } .aIc.grau { background: var(--soft2); color: var(--text); }
.aMarke { flex: none; border-radius: 99px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.aMarke.gruen { background: var(--gruenSoft); color: var(--gruen); } .aMarke.gelb { background: var(--gelbSoft); color: var(--gelb); }
.aMarke.rot { background: var(--rotSoft); color: var(--rot); } .aMarke.grau { background: var(--soft2); color: var(--text); }
.aPunkt { flex: none; width: 9px; height: 9px; border-radius: 99px; background: var(--rot); }
.aBetrag { flex: none; font-size: 14px; }
.aHinweis { text-align: center; font-size: 10.5px; color: var(--ged); margin-top: 8px; }
.aKlein { display: block; font-size: 10.5px; color: var(--ged); margin-top: 6px; }
.aTabs { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; padding: 8px 8px 0; display: flex; background: #fff; border-top: 1px solid var(--rand); }
.aTabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; color: var(--grau); }
.aTabs svg { width: 21px; height: 21px; }
.aTabs .an { color: var(--rot); }

/* Status */
.aWahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wahl { display: flex; flex-direction: column; gap: 3px; padding: 11px 11px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--rand); font-weight: 700; font-size: 12.5px; }
.wahl i { width: 14px; height: 14px; border-radius: 99px; margin-bottom: 3px; }
.wahl small { font-size: 10px; font-weight: 500; color: var(--ged); }
.wahl.gruen i { background: var(--gruen); } .wahl.gelb i { background: #e09a10; } .wahl.rot i { background: var(--rot); } .wahl.grau i { background: var(--grau); }
.wahl.neu { border-color: var(--gruen); background: var(--gruenSoft); }
.aChips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.aChips span { border: 1px solid var(--rand); background: #fff; border-radius: 99px; padding: 5px 10px; font-size: 11px; font-weight: 600; }
.aChips .an { background: var(--text); border-color: var(--text); color: #fff; }
.aChips.klein span { padding: 4px 8px; font-size: 10.5px; }
.aGeo { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }

/* Übersicht */
.aZaehler { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 10px 4px; margin-bottom: 9px; text-align: center; }
.aZaehler b { display: block; font-size: 26px; line-height: 1.1; }
.aZaehler span { font-size: 10px; color: var(--ged); font-weight: 600; }
.aZaehler .gruen, .aPerson i.gruen { color: var(--gruen); } .aZaehler .gelb { color: var(--gelb); } .aZaehler .rot { color: var(--rot); }
.aListe { background: #fff; border: 1px solid var(--rand); border-radius: 14px; overflow: hidden; }
.aPerson { display: flex; gap: 10px; align-items: center; padding: 7px 11px; border-bottom: 1px solid var(--soft2); }
.aPerson:last-child { border-bottom: 0; }
.aPerson i { flex: none; width: 10px; height: 10px; border-radius: 99px; background: var(--gruen); }
.aPerson i.gelb { background: #e09a10; }
.aAv { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--soft2); font-size: 10.5px; font-weight: 800; }
.aAv.rot { background: var(--rot); color: #fff; }

/* Termine */
.aTermin p { margin: 8px 0 10px; font-size: 11.5px; color: var(--ged); }
.aKnoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aKnoepfe span { text-align: center; padding: 8px; border-radius: 10px; border: 1px solid var(--rand); font-weight: 700; }
.aKnoepfe .an { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.aStapel { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--soft2); }
.aStapel .z { width: 56.25%; background: var(--gruen); } /* 18 von 32 */
.aStapel .a { width: 15.63%; background: var(--rot); }   /* 5 von 32 */
.aLegende { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 10.5px; font-weight: 600; }
.aLegende i { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 4px; }
.aLegende .gruen { background: var(--gruen); } .aLegende .rot { background: var(--rot); } .aLegende .grau { background: var(--soft2); }

/* Meldungen */
.aVon { display: flex; gap: 10px; align-items: center; }
.aMeldung p { margin: 9px 0; font-size: 12px; }
.aGelesen { font-size: 11px; font-weight: 700; color: var(--gruen); }
.aLesen { display: flex; align-items: baseline; gap: 6px; }
.aLesen b { font-size: 26px; } .aLesen span { color: var(--ged); font-size: 11.5px; }
.aBalken { height: 8px; border-radius: 99px; background: var(--soft2); overflow: hidden; margin-top: 6px; }
.aBalken i { display: block; height: 100%; width: 84.4%; background: var(--blau); border-radius: 99px; } /* 27 von 32 */

/* Theke */
.aProdukte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 9px; }
.aProdukte span { position: relative; background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 10px 4px 9px; text-align: center; font-size: 11px; color: var(--ged); }
.aProdukte b { display: block; color: var(--text); font-size: 11px; margin-bottom: 2px; }
.aProdukte em { position: absolute; top: -6px; right: -4px; width: 19px; height: 19px; border-radius: 99px; background: var(--rot); color: #fff; font: 700 10.5px/19px system-ui, sans-serif; }
.aKorb div { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; }
.aKorb .aNeu { border-top: 1px solid var(--soft2); margin-top: 5px; padding-top: 7px; color: var(--ged); }
.aKorb .aNeu b { color: var(--text); }
.aBuchen { background: var(--gruen); color: #fff; text-align: center; font-weight: 800; font-size: 14px; border-radius: 13px; padding: 12px; }

/* ------------------------------------------------------------------ Rundgang – ruhige Grunddarstellung */
.kopfAbschnitt .kopf { margin-bottom: 24px; }
.story { max-width: 1200px; margin: 0 auto; padding: 48px 32px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; row-gap: 80px; align-items: center; }
.buehne, .storyTelefon { display: contents; }
.storyTelefon > .insel, .fortschritt { display: none; }
.story .anzeige { grid-column: 2; justify-self: center; width: 330px; height: 680px; border: 11px solid var(--rahmen); border-radius: 54px; padding-top: 52px; box-shadow: 0 40px 80px -30px rgba(20, 24, 31, .4); }
.story .anzeige .aTabs { border-radius: 0 0 43px 43px; }
.kapitel { grid-column: 1; }
.k1, .s1 { grid-row: 1; } .k2, .s2 { grid-row: 2; } .k3, .s3 { grid-row: 3; } .k4, .s4 { grid-row: 4; }
.k5, .s5 { grid-row: 5; } .k6, .s6 { grid-row: 6; } .k7, .s7 { grid-row: 7; }
.ktext { max-width: 480px; }
.knr { color: var(--rot); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ktext h3 { font-size: 42px; font-weight: 800; margin: 12px 0 16px; }
.ktext p { color: var(--ged); font-size: 19px; margin: 0; }
.punkte { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.punkte li { background: var(--soft); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------------ Monitor */
.dunkel { margin: 140px 16px 0; padding: 110px 24px 120px; border-radius: 36px; background: var(--nacht); color: #fff; overflow: hidden; }
.kopfHell p { color: #b9c1cc; }
.tvRahmen { max-width: 1080px; margin: 0 auto; }
.tv { background: #262b35; padding: 14px; border-radius: 20px; box-shadow: 0 60px 120px -40px rgba(198, 40, 40, .45); }
.tvFuss { width: 22%; height: 16px; margin: 0 auto; background: #262b35; border-radius: 0 0 10px 10px; }
.tvBild { container-type: inline-size; aspect-ratio: 16 / 9; background: #0f1218; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.tvBild .mRaster { flex: 1; }
.mKopf, .mRaster { font-size: 1.35cqi; }
.mKopf { display: flex; align-items: center; gap: 1em; padding: 1.4em 2em 1em; font-size: 1.6cqi; }
.mKopf b { flex: 1; }
.mLive { display: inline-flex; align-items: center; gap: .4em; font-size: .75em; font-weight: 700; color: #6fd39b; }
.mLive::before { content: ""; width: .6em; height: .6em; border-radius: 99px; background: #2ea866; }
.mZeit { font-weight: 700; color: #b9c1cc; }
.mRaster { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.3em; padding: 0 2em 2em; }
.mSpalte { background: var(--nacht2); border-radius: 1em; padding: 1.2em 1.3em; }
.mSpalte h4 { margin: 0 0 .7em; font-size: .78em; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.mSpalte h4 + * { margin-top: 0; }
.mSpalte * + h4 { margin-top: 1.4em; }
.mGruppe { display: flex; justify-content: space-between; border-radius: .6em; padding: .45em .8em; font-weight: 700; }
.mGruppe.gruen { background: rgba(46, 168, 102, .2); color: #8ee0b1; } .mGruppe.gelb { background: rgba(224, 154, 16, .2); color: #f5c76a; margin-top: .8em; }
.mPersonen ul { list-style: none; margin: .4em 0 0; padding: 0; }
.mPersonen li { display: flex; align-items: center; gap: .4em; padding: .32em .2em; border-bottom: 1px solid #222833; }
.mPersonen li b { flex: 1; font-weight: 600; }
.mPersonen em { font-style: normal; font-size: .72em; font-weight: 700; background: #262c37; color: #c9d0da; border-radius: .35em; padding: .15em .45em; }
.mPersonen .mehr { color: var(--grau); border: 0; }
.mFz { display: grid; grid-template-columns: auto 1fr auto; gap: .6em; align-items: center; padding: .45em 0; border-bottom: 1px solid #222833; }
.mFz span { color: var(--grau); font-size: .85em; }
.mFz em { font-style: normal; font-size: .75em; font-weight: 700; border-radius: 99px; padding: .2em .7em; }
.mFz em.gruen { background: rgba(46, 168, 102, .2); color: #8ee0b1; } .mFz em.gelb { background: rgba(224, 154, 16, .2); color: #f5c76a; }
.mMangel { border-left: .25em solid #e09a10; padding: .2em 0 .2em .7em; color: #dfe4ea; font-size: .9em; }
.mTermin { display: flex; gap: .8em; padding: .45em 0; border-bottom: 1px solid #222833; }
.mTermin b { color: #ff8a80; white-space: nowrap; }
.mDwd { background: rgba(224, 154, 16, .16); border-radius: .7em; padding: .7em .9em; }
.mDwd b { display: block; color: #f5c76a; } .mDwd span { font-size: .82em; color: #b9c1cc; }

/* ------------------------------------------------------------------ Festkasse (Tablet) */
.tablet { max-width: 980px; margin: 0 auto; padding: 16px; background: var(--rahmen); border-radius: 36px; box-shadow: 0 50px 100px -40px rgba(20, 24, 31, .45); }
.tabletBild { container-type: inline-size; background: #f4f6f9; border-radius: 22px; overflow: hidden; }
.kKopf, .kRaster { font-size: 1.5cqi; }
.kKopf { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 1.6em; background: #fff; border-bottom: 1px solid var(--rand); font-size: 1.6cqi; }
.kKopf span { color: var(--ged); font-size: .85em; font-weight: 600; }
.kRaster { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1.2em; padding: 1.4em 1.6em 1.6em; }
.kProdukte { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; align-content: start; }
.kProdukte span { position: relative; background: #fff; border: 1px solid var(--rand); border-top: .35em solid; border-radius: .9em; padding: 1.2em .6em 1em; text-align: center; color: var(--ged); }
.kProdukte b { display: block; color: var(--text); margin-bottom: .2em; }
.kProdukte .essen { border-top-color: #e0711a; } .kProdukte .trinken { border-top-color: var(--blau); } .kProdukte .pfand { border-top-color: var(--grau); }
.kProdukte em { position: absolute; top: -.6em; right: -.4em; width: 1.7em; height: 1.7em; border-radius: 99px; background: var(--rot); color: #fff; font-style: normal; font-weight: 700; line-height: 1.7em; }
.kBon { background: #fff; border: 1px solid var(--rand); border-radius: 1em; padding: 1.2em 1.3em; display: flex; flex-direction: column; gap: .35em; }
.kBon h4 { margin: 0 0 .4em; font-size: 1.05em; }
.kBon div { display: flex; justify-content: space-between; gap: 1em; }
.kBon div span { color: var(--ged); }
.kSumme { border-top: 1px solid var(--rand); margin-top: .4em; padding-top: .6em; font-size: 1.25em; }
.kSumme span { color: var(--text) !important; font-weight: 700; }
.kGeld { font-size: .9em; }
.kTse { color: var(--gruen); font-weight: 700; font-size: .85em; margin-top: .3em; }
.kKnopf { margin-top: auto; background: var(--gruen); color: #fff; text-align: center; font-weight: 800; border-radius: .8em; padding: .8em; }
.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 40px 0 0; padding: 0; }
.fakten li { background: var(--soft); border-radius: 22px; padding: 22px 24px; }
.fakten b { display: block; font-size: 20px; } .fakten span { color: var(--ged); font-size: 15px; }

/* ------------------------------------------------------------------ Weitere Module */
.mehrRaster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mehrKarte { background: var(--soft); border-radius: 28px; padding: 16px 16px 30px; }
.mehrKarte h3 { font-size: 22px; font-weight: 800; margin: 22px 12px 8px; }
.mehrKarte p { color: var(--ged); font-size: 16px; margin: 0 12px; }
.mehrBild { height: 270px; border-radius: 20px; background: #fff; padding: 16px; overflow: hidden; font-size: 12px; line-height: 1.35; }
.kbKopf { display: flex; justify-content: space-between; align-items: baseline; }
.kbKopf b { font-size: 15px; } .kbKopf span { color: var(--ged); font-size: 11px; font-weight: 600; }
.kbBalken { height: 6px; border-radius: 99px; background: var(--soft2); margin: 8px 0 12px; overflow: hidden; }
.kbBalken i { display: block; height: 100%; width: 36.8%; background: var(--rot); } /* 14 von 38 */
.kbSpalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kbSpalten h5 { margin: 0 0 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ged); }
.kbSpalten span { display: block; background: var(--soft); border-radius: 9px; padding: 8px; margin-bottom: 6px; font-size: 11px; font-weight: 600; }
.kbSpalten em { display: block; font-style: normal; font-weight: 500; color: var(--ged); font-size: 10px; margin-top: 3px; }
.kbSpalten .ok { color: var(--ged); } .kbSpalten .ok::before { content: "✓ "; color: var(--gruen); }
.alarm { display: flex; flex-direction: column; gap: 8px; color: #fff; background: radial-gradient(100% 80% at 50% 0%, #e53935, #8e1515 70%); padding: 22px; }
.alKopf { font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.alStich { font-size: 26px; line-height: 1.1; }
.alOrt { font-size: 14px; opacity: .9; }
.alFz { display: flex; gap: 8px; margin-top: auto; }
.alFz span { background: rgba(255, 255, 255, .18); border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 15px; }
.alInfo { font-size: 11px; opacity: .85; }
.ki { display: flex; flex-direction: column; gap: 10px; }
.kiFrage { align-self: flex-end; max-width: 85%; background: var(--text); color: #fff; border-radius: 16px 16px 4px 16px; padding: 9px 12px; }
.kiAntwort { background: var(--soft); border-radius: 16px 16px 16px 4px; padding: 11px 13px; display: flex; flex-direction: column; gap: 4px; }
.kiAntwort small { color: var(--rot); font-weight: 800; font-size: 9.5px; letter-spacing: .08em; }
.kiAntwort b { font-size: 13px; margin-bottom: 2px; }
.kiAntwort span { color: var(--ged); font-size: 11.5px; }

.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; text-align: center; }
.zahlen b { display: block; font-size: 68px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--rot); }
.zahlen span { color: var(--ged); }
.ctaAktionen { justify-content: center; }
.btn-rand { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-rand:hover { background: rgba(255, 255, 255, .1); }

/* ------------------------------------------------------------------ Tablet / Handy (Grunddarstellung) */
@media (max-width: 1080px) {
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mehrRaster { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .story { grid-template-columns: minmax(0, 1fr); padding: 32px 16px 0; row-gap: 32px; }
  .story .kapitel, .story .anzeige { grid-row: auto; grid-column: 1; }
  .k1 { order: 1; } .s1 { order: 2; } .k2 { order: 3; } .s2 { order: 4; } .k3 { order: 5; } .s3 { order: 6; } .k4 { order: 7; }
  .s4 { order: 8; } .k5 { order: 9; } .s5 { order: 10; } .k6 { order: 11; } .s6 { order: 12; } .k7 { order: 13; } .s7 { order: 14; }
  .story .anzeige { margin-bottom: 40px; }
  .ktext h3 { font-size: 30px; } .ktext p { font-size: 17px; }
  .mRaster { grid-template-columns: 1fr 1fr; } .mRaster .mSpalte:last-child { display: none; }
  .mKopf, .mRaster { font-size: 2.3cqi; } .tvBild { aspect-ratio: auto; }
  .kRaster { grid-template-columns: 1fr; } .kKopf, .kRaster { font-size: 2.6cqi; }
}
@media (max-width: 640px) {
  .dHero { margin: 0; border-radius: 0 0 28px 28px; padding-top: 56px; }
  .dHero h1 { font-size: 40px; } .dHero p { font-size: 17px; }
  .heroTelefon { margin-top: 40px; }
  .dunkel { margin: 90px 0 0; border-radius: 28px; padding: 72px 16px 80px; }
  .fakten, .zahlen { grid-template-columns: 1fr; }
  .zahlen b { font-size: 52px; }
  .mRaster { grid-template-columns: 1fr; } .mKopf, .mRaster { font-size: 3.6cqi; }
  .kProdukte { grid-template-columns: repeat(2, 1fr); } .kKopf, .kRaster { font-size: 3.6cqi; }
  .tablet { padding: 10px; border-radius: 26px; }
}

/* ================================================================== Rundgang mit Scroll-Effekten */
@supports (animation-timeline: view()) and (timeline-scope: --a) {
@media (prefers-reduced-motion: no-preference) {

  /* Einstieg: Telefon richtet sich beim Scrollen auf, Mitteilungen kommen nacheinander herein */
  .dHeroText { animation: dHeroText linear both; animation-timeline: scroll(root); animation-range: 0px 420px; }
  .heroTelefon .telefon { animation: dHeroTel linear both; animation-timeline: scroll(root); animation-range: 0px 520px; transform-origin: 50% 0; }
  .push { animation: dPush linear both; animation-timeline: scroll(root); }
  .p3 { animation-range: 40px 160px; } .p2 { animation-range: 140px 260px; } .p1 { animation-range: 240px 360px; }
  .scrollHinweis::after { animation: dWippen 1.6s ease-in-out infinite; }

  /* Rundgang: Bühne mit Telefon bleibt stehen, Kapiteltext scrollt daneben */
  .story { timeline-scope: --k1, --k2, --k3, --k4, --k5, --k6, --k7; row-gap: 0; align-items: stretch; padding-top: 0; }
  .buehne { display: flex; flex-direction: column; align-items: center; gap: 18px; grid-column: 2; grid-row: 1 / span 7; align-self: start;
    position: sticky; top: calc(50svh - 360px); height: 720px; z-index: 1; }
  .storyTelefon { display: block; flex: none; }
  .storyTelefon > .insel { display: block; }
  .story .anzeige { position: absolute; inset: 11px; width: auto; height: auto; border: 0; border-radius: 44px; box-shadow: none; margin: 0; }
  .fortschritt { display: flex; gap: 6px; }
  .fortschritt i { display: block; height: 8px; width: 8px; border-radius: 99px; background: #cfd5dd; animation: dPunkt linear both; animation-range: cover 20% cover 80%; }
  .kapitel { min-height: 100svh; display: flex; align-items: center; z-index: 2; }
  .k1 { view-timeline: --k1 block; } .k2 { view-timeline: --k2 block; } .k3 { view-timeline: --k3 block; } .k4 { view-timeline: --k4 block; }
  .k5 { view-timeline: --k5 block; } .k6 { view-timeline: --k6 block; } .k7 { view-timeline: --k7 block; }

  /* Bildschirme: je Kapitel ein-/ausblenden (Kapitel mittig = voll sichtbar) */
  .story .anzeige { animation: dBlende linear both; animation-range: cover 0% cover 100%; }
  .story .s1 { animation-name: dErst; animation-timeline: --k1; }
  .story .s2 { animation-timeline: --k2; } .story .s3 { animation-timeline: --k3; } .story .s4 { animation-timeline: --k4; }
  .story .s5 { animation-timeline: --k5; } .story .s6 { animation-timeline: --k6; }
  .story .s7 { animation-name: dLetzt; animation-timeline: --k7; }

  /* Kapiteltext */
  .ktext { animation: dText linear both; animation-range: cover 0% cover 100%; }
  .k1 .ktext { animation-name: dTextErst; animation-timeline: --k1; } .k2 .ktext { animation-timeline: --k2; } .k3 .ktext { animation-timeline: --k3; }
  .k4 .ktext { animation-timeline: --k4; } .k5 .ktext { animation-timeline: --k5; } .k6 .ktext { animation-timeline: --k6; }
  .k7 .ktext { animation-timeline: --k7; }

  /* Fortschrittspunkte */
  .fortschritt i:nth-child(1) { animation-timeline: --k1; } .fortschritt i:nth-child(2) { animation-timeline: --k2; }
  .fortschritt i:nth-child(3) { animation-timeline: --k3; } .fortschritt i:nth-child(4) { animation-timeline: --k4; }
  .fortschritt i:nth-child(5) { animation-timeline: --k5; } .fortschritt i:nth-child(6) { animation-timeline: --k6; }
  .fortschritt i:nth-child(7) { animation-timeline: --k7; }

  /* Kleine Abläufe in den Bildschirmen */
  .s2 .wahl.alt { animation: dAbwahl linear both; animation-timeline: --k2; animation-range: cover 34% cover 44%; }
  .s2 .wahl.neu { animation: dAuswahl linear both; animation-timeline: --k2; animation-range: cover 38% cover 48%; }
  .s3 .aPerson { animation: dZeile linear both; animation-timeline: --k3; }
  .s3 .aPerson:nth-child(1) { animation-range: cover 26% cover 34%; } .s3 .aPerson:nth-child(2) { animation-range: cover 28% cover 36%; }
  .s3 .aPerson:nth-child(3) { animation-range: cover 30% cover 38%; } .s3 .aPerson:nth-child(4) { animation-range: cover 32% cover 40%; }
  .s3 .aPerson:nth-child(5) { animation-range: cover 34% cover 42%; } .s3 .aPerson:nth-child(6) { animation-range: cover 36% cover 44%; }
  .s4 .aStapel { animation: dBalken linear both; animation-timeline: --k4; animation-range: cover 34% cover 50%; }
  .s5 .aBalken i { animation: dBalken linear both; animation-timeline: --k5; animation-range: cover 34% cover 50%; }
  .s7 .aProdukte em { animation: dPop linear both; animation-timeline: --k7; animation-range: cover 34% cover 42%; }
  .s7 .aProdukte span:nth-child(3) em { animation-range: cover 40% cover 48%; }

  /* Monitor, Tablet und Karten fahren beim Hereinscrollen ein */
  .tvRahmen { animation: dKippen linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .tablet { animation: dHeben linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .mehrKarte, .fakten li, .zahlen li { animation: dEin linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  .alKopf { animation: dBlinken 1.2s steps(2, jump-none) infinite; }

  /* Handy/schmal: Telefon steht oben, Text als Karte darüber */
  @media (max-width: 860px) {
    .story { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
    .buehne { grid-column: 1; grid-row: 1 / span 7; top: 0; height: 100svh; padding-top: 64px; gap: 10px; }
    .storyTelefon { transform: scale(.7); transform-origin: 50% 0; margin-bottom: -204px; }
    .story .kapitel { grid-column: 1; align-items: flex-end; padding-bottom: 20px; }
    .k1 { grid-row: 1; } .k2 { grid-row: 2; } .k3 { grid-row: 3; } .k4 { grid-row: 4; } .k5 { grid-row: 5; } .k6 { grid-row: 6; } .k7 { grid-row: 7; }
    .ktext { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border: 1px solid var(--rand); border-radius: 24px; padding: 20px 20px 22px; box-shadow: 0 20px 50px -20px rgba(20, 24, 31, .35); }
    .ktext h3 { font-size: 24px; margin: 8px 0 10px; } .ktext p { font-size: 15px; }
    .punkte { margin-top: 14px; } .punkte li { font-size: 12.5px; padding: 4px 11px; }
  }
  @media (max-width: 860px) and (max-height: 720px) {
    .storyTelefon { transform: scale(.58); margin-bottom: -286px; }
    .ktext p { font-size: 14px; } .punkte { display: none; }
  }
  @media (min-width: 861px) and (max-height: 820px) {
    .buehne { transform: scale(.82); transform-origin: 50% 0; top: calc(50svh - 295px); }
  }
}
}

@keyframes dHeroText { to { opacity: .2; transform: translateY(-40px); } }
@keyframes dHeroTel { from { transform: perspective(1400px) rotateX(24deg) scale(.9); } to { transform: none; } }
@keyframes dPush { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dWippen { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }
/* Später folgende Bildschirme liegen oben: der neue blendet deckend über den alten, der alte verschwindet erst danach. */
@keyframes dBlende { 0%, 24% { opacity: 0; transform: scale(.97); } 36%, 86% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
@keyframes dErst { 0%, 86% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes dLetzt { 0%, 24% { opacity: 0; transform: scale(.97); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes dText { 0%, 18% { opacity: 0; transform: translateY(48px); } 34%, 66% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-48px); } }
@keyframes dTextErst { 0%, 66% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-48px); } }
@keyframes dPunkt { 0% { background: #cfd5dd; width: 8px; } 15%, 85% { background: var(--rot); width: 26px; } 100% { background: #cfd5dd; width: 8px; } }
@keyframes dAbwahl { from { border-color: var(--rot); background: var(--rotSoft); } to { border-color: var(--rand); background: #fff; } }
@keyframes dAuswahl { from { border-color: var(--rand); background: #fff; } to { border-color: var(--gruen); background: var(--gruenSoft); } }
@keyframes dZeile { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes dBalken { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dPop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes dKippen { from { opacity: .3; transform: perspective(1600px) rotateX(28deg) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes dHeben { from { opacity: .3; transform: translateY(90px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes dEin { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes dBlinken { 0% { opacity: 1; } 100% { opacity: .45; } }
