/* Startseite Joghurt.bot v1.5 (Testumgebung, 24.10.2026), Seite: views/landing.ejs, Verhalten: js/joghurt-home.js.
   Hervorgegangen aus Prototyp E (views/_proto/e.ejs, css/proto-e.css - bleibt zum Vergleich liegen), Praefix jh-.
   Basis ist Prototyp A: Keynote-Gefuehl, riesige Typografie, echtes Schwarz, EIN elektrischer Akzent (Volt #c4ff2e),
   breite ruhige Baender, Dashboard-Vignette, choreografiertes Einblenden. Aus Prototyp B, an A angeglichen:
   Funktionsbereich mit Filter, farbige Icon-Koepfe je Bereich, Tarif-Marken, 25 Plaetze als Segment-Balken,
   Lichtkante an Pro, Schritte mit Mini-Oberflaeche und "Mit Schritt 1 starten", Vertrauenszeile im Hero.
   Betreiber-Vorgaben 24.10.: NUR dunkel (Seitenkopf mit themeLock 'dark', kein Schalter), keine Vergleichstabelle,
   keine Kapitel-Vignetten; Begleit-App als ruhiges App-Fenster mit Protokoll ("Chat loest aus -> PC fuehrt aus"),
   rahmenlos wie A: Aussage links in einer Spalte, Fenster rechts frei auf Schwarz.
   Funktions-Filter: am Desktop dunkelt er ab (B), ab 1100 px abwaerts bleibt er unter der Navigation stehen und
   klappt nicht passende Zeilen weg. Ohne :has() blendet er sich aus (er wuerde nichts bewirken).

   Spezifitaets-Fallen aus theme.css (Dunkel):
   - "html[data-theme=dark] body :is(p,...)" (0,1,3) faerbt jedes <p> gedaempft, ":is(small,...)" ebenso,
   - "html[data-theme=dark] body a:not([class*=btn])" (0,2,3) faerbt Links in var(--accent).
   Darum: (1) die globalen Tokens (--text, --text-muted, --accent ...) werden in .jh auf die eigenen umgebogen,
   (2) Textfarben auf p/small/a stehen unter "html body .jh ..." (gleich stark, spaeter geladen -> gewinnt).
   Animationen nur ueber transform/opacity; prefers-reduced-motion schaltet alles ab. */

/* ================================================================ Seite / Tokens (nur OLED-Dunkel) */
html:has(.jh) { background: var(--f-bg, #000); scroll-padding-top: 76px; }
/* theme.css setzt "html[data-theme=dark] body" auf #111115 - gleich stark plus :has() gewinnt (Jury: Spezifitaet). */
html body:has(> .jh),
html[data-theme="dark"] body:has(> .jh) { background: var(--f-bg, #000); }
@media (prefers-reduced-motion: reduce) { html:has(.jh) { scroll-behavior: auto; } }
/* Sehr breite Bildschirme: die ganze Seite waechst leicht mit (alle Groessen stehen in rem), damit Fliesstext
   bei 2560 px nicht klein wirkt (Jury). Nur diese Seite - :has(.jh). */
@media (min-width: 2000px) {
  html:has(.jh) { font-size: clamp(16px, calc(16px + (100vw - 2000px) * .0036), 18.5px); }
}

.jh {
  --jh-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --jh-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --jh-ease: cubic-bezier(.16, 1, .3, 1);
  --jh-gutter: clamp(16px, 4.4vw, 88px);
  --jh-max: 1680px;
  /* Hero-Vignette und Schritte-Leiste teilen sich eine Breite (vorher 1200 px Vignette gegen 1680 px Leiste -
     die Kanten sprangen). Bei 2200+ waechst sie mit --jh-max mit. */
  --jh-stage: calc(var(--jh-max) * .86);
  --jh-nav-h: 64px;

  /* Farben seit 07.11.2026 aus css/farben15.css (Thema "Synthwave", --f-*). Die Namen --jh-volt* bleiben (ueber 60
     Stellen), meinen jetzt aber den Akzent des Themas. Rueckweg: Bot\Sicherungen\farbthemen15_2026-11-07_16-19-11. */
  --jh-volt: var(--f-acc);
  --jh-volt-ink: var(--f-ink);
  --jh-volt-rgb: var(--f-acc-rgb);
  --jh-bg: var(--f-bg);
  --jh-surface: var(--f-surface);
  --jh-surface-2: var(--f-surface-2);
  --jh-surface-3: var(--f-surface-3);
  --jh-line: rgb(var(--f-line-rgb) / .08);
  --jh-line-strong: rgb(var(--f-line-rgb) / .15);
  --jh-text: var(--f-text);
  --jh-muted: var(--f-muted);
  --jh-faint: var(--f-faint);
  --jh-dimtext: var(--f-dimtext); /* nur fuer grosse Schrift */
  /* Abgedunkelte Filter-Zeilen: beide Werte >= 4,5:1 auf der Kartenflaeche */
  --jh-dim-title: #8f88a0;
  --jh-dim-small: #877f98;
  --jh-dim-pro: #a58bc4;
  --jh-accent: var(--jh-volt);
  --jh-primary-bg: var(--f-grad);
  --jh-primary-fg: var(--jh-volt-ink);
  --jh-pro-bg: rgb(var(--f-acc-rgb) / .13);
  --jh-pro-fg: var(--jh-volt);
  --jh-glow: rgb(var(--f-acc-rgb) / .36);
  --jh-glow-soft: rgb(var(--f-acc-rgb) / .13);
  --jh-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 80px -30px rgba(0, 0, 0, .8);
  --jh-shadow-lg: 0 0 0 1px rgba(255, 255, 255, .03), 0 60px 140px -40px rgba(0, 0, 0, .9);
  --jh-nav-bg: var(--f-nav-bg);
  --jh-focus: var(--jh-volt);
  --jh-sw-off: var(--f-track);
  --jh-knob: var(--f-knob);
  --jh-knob-hover: var(--f-knob-hover);
  --jh-error: #ff8080;
  /* Bereichsfarben (aus B) nur noch an den Logo-Icons, leicht entsaettigt - der eine Akzent bleibt Volt.
     OBS neutral (Rot las sich wie Fehler/Aufnahme), die Begleit-App traegt Volt. */
  --jh-discord: #8b92ec;
  --jh-twitch: #ad94ea;
  --jh-obs: #d2d2d8;
  --jh-app: var(--jh-volt);

  /* Globale Tokens auf die eigenen umbiegen (fuer theme.css-Regeln und das Pro-Laufzeiten-Partial). */
  --bg: var(--jh-bg);
  --bg-panel: var(--jh-surface);
  --text: var(--jh-text);
  --text-muted: var(--jh-muted);
  --text-faint: var(--jh-faint);
  --accent: var(--jh-accent);
  --border: var(--jh-line-strong);
  --border-soft: var(--jh-line);

  position: relative;
  background:
    radial-gradient(1000px 640px at 8% -160px, rgb(var(--f-glow-a) / .11), transparent 70%),
    radial-gradient(900px 600px at 100% -60px, rgb(var(--f-glow-b) / .075), transparent 70%),
    var(--jh-bg);
  color: var(--jh-text);
  font-family: var(--jh-font);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -.011em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.jh .is-discord { --jh-area: var(--jh-discord); }
.jh .is-twitch { --jh-area: var(--jh-twitch); }
.jh .is-obs { --jh-area: var(--jh-obs); }
.jh .is-app,
.jh .jh-app { --jh-area: var(--jh-app); }

.jh *, .jh *::before, .jh *::after { box-sizing: border-box; }
.jh [hidden] { display: none !important; }
.jh ::selection { background: var(--jh-volt); color: var(--jh-volt-ink); }
html body .jh :is(h1, h2, h3, h4, h5, h6) { margin: 0; font-family: var(--jh-font); color: var(--jh-text); text-shadow: none; }
html body .jh p { margin: 0; color: var(--jh-muted); }
html body .jh small { color: var(--jh-faint); }
html body .jh :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
html body .jh img { max-width: 100%; }
html body .jh a:not([class*="btn"]) { color: inherit; text-decoration: none; }
html body .jh :focus-visible { outline: 2px solid var(--jh-focus); outline-offset: 3px; }
/* Sprungziel des "Zum Inhalt"-Links (tabindex=-1, damit Safari/VoiceOver den Fokus mitnehmen) - ohne Rahmen */
html body .jh main:focus,
html body .jh main:focus-visible { outline: none; }
.jh .icon { vertical-align: middle; }
.jh .jh-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }
/* style.css/apple.css geben jedem <label> Dashboard-Optik - im Bereich zuruecksetzen (niedrige Spezifitaet). */
:where(.jh) label { display: block; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
/* Marken-Logos (Discord/Twitch/OBS) bringen feste Farben mit - in den Icon-Koepfen faerbt sie die Bereichsfarbe. */
.jh .jh-brandico svg { fill: currentColor; stroke: currentColor; filter: none !important; }

.jh .jh-wrap {
  width: 100%;
  max-width: calc(var(--jh-max) + 2 * var(--jh-gutter));
  margin-inline: auto;
  padding-inline: var(--jh-gutter);
}

/* ================================================================ Knoepfe */
.jh .jh-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: 600 .95rem/1.1 var(--jh-font);
  letter-spacing: -.012em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .45s var(--jh-ease), border-color .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.jh .jh-btn::before,
.jh .jh-btn::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--jh-ease); }
.jh .jh-btn::before { z-index: -1; }
.jh .jh-btn::after { z-index: -2; }
.jh .jh-btn:hover { transform: translate3d(0, -1px, 0); }
.jh .jh-btn:active { transform: scale(.975); transition-duration: .12s; }
.jh .jh-btn .jh-arrow { transition: transform .45s var(--jh-ease); }
.jh .jh-btn:hover .jh-arrow { transform: translate3d(3px, 0, 0); }

.jh .jh-btn--primary { background: var(--jh-primary-bg); color: var(--jh-primary-fg); }
.jh .jh-btn--primary .jh-arrow { color: var(--jh-primary-fg); }
.jh .jh-btn--primary::before { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); }
.jh .jh-btn--primary::after { box-shadow: 0 0 0 1px var(--jh-glow-soft), 0 12px 40px -8px var(--jh-glow), 0 0 70px -14px var(--jh-glow); opacity: .55; }
.jh .jh-btn--primary:hover::before,
.jh .jh-btn--primary:hover::after { opacity: 1; }
.jh .jh-btn--primary:hover { color: var(--jh-primary-fg); }

.jh .jh-btn--ghost { color: var(--jh-text); border-color: var(--jh-line-strong); }
.jh .jh-btn--ghost::before { background: var(--jh-text); }
.jh .jh-btn--ghost:hover { color: var(--jh-text); border-color: color-mix(in srgb, var(--jh-text) 38%, transparent); }
.jh .jh-btn--ghost:hover::before { opacity: .06; }

.jh .jh-btn--quiet { color: var(--jh-muted); }
.jh .jh-btn--quiet::before { background: var(--jh-text); }
.jh .jh-btn--quiet:hover { color: var(--jh-text); }
.jh .jh-btn--quiet:hover::before { opacity: .07; }

.jh .jh-btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.jh .jh-btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.04rem; }
.jh .jh-btn--block { width: 100%; }
.jh .jh-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.jh .jh-btn.is-disabled:hover { transform: none; }
.jh .jh-btn.is-disabled::before { display: none; }

/* Textlinks: Tinte mit Volt-Unterstrich */
html body .jh a.jh-tlink {
  color: var(--jh-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--jh-volt);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
html body .jh a.jh-tlink:hover { text-decoration-color: var(--jh-text); }
/* Textlinks im Satz: groessere Trefferflaeche (>= 40 px) ohne Einfluss auf die Zeilenhoehe. */
.jh .jh-tlink { position: relative; }
.jh .jh-tlink::after { content: ""; position: absolute; inset: -12px -6px; }
html body .jh a.jh-tlink--arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; }
.jh .jh-tlink--arrow .jh-arrow { transition: transform .45s var(--jh-ease); }
.jh .jh-tlink--arrow:hover .jh-arrow { transform: translate3d(4px, 0, 0); }

/* Ueberspringen-Link */
html body .jh .jh-skipbtn {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--jh-primary-bg);
  color: var(--jh-primary-fg);
  font-weight: 600;
  text-decoration: none;
  transition: transform .35s var(--jh-ease);
}
html body .jh .jh-skipbtn:focus-visible { transform: translate3d(0, 76px, 0); }

