/*
 * WELTREGLER – Startseite (Version 3) und Vorschau der Varianten unter /vorschau
 * Gemeinsam: Glasleiste der Topleiste (die Topleiste selbst steht in app.css). Danach je ein Block für Version 1, 2 und 3
 * (Version 3 ist die öffentliche Startseite).
 */

.start main { padding: 0; }
.start .site-footer { margin-top: 0; }
/* Meldungen (z. B. nach dem Abmelden) unter der festen Glasleiste */
.start-flash { padding: 1.25rem 0; background: #0B1D30; }
.start--v2 .start-flash, .start--v3 .start-flash { padding-top: 5.5rem; }
.start-flash .alert { margin: 0; }
@media (max-width: 40rem) { .start--v2 .start-flash, .start--v3 .start-flash { padding-top: 8.25rem; } }

/* ---------- Topleiste: Gemeinsames in app.css; hier die Glasleiste (Version 2 und 3) und die wachsende Marke ---------- */
/* Glasleiste liegt über dem Titelbereich und wird beim Scrollen fest */
.topbar--glass { position: fixed; left: 0; right: 0; background: transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.topbar--glass.is-scrolled, .topbar--glass.is-open {
  background: rgba(12, 30, 50, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}
/* Die Marke wächst beim Laden der Startseite; auf den übrigen Seiten steht sie still */
.start .topbar__mark span { transform-origin: bottom; animation: mark-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.start .topbar__mark span:nth-child(1) { animation-delay: 0.05s; }
.start .topbar__mark span:nth-child(2) { animation-delay: 0.12s; }
.start .topbar__mark span:nth-child(3) { animation-delay: 0.19s; }
.start .topbar__mark span:nth-child(4) { animation-delay: 0.26s; }
.start .topbar__mark span:nth-child(5) { animation-delay: 0.33s; }
.start .topbar__mark span:nth-child(6) { animation-delay: 0.40s; }
@keyframes mark-in { from { transform: scaleY(0.15); opacity: 0.3; } to { transform: scaleY(1); opacity: 1; } }

.preview-badge {
  position: fixed; left: 0.75rem; bottom: 0.75rem; z-index: 45; margin: 0;
  background: var(--wheat); color: #1D1A10; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); pointer-events: none; opacity: 0.92;
}

.preview-index { padding-top: 2.5rem; padding-bottom: 3rem; }
.preview-index__list { list-style: none; padding: 0; margin: 0; }
.preview-index__list .button { margin-top: auto; }
.preview-index__list .card { display: flex; flex-direction: column; }

/* Gemeinsame Abschnittsbausteine der Vorschau */
.pv-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.pv-section__head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pv-section__head h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); margin-bottom: 0.4em; }
.pv-section--paper { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

@media (prefers-reduced-motion: reduce) {
  .start .topbar__mark span { animation: none; }
  .topbar--glass { transition: none; }
}

/* ======================================================================
 * Version 1: konzepttreu, aufgeräumt. Einzige Animation: der Klimastreifen.
 * ====================================================================== */
.v1-hero { position: relative; background: #DCE5E1; overflow: hidden; }
.v1-hero__media { position: absolute; inset: 0; }
.v1-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
/* Text am linken Rand, nie breiter als der freie Teil des Titelbilds (das Mobile beginnt bei etwa 44 % der Bildbreite) */
.v1-hero__inner { position: relative; display: flex; align-items: center; min-height: min(78vh, 46rem); padding: 3rem 1.5rem 3rem max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); }
.v1-hero__text { max-width: min(30rem, calc(44vw - max(1.5rem, (100vw - var(--wrap)) / 2 + 1.5rem) - 2rem)); }
.v1-hero__title { font-size: clamp(2.6rem, 3.4vw + 1rem, 4.4rem); letter-spacing: 0.04em; line-height: 1; margin: 0.35rem 0 0.4rem; }
.v1-hero__subtitle { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 1.2vw + 1rem, 1.9rem); margin: 0 0 1rem; }
.v1-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.v1-hero__actions .button { min-height: 3.25rem; padding-left: 1.4rem; padding-right: 1.4rem; font-size: 1.05rem; }
@media (max-width: 75rem) {
  .v1-hero__text { max-width: 40rem; }
  .v1-hero__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .v1-hero__img { object-position: 92% 50%; }
  .v1-hero__inner { min-height: 0; padding-bottom: 1.5rem; }
  .v1-hero { display: flex; flex-direction: column-reverse; }
}
@media (prefers-color-scheme: dark) {
  .v1-hero { background: #1A2B3B; }
  .v1-hero__text { background: rgba(14, 26, 37, 0.82); padding: 1.25rem 1.5rem; border-radius: var(--radius); }
}

/* Klimastreifen 2025–2075: zeichnet sich beim Laden einmal von links nach rechts */
.v1-stripes { display: flex; height: clamp(3.5rem, 7vw, 5.5rem); }
.v1-stripes span { flex: 1; transform-origin: bottom; animation: v1-stripe 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.v1-stripes span:nth-child(1) { background: #08306B; animation-delay: 0.10s; }
.v1-stripes span:nth-child(2) { background: #08519C; animation-delay: 0.18s; }
.v1-stripes span:nth-child(3) { background: #2171B5; animation-delay: 0.26s; }
.v1-stripes span:nth-child(4) { background: #4292C6; animation-delay: 0.34s; }
.v1-stripes span:nth-child(5) { background: #9ECAE1; animation-delay: 0.42s; }
.v1-stripes span:nth-child(6) { background: #F7F7F7; animation-delay: 0.50s; }
.v1-stripes span:nth-child(7) { background: #FCBBA1; animation-delay: 0.58s; }
.v1-stripes span:nth-child(8) { background: #FB6A4A; animation-delay: 0.66s; }
.v1-stripes span:nth-child(9) { background: #EF3B2C; animation-delay: 0.74s; }
.v1-stripes span:nth-child(10) { background: #CB181D; animation-delay: 0.82s; }
.v1-stripes span:nth-child(11) { background: #67000D; animation-delay: 0.90s; }
@keyframes v1-stripe { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.v1-stripes-legend { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-muted); }
.v1-stripes-legend span:nth-child(2) { text-align: center; }
@media (prefers-reduced-motion: reduce) { .v1-stripes span { animation: none; } }

.v1-start { margin-top: -0.5rem; }
.v1-start .card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; }
.v1-start .card h2 { font-size: 1.45rem; margin: 0; }
.v1-start .card p { margin: 0; }
.v1-start .card > .button, .v1-start .card > form { margin-top: auto; }
.v1-start .input--code { font-size: 1.5rem; }

.v1-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.v1-step { display: flex; flex-direction: column; gap: 0.75rem; }
.v1-step__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.v1-step__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.v1-step__media--icon img { width: 55%; height: auto; object-fit: contain; }
.v1-step h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0.25rem 0 0; font-size: 1.3rem; }
.v1-step h3::before {
  counter-increment: step; content: counter(step); flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ocean); color: #FFFFFF; font-size: 1rem;
}
.v1-step p { margin: 0; }

.v1-learn { list-style: none; padding: 0; margin: 0; }
.v1-learn__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.v1-learn__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v1-learn__body { padding: 1.1rem 1.25rem 1.35rem; }
.v1-learn__body h3 { margin: 0 0 0.4rem; }
.v1-learn__body p { margin: 0; }

.v1-teachers { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .v1-teachers { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.v1-checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.v1-checks li { padding-left: 2rem; position: relative; }
.v1-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--forest);
}
.v1-checks li::after {
  content: ""; position: absolute; left: 0.38rem; top: 0.47rem; width: 0.35rem; height: 0.6rem;
  border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.v1-screen { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 60px -36px rgba(20, 54, 92, 0.6); background: var(--surface); }
.v1-screen img { width: 100%; }

.v1-faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.v1-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.25rem 1.25rem; }
.v1-faq summary { cursor: pointer; font-weight: 700; padding: 0.85rem 0; font-size: 1.1rem; }
.v1-faq details p { margin: 0 0 1rem; }

/* ======================================================================
 * Version 3: „Welt zum Anfassen“. Dunkler Titelbereich mit 3D-Mobile, große Schrift, Mini-Erlebnisse.
 * ====================================================================== */
.start--v3 { background: #0B1D30; }
/* Titel steigt beim Laden kurz auf: nur Bewegung, kein Ausblenden, damit der größte Inhalt sofort zählt (LCP) */
@media (prefers-reduced-motion: no-preference) {
  .v3-hero [data-hero-line] { animation: v3-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .v3-hero [data-hero-line]:nth-child(2) { animation-delay: 0.1s; }
  .v3-hero [data-hero-line]:nth-child(3) { animation-delay: 0.2s; }
  .v3-hero [data-hero-fade] { animation: v3-rise-small 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
}
@keyframes v3-rise { from { transform: translateY(0.45em); } to { transform: none; } }
@keyframes v3-rise-small { from { transform: translateY(14px); } to { transform: none; } }
/* Abschnitte beim Scrollen einblenden; die Klasse reveal-on setzt v3.js (ohne JavaScript bleibt alles sichtbar) */
.reveal-on [data-reveal] { transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(36px); }
.v3-hero {
  position: relative; overflow: hidden; color: #F3F6F5;
  background: radial-gradient(120% 90% at 70% 40%, #1F4B78 0%, #12304F 45%, #0B1D30 100%);
  display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 4.5rem;
}
@media (min-width: 64rem) {
  /* Oben Platz für die feste Topleiste. Text und Mobile teilen sich die Breite etwa hälftig; der ganze Block passt in die
     Fensterhöhe, damit das Mobile nicht in einer überhohen Zeile nach unten rutscht. */
  .v3-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 100vh; align-items: center; padding: 4.75rem 0 0.75rem; }
  /* Text bündig mit dem Logo der Topleiste. Die Höchstbreite gilt für den Inhalt, nicht für den Kasten samt Innenabstand:
     sonst blieben bei 1920 px nur rund 250 px Textbreite (Slogan in sechs Zeilen). */
  .v3-hero .v3-hero__text { grid-column: 1; grid-row: 1; max-width: none; padding: 1.5rem 2.5rem 1.5rem max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); }
  .v3-hero .v3-hero__text > * { max-width: 40rem; }
  .v3-hero .v3-hero__title { font-size: clamp(3rem, 2.2vw + 1.6rem, 4.3rem); } /* längste Zeile rund 9,2em: passt in 40rem */
  .v3-hero .v3-hero__lead { margin-bottom: 1.5rem; }
  /* H1 gleichmäßig auf zwei Zeilen verteilen statt „SCHULE“ allein in der zweiten */
  .v3-hero .v3-hero__h1 { text-wrap: balance; }
  .v3-hero .v3-hero__stage { grid-column: 2; grid-row: 1; height: min(calc(100vh - 7rem), 44rem); } /* .v3-hero davor: schlägt die Handy-Regel weiter unten */
}
.v3-hero__stage { position: relative; height: min(62vh, 30rem); }
.v3-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; opacity: 0; transition: opacity 0.8s ease; }
.v3-hero__canvas.is-grab { cursor: grab; }
.v3-hero__canvas.is-dragging { cursor: grabbing; }
.is-3d .v3-hero__canvas { opacity: 1; }
.v3-hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.6s ease; }
.v3-hero__fallback-img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.is-3d .v3-hero__fallback { opacity: 0; pointer-events: none; }
/* Mit JavaScript wartet die Bühne im Dunkelblau der Seite auf das 3D-Mobile, statt das helle Titelbild aufblitzen zu lassen.
   Das Titelbild erscheint nur ohne JavaScript, ohne WebGL oder wenn das Laden zu lange dauert (.is-fallback, siehe v3.js). */
@media (scripting: enabled) {
  .v3-hero__stage:not(.is-fallback) .v3-hero__fallback { opacity: 0; }
}
/* Bis dahin ein ruhiger Schimmer an der Stelle der Erdkugel */
.v3-hero__stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(18rem, 45%); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(127, 180, 232, 0.24) 0%, rgba(127, 180, 232, 0) 70%);
  pointer-events: none; transition: opacity 0.8s ease; animation: v3-glow 2.4s ease-in-out infinite;
}
.v3-hero__stage.is-3d::before, .v3-hero__stage.is-fallback::before { opacity: 0; animation: none; }
@keyframes v3-glow { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@media (scripting: none) { .v3-hero__stage::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .v3-hero__stage::before { animation: none; } }
.v3-hero__label {
  position: absolute; left: 0; top: 0; margin: 0; pointer-events: none; white-space: nowrap;
  background: #F3F6F5; color: var(--ocean); font-weight: 700; font-size: 0.95rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.v3-hero__hint {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); margin: 0; display: none; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; color: rgba(243, 246, 245, 0.85); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.85rem; border-radius: 999px; transition: opacity 0.4s ease;
}
.is-3d .v3-hero__hint { display: inline-flex; }
.is-touched .v3-hero__hint { opacity: 0; }
.v3-hero__hint-dot { position: relative; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #E2B85A; }
/* Puls als Ring mit transform und opacity: läuft auf der Grafikkarte (vorher animierter Schatten, „nicht zusammengesetzt“) */
.v3-hero__hint-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(226, 184, 90, 0.6); animation: v3-pulse 1.6s ease-out infinite; }
@keyframes v3-pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.8); opacity: 0; } }

.v3-hero__text { padding: 1.5rem 1.25rem 3rem; max-width: 40rem; }
.v3-eyebrow { margin: 0 0 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem; color: #F1D58F; }
.v3-eyebrow--dark { color: var(--accent-text); }
.v3-hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 4.2vw + 1rem, 5.4rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 1.25rem; color: #FFFFFF; }
.v3-hero__title span { display: block; }
.v3-hl { color: #F1D58F; }
.v3-hero__lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); line-height: 1.55; color: #C9D6E3; margin: 0 0 2rem; max-width: 34rem; }
.v3-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* H1 der Startseite mit den Suchbegriffen im Stil der kleinen Zeile; der Slogan darunter ist ein Absatz */
.v3-hero .v3-hero__h1 { font-family: inherit; font-size: 0.9rem; line-height: 1.5; letter-spacing: 0.14em; font-weight: 700; margin: 0 0 1rem; }
.v3-hero__lead strong { color: #FFFFFF; font-weight: 700; }
.v3-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.v3-facts li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; font-weight: 700; color: #F3F6F5; }
.v3-facts li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #7FD6A4; flex: none; }
/* Häufige Fragen: sichtbar, zwei Spalten ab Tablet */
.v3-faq { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .v3-faq { grid-template-columns: 1fr 1fr; } }
.v3-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.v3-faq__q { font-size: 1.15rem; margin: 0 0 0.5rem; }
.v3-faq__item p { margin: 0; line-height: 1.6; }
.v3-faq__more { margin: 1.5rem 0 0; font-size: 1.1rem; }
.v3-faq__more a { font-weight: 700; }
.v3-hero__rejoin { margin: 1.25rem 0 0; font-size: 0.95rem; color: rgba(243, 246, 245, 0.8); }
.v3-hero__rejoin a { color: #F1D58F; font-weight: 700; }

.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.6rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.v3-btn:hover { transform: translateY(-2px); text-decoration: none; }
.v3-btn--primary { background: #F1D58F; color: #12233A; }
.v3-btn--primary:hover { background: #FFE3A3; }
.v3-btn--ghost { color: #F3F6F5; border-color: rgba(243, 246, 245, 0.55); background: transparent; }
.v3-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.v3-btn--dark { background: var(--ocean); color: #FFFFFF; }
.v3-btn--outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.v3-btn--outline:hover { border-color: var(--text); }
.v3-btn--small { align-self: flex-start; min-height: 2.5rem; padding: 0.35rem 1rem; font-size: 0.95rem; background: var(--ocean); color: #FFFFFF; }

.v3-section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg); }
.v3-section--light { background: var(--surface); }
.v3-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.v3-head h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.4rem); line-height: 1.05; margin: 0 0 0.75rem; }
.v3-head__lead { font-size: 1.2rem; color: var(--text-muted); margin: 0; }

.v3-minis { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .v3-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v3-mini {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 30px 60px -44px rgba(20, 54, 92, 0.55); display: flex; flex-direction: column; gap: 0.75rem;
}
.v3-mini h3 { font-size: 1.5rem; margin: 0; }
.v3-mini__num {
  position: absolute; right: 1.25rem; top: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1;
  color: rgba(20, 54, 92, 0.14);
}
.v3-mini__claim { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--forest); margin: 0; }
.v3-mini__hint { margin: 0; font-weight: 700; }
.v3-mini__note { margin: 0; color: var(--text-muted); min-height: 3em; }
.v3-mini__control { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.75rem; align-items: center; }
.v3-mini__control label { font-weight: 700; }
.v3-mini__control output { font-family: var(--font-head); font-weight: 700; font-variant-numeric: tabular-nums; }
.v3-mini__control input { grid-column: 1 / -1; width: 100%; accent-color: var(--ocean); height: 2rem; }

.v3-chart { width: 100%; height: auto; background: var(--surface-sunken); border-radius: 12px; }
.v3-chart__axis { stroke: var(--border-strong); stroke-width: 1; }
.v3-chart__delay { stroke: var(--wheat); stroke-width: 1.5; stroke-dasharray: 4 4; }
.v3-chart__edu { fill: none; stroke: var(--forest); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.v3-chart__wealth { fill: none; stroke: var(--ocean); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 7; }
.v3-chart__legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.v3-key::before { content: ""; display: inline-block; width: 1.4rem; height: 0; border-top: 3px solid var(--forest); vertical-align: middle; margin-right: 0.35rem; }
.v3-key--wealth::before { border-top: 3px dotted var(--ocean); }
.v3-key--line::before { border-top: 2px dashed var(--wheat); }

.v3-reef { border-radius: 12px; overflow: hidden; }
.v3-reef__img { display: block; width: 100%; transition: filter 0.4s ease; }
.v3-meter { position: relative; height: 0.9rem; border-radius: 999px; background: var(--surface-sunken); border: 1px solid var(--border); }
.v3-meter__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #2E6B50, #52A07B); }
.is-tipped .v3-meter__bar { background: linear-gradient(90deg, #B3261E, #E0453A); }
.v3-meter__mark { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 2px; background: var(--signal); }
.v3-meter__label { margin: 0; }

.v3-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.v3-region {
  text-align: left; font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1.2; color: var(--text);
  background: var(--surface-sunken); border: 2px solid var(--border); border-radius: 12px; padding: 0.55rem 0.7rem; cursor: pointer;
  display: grid; gap: 0.15rem; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.v3-region small { font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }
.v3-region[aria-pressed="true"] { background: color-mix(in srgb, var(--forest) 14%, var(--surface)); border-color: var(--forest); }
.v3-region[aria-pressed="true"] span::before { content: "✓ "; color: var(--forest); }
.v3-temp { margin: 0.25rem 0 0; font-size: 1.1rem; }
.v3-temp strong { font-family: var(--font-head); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.v3-thermo {
  position: relative; height: 0.9rem; border-radius: 999px; margin: 1.4rem 0 0.25rem;
  background: linear-gradient(90deg, #4292C6, #DEEBF7 25%, #FCBBA1 45%, #EF3B2C 70%, #67000D);
}
.v3-thermo__mark { position: absolute; top: -1.35rem; transform: translateX(-50%); font-size: 0.8rem; color: var(--text-muted); }
.v3-thermo__mark::after { content: ""; position: absolute; left: 50%; top: 1.3rem; width: 1px; height: 0.9rem; background: rgba(20, 54, 92, 0.5); }
.v3-thermo__needle { position: absolute; top: -0.35rem; width: 0.3rem; height: 1.6rem; margin-left: -0.15rem; border-radius: 3px; background: var(--ocean); box-shadow: 0 0 0 2px var(--surface); }

/* Klimastreifen beim Scrollen: der Bereich ist hoch, der Inhalt bleibt stehen, die Streifen wachsen */
.v3-stripes-section { position: relative; height: 260vh; background: #0B1D30; color: #F3F6F5; }
.v3-stripes-section.is-static { height: auto; }
.v3-stripes-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 4rem; }
.is-static .v3-stripes-sticky { position: static; min-height: 0; }
.v3-year { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; margin: 0 0 1.25rem; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.v3-stripes { display: flex; height: clamp(5rem, 14vh, 9rem); gap: 3px; margin-bottom: 2.5rem; }
.v3-stripes span { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.07); transform-origin: bottom; transition: background-color 0.4s ease, transform 0.4s ease; transform: scaleY(0.25); }
.v3-stripes span.is-on { transform: scaleY(1); }
.v3-stripes span.is-on:nth-child(1) { background: #08306B; }
.v3-stripes span.is-on:nth-child(2) { background: #08519C; }
.v3-stripes span.is-on:nth-child(3) { background: #2171B5; }
.v3-stripes span.is-on:nth-child(4) { background: #4292C6; }
.v3-stripes span.is-on:nth-child(5) { background: #9ECAE1; }
.v3-stripes span.is-on:nth-child(6) { background: #F7F7F7; }
.v3-stripes span.is-on:nth-child(7) { background: #FCBBA1; }
.v3-stripes span.is-on:nth-child(8) { background: #FB6A4A; }
.v3-stripes span.is-on:nth-child(9) { background: #EF3B2C; }
.v3-stripes span.is-on:nth-child(10) { background: #CB181D; }
.v3-stripes span.is-on:nth-child(11) { background: #67000D; }
.v3-stripes-title { font-size: clamp(2rem, 3vw + 1rem, 3.6rem); color: #FFFFFF; margin: 0 0 0.75rem; }
.v3-stripes-lead { font-size: 1.2rem; color: #C9D6E3; max-width: 40rem; margin: 0 0 2rem; }

.v3-carousel__track {
  list-style: none; margin: 0; padding: 0 0 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 34rem); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.v3-slide { scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.v3-slide img { width: 100%; border-bottom: 1px solid var(--border); }
.v3-slide p { margin: 0; padding: 1rem 1.25rem 1.25rem; }
.v3-carousel__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.v3-round {
  width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface); color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.v3-round:hover { border-color: var(--text); }
/* Die Knöpfe rechts, die Pfeile links */
.v3-carousel__nav .v3-btn:first-of-type { margin-left: auto; }
@media (max-width: 40rem) { .v3-carousel__nav .v3-btn { flex: 1 1 100%; margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  .v3-hero__hint-dot::after { animation: none; display: none; }
  .v3-btn, .v3-stripes span, .v3-reef__img { transition: none; }
}
@media (prefers-color-scheme: dark) {
  .v3-mini__num { color: rgba(228, 235, 233, 0.12); }
  .v3-thermo__mark::after { background: rgba(228, 235, 233, 0.5); }
}

/* ======================================================================
 * Version 2 (erste Stufe): fotorealistische 3D-Erde, Scroll-Geschichte, „Zwei Zukünfte“.
 * ====================================================================== */
.start--v2 { background: #050C16; }
.v2-story { position: relative; color: #F3F6F5; background: #050C16; }
.v2-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.v2-stage__canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.v2-stage__canvas.is-dragging { cursor: grabbing; }
.v2-layers { position: relative; margin-top: -100vh; pointer-events: none; }
.v2-layers a, .v2-layers button, .v2-layers input { pointer-events: auto; }
.v2-panel { min-height: 100vh; display: flex; align-items: center; padding: 6rem 1.25rem 4rem max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); }
.v2-panel__inner { max-width: 34rem; }
.v2-eyebrow { margin: 0 0 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem; color: #F1D58F; }
.v2-title { font-size: clamp(3rem, 5vw + 1rem, 6.2rem); letter-spacing: 0.04em; line-height: 0.95; margin: 0 0 1.25rem; color: #FFFFFF; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.v2-lead { font-size: clamp(1.15rem, 0.6vw + 1rem, 1.45rem); line-height: 1.55; color: #D5E1EC; margin: 0 0 2rem; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.v2-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.v2-scrollhint { margin: 2.5rem 0 0; color: rgba(243, 246, 245, 0.7); font-size: 0.95rem; }
.v2-scrollhint::after { content: " ↓"; }
.v2-card {
  max-width: 30rem; padding: 2rem; border-radius: 22px; pointer-events: auto;
  background: rgba(8, 20, 36, 0.62); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.v2-card h2 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.6rem); color: #FFFFFF; margin: 0 0 0.75rem; }
.v2-card p:last-child { margin: 0; color: #D5E1EC; font-size: 1.1rem; }
.v2-readout {
  position: absolute; right: max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); bottom: 2rem; text-align: right;
  display: grid; gap: 0.1rem; color: #F3F6F5; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.v2-readout__year { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3vw + 1rem, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.v2-readout__temp { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #FFB38A; font-variant-numeric: tabular-nums; }
.v2-readout__note { font-size: 0.8rem; color: rgba(243, 246, 245, 0.65); }
@media (max-width: 48rem) {
  .v2-panel { align-items: flex-start; padding-top: 8.5rem; }
  .v2-panel--hero .v2-panel__inner { padding-top: 0; }
  .v2-readout { bottom: 1rem; }
}


/* Abschnitte unter der Erde: Regionen, Zwei Zukünfte, Filme */
.v2-regions, .v2-futures, .v2-films { color: #F3F6F5; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.v2-regions { background: linear-gradient(180deg, #050C16 0%, #0A1828 100%); }
.v2-futures { background: #0A1828; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.v2-films { background: radial-gradient(120% 80% at 50% 0%, #12304A 0%, #071220 60%, #050C16 100%); }
.v2-section-title { font-size: clamp(2rem, 2.8vw + 1rem, 3.4rem); line-height: 1.08; color: #FFFFFF; margin: 0 0 0.9rem; max-width: 22ch; }
.v2-section-lead { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); line-height: 1.6; color: #C9D6E3; max-width: 46rem; margin: 0 0 2.5rem; }

/* Chips (Schauplatz der Filme, Filme anhalten) */
.v2-chip {
  min-height: 2.75rem; padding: 0.45rem 1.1rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; color: #F3F6F5;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(243, 246, 245, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.v2-chip:hover { background: rgba(255, 255, 255, 0.12); }
.v2-chip[aria-pressed="true"] { background: #F1D58F; border-color: #F1D58F; color: #12233A; }
.v2-chip:focus-visible { outline: 3px solid #F1D58F; outline-offset: 3px; }

/* Sechs Regionen */
.v2-region-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .v2-region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .v2-region-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.v2-region {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.v2-region:hover { transform: translateY(-4px); border-color: rgba(241, 213, 143, 0.45); }
.v2-region__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.v2-region__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(5, 12, 22, 0.55)); pointer-events: none; }
.v2-region__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.v2-region:hover .v2-region__img { transform: scale(1.05); }
.v2-region__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.v2-region__name { font-size: 1.45rem; color: #FFFFFF; margin: 0; }
.v2-region__includes { margin: 0; color: #9FB3C7; font-size: 0.95rem; line-height: 1.45; }
.v2-region__pop { margin: 0.35rem 0 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #F1D58F; }
.v2-region__facts { margin: auto 0 0; display: grid; gap: 0.7rem; }
.v2-fact { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.15rem 0.75rem; }
.v2-fact dt { font-size: 0.9rem; color: #C9D6E3; }
.v2-fact dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.v2-fact__bar { grid-column: 1 / -1; display: block; width: 100%; height: 6px; }
.v2-fact__track { fill: rgba(255, 255, 255, 0.1); }
.v2-fact__fill--pop { fill: #8EC9F0; }
.v2-fact__fill--emis { fill: #FFB38A; }

/* Zwei Zukünfte */
.v2-scene-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.25rem; }
.v2-scene-tab {
  min-height: 2.75rem; padding: 0.45rem 1.15rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: #F3F6F5; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(243, 246, 245, 0.28);
}
.v2-scene-tab:hover { background: rgba(255, 255, 255, 0.12); }
.v2-scene-tab[aria-selected="true"] { background: #F1D58F; border-color: #F1D58F; color: #12233A; }
.v2-scene-tab:focus-visible { outline: 3px solid #F1D58F; outline-offset: 3px; }
.v2-compare { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0F2236; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.95); }
.v2-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v2-compare__top { position: absolute; inset: 0; }
.v2-compare__today { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.v2-compare.is-today .v2-compare__today { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
.v2-compare.is-today .v2-compare__handle, .v2-compare.is-today .v2-compare__tag--left, .v2-compare.is-today .v2-compare__tag--right { opacity: 0; }
.v2-compare__handle { position: absolute; top: 0; bottom: 0; z-index: 1; width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 24px rgba(0, 0, 0, 0.55); pointer-events: none; transition: opacity 0.4s ease; }
.v2-compare__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: #FFFFFF; color: #12233A; font-weight: 800; border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.v2-compare__tag {
  position: absolute; top: 1rem; z-index: 1; color: #FFFFFF; font-weight: 700; padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.95rem;
  pointer-events: none; background: rgba(5, 12, 22, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity 0.4s ease;
}
.v2-compare__tag--left { left: 1rem; border-left: 4px solid #7FD6A4; }
.v2-compare__tag--right { right: 1rem; border-right: 4px solid #FFB38A; }
.v2-compare__tag--center { left: 50%; transform: translateX(-50%); border-bottom: 3px solid #F1D58F; }
.v2-compare__range { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.v2-compare__range:disabled { cursor: default; }
.v2-compare:focus-within .v2-compare__handle { box-shadow: 0 0 0 3px #F1D58F; }
.v2-scene__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.1rem; }
.v2-scene__caption { margin: 0; flex: 1 1 28rem; color: #C9D6E3; line-height: 1.55; }
.v2-today-btn {
  flex: 0 0 auto; min-height: 2.75rem; padding: 0.45rem 1.2rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: #F1D58F; background: transparent; border: 2px solid #F1D58F;
}
.v2-today-btn:hover { background: rgba(241, 213, 143, 0.12); }
.v2-today-btn.is-active { background: #F1D58F; color: #12233A; }
.v2-today-btn:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 40rem) {
  .v2-compare { border-radius: 16px; aspect-ratio: 4 / 3; }
  .v2-compare__tag { top: 0.6rem; font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .v2-compare__tag--left { left: 0.6rem; }
  .v2-compare__tag--right { right: 0.6rem; }
  .v2-compare__handle::after { padding: 0.35rem 0.7rem; font-size: 1rem; }
  .v2-compare__year { display: none; }
}

/* Filme */
.v2-film-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0 0 1.25rem; }
.v2-film-switch { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v2-chip--play { background: transparent; border-color: transparent; color: #C9D6E3; padding-left: 0.6rem; }
.v2-chip--play::before {
  content: ""; display: inline-block; vertical-align: -0.05em; margin-right: 0.55rem; box-sizing: border-box;
  width: 0.6em; height: 0.75em; border-left: 0.2em solid currentColor; border-right: 0.2em solid currentColor;
}
.v2-chip--play.is-paused::before { width: 0; height: 0; border-left: 0.65em solid currentColor; border-right: 0; border-top: 0.38em solid transparent; border-bottom: 0.38em solid transparent; }
.v2-chip--play:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.v2-film-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .v2-film-grid { grid-template-columns: 1fr 1fr; } }
.v2-film { margin: 0; }
.v2-film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0F2236; }
.v2-film--together .v2-film__frame { box-shadow: 0 0 0 1px rgba(127, 214, 164, 0.35), 0 40px 80px -45px rgba(0, 0, 0, 0.95); }
.v2-film--alone .v2-film__frame { box-shadow: 0 0 0 1px rgba(255, 179, 138, 0.35), 0 40px 80px -45px rgba(0, 0, 0, 0.95); }
.v2-film__video { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }
.v2-film__video.is-switching { opacity: 0; }
.v2-film__label {
  position: absolute; left: 0.9rem; top: 0.9rem; z-index: 2; pointer-events: none;
  font-weight: 700; font-size: 0.95rem; color: #FFFFFF; padding: 0.4rem 0.85rem; border-radius: 999px;
  background: rgba(5, 12, 22, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.v2-film--together .v2-film__label { border-left: 4px solid #7FD6A4; }
.v2-film--alone .v2-film__label { border-left: 4px solid #FFB38A; }
.v2-film figcaption { margin-top: 0.9rem; color: #C9D6E3; line-height: 1.55; }
.v2-film figcaption strong { color: #FFFFFF; }
.v2-actions--center { justify-content: center; margin-top: 3rem; }
.v2-credits { margin: 2.5rem auto 0; max-width: 46rem; text-align: center; font-size: 0.85rem; color: rgba(201, 214, 227, 0.75); }
@media (prefers-reduced-motion: reduce) {
  .v2-region, .v2-region__img, .v2-compare__today, .v2-film__video { transition: none; }
  .v2-region:hover, .v2-region:hover .v2-region__img { transform: none; }
}