/* ================================================================ Navigation */
.jh .jh-nav { position: sticky; top: 0; z-index: 60; height: var(--jh-nav-h); }
.jh .jh-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--jh-nav-bg);
  border-bottom: 1px solid var(--jh-line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--jh-ease);
}
.jh:not(.jh-js) .jh-nav::before,
.jh .jh-nav.is-scrolled::before,
.jh .jh-nav.is-open::before { opacity: 1; }
.jh .jh-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  max-width: calc(var(--jh-max) + 2 * var(--jh-gutter));
  margin: 0 auto;
  padding-inline: var(--jh-gutter);
}
.jh .jh-brand { display: inline-flex; align-items: center; gap: 1px; min-height: 40px; flex: none; }
.jh .jh-brand img { display: block; width: 104px; height: auto; }
html body .jh .jh-brand span { margin-top: 6px; font-size: .84rem; font-weight: 500; color: var(--jh-faint); letter-spacing: 0; }

.jh .jh-links { display: flex; gap: 2px; margin-inline: auto; }
html body .jh .jh-links a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--jh-muted);
  transition: color .25s ease;
}
.jh .jh-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--jh-text); opacity: 0; transition: opacity .3s var(--jh-ease); }
.jh .jh-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--jh-volt);
  box-shadow: 0 0 8px var(--jh-glow);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .3s var(--jh-ease), transform .4s var(--jh-ease);
}
html body .jh .jh-links a:hover,
html body .jh .jh-links a.is-active { color: var(--jh-text); }
.jh .jh-links a:hover::before { opacity: .06; }
.jh .jh-links a.is-active::after { opacity: 1; transform: none; }
.jh .jh-menu-only { display: none !important; }

.jh .jh-nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }

html body .jh .jh-menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--jh-line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--jh-text);
  box-shadow: none;
  transform: none;
  cursor: pointer;
}
html body .jh .jh-menu-btn:hover { background: transparent; color: var(--jh-text); box-shadow: none; transform: none; }
.jh .jh-menu-btn span { position: absolute; left: 13px; right: 13px; top: 50%; height: 1.6px; margin-top: -.8px; border-radius: 2px; background: currentColor; transition: transform .45s var(--jh-ease); }
.jh .jh-menu-btn span:first-child { transform: translate3d(0, -3.5px, 0); }
.jh .jh-menu-btn span:last-child { transform: translate3d(0, 3.5px, 0); }
.jh .jh-nav.is-open .jh-menu-btn span:first-child { transform: rotate(45deg); }
.jh .jh-nav.is-open .jh-menu-btn span:last-child { transform: rotate(-45deg); }

/* ================================================================ Typografie */
.jh .jh-display {
  margin: 0 auto;
  /* auch an der Fensterhoehe begrenzt: auf flachen Laptops (1366x800) rutscht die Vignette sonst ganz unter den Falz */
  font-size: clamp(2.75rem, min(7.8vw, 16vh), 10rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.062em;
}
.jh .jh-line { display: block; overflow: hidden; padding: 0 .05em .2em; margin-bottom: -.2em; }
.jh .jh-line > span { display: inline-block; }
.jh .jh-line--dim > span {
  /* background-clip: text malt nur innerhalb der Box - Polster nach unten, damit die Unterlaenge (g) mitkommt. */
  padding: 0 .04em .2em;
  margin: 0 -.04em -.2em;
  color: var(--jh-volt);
  background: var(--f-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.jh .jh-h2 { font-size: clamp(2.4rem, 6vw, 6.4rem); font-weight: 700; line-height: .98; letter-spacing: -.056em; }
.jh .jh-h2--xl { font-size: clamp(2.6rem, 7.4vw, 8.4rem); line-height: .94; letter-spacing: -.06em; }
.jh .jh-h3 { font-size: clamp(2rem, 2.9vw, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.jh .jh-h4 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.042em; }
.jh .jh-h5 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; }
.jh .jh-dim { color: var(--jh-dimtext); }
html body .jh .jh-lead { max-width: 36ch; font-size: clamp(1.08rem, 1.35vw, 1.42rem); line-height: 1.45; letter-spacing: -.018em; color: var(--jh-muted); }
html body .jh .jh-text { max-width: 36ch; margin-top: 24px; font-size: clamp(1.04rem, 1.15vw, 1.22rem); line-height: 1.5; letter-spacing: -.016em; color: var(--jh-muted); }
html body .jh p.jh-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; letter-spacing: -.01em; color: var(--jh-text); }

.jh .jh-pro {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--jh-pro-bg);
  color: var(--jh-pro-fg);
  font: 700 .72rem/1 var(--jh-mono);
  font-style: normal;
  letter-spacing: .08em;
  vertical-align: middle;
}

/* ================================================================ Hero */
/* Baender etwas knapper als in A (Jury: Leerraum) - die Seite bleibt luftig, aber Funktionen und Preise kommen frueher. */
.jh .jh-band { padding-block: clamp(80px, 9.5vw, 168px); }
.jh .jh-hero { position: relative; padding: clamp(36px, 6vh, 88px) 0 clamp(28px, 3vw, 48px); text-align: center; }
.jh .jh-hero-light {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(1500px, 150vw);
  aspect-ratio: 2 / 1;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(closest-side, var(--jh-glow-soft), transparent 72%);
  pointer-events: none;
}
.jh .jh-hero-copy { position: relative; }
html body .jh .jh-hero-lead { max-width: 40ch; margin: 26px auto 0; }
.jh .jh-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 600px;
  margin: 26px auto 0;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--jh-error) 45%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--jh-error) 9%, transparent);
  color: var(--jh-text);
  font-size: .95rem;
  line-height: 1.45;
  text-align: left;
}
.jh .jh-alert .icon { flex: none; margin-top: 1px; color: var(--jh-error); }
.jh .jh-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
/* Vertrauenszeile (B/D): drei kurze Fakten direkt unter den Knoepfen, schlicht mit Volt-Haken */
.jh .jh-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; }
.jh .jh-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--jh-muted); white-space: nowrap; }
.jh .jh-trust .jh-tick { color: var(--jh-volt); }
html body .jh .jh-signin { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; margin-top: 8px; font-size: .92rem; color: var(--jh-faint); }
/* "Anmelden ->" als echtes 40-px-Ziel (B) statt eines 18 px hohen Textlinks */
html body .jh a.jh-signin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--jh-text);
  font-weight: 600;
  transition: background-color .25s ease;
}
html body .jh a.jh-signin-link:hover { background: rgba(255, 255, 255, .06); }
.jh .jh-signin-link .jh-arrow { width: 16px; height: 16px; color: var(--jh-volt); transition: transform .45s var(--jh-ease); }
.jh .jh-signin-link:hover .jh-arrow { transform: translate3d(3px, 0, 0); }
html body .jh .jh-proof { margin-top: 10px; font-size: .9rem; color: var(--jh-faint); }
html body .jh .jh-proof b { color: var(--jh-text); font-weight: 650; }

/* Dashboard-Vignette */
.jh .jh-stage { position: relative; margin-top: clamp(40px, 5vw, 80px); perspective: 2200px; perspective-origin: 50% 0; }
.jh .jh-device {
  /* Kippwinkel bei voller Kippung - joghurt-home.js liest ihn und setzt transform direkt (hoechstens 60 % davon) */
  --jh-tilt-deg: 22deg;
  position: relative;
  z-index: 1;
  max-width: var(--jh-stage);
  margin: 0 auto;
  border: 1px solid var(--jh-line-strong);
  border-radius: 24px;
  background: var(--jh-surface);
  box-shadow: var(--jh-shadow-lg);
  overflow: hidden;
  text-align: left;
  transform-origin: 50% 100%;
}
.jh .jh-device::after { /* Lichtkante oben */
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jh-volt), transparent);
  opacity: .55;
}
.jh .jh-stage-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -70px;
  height: 140px;
  background: radial-gradient(closest-side, var(--jh-glow-soft), transparent 80%);
  pointer-events: none;
}
.jh .jh-device-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--jh-line); }
.jh .jh-device-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--jh-line-strong); }
.jh .jh-device-bar span { margin: 0 auto; padding-right: 50px; font: 500 .74rem/1 var(--jh-mono); letter-spacing: 0; color: var(--jh-faint); }
.jh .jh-device-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 360px; }
.jh .jh-dv-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-right: 1px solid var(--jh-line); }
.jh .jh-dv-mark { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 14px 8px; border-radius: 10px; background: var(--jh-surface-2); }
.jh .jh-dv-mark img { width: 18px; height: auto; }
.jh .jh-dv-nav { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 10px; font-size: .84rem; font-weight: 500; color: var(--jh-muted); }
.jh .jh-dv-nav.is-on { background: var(--jh-surface-2); color: var(--jh-text); }
.jh .jh-dv-nav.is-on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--jh-volt); box-shadow: 0 0 10px var(--jh-glow); }
.jh .jh-dv-main { padding: 22px 24px 24px; }
.jh .jh-dv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jh .jh-dv-title { font-size: 1.3rem; font-weight: 650; letter-spacing: -.03em; }
.jh .jh-dv-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--jh-line); border-radius: 999px; font-size: .76rem; font-weight: 500; color: var(--jh-muted); }
.jh .jh-dv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.jh .jh-dv-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--jh-line); border-radius: 16px; background: var(--jh-surface); }
.jh .jh-dv-tile:first-child { grid-row: span 2; }
html body .jh .jh-dv-label { margin: 0 0 8px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--jh-faint); }
/* Zeilen der Funktions-Kachel sind echte Schalter (Checkbox mit role=switch, B): ganze Zeile = Trefferflaeche */
html body .jh label.jh-dv-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 0 -10px; padding: 0 10px; border-top: 1px solid var(--jh-line); border-radius: 12px; font-size: .88rem; font-weight: 500; color: var(--jh-text); cursor: pointer; transition: background-color .25s ease; -webkit-tap-highlight-color: transparent; }
.jh .jh-dv-label + .jh-dv-row,
.jh .jh-dv-row:hover + .jh-dv-row { border-top-color: transparent; }
.jh .jh-dv-row:hover { border-top-color: transparent; background: rgba(255, 255, 255, .035); }
.jh .jh-dv-row > .icon { color: var(--jh-muted); }
/* Name + PRO-Marke bleiben einzeilig; reicht der Platz nicht, wird gekuerzt statt in den Schalter zu laufen */
.jh .jh-dv-row > span:nth-child(2) { flex: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jh .jh-dv-row > span:nth-child(2) .jh-pro { flex: none; }
.jh .jh-dv-row .jh-sr { left: 10px; top: 50%; }
.jh .jh-dv-row input:focus-visible ~ .jh-sw { outline: 2px solid var(--jh-focus); outline-offset: 3px; }
.jh .jh-stage-note { position: relative; z-index: 1; margin-top: clamp(22px, 2.4vw, 34px); }
html body .jh .jh-stage-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--jh-faint); }
.jh .jh-stage-hint .icon { color: var(--jh-volt); }
.jh .jh-dv-feed { overflow: hidden; }
.jh .jh-dv-event { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .82rem; line-height: 1.4; color: var(--jh-muted); }
.jh .jh-dv-event strong { color: var(--jh-text); font-weight: 600; }
.jh .jh-dv-dot { flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--jh-line-strong); transition: background-color .4s ease, box-shadow .4s ease; }
/* neuestes Ereignis (direkt unter der Beschriftung) leuchtet - das Label ist selbst ein <p>, darum kein :first-of-type */
.jh .jh-dv-label + .jh-dv-event .jh-dv-dot { background: var(--jh-volt); box-shadow: 0 0 8px var(--jh-glow); }
.jh kbd { font-family: var(--jh-mono); }
.jh .jh-dv-event kbd { padding: 1px 6px; border: 1px solid var(--jh-line-strong); border-radius: 5px; font-size: .74rem; color: var(--jh-text); background: var(--jh-surface-2); }
.jh .jh-dv-timer { justify-content: center; }
.jh .jh-dv-clock { font: 600 clamp(1.6rem, 1rem + 1.6vw, 2.3rem)/1.05 var(--jh-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jh .jh-dv-plus { align-self: flex-start; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--jh-volt); box-shadow: 0 0 18px var(--jh-glow); color: var(--jh-volt-ink); font: 700 .72rem/1.4 var(--jh-mono); white-space: nowrap; }

/* Schalter in der Dashboard-Vignette - bewusst ruhig: an = getoente Spur mit Volt-Knopf, aus = grau */
.jh .jh-sw { position: relative; flex: none; width: 36px; height: 21px; border-radius: 999px; background: var(--jh-sw-off); }
.jh .jh-sw::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--f-grad); box-shadow: 0 0 12px -4px rgb(var(--f-glow-a) / .6); opacity: 0; transition: opacity .35s ease; }
.jh .jh-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--jh-knob); transition: transform .5s var(--jh-ease), background-color .35s ease; }
.jh .jh-sw.is-on::before,
.jh input:checked + .jh-sw::before { opacity: 1; }
.jh .jh-sw.is-on::after,
.jh input:checked + .jh-sw::after { background: var(--jh-volt-ink); box-shadow: none; transform: translate3d(15px, 0, 0); }
.jh .jh-dv-row:hover input:not(:checked) + .jh-sw::after { background: var(--jh-knob-hover); }

/* Sub-Marathon aus: Uhr ruht, statt "+5:00" steht "Pausiert" (nur CSS, wirkt auch ohne JavaScript) */
.jh .jh-dv-clock,
.jh .jh-dv-plus { transition: opacity .4s ease; }
.jh .jh-dv-plus-off { display: none; }
.jh .jh-device:has(#jh-dv-sm:not(:checked)) .jh-dv-clock { opacity: .4; }
.jh .jh-device:has(#jh-dv-sm:not(:checked)) .jh-dv-plus { background: var(--jh-surface-3); box-shadow: none; color: var(--jh-muted); }
.jh .jh-device:has(#jh-dv-sm:not(:checked)) .jh-dv-plus-on { display: none; }
.jh .jh-device:has(#jh-dv-sm:not(:checked)) .jh-dv-plus-off { display: inline; }

/* Pulsierender Punkt (laeuft nur, solange sichtbar: .is-visible aus proto-e.js) */
.jh .jh-pulse { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--jh-volt); box-shadow: 0 0 10px var(--jh-glow); }
.jh .jh-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--jh-volt); opacity: 0; }

/* ================================================================ Live */
.jh .jh-live { padding-top: clamp(48px, 6vw, 88px); }
.jh .jh-live-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }
.jh .jh-live .jh-h4 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2vw, 2rem); }
.jh .jh-live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 12px rgba(255, 59, 48, .6); }
.jh .jh-live-count { font-size: .9rem; color: var(--jh-faint); }
/* Ohne sichtbaren Scrollbalken (wirkte mobil wie ein verirrter Unterstrich); schmal laeuft die Leiste bis an den
   Bildschirmrand aus und blendet dort weich aus - so ist erkennbar, dass es weitergeht. */
.jh .jh-live-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 21vw, 340px); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.jh .jh-live-row::-webkit-scrollbar { display: none; }
html body .jh a.jh-live-card { display: grid; gap: 6px; min-width: 0; color: var(--jh-text); scroll-snap-align: start; }
.jh .jh-live-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border: 1px solid var(--jh-line); border-radius: 16px; background: var(--jh-surface-2); overflow: hidden; transition: transform .5s var(--jh-ease); }
.jh .jh-live-thumb.is-empty { background-image: radial-gradient(70% 90% at 25% 15%, var(--jh-glow-soft), transparent 70%), linear-gradient(160deg, var(--jh-surface-2), var(--jh-surface-3)); }
.jh .jh-live-card:hover .jh-live-thumb { transform: scale(1.02); }
.jh .jh-live-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jh .jh-live-badge,
.jh .jh-live-viewers { z-index: 1; }
.jh .jh-live-badge { position: absolute; left: 10px; top: 10px; padding: 4px 7px; border-radius: 6px; background: #e5242b; color: #fff; font: 700 .66rem/1 var(--jh-font); letter-spacing: .07em; }
.jh .jh-live-viewers { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .66); color: #fff; font-size: .74rem; }
.jh .jh-live-name { min-width: 0; overflow: hidden; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.jh .jh-live-game { overflow: hidden; font-size: .85rem; color: var(--jh-faint); white-space: nowrap; text-overflow: ellipsis; }

/* ================================================================ Abschnittskoepfe */
.jh .jh-head { max-width: 1100px; }
.jh .jh-head .jh-lead { margin-top: 30px; }
.jh .jh-head--center { max-width: 1500px; margin-inline: auto; text-align: center; }

/* ================================================================ Schritte
   Kompakte Leiste direkt unter dem Hero (C) statt eines bildschirmhohen Abschnitts: links Ueberschrift + "Mit
   Schritt 1 starten" (B), rechts drei Zellen mit je einer kleinen Oberflaeche (B). Die Volt-Linie zieht beim
   Einblenden von Knoten zu Knoten (A); sie laeuft hinter den Knoten durch die Zellen-Trennlinien. */
.jh .jh-steps { padding-top: clamp(44px, 4.6vw, 84px); }
.jh .jh-steps > .jh-wrap { max-width: calc(var(--jh-stage) + 2 * var(--jh-gutter)); } /* gleiche Breite wie die Vignette */
.jh .jh-steps-bar {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.85fr);
  border: 1px solid var(--jh-line-strong);
  border-radius: 30px;
  background: var(--jh-surface);
  overflow: hidden;
}
.jh .jh-steps-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.4vw, 40px);
  border-right: 1px solid var(--jh-line);
  background: radial-gradient(100% 80% at 0% 0%, rgb(var(--jh-volt-rgb) / .07), transparent 70%);
}
html body .jh .jh-steps-head .jh-text { max-width: 28ch; margin-top: 16px; font-size: 1rem; }
.jh .jh-steps-cta { margin-top: auto; padding-top: 26px; }
.jh .jh-steps-body { --jh-pad: clamp(22px, 2.2vw, 36px); --jh-track-from: scaleX(0); position: relative; }
.jh .jh-steps-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 100%; }
.jh .jh-steps-track { position: absolute; left: calc(var(--jh-pad) + 22px); top: calc(var(--jh-pad) + 22px); width: calc(200% / 3); height: 1px; background: var(--jh-line-strong); }
.jh .jh-steps-track > span { display: block; width: 100%; height: 100%; background: var(--f-grad); box-shadow: 0 0 14px var(--jh-glow); transform-origin: 0 0; }
.jh .jh-step { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--jh-pad); }
.jh .jh-step + .jh-step { border-left: 1px solid var(--jh-line); }
.jh .jh-step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--jh-line-strong);
  border-radius: 50%;
  background: var(--jh-surface);
  color: var(--jh-text);
}
.jh .jh-step-node .icon { width: 19px; height: 19px; }
.jh .jh-step-node::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1px var(--jh-volt), 0 0 22px var(--jh-glow); opacity: 1; }
.jh .jh-step-n { display: block; margin-bottom: 8px; font: 500 .76rem/1 var(--jh-mono); letter-spacing: .02em; color: var(--jh-faint); }
html body .jh .jh-step p { max-width: 30ch; margin-top: 8px; font-size: .95rem; line-height: 1.5; color: var(--jh-muted); }
/* Mini-Oberflaechen (B) als gedaempfte Bildschirm-Ausschnitte: feiner Rahmen um eine leicht hellere Flaeche, die
   Elemente darin ohne Knopf-Fuellung - sie sollen nicht wie echte Bedienelemente wirken (nicht klickbar).
   Direkt unter dem Text; am Desktop stehen sie per Subgrid in allen drei Zellen auf gleicher Hoehe (s. u.). */
.jh .jh-step-mock {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 8px;
  max-width: 380px;
  min-height: 66px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid var(--jh-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .018);
  pointer-events: none;
  user-select: none;
}
.jh .jh-mock-btn { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px 0 12px; border: 1px solid color-mix(in srgb, var(--jh-discord) 34%, transparent); border-radius: 999px; background: transparent; color: var(--jh-muted); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.jh .jh-mock-btn .icon { width: 16px; height: 16px; color: var(--jh-discord); }
.jh .jh-mock-row { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; max-width: 290px; height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--jh-line); border-radius: 14px; background: transparent; }
.jh .jh-mock-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--jh-twitch) 16%, var(--jh-surface-3)); color: var(--jh-twitch); }
.jh .jh-mock-ico .icon { width: 15px; height: 15px; }
.jh .jh-mock-row b { min-width: 0; overflow: hidden; font-size: .84rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.jh .jh-mock-ok { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font: 600 .72rem/1 var(--jh-mono); color: var(--jh-volt); white-space: nowrap; }
.jh .jh-mock-ok .jh-tick { width: 13px; height: 13px; }
.jh .jh-mock-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--jh-line-strong); border-radius: 999px; background: transparent; font-size: .78rem; font-weight: 600; color: var(--jh-muted); white-space: nowrap; }
/* Desktop: Knoten, Nummer, Titel, Text und Ausschnitt stehen per Subgrid in allen drei Zellen auf gleicher Hoehe;
   uebriger Platz sammelt sich unten (letzte 1fr-Zeile) statt zwischen Text und Ausschnitt. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    .jh .jh-steps-list { grid-template-rows: repeat(5, auto) 1fr; }
    .jh .jh-step { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .jh .jh-step > .jh-step-node { justify-self: start; }
  }
}
.jh .jh-mock-chip .jh-tick,
.jh .jh-mock-chip .icon { width: 13px; height: 13px; }
.jh .jh-mock-chip.is-on { border-color: color-mix(in srgb, var(--jh-volt) 38%, transparent); color: var(--jh-text); }
.jh .jh-mock-chip.is-on .jh-tick { color: var(--jh-volt); }

/* ================================================================ Funktionen (Bereich aus B, im A-Stil)
   Filter = echte Radio-Knoepfe; Hervorheben/Abdunkeln und die Zaehler je Bereich laufen per :has() ohne JavaScript.
   Abgedunkelt wird nur ueber opacity/transform, damit nichts springt. */
.jh .jh-features { padding-top: clamp(72px, 7.6vw, 140px); }
.jh .jh-feat-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.jh .jh-feat-head { max-width: 1100px; }
html body .jh .jh-feat-head .jh-lead { max-width: 40ch; margin-top: 28px; }
html body .jh .jh-feat-head .jh-lead b { color: var(--jh-text); font-weight: 650; }
.jh .jh-filter-bar { position: relative; flex: none; }

.jh .jh-filter {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--jh-line-strong);
  border-radius: 999px;
  background: var(--jh-surface);
  box-shadow: 0 14px 40px -24px rgba(0, 0, 0, .35);
}
html body .jh .jh-filter label {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--jh-muted);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .3s ease;
}
.jh .jh-filter label::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--jh-text); opacity: 0; transform: scale(.9); transition: opacity .35s var(--jh-ease), transform .45s var(--jh-ease); }
html body .jh .jh-filter label:hover { color: var(--jh-text); }
.jh .jh-filter label:hover::before { opacity: .07; transform: none; }
html body .jh .jh-filter small { display: inline-grid; place-items: center; min-width: 28px; height: 23px; padding: 0 7px; border-radius: 999px; background: var(--jh-surface-3); color: var(--jh-muted); font: 650 .8125rem/1 var(--jh-mono); letter-spacing: 0; }
html body .jh .jh-filter input:checked + label { color: var(--jh-bg); }
.jh .jh-filter input:checked + label::before { opacity: 1; transform: none; }
html body .jh .jh-filter input:checked + label small { background: var(--jh-volt); color: var(--jh-volt-ink); box-shadow: 0 0 14px var(--jh-glow); }
.jh .jh-filter input:focus-visible + label { outline: 2px solid var(--jh-focus); outline-offset: 2px; }
.jh .jh-filter .jh-sr { left: 0; top: 0; } /* versteckte Radios im Feld halten - kein Springen beim Fokus */

.jh .jh-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(32px, 3.6vw, 64px); }
.jh .jh-area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.3vw, 40px);
  border: 1px solid var(--jh-line-strong);
  border-radius: 30px;
  background: var(--jh-surface);
}
/* Lichtschein unter der Maus (joghurt-home.js setzt --mx/--my). Kein farbiger Schein je Bereich mehr - die
   Bereichsfarbe steht nur noch am Logo-Icon (ein Akzent: Volt). */
.jh .jh-area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--jh-text) 5%, transparent), transparent 62%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.jh .jh-area:hover::after { opacity: 1; }
.jh .jh-area-head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--jh-line); }
.jh .jh-area-ico,
.jh .jh-kicker-ico {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid color-mix(in srgb, var(--jh-area) 30%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--jh-area) 9%, var(--jh-surface));
  color: var(--jh-area);
}
.jh .jh-area-title { display: grid; flex: 1; gap: 3px; min-width: 0; }
.jh .jh-area-title h3 { font-size: clamp(1.45rem, 1.75vw, 1.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
html body .jh .jh-area-title small { font-size: .88rem; line-height: 1.35; color: var(--jh-faint); }
/* Zaehler je Bereich: zwei Fassungen uebereinander, nur beim Filtern blendet die passende ein (bei "Alle" leer) */
.jh .jh-area-titlerow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.jh .jh-area-n { display: grid; flex: none; }
.jh .jh-area-n > span { grid-area: 1 / 1; justify-self: end; padding: 5px 10px; border-radius: 999px; background: var(--jh-surface-2); color: var(--jh-muted); font: 650 .8125rem/1.25 var(--jh-mono); letter-spacing: 0; white-space: nowrap; opacity: 0; transform: translate3d(0, 7px, 0); transition: opacity .35s var(--jh-ease), transform .5s var(--jh-ease); }
.jh .jh-area-n > .jh-n-free { background: color-mix(in srgb, var(--jh-volt) 22%, transparent); color: var(--jh-text); }
.jh .jh-area-n > .jh-n-pro { background: var(--jh-pro-bg); color: var(--jh-pro-fg); }

.jh .jh-rows { display: grid; }
.jh .jh-row { position: relative; display: flex; gap: 16px; padding: 16px 0 17px; border-top: 1px solid var(--jh-line); transition: opacity .45s var(--jh-ease); }
.jh .jh-row:first-child { border-top-color: transparent; }
.jh .jh-row-txt b,
html body .jh .jh-row-txt small { transition: color .45s var(--jh-ease); }
/* A: Volt-Linie zieht beim Zeigen ueber die Zeile */
.jh .jh-row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--jh-volt); box-shadow: 0 0 10px var(--jh-glow); transform: scaleX(0); transform-origin: 0 0; transition: transform .7s var(--jh-ease); }
.jh .jh-row:hover::before { transform: none; }
.jh .jh-row-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--jh-line); border-radius: 13px; background: var(--jh-surface-2); color: var(--jh-text); transition: transform .5s var(--jh-ease), border-color .3s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease, opacity .45s var(--jh-ease); }
.jh .jh-row:hover .jh-row-ico { transform: translate3d(0, -2px, 0); }
.jh .jh-row-txt { display: grid; align-content: start; gap: 3px; min-width: 0; padding-top: 1px; }
.jh .jh-row-txt b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.04rem; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
html body .jh .jh-row-txt small { font-size: .93rem; line-height: 1.45; color: var(--jh-muted); }

/* Filter-Zustaende. Abgedunkelt bleibt lesbar: Icon und Marke treten zurueck, die Texte sinken auf gedaempfte
   Farben (Titel #8c8c92 ~5,6:1, Kurztext #737378 ~4:1) statt die ganze Zeile durchsichtig zu machen. */
#funktionen:has(#jh-f-free:checked) .jh-row[data-tier="pro"] .jh-row-ico,
#funktionen:has(#jh-f-pro:checked) .jh-row[data-tier="free"] .jh-row-ico { opacity: .4; }
/* PRO-Marke in abgedunkelten Zeilen: eigene gedaempfte Farbe statt opacity (bleibt >= 4,5:1) */
#funktionen:has(#jh-f-free:checked) .jh-row[data-tier="pro"] .jh-pro { background: rgb(var(--jh-volt-rgb) / .06); color: var(--jh-dim-pro); }
#funktionen:has(#jh-f-free:checked) .jh-row[data-tier="pro"] .jh-row-txt b,
#funktionen:has(#jh-f-pro:checked) .jh-row[data-tier="free"] .jh-row-txt b { color: var(--jh-dim-title); }
html body #funktionen:has(#jh-f-free:checked) .jh-row[data-tier="pro"] .jh-row-txt small,
html body #funktionen:has(#jh-f-pro:checked) .jh-row[data-tier="free"] .jh-row-txt small { color: var(--jh-dim-small); }
.jh .jh-row .jh-pro { transition: color .45s var(--jh-ease), background-color .45s var(--jh-ease); }
#funktionen:has(#jh-f-free:checked) .jh-row[data-tier="free"] .jh-row-ico { border-color: color-mix(in srgb, var(--jh-volt) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--jh-volt) 30%, transparent), 0 0 18px -4px var(--jh-glow); }
#funktionen:has(#jh-f-pro:checked) .jh-row[data-tier="pro"] .jh-row-ico { border-color: transparent; background: var(--jh-pro-bg); color: var(--jh-pro-fg); box-shadow: 0 0 18px -6px var(--jh-glow); }
#funktionen:has(#jh-f-free:checked) .jh-n-free,
#funktionen:has(#jh-f-pro:checked) .jh-n-pro { opacity: 1; transform: none; }

/* Legende als ein Satz mit der Marke im Fluss - bricht mobil nicht mehr als einsame Marke um (Jury) */
html body .jh .jh-legend { margin-top: 26px; font-size: .88rem; line-height: 1.6; color: var(--jh-faint); }
.jh .jh-legend .jh-pro { margin-right: 4px; vertical-align: 1px; }

/* Ohne :has() wuerde der Filter nichts bewirken - dann lieber gar nicht zeigen (die Liste bleibt komplett) */
@supports not selector(:has(*)) {
  .jh .jh-filter-bar { display: none !important; }
}

/* ================================================================ Begleit-App
   Rahmenlos wie A: links die ganze Aussage (Kicker, Ueberschrift, Text, Download, Hinweise) in EINER Spalte, rechts
   EIN App-Fenster frei auf Schwarz mit leisem Volt-Schein. Im Fenster oben der Weg (Dein Chat -> Joghurt.bot ->
   Dieser PC), darunter das Protokoll: links der Ausloeser, rechts was am PC passiert. Nur die oberste Zeile leuchtet;
   proto-e.js laesst alle ~4 s einen Eintrag von oben einlaufen.
   Alle Masse im Fenster stehen in em: --jh-win-fs laesst das Fenster auf grossen Bildschirmen mitwachsen. */
.jh .jh-app { padding-bottom: 0; }
.jh .jh-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 5vw, 128px);
}
.jh .jh-app-copy { position: relative; }
.jh .jh-kicker-ico { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 8px 22px -12px var(--jh-area); }
.jh .jh-h2--app { margin-top: 26px; font-size: clamp(2.4rem, 4vw, 5.6rem); line-height: .98; }
html body .jh .jh-app-copy .jh-text { max-width: 38ch; margin-top: 28px; }
.jh .jh-app-cta { display: grid; justify-items: start; gap: 22px; margin-top: 40px; }
.jh .jh-app-cta .jh-btn--lg { min-height: 58px; padding: 0 30px 0 26px; }
.jh .jh-app-facts { display: grid; gap: 10px; }
.jh .jh-app-facts li { display: flex; align-items: center; gap: 10px; font-size: .9rem; line-height: 1.35; color: var(--jh-faint); }
.jh .jh-app-facts .icon { flex: none; width: 15px; color: var(--jh-muted); }
.jh .jh-app-facts .jh-pro { flex: none; }

.jh .jh-app-vis { --jh-win-fs: clamp(15px, calc(8.6px + .46vw), 19px); position: relative; isolation: isolate; width: 100%; }
.jh .jh-app-vis::before { /* leiser Volt-Schein hinter dem Fenster statt eines Rahmens um den Abschnitt */
  content: "";
  position: absolute;
  inset: -16% -12% -20%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(var(--jh-volt-rgb) / .085), transparent 78%);
  pointer-events: none;
}
.jh .jh-win {
  position: relative;
  border: 1px solid var(--jh-line-strong);
  border-radius: 1.4em;
  background: linear-gradient(180deg, var(--jh-surface-2), var(--jh-surface) 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 60px 140px -60px #000, 0 40px 120px -70px var(--jh-glow);
  font-size: var(--jh-win-fs);
  line-height: 1.4;
  overflow: hidden;
}
.jh .jh-win::after { content: ""; position: absolute; inset: 0 14% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--jh-volt), transparent); opacity: .45; }
.jh .jh-win-bar { display: flex; align-items: center; gap: .625em; height: 2.75em; padding: 0 1em; border-bottom: 1px solid var(--jh-line); }
.jh .jh-win-bar img { width: max(16px, 1em); height: auto; }
.jh .jh-win-title { font-size: .82em; font-weight: 600; color: var(--jh-text); }
.jh .jh-win-state { display: inline-flex; align-items: center; gap: .6em; margin-left: auto; font-size: .74em; font-weight: 500; color: var(--jh-faint); white-space: nowrap; }
.jh .jh-win-state .jh-pulse { width: 7px; height: 7px; }
.jh .jh-win-ctl { display: flex; align-items: center; gap: 1.125em; margin-left: 1.4em; color: var(--jh-faint); }
.jh .jh-win-ctl i { display: block; width: .625em; height: .625em; }
.jh .jh-win-ctl i:nth-child(1) { height: 1.5px; background: currentColor; }
.jh .jh-win-ctl i:nth-child(2) { border: 1.5px solid currentColor; border-radius: 2px; }
.jh .jh-win-ctl i:nth-child(3) { background: linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%); }

/* Weg: Dein Chat -> Joghurt.bot -> Dieser PC */
.jh .jh-route { display: flex; align-items: center; padding: 1.125em 1.25em; border-bottom: 1px solid var(--jh-line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.jh .jh-node { display: inline-flex; flex: none; align-items: center; gap: .5625em; height: 2.25em; padding: 0 .875em 0 .3125em; border: 1px solid var(--jh-line); border-radius: 999px; background: var(--jh-surface-2); white-space: nowrap; }
.jh .jh-node-t { font-size: .8em; font-weight: 600; color: var(--jh-text); }
.jh .jh-node-ico { position: relative; display: grid; place-items: center; width: 1.625em; height: 1.625em; border-radius: 50%; background: var(--jh-surface-3); color: var(--jh-muted); }
.jh .jh-win :is(.jh-node-ico, .jh-src) .icon { width: .9375em; height: .9375em; }
.jh .jh-node-ico.is-twitch { color: var(--jh-twitch); }
.jh .jh-node-ico--bot { width: 1.75em; height: 1.75em; margin-block: -.0625em; }
.jh .jh-node-ico--bot img { width: max(16px, 1em); height: auto; }
.jh .jh-node--pc { border-color: color-mix(in srgb, var(--jh-volt) 38%, transparent); }
.jh .jh-node--pc .jh-node-ico { background: color-mix(in srgb, var(--jh-volt) 14%, var(--jh-surface-2)); color: var(--jh-volt); }
.jh .jh-node--pc .jh-node-ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1px var(--jh-volt), 0 0 18px var(--jh-glow); opacity: 0; }
.jh .jh-wire { position: relative; flex: 1; min-width: 1.125em; height: 1px; margin: 0 .625em; background: var(--jh-line-strong); overflow: hidden; }
.jh .jh-wire i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--jh-volt), transparent); transform: translate3d(-100%, 0, 0); }

/* Protokoll */
.jh .jh-log { padding: .75em .875em .875em; }
.jh .jh-log-head,
.jh .jh-log-row { display: grid; grid-template-columns: 2.25em minmax(0, 1fr) 1.125em minmax(0, 1.1fr) 4em; align-items: center; column-gap: .875em; }
.jh .jh-log-head { padding: .375em .875em .625em; }
.jh .jh-log-head span { font-size: .72em; font-weight: 600; letter-spacing: .02em; color: var(--jh-faint); }
.jh .jh-log-head span:first-child { grid-column: 1 / 3; }
.jh .jh-log-head span:last-child { grid-column: 4 / 6; }
.jh .jh-log-list { display: grid; }
.jh .jh-log-row {
  position: relative;
  min-height: 4.375em;
  padding: .75em .875em;
  border: 1px solid transparent;
  border-radius: 1em;
  transition: transform .75s var(--jh-ease), background-color .5s ease, border-color .5s ease;
}
/* Trennlinie zwischen den Zeilen - gerade und eingerueckt, entfaellt rund um die leuchtende Zeile */
.jh .jh-log-row + .jh-log-row::after { content: ""; position: absolute; left: .875em; right: .875em; top: -1px; height: 1px; background: var(--jh-line); transition: opacity .5s ease; }
.jh .jh-log-row.is-hot::after,
.jh .jh-log-row.is-hot + .jh-log-row::after { opacity: 0; }
.jh .jh-log-row.is-hot { border-color: var(--jh-line-strong); background: var(--jh-surface-2); }
.jh .jh-log-row::before { content: ""; position: absolute; left: -1px; top: 1em; bottom: 1em; width: 2px; border-radius: 0 2px 2px 0; background: var(--jh-volt); box-shadow: 0 0 12px var(--jh-glow); opacity: 0; transition: opacity .5s ease; }
.jh .jh-log-row.is-hot::before { opacity: 1; }
.jh .jh-src { display: grid; place-items: center; width: 2.25em; height: 2.25em; border: 1px solid var(--jh-line); border-radius: .6875em; background: var(--jh-surface); color: var(--jh-muted); }
.jh .jh-src.is-twitch { color: var(--jh-twitch); }
/* Die eigene Zeile (Stimme, lokal) ist neutral statt Twitch-farbig und traegt die Marke "lokal" */
.jh .jh-src--you { border-color: color-mix(in srgb, var(--jh-text) 20%, transparent); background: var(--jh-surface-2); color: var(--jh-text); }
.jh .jh-who { display: grid; gap: .125em; min-width: 0; }
.jh .jh-who b { display: flex; align-items: center; gap: .5em; min-width: 0; overflow: hidden; font-size: .9em; font-weight: 650; letter-spacing: -.015em; white-space: nowrap; }
.jh .jh-local { display: inline-flex; align-items: center; height: 1.6em; padding: 0 .6em; border: 1px solid var(--jh-line-strong); border-radius: 999px; font: 600 .8em/1 var(--jh-mono); letter-spacing: .02em; color: var(--jh-muted); }
html body .jh .jh-who small { overflow: hidden; font-size: .82em; color: var(--jh-faint); white-space: nowrap; text-overflow: ellipsis; }
.jh .jh-to { display: grid; place-items: center; color: var(--jh-faint); opacity: .7; transition: color .5s ease, opacity .5s ease; }
.jh .jh-to .jh-arrow { width: 1em; height: 1em; }
.jh .jh-log-row.is-hot .jh-to { color: var(--jh-volt); opacity: 1; }
.jh .jh-res { display: grid; justify-items: start; gap: .3125em; min-width: 0; }
.jh .jh-res-main { display: inline-flex; align-items: center; gap: .57em; max-width: 100%; font-size: .88em; font-weight: 600; color: var(--jh-text); white-space: nowrap; }
.jh .jh-res-main > .icon { flex: none; width: 1.07em; height: 1.07em; color: var(--jh-muted); }
html body .jh .jh-res small { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5em; font-size: .8em; line-height: 1.2; color: var(--jh-faint); }
.jh .jh-res .jh-pro { height: 1.7em; padding: 0 .5em; border-radius: .5em; font-size: .86em; }
.jh .jh-key {
  position: relative;
  display: inline-block;
  min-width: 2.7em;
  padding: .56em 1.04em .64em;
  border: 1px solid var(--jh-line-strong);
  border-radius: .72em;
  background: linear-gradient(180deg, var(--jh-surface-3), var(--jh-surface-2));
  box-shadow: 0 2px 0 rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .06);
  font: 600 .886em/1 var(--jh-font);
  color: var(--jh-text);
  text-align: center;
}
.jh .jh-key::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1px var(--jh-volt), 0 0 22px var(--jh-glow); opacity: 0; }
.jh .jh-time { justify-self: end; font: 500 .8em/1 var(--jh-mono); letter-spacing: 0; color: var(--jh-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.jh .jh-log-row.is-hot .jh-time { color: var(--jh-volt); }

/* "Probier's aus" (Idee aus D): drei Ausloeser unter dem Fenster spielen das passende Ereignis ab. Braucht
   JavaScript - darum per hidden versteckt, bis joghurt-home.js die Zeile freigibt. */
.jh .jh-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; }
html body .jh .jh-try-label { margin-right: 4px; font-size: .84rem; font-weight: 600; color: var(--jh-faint); }
html body .jh button.jh-try-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 0 15px 0 11px;
  border: 1px solid var(--jh-line-strong);
  border-radius: 999px;
  background: var(--jh-surface);
  box-shadow: none;
  color: var(--jh-text);
  font: 600 .84rem/1 var(--jh-font);
  letter-spacing: -.01em;
  text-transform: none;
  cursor: pointer;
  transform: none;
  transition: border-color .25s ease, background-color .25s ease, transform .45s var(--jh-ease);
  -webkit-tap-highlight-color: transparent;
}
html body .jh button.jh-try-btn:hover { border-color: color-mix(in srgb, var(--jh-volt) 45%, transparent); background: var(--jh-surface-2); box-shadow: none; color: var(--jh-text); transform: translate3d(0, -1px, 0); }
html body .jh button.jh-try-btn:active { transform: scale(.97); transition-duration: .12s; }
html body .jh button.jh-try-btn:focus-visible { outline: 2px solid var(--jh-focus); outline-offset: 3px; box-shadow: none; }
.jh .jh-try-btn .icon { flex: none; width: 15px; height: 15px; color: var(--jh-muted); }
.jh .jh-try-btn.is-twitch .icon { color: var(--jh-twitch); }
.jh .jh-try-btn small { font: 500 .8125rem/1 var(--jh-font); color: var(--jh-faint); }
/* Pause-Knopf fuer den Selbstlauf: rechts abgesetzt, ruhig; Symbol wechselt zwischen Pause (||) und Abspielen */
html body .jh button.jh-try-pause { margin-left: auto; padding: 0 15px 0 13px; border-color: var(--jh-line); background: transparent; color: var(--jh-muted); }
html body .jh button.jh-try-pause:hover { color: var(--jh-text); }
.jh .jh-pause-ico { position: relative; flex: none; width: 10px; height: 11px; border-inline: 3px solid currentColor; }
.jh .jh-try-pause.is-paused .jh-pause-ico { width: 0; height: 0; border-block: 6px solid transparent; border-inline: 0; border-left: 10px solid currentColor; }

/* ================================================================ Preise (A: grosse Zahlen, Hinweiszeile, Pro-Karte mit
   leuchtendem Rand und vollem Akzent-Knopf, Founder-Balken, Laufzeiten-Karten; B: Marke neben dem Namen,
   25 Plaetze als Segmente, Lichtkante oben an Pro, Trennlinie vor den Leistungen). Keine Vergleichstabelle. */
/* Kopf linksbuendig wie Funktionen, App und FAQ - nur der Schluss steht bewusst mittig */
html body .jh .jh-pricing .jh-head .jh-lead { max-width: 46ch; }
.jh .jh-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(56px, 7vw, 104px); }
.jh .jh-plan {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 44px);
  border: 1px solid var(--jh-line-strong);
  border-radius: 30px;
  background: var(--jh-surface);
  color: var(--jh-text);
  overflow: hidden;
}
/* Die Laufzeiten-Leiste steht im Markup direkt hinter Pro (Lese-/Tab-Reihenfolge); am Desktop legt sie grid-row
   unter die drei Karten. Die Karten stehen fest in Zeile 1 - so ruecken sie nicht um die Leiste herum. */
.jh .jh-plans > .jh-plan { grid-row: 1; }
.jh .jh-plans > .jh-terms { grid-column: 1 / -1; grid-row: 2; }
@supports (grid-template-rows: subgrid) {
  .jh .jh-plans { grid-template-rows: repeat(6, auto); }
  .jh .jh-plan { display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .jh .jh-plans > .jh-plan { grid-row: 1 / span 6; }
  .jh .jh-plans > .jh-terms { grid-row: 7; }
}
.jh .jh-plan::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--jh-text) 6%, transparent), transparent 62%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.jh .jh-plan:hover::after { opacity: 1; }
.jh .jh-plan--pro {
  border-color: transparent;
  /* B: Lichtkante oben - fast weisses Licht AUF der Kante (border-box, scheint durch den halbdurchsichtigen Rand),
     darunter ein schmaler Schein, damit sie sich vom Volt-Rand abhebt */
  background:
    linear-gradient(90deg, transparent, var(--f-edge) 50%, transparent) 50% 0 / 64% 2px no-repeat border-box,
    radial-gradient(40% 46px at 50% 0, rgb(var(--f-glow-a) / .2), transparent) 50% 0 / 100% 64px no-repeat padding-box,
    linear-gradient(var(--jh-surface), var(--jh-surface)) padding-box,
    var(--f-grad-soft) border-box;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--jh-volt) 22%, transparent), 0 40px 120px -40px var(--jh-glow);
}
.jh .jh-plan--pro::before { content: ""; position: absolute; left: -20%; right: -20%; top: -45%; z-index: -1; height: 80%; background: radial-gradient(closest-side, var(--jh-glow-soft), transparent); pointer-events: none; }
/* Kopf wie in A: Marke bei allen drei Karten UNTER dem Namen - so stehen die Namen ueberall gleich hoch */
.jh .jh-plan-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.jh .jh-plan-name { font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; }
.jh .jh-plan-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--jh-line-strong); border-radius: 999px; background: var(--jh-surface-2); color: var(--jh-muted); font-size: .78rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.jh .jh-plan--pro .jh-plan-chip { border-color: transparent; background: rgb(var(--jh-volt-rgb) / .14); color: var(--jh-volt); }
.jh .jh-plan--founder:not(.is-soldout) .jh-plan-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jh-volt); box-shadow: 0 0 10px var(--jh-glow); }
html body .jh p.jh-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--jh-text); }
.jh .jh-plan-num { font-size: clamp(3rem, 4.4vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.jh .jh-plan-per { font-size: .98rem; color: var(--jh-muted); }
.jh .jh-plan-meta { display: grid; align-content: start; gap: 12px; min-height: 22px; margin: 14px 0 28px; }
.jh .jh-plan-hint { font-size: .9rem; color: var(--jh-muted); }
.jh .jh-plan-hint b { color: var(--jh-text); font-weight: 700; }
/* Founder-Balken in der Fusszeile der Karte: 25 Segmente wie ein Fortschrittsbalken - gefuellt (Volt) = schon
   vergeben, hell abgesetzt = noch frei. Die Zahl steht im Hinweis oben; am Balken nur eine kleine Legende
   (Jury: ein fast voller Leuchtbalken las sich ohne Erklaerung als "fast ausverkauft"). */
.jh .jh-seatbar { display: grid; gap: 10px; max-width: 380px; }
.jh .jh-seats { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; height: 6px; }
.jh .jh-seats i { display: block; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.jh .jh-seats i.is-taken { background: var(--jh-volt); box-shadow: 0 0 8px -1px var(--jh-glow); }
.jh .jh-seat-cap { display: flex; gap: 18px; font-size: .8125rem; line-height: 1.2; color: var(--jh-faint); }
.jh .jh-seat-cap > span { display: inline-flex; align-items: center; gap: 7px; }
.jh .jh-seat-cap i { width: 10px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.jh .jh-seat-cap .is-taken i { background: var(--jh-volt); }
.jh .jh-checks { display: grid; align-content: start; gap: 14px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--jh-line); }
.jh .jh-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; line-height: 1.4; }
.jh .jh-checks .jh-tick { flex: none; margin-top: 2px; color: var(--jh-accent); }
.jh .jh-checks li.is-soon { color: var(--jh-muted); }
.jh .jh-checks li.is-soon .icon { flex: none; margin-top: 2px; color: var(--jh-faint); }
.jh .jh-soon { display: inline-flex; align-items: center; height: 22px; margin-left: 4px; padding: 0 8px; border: 1px solid var(--jh-line-strong); border-radius: 999px; font-size: .8125rem; font-weight: 650; line-height: 1; color: var(--jh-faint); white-space: nowrap; vertical-align: 1px; }
.jh .jh-plan-extra:not(:empty) { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--jh-line); }
.jh .jh-plan--founder.is-soldout .jh-plan-num { color: var(--jh-faint); }
.jh .jh-nw { white-space: nowrap; }

html body .jh a.jh-plan-more { min-height: 40px; font-size: .92rem; font-weight: 600; color: var(--jh-volt); }
html body .jh a.jh-plan-more:hover { color: var(--jh-text); }

/* Pro-Laufzeiten (partials/proTermOptions) als Leiste unter den Tarifen: Titel links, Karten daneben, Hinweis darunter.
   Sichtbar an Pro gekoppelt: Volt-Rand wie die Pro-Karte und die PRO-Marke vor dem Titel; mobil direkt hinter Pro. */
.jh .jh-terms {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 40px);
  border: 1px solid color-mix(in srgb, var(--jh-volt) 34%, transparent);
  border-radius: 30px;
  background: radial-gradient(60% 120% at 0% 0%, rgb(var(--jh-volt-rgb) / .07), transparent 60%), var(--jh-surface);
  scroll-margin-top: 12px; /* die Seite hat schon scroll-padding fuer die Navigation */
}
html body .jh .jh-terms .pro-terms { display: grid; grid-template-columns: minmax(180px, .8fr) repeat(3, minmax(0, 1fr)); gap: 14px clamp(12px, 1.2vw, 18px); align-items: stretch; margin: 0; }
html body .jh .jh-terms .pro-terms-title { grid-row: 1 / span 2; align-self: center; max-width: 12ch; font-size: clamp(1.3rem, 1.6vw, 1.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--jh-text); }
html body .jh .jh-terms .pro-terms-title::before {
  content: "PRO";
  content: "PRO" / ""; /* rein optisch, der Titel sagt schon "Pro" */
  display: flex;
  align-items: center;
  width: max-content;
  height: 19px;
  margin-bottom: 12px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--jh-pro-bg);
  color: var(--jh-pro-fg);
  font: 700 .72rem/1 var(--jh-mono);
  letter-spacing: .08em;
}
html body .jh .jh-terms .pro-terms-foot { grid-column: 2 / -1; max-width: 80ch; margin: 0; font-size: .875rem; line-height: 1.5; color: var(--jh-faint); }
/* Kartennotiz: zwei kurze Zeilen untereinander statt einer umbrechenden Kette mit "·"; "danach 9,99 € / Monat"
   (dritter Teil) entfaellt hier, das sagt der Hinweis darunter schon. Die "·"-Textknoten verschwinden per font-size 0. */
html body .jh .jh-terms .pro-term-note { display: flex; flex-direction: column; gap: 1px; font-size: 0; line-height: 0; }
html body .jh .jh-terms .pro-term-note > span { font-size: .8125rem; line-height: 1.4; white-space: normal; }
html body .jh .jh-terms .pro-term-note > span:nth-child(3) { display: none; }
html body .jh a.pro-term { position: relative; align-content: start; gap: 4px; padding: 16px 18px; border: 1px solid var(--jh-line-strong); border-radius: 18px; background: var(--jh-surface-2); color: var(--jh-text); transition: border-color .25s ease, transform .45s var(--jh-ease), box-shadow .3s ease; }
html body .jh .pro-term-head { font-size: 1rem; }
html body .jh .pro-term-price { font-size: .92rem; }
html body .jh a.pro-term:hover,
html body .jh a.pro-term:focus-visible { border-color: var(--jh-volt); box-shadow: 0 0 0 1px color-mix(in srgb, var(--jh-volt) 30%, transparent), 0 12px 30px -16px var(--jh-glow); transform: translate3d(0, -2px, 0); }
html body .jh .pro-term-badge { border-color: transparent; background: var(--jh-pro-bg); color: var(--jh-pro-fg); font-family: var(--jh-mono); font-size: .8125rem; }
html body .jh .pro-term-note,
html body .jh .pro-terms-foot { color: var(--jh-faint); }

/* ================================================================ Mehr */
.jh .jh-more { padding-top: 0; padding-bottom: clamp(24px, 3vw, 48px); }
/* Sichtbare, kleine Abschnittszeile - der Abschnitt wirkte sonst wie ein Anhang der Preise */
html body .jh .jh-more-title { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(18px, 2vw, 28px); font-size: .95rem; font-weight: 600; letter-spacing: -.01em; color: var(--jh-muted); }
.jh .jh-more-title::after { content: ""; flex: 1; height: 1px; background: var(--jh-line); }
.jh .jh-more-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.jh .jh-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 44px); border: 1px solid var(--jh-line-strong); border-radius: 30px; background: var(--jh-surface); overflow: hidden; }
.jh .jh-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--jh-text) 6%, transparent), transparent 62%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.jh .jh-tile:hover::after { opacity: 1; }
.jh .jh-tile .jh-h4 { margin-top: 18px; }
html body .jh .jh-tile .jh-text { margin-top: 12px; font-size: 1.02rem; }
.jh .jh-tile .jh-tlink--arrow { margin-top: 18px; align-self: flex-start; } /* direkt unter dem Text statt unten angeklebt */
.jh .jh-tile .jh-kicker .jh-pro { margin-left: 2px; }
.jh .jh-miles { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 40px; }
.jh .jh-miles::before { content: ""; position: absolute; left: 6px; width: calc((200% + 32px) / 3); top: 46px; height: 1px; background: linear-gradient(90deg, var(--jh-line-strong), var(--jh-volt)); }
.jh .jh-mile-dot { position: relative; z-index: 1; display: block; width: 13px; height: 13px; border: 2px solid var(--jh-volt); border-radius: 50%; background: var(--jh-surface); }
.jh .jh-miles li:last-child .jh-mile-dot { background: var(--jh-volt); box-shadow: 0 0 16px var(--jh-glow); }
.jh .jh-mile-n { display: block; min-width: 3ch; margin-top: 16px; font-size: clamp(2.2rem, 3.2vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.jh .jh-mile-t { display: block; max-width: 20ch; margin-top: 8px; font-size: .88rem; line-height: 1.4; color: var(--jh-muted); }
/* Updates-Kachel: Kopf wie bei den Nachbarn (Kicker, Ueberschrift), die Linkliste schliesst unten an - keine Luecke
   mehr zwischen Kicker und Liste (Jury). Unterzeilen zeigen echte Eintraege, sobald es welche gibt (D). */
.jh .jh-links-list { margin-top: auto; padding-top: 22px; }
html body .jh a.jh-row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 12px 0; border-top: 1px solid var(--jh-line); color: var(--jh-text); }
.jh .jh-row-link > span { min-width: 0; }
.jh .jh-row-link b { display: block; font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; }
html body .jh .jh-row-link small { display: block; overflow: hidden; font-size: .85rem; color: var(--jh-faint); white-space: nowrap; text-overflow: ellipsis; }
html body .jh .jh-row-link small em { font-style: normal; font-weight: 600; color: var(--jh-volt); }
.jh .jh-row-link .jh-arrow { flex: none; color: var(--jh-faint); transition: transform .45s var(--jh-ease), color .25s ease; }
.jh .jh-row-link:hover .jh-arrow { transform: translate3d(4px, 0, 0); color: var(--jh-text); }

/* ================================================================ FAQ */
.jh .jh-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 128px); align-items: start; }
.jh .jh-faq-head { position: sticky; top: calc(var(--jh-nav-h) + 40px); }
html body .jh .jh-faq-head .jh-text { margin-bottom: 28px; }
.jh .jh-faq-list details { border-bottom: 1px solid var(--jh-line-strong); }
.jh .jh-faq-list details:first-child { border-top: 1px solid var(--jh-line-strong); }
.jh .jh-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 18px 0; font-size: clamp(1.1rem, 1.5vw, 1.42rem); font-weight: 600; letter-spacing: -.026em; line-height: 1.25; cursor: pointer; list-style: none; }
.jh .jh-faq-list summary::-webkit-details-marker { display: none; }
.jh .jh-plus { position: relative; flex: none; width: 38px; height: 38px; border: 1px solid var(--jh-line-strong); border-radius: 50%; color: var(--jh-text); }
.jh .jh-plus::before,
.jh .jh-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--jh-ease); }
.jh .jh-plus::after { transform: rotate(90deg); }
.jh .jh-faq-list summary:hover .jh-plus { border-color: color-mix(in srgb, var(--jh-text) 40%, transparent); }
.jh .jh-faq-list details[open] .jh-plus { border-color: transparent; background: var(--jh-primary-bg); color: var(--jh-primary-fg); }
.jh .jh-faq-list details[open] .jh-plus::after { transform: rotate(0deg); }
.jh .jh-faq-a { padding: 0 62px 28px 0; }
html body .jh .jh-faq-a p { max-width: 60ch; font-size: 1.03rem; line-height: 1.6; color: var(--jh-muted); }

/* ================================================================ Abschluss + Fuss */
/* FAQ -> Schluss: vorher ~500 px Schwarz zwischen beiden (Jury) - jetzt etwa die Haelfte */
.jh .jh-faq { padding-bottom: clamp(32px, 4vw, 72px); }
.jh .jh-final { position: relative; padding-block: clamp(88px, 10vw, 176px); overflow: clip; text-align: center; }
/* Lichtkegel: Mitte deutlich im Abschnitt, nach unten weich ausgeblendet - er laeuft vor der Kante zur Fusszeile aus,
   statt dort als gerade Linie abzubrechen. Die Hoehe ist an den Abschnitt gekoppelt (hoechstens 2:1 zur Breite):
   unter ~1400 px ragte der 2:1-Kegel sonst bis zu 290 px ueber den Abschnitt und overflow:clip schnitt ihn als
   harte Linie unter der FAQ ab. Oben blendet er zusaetzlich weich ein. */
.jh .jh-final-beam {
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: min(1700px, 170vw);
  height: min(calc(min(1700px, 170vw) / 2), 120%);
  background: radial-gradient(closest-side, rgb(var(--f-glow-a) / .22), rgb(var(--f-glow-b) / .1) 45%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 46%, transparent 84%);
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 46%, transparent 84%);
  transform: translate3d(-50%, 0, 0);
  pointer-events: none;
  transition: opacity 1.6s var(--jh-ease), transform 1.8s var(--jh-ease);
}
.jh .jh-final-inner { position: relative; }
html body .jh .jh-final .jh-lead { margin: 30px auto 0; }
.jh .jh-cta--center { justify-content: center; margin-top: 44px; }
/* Text-Glow auf das Niveau der Knopf-Glows gesenkt (Jury: vorher zu kraeftig) */
.jh .jh-volt-text { color: var(--jh-volt); background: var(--f-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.jh .jh-footer { border-top: 1px solid var(--jh-line); padding-block: 44px 64px; }
.jh .jh-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.jh .jh-footer-brand { display: grid; justify-items: start; gap: 8px; }
.jh .jh-footer .jh-brand img { width: 92px; }
html body .jh .jh-footer p { font-size: .9rem; color: var(--jh-faint); }
.jh .jh-footer-links { display: flex; flex-wrap: wrap; gap: 4px; margin-inline: -12px; }
html body .jh .jh-footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: .92rem; color: var(--jh-muted); transition: color .25s ease; }
html body .jh .jh-footer-links a:hover { color: var(--jh-text); }
html body .jh .jh-footer-links a.jh-totop { gap: 6px; margin-left: auto; } /* bricht er um, steht er bewusst rechts */

/* ================================================================ Bewegung (nur ohne "weniger Bewegung") */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: laeuft per CSS ab dem ersten Bild, ohne JavaScript-Abhaengigkeit. */
  .jh .jh-line > span { animation: jh-rise 1.25s var(--jh-ease) both; animation-delay: calc(.08s + var(--i, 0) * .13s); }
  .jh .jh-hero-lead { animation: jh-fade-up 1s var(--jh-ease) .42s both; }
  .jh .jh-hero .jh-alert { animation: jh-fade-up 1s var(--jh-ease) .5s both; }
  .jh .jh-hero-cta { animation: jh-fade-up 1s var(--jh-ease) .56s both; }
  .jh .jh-trust { animation: jh-fade-up 1s var(--jh-ease) .64s both; }
  .jh .jh-signin,
  .jh .jh-proof { animation: jh-fade-up 1s var(--jh-ease) .72s both; }
  .jh .jh-stage-hint { animation: jh-fade-in 1s ease 1.9s both; }
  .jh .jh-stage { animation: jh-stage-in 1.7s var(--jh-ease) .48s both; }
  .jh .jh-hero-light { animation: jh-fade-in 2.4s ease .6s both; }
  .jh .jh-dv-event { animation: jh-seq-in .8s var(--jh-ease) both; animation-delay: calc(1.5s + var(--i, 0) * .22s); }
  /* per Schalter ausgeloestes Ereignis: sofort von oben einlaufen */
  .jh .jh-dv-event.is-new { animation: jh-log-in .6s var(--jh-ease) both; animation-delay: 0s; }
  .jh .jh-device .jh-sw--flip::before { animation: jh-fade-in .35s ease 2.7s backwards; }
  .jh .jh-device .jh-sw--flip::after { animation: jh-knob .6s var(--jh-ease) 2.7s backwards; }
  .jh .jh-dv-plus { animation: jh-pop .8s var(--jh-ease) 2.9s both; }

  /* Einblenden beim Scrollen (proto-e.js setzt .jh-motion, .is-pending, .is-revealing, .is-shown) */
  .jh.jh-motion [data-jh-reveal].is-pending,
  .jh.jh-motion [data-jh-reveal-group] > .is-pending { opacity: 0; transform: translate3d(0, 40px, 0); }
  .jh.jh-motion .jh-app-vis.is-pending { transform: translate3d(0, 56px, 0) scale(.96); }
  .jh.jh-motion .is-revealing { transition: opacity 1s var(--jh-ease) var(--d, 0s), transform 1.25s var(--jh-ease) var(--d, 0s); }

  /* Funktionsbereich: Icon-Kopf ploppt, Zeilen steigen nacheinander herein */
  /* (eigener Spalten-Versatz statt --d: proto-e.js entfernt --d nach dem Einblenden, das wuerde laufende Ablaeufe verschieben) */
  .jh .jh-areas > .jh-area:nth-child(2) { --jh-col: .09s; }
  .jh .jh-areas > .jh-area:nth-child(3) { --jh-col: .18s; }
  .jh.jh-motion .jh-area.is-shown .jh-area-ico { animation: jh-pop .9s var(--jh-ease) backwards; animation-delay: calc(var(--jh-col, 0s) + .25s); }
  .jh.jh-motion .jh-area.is-shown .jh-row { animation: jh-seq-in .8s var(--jh-ease) backwards; animation-delay: calc(var(--jh-col, 0s) + .3s + var(--i, 0) * .07s); }
  /* Filter: die Zahl im gewaehlten Knopf springt kurz an (CSS-only, startet bei jedem Wechsel neu) */
  .jh .jh-filter input:checked + label small { animation: jh-bump .55s var(--jh-ease); }

  /* Begleit-App: beim Einblenden laufen Weg und Protokoll nacheinander ein (danach .is-settled, damit das
     Umsortieren der Zeilen den Auftakt nicht neu startet) */
  .jh.jh-motion .jh-app-vis.is-shown:not(.is-settled) .jh-node { animation: jh-seq-in .8s var(--jh-ease) backwards; }
  .jh.jh-motion .jh-app-vis.is-shown:not(.is-settled) .jh-node:nth-child(3) { animation-delay: .5s; }
  .jh.jh-motion .jh-app-vis.is-shown:not(.is-settled) .jh-node:nth-child(5) { animation-delay: .7s; }
  .jh.jh-motion .jh-app-vis.is-shown:not(.is-settled) .jh-node:first-child { animation-delay: .3s; }
  .jh.jh-motion .jh-app-vis.is-shown:not(.is-settled) .jh-log-row { animation: jh-seq-in .85s var(--jh-ease) backwards; animation-delay: calc(.75s + var(--i, 0) * .12s); }
  /* Ein Ausloeser wandert ueber den Weg zum PC, der PC-Knoten leuchtet auf, der neue Eintrag laeuft von oben ein */
  /* (from-chat: ganzer Weg, from-pc: Sprachbefehl direkt am PC - nur der PC-Knoten leuchtet) */
  .jh .jh-route.from-chat .jh-wire i { animation: jh-wire-run .6s cubic-bezier(.4, 0, .2, 1) both; }
  .jh .jh-route.from-chat .jh-wire--2 i { animation-delay: .38s; }
  .jh .jh-route.is-firing .jh-node--pc .jh-node-ico::after { animation: jh-flash 1.1s ease .8s both; }
  .jh .jh-route.from-pc .jh-node--pc .jh-node-ico::after { animation-delay: .05s; }
  /* "backwards": nach dem Einlauf haelt die Animation nichts fest - sonst ueberstimmt sie beim naechsten Takt das
     FLIP-transform aus proto-e.js und die Zeile springt statt zu gleiten (proto-e.js nimmt is-enter zusaetzlich ab). */
  .jh .jh-log-row.is-enter { animation: jh-log-in .75s var(--jh-ease) backwards; }
  .jh .is-visible .jh-log-row.is-hot .jh-key { animation: jh-press .5s ease .35s both; }
  .jh .is-visible .jh-log-row.is-hot .jh-key::after { animation: jh-key-glow 1.4s ease .35s both; }

  /* Founder: die freien Plaetze leuchten der Reihe nach auf */
  .jh.jh-motion .jh-plan.is-shown .jh-seats i.is-taken { animation: jh-seat .55s var(--jh-ease) backwards; animation-delay: calc(.55s + var(--i, 0) * 40ms); }

  /* Schritte: Linie zieht durch, Knoten leuchten nacheinander auf */
  .jh.jh-motion .jh-steps-bar.is-pending .jh-steps-track > span { transform: var(--jh-track-from); }
  .jh.jh-motion .jh-steps-bar.is-pending .jh-step-node::after { opacity: 0; }
  .jh.jh-motion .jh-steps-bar.is-shown .jh-steps-track > span { transition: transform 1.6s var(--jh-ease) .35s; }
  .jh.jh-motion .jh-steps-bar.is-shown .jh-step-node::after { transition: opacity .8s ease; transition-delay: calc(.45s + var(--i, 0) * .5s); }
  .jh.jh-motion .jh-steps-bar.is-shown .jh-steps-list li { animation: jh-seq-in .9s var(--jh-ease) backwards; animation-delay: calc(.25s + var(--i, 0) * .16s); }

  /* Abschluss: Lichtkegel waechst mit */
  .jh.jh-motion .jh-final:has(.is-pending) .jh-final-beam { opacity: 0; transform: translate3d(-50%, 18%, 0) scale(.7); }

  /* FAQ: Inhalt gleitet beim Oeffnen herein */
  .jh details[open] > .jh-faq-a { animation: jh-fade-up .55s var(--jh-ease) both; }

  /* Puls - nur solange sichtbar (.is-visible) und nur dreimal (WCAG 2.2.2: kein endloses Blinken) */
  .jh .jh-pulse::after { animation: jh-ping 2.4s var(--jh-ease) 3; animation-play-state: paused; }
  .jh .is-visible .jh-pulse::after { animation-play-state: running; }
}

@keyframes jh-rise { from { transform: translate3d(0, 108%, 0); } }
@keyframes jh-fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes jh-fade-in { from { opacity: 0; } }
@keyframes jh-stage-in { from { opacity: 0; transform: translate3d(0, 90px, 0); } }
@keyframes jh-seq-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes jh-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.07); } 100% { opacity: 1; transform: none; } }
@keyframes jh-knob { from { transform: none; background-color: var(--jh-knob); box-shadow: none; } }
@keyframes jh-ping { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes jh-wire-run { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(250%, 0, 0); } }
@keyframes jh-flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes jh-log-in { 0% { opacity: 0; transform: translate3d(0, -16px, 0) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes jh-press { 0% { transform: none; } 30% { transform: translate3d(0, 2px, 0); } 100% { transform: none; } }
@keyframes jh-key-glow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes jh-bump { 0% { transform: scale(.7); } 55% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes jh-seat { from { opacity: 0; transform: scaleY(.2); } }

@media (prefers-reduced-motion: reduce) {
  /* transition: none statt einer Mini-Dauer: sonst liefe jede Eigenschaft (transition-property: all) als Mini-
     Uebergang mit, und Werte wie visibility stuenden einen Frame lang falsch (wie apple.css: 0s). */
  .jh *,
  .jh *::before,
  .jh *::after { animation: none !important; transition: none !important; }
  .jh .jh-device { transform: none !important; }
}

/* ================================================================ Breiten */
@media (min-width: 2200px) {
  /* Grosse Bildschirme fuellen: Inhalt bis 2000 px (Lesezeilen bleiben ueber ch-Grenzen kurz); Vignette und
     Schritte-Leiste wachsen ueber --jh-stage mit. */
  .jh { --jh-max: 2000px; }
}

@media (max-width: 1280px) {
  /* Begleit-App: Text oben, Fenster darunter - auf ~860 px begrenzt, damit die Protokollspalten (Ausloeser <->
     Ergebnis) nicht weit auseinanderlaufen */
  .jh .jh-app-grid { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-app-copy { max-width: 860px; }
  html body .jh .jh-app-copy .jh-text { max-width: 50ch; }
  .jh .jh-app-vis { max-width: 860px; }
  .jh .jh-h2--app { font-size: clamp(2.4rem, 6vw, 5.4rem); }
  .jh .jh-app-cta { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 28px; }
}

@media (max-width: 1180px) {
  .jh .jh-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jh .jh-tile--ref { grid-column: 1 / -1; }
}
@media (min-width: 721px) and (max-width: 1180px) {
  /* Volle Empfehlen-Kachel: Text links, Meilensteine rechts daneben statt nur zwei Drittel der Breite zu nutzen */
  .jh .jh-tile--ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto 1fr; column-gap: clamp(28px, 4vw, 56px); }
  .jh .jh-tile--ref > * { grid-column: 1; }
  .jh .jh-tile--ref > .jh-miles { grid-column: 2; grid-row: 1 / -1; align-self: center; margin-top: 0; padding-top: 0; }
  .jh .jh-tile--ref .jh-miles::before { top: 6px; }
}

@media (max-width: 1150px) {
  /* Tarife untereinander (drei ~300 px schmale Karten brachen fast jede Zeile um). Bis 720 px liegt jede Karte quer:
     links Name, Preis, Hinweis und Knopf, rechts die Leistungen. Reihenfolge = Markup (Free, Pro, Laufzeiten, Founder). */
  .jh .jh-plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .jh .jh-plans > .jh-plan,
  .jh .jh-plans > .jh-terms { grid-column: 1; grid-row: auto; }
  .jh .jh-plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "head checks" "price checks" "meta checks" "cta extra";
    column-gap: clamp(28px, 4vw, 48px);
    row-gap: 0;
  }
  .jh .jh-plan-head { grid-area: head; }
  .jh .jh-plan-price { grid-area: price; }
  .jh .jh-plan-meta { grid-area: meta; }
  .jh .jh-plan > .jh-btn { grid-area: cta; align-self: end; }
  .jh .jh-plan > .jh-checks { grid-area: checks; margin-top: 0; padding: 4px 0 0 clamp(28px, 4vw, 48px); border-top: 0; border-left: 1px solid var(--jh-line); }
  .jh .jh-plan > .jh-plan-extra { grid-area: extra; align-self: end; }
  .jh .jh-plan > .jh-plan-extra:not(:empty) { margin-top: 0; padding: 22px 0 0 clamp(28px, 4vw, 48px); border-top: 0; border-left: 1px solid var(--jh-line); }
}

@media (max-width: 1100px) {
  /* Schritte: Kopf als Zeile ueber den drei Zellen (Text links, Knopf rechts) */
  .jh .jh-steps-bar { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-steps-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; border-right: 0; border-bottom: 1px solid var(--jh-line); }
  .jh .jh-steps-cta { margin-top: 0; padding-top: 0; }

  /* Laufzeiten: Titel ueber den Karten */
  html body .jh .jh-terms .pro-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body .jh .jh-terms .pro-terms-title { grid-row: auto; grid-column: 1 / -1; max-width: none; }
  html body .jh .jh-terms .pro-terms-foot { grid-column: 1 / -1; }
  /* Funktionsbereich: Bereiche untereinander, Zeilen je Bereich zweispaltig */
  .jh .jh-areas { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-areas .jh-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); }
  .jh .jh-areas .jh-row:nth-child(2) { border-top-color: transparent; }

  /* Der Abschnitt ist hier mehrere Bildschirme hoch: Der Filter bleibt unter der Navigation stehen, solange der
     Funktionsbereich sichtbar ist (wie A's Kapitel-Leiste). Dafuer wird der Kopf-Container aufgeloest, damit die
     Leiste am ganzen Abschnitt kleben kann. Sie schliesst ohne Spalt an die Navigation an und hat deren Glas-
     Hintergrund ueber die volle Breite (vorher schwebte eine Pille 10 px darunter, Text blitzte durch den Spalt). */
  .jh .jh-feat-top { display: contents; }
  .jh .jh-filter-bar {
    position: sticky;
    top: var(--jh-nav-h);
    z-index: 20;
    margin-top: 24px;
    padding-block: 8px;
  }
  .jh .jh-filter-bar::before {
    content: "";
    position: absolute;
    inset: 0 calc(-1 * var(--jh-gutter));
    z-index: -1;
    background: var(--jh-nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    /* unten weich auslaufen statt einer harten Kante */
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 10px), transparent);
    pointer-events: none;
  }
  .jh .jh-filter { display: flex; width: max-content; max-width: 100%; box-shadow: none; }
  /* Sprung an den Listenanfang (joghurt-home.js nach dem Umschalten) landet unter Navigation + Leiste */
  .jh .jh-areas { scroll-margin-top: 84px; }
  /* ... und nicht passende Zeilen klappen weg: "Nur mit Pro" verkuerzt die Liste wirklich. */
  #funktionen:has(#jh-f-free:checked) .jh-row[data-tier="pro"],
  #funktionen:has(#jh-f-pro:checked) .jh-row[data-tier="free"] { display: none; }
  #funktionen:has(#jh-f-free:checked) .jh-area:not(:has(.jh-row[data-tier="free"])),
  #funktionen:has(#jh-f-pro:checked) .jh-area:not(:has(.jh-row[data-tier="pro"])) { display: none; }
  /* oberste sichtbare Zeilen (zweispaltig: die ersten zwei) ohne Trennlinie */
  #funktionen:has(#jh-f-free:checked) .jh-row:nth-child(-n + 2 of [data-tier="free"]),
  #funktionen:has(#jh-f-pro:checked) .jh-row:nth-child(-n + 2 of [data-tier="pro"]) { border-top-color: transparent; }
}

@media (max-width: 960px) {
  /* Navigation als Klappmenue */
  .jh .jh-links {
    position: absolute;
    left: var(--jh-gutter); /* buendig mit Logo und Seiteninhalt */
    right: var(--jh-gutter);
    top: calc(100% + 6px);
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--jh-line-strong);
    border-radius: 22px;
    background: var(--jh-surface);
    box-shadow: var(--jh-shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(.98);
    transform-origin: 50% 0;
    transition: opacity .3s var(--jh-ease), transform .45s var(--jh-ease), visibility 0s linear .45s;
  }
  .jh .jh-nav.is-open .jh-links { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--jh-ease), transform .45s var(--jh-ease), visibility 0s; }
  html body .jh .jh-links a { min-height: 50px; padding: 0 16px; border-radius: 14px; font-size: 1.05rem; }
  .jh .jh-links a::after { left: auto; right: 18px; top: 50%; bottom: auto; margin: -2px 0 0; }
  .jh .jh-menu-only { display: inline-flex !important; }
  /* "Anmelden" ist kein Abschnittslink: abgesetzt als ruhiger Ghost-Knopf am Ende */
  html body .jh .jh-links a.jh-menu-only { justify-content: center; margin-top: 6px; border: 1px solid var(--jh-line-strong); border-radius: 999px; color: var(--jh-text); font-weight: 600; }
  /* leichte Abdunkelung des Inhalts hinter dem offenen Menue (ein Tipp darauf schliesst - joghurt-home.js) */
  .jh .jh-nav::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--jh-ease), visibility 0s linear .35s;
  }
  .jh .jh-nav.is-open::after { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s var(--jh-ease), visibility 0s; }
  .jh .jh-nav-actions { margin-left: auto; }
  html body .jh .jh-menu-btn { display: inline-block; }
  .jh:not(.jh-js) .jh-menu-btn { display: none !important; }
  .jh .jh-hide-sm { display: none; }
  /* Ohne JavaScript gibt es kein Klappmenue: die Links stehen als schlichte, waagerecht scrollbare Zeile unter der
     Navigation, "Anmelden" bleibt oben stehen. */
  .jh:not(.jh-js) .jh-links {
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: row;
    gap: 4px;
    padding: 6px var(--jh-gutter);
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--jh-line);
    border-radius: 0;
    background: var(--jh-nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    scrollbar-width: none;
  }
  html body .jh:not(.jh-js) .jh-links a { flex: none; min-height: 40px; padding: 0 14px; font-size: .92rem; }
  html body .jh:not(.jh-js) .jh-links a.jh-menu-only { display: none !important; }
  .jh:not(.jh-js) .jh-hide-sm { display: inline-flex; }
  .jh:not(.jh-js) .jh-nav::after { display: none; }
  /* Ohne JavaScript liegt die Link-Zeile (~53 px) unter der Navigation: Sprungziele und Hero bekommen den Platz
     dazu, und rechts blendet die Zeile aus, damit erkennbar ist, dass sie sich seitlich scrollen laesst. */
  html:has(.jh:not(.jh-js)) { scroll-padding-top: 124px; }
  .jh:not(.jh-js) .jh-hero { padding-top: calc(clamp(36px, 6vh, 88px) + 53px); }
  .jh:not(.jh-js) .jh-links {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }

  /* Schritte untereinander (vorher erst ab 720 px - dazwischen wirkten die drei Zellen gequetscht): Knoten links,
     Text und Ausschnitt daneben; die Linie entfaellt */
  .jh .jh-steps-list { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-content: start; }
  .jh .jh-step > * { grid-column: 2; }
  .jh .jh-step > .jh-step-node { grid-column: 1; grid-row: 1 / span 4; margin-bottom: 0; }
  .jh .jh-step + .jh-step { border-left: 0; border-top: 1px solid var(--jh-line); }
  .jh .jh-step-n { margin-top: 4px; }
  .jh .jh-step-mock { margin-top: 16px; }
  .jh .jh-steps-track { display: none; }

  .jh .jh-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-faq-head { position: static; }
}

@media (max-width: 980px) {
  /* Hero-Vignette: die 210-px-Seitenleiste wird zur 56-px-Icon-Leiste - die Kacheln bekommen den Platz
     (vorher lief "Willkommenskarte" in den Schalter, die Uhr ragte aus der Kachel). */
  .jh .jh-device-body { grid-template-columns: 56px minmax(0, 1fr); }
  .jh .jh-dv-side { align-items: center; padding: 14px 0; }
  .jh .jh-dv-mark { margin: 0 0 12px; }
  .jh .jh-dv-nav { justify-content: center; width: 38px; padding: 0; font-size: 0; }
  .jh .jh-dv-nav .icon { flex: none; }
  .jh .jh-dv-nav.is-on::before { left: -9px; }
  .jh .jh-dv-main { padding: 18px 18px 20px; }
  /* drei statt vier Ereignisse - die schmale Spalte bricht sie zweizeilig um */
  .jh .jh-dv-feed .jh-dv-event:nth-of-type(n + 4) { display: none; }
}

@media (max-width: 720px) {
  .jh .jh-device { --jh-tilt-deg: 14deg; border-radius: 18px; }
  .jh .jh-device-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .jh .jh-dv-side { display: none; }
  .jh .jh-dv-main { padding: 16px; }
  .jh .jh-dv-grid { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-dv-tile:first-child { grid-row: auto; }
  .jh .jh-dv-timer { display: none; }
  .jh .jh-dv-row--extra { display: none; }
  .jh .jh-device-bar span { padding-right: 0; }

  .jh .jh-steps-cta,
  .jh .jh-steps-cta .jh-btn { width: 100%; }

  /* Live-Leiste laeuft bis an den Bildschirmrand und blendet rechts aus (weitere Karten erkennbar) */
  .jh .jh-live-row {
    margin-inline: calc(-1 * var(--jh-gutter));
    padding-inline: var(--jh-gutter);
    scroll-padding-inline: var(--jh-gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--jh-gutter) - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - var(--jh-gutter) - 28px), transparent);
  }

  /* Tarife: jede Karte wieder einspaltig (Leistungen unter dem Knopf) */
  .jh .jh-plan { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "price" "meta" "cta" "checks" "extra"; }
  .jh .jh-plan > .jh-checks { margin-top: 30px; padding: 28px 0 0; border-top: 1px solid var(--jh-line); border-left: 0; }
  .jh .jh-plan > .jh-plan-extra:not(:empty) { margin-top: 30px; padding: 24px 0 0; border-top: 1px solid var(--jh-line); border-left: 0; }
  html body .jh .jh-terms .pro-terms { grid-template-columns: minmax(0, 1fr); }

  .jh .jh-feat-top { align-items: stretch; }
  .jh .jh-filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  html body .jh .jh-filter label { gap: 6px; padding: 0 6px; font-size: .84rem; }
  .jh .jh-areas .jh-rows { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-areas .jh-row:nth-child(2) { border-top-color: var(--jh-line); }
  /* einspaltig: nur die oberste sichtbare Zeile ohne Trennlinie */
  #funktionen:has(#jh-f-free:checked) .jh-row:nth-child(2 of [data-tier="free"]),
  #funktionen:has(#jh-f-pro:checked) .jh-row:nth-child(2 of [data-tier="pro"]) { border-top-color: var(--jh-line); }

  /* Begleit-App: Fenster in voller Breite; jede Protokollzeile gleich aufgebaut (oben wer, darunter was passiert) */
  .jh .jh-app-grid { gap: 44px; }
  .jh .jh-app-vis { --jh-win-fs: 15.5px; }
  .jh .jh-app-vis::before { inset: -8% -12%; }
  .jh .jh-app-cta { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .jh .jh-route { padding: .875em .75em; }
  .jh .jh-node { gap: .45em; height: 2.15em; padding: 0 .7em 0 .27em; }
  .jh .jh-node-t { font-size: .78em; }
  .jh .jh-wire { min-width: .75em; margin: 0 .4em; }
  .jh .jh-log { padding: .5em .5em .625em; }
  .jh .jh-log-head { display: none; }
  .jh .jh-log-row {
    grid-template-columns: 2.25em minmax(0, 1fr) auto;
    grid-template-areas: "src who time" "src res res";
    row-gap: .65em;
    align-items: start;
    padding: .8em;
  }
  .jh .jh-src { grid-area: src; }
  .jh .jh-who { grid-area: who; }
  .jh .jh-time { grid-area: time; padding-top: .25em; }
  .jh .jh-to { display: none; }
  .jh .jh-res { grid-area: res; display: grid; justify-items: start; gap: .4em; }

  .jh .jh-more-grid { grid-template-columns: minmax(0, 1fr); }
  .jh .jh-tile { min-height: 0; }
  .jh .jh-miles { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 32px; }
  .jh .jh-miles::before { left: 6px; right: auto; top: 38px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, var(--jh-line-strong), var(--jh-volt)); }
  .jh .jh-miles li { display: grid; grid-template-columns: 13px auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
  .jh .jh-mile-n { margin-top: 0; font-size: 2rem; min-width: 3ch; } /* feste Breite: "100" schob seine Beschriftung sonst weiter */
  .jh .jh-mile-t { margin-top: 0; max-width: none; }

  .jh .jh-faq-list summary { min-height: 68px; gap: 16px; }
  .jh .jh-faq-a { padding-right: 0; }
  .jh .jh-cta .jh-btn--lg { flex: 1 1 100%; }
  .jh .jh-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .jh .jh-area { padding: 20px 18px 6px; border-radius: 24px; }
  .jh .jh-area-head { gap: 14px; padding-bottom: 18px; }
  .jh .jh-area-ico { width: 48px; height: 48px; border-radius: 15px; }
  .jh .jh-row { gap: 14px; padding-block: 15px 16px; }
  .jh .jh-row-ico { width: 38px; height: 38px; border-radius: 11px; }
  .jh .jh-plan-head { margin-bottom: 22px; }
}

@media (max-width: 480px) {
  /* Weg: "Dein Chat"/"Dieser PC" werden zu "Chat"/"PC" - "Joghurt.bot" bleibt lesbar (vorher blieb dort nur das Icon) */
  .jh .jh-node-long { display: none; }
}

@media (max-width: 420px) {
  /* "Weniger Aufwand." passt in eine Zeile (vorher "Weniger / Aufwand." als dreizeiliger Treppenblock) */
  .jh .jh-display { font-size: clamp(2rem, 9.6vw, 2.75rem); }
}

@media (max-width: 400px) {
  .jh .jh-brand img { width: 92px; }
  .jh .jh-nav-actions { gap: 6px; }
  html body .jh .jh-filter label { font-size: .8rem; padding: 0 4px; }
  html body .jh .jh-filter small { min-width: 24px; padding: 0 5px; }
  .jh .jh-app-vis { --jh-win-fs: 15px; }
}

/* ================================================================ Windows-Kontrastmodus
   Schalter, Filterwahl, FAQ-Plus und Sitzplaetze bestehen sonst nur aus Hintergrundfarben, die dort ersetzt werden
   (die echten Checkboxen/Radios sind unsichtbar). */
@media (forced-colors: active) {
  .jh .jh-sw { border: 1px solid CanvasText; }
  .jh .jh-sw::after { forced-color-adjust: none; background: GrayText; }
  .jh input:checked + .jh-sw::after { background: Highlight; }
  .jh .jh-filter input:checked + label { outline: 2px solid Highlight; outline-offset: -2px; }
  .jh .jh-plus::before,
  .jh .jh-plus::after { forced-color-adjust: none; background: CanvasText; }
  .jh .jh-seats i,
  .jh .jh-seat-cap i { forced-color-adjust: none; background: GrayText; }
  .jh .jh-seats i.is-taken,
  .jh .jh-seat-cap .is-taken i { background: Highlight; }
  .jh .jh-pro,
  .jh .jh-soon { border: 1px solid CanvasText; }
}

@media print {
  .jh .jh-nav { position: static; }
}
