/* style.css – Aussehen der Infoseite (website/index.html).
   Gleiche Welt wie die App (DESIGN.md):
   - Start-Bereich in Hero-Blau mit langsam drehenden Strahlen, Laptop + Handy (Wunsch des Nutzers, 03.11.2026),
   - darunter Nachtschicht mit Lampengold für das, was zählt,
   - Überschriften in Playfair Display (nur auf der Infoseite, Wunsch des Nutzers), Lesetext in Noto Sans wie in der App,
     Knöpfe 64 hoch mit 16er Rundung. */

/* Schriften liegen bei uns (nicht von Google laden – Datenschutz). Lizenzen: fonts/OFL-*.txt */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
/* Lesetext wie in der App. Nur lateinische Zeichen: 116 KB statt 2 MB (siehe CLAUDE.md, „Infoseite“).
   Arabisch und Kyrillisch auf den Sprach-Knöpfen kommen aus der Schrift des Geräts. */
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Latin-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Nachtschicht (dunkles Design der App) */
  --night: #131418;
  --night-deep: #0E0F12;
  --card: #1D1F25;
  --line: #2E313A;
  --line-soft: #23252C;
  --text: #F3F1EC;
  --soft: #A9ABB3;
  /* Lampengold: nur für das, was gerade zählt */
  --gold: #F2B33D;
  --gold-hover: #F5C160;
  --on-gold: #1C1405;
  /* Hero-Blau: nur im Start-Bereich */
  --hero-light: #3F86F0;
  --hero: #1B52AC;
  --hero-deep: #0F347E;
  --hero-night: #0A1A3D;
  --bar: #060C1C;
  --on-hero-soft: #EEF3FC;
  /* Helles Hero-Blau für Text-Links auf dunklen Karten (Anmelden: „Passwort vergessen?“) */
  --link-blue: #7AA8F7;
  --link-blue-hover: #A2C2FA;

  --radius-card: 20px;
  --radius-control: 16px;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sprungmarken landen unter der festen Leiste, nicht dahinter. */
  scroll-padding-top: 80px;
  scrollbar-color: #3A3E48 var(--night);
  accent-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19 px wie der Lesetext der App */
  line-height: 1.6;
  /* Playfair schreibt Zahlen sonst klein und unruhig (1400 sieht aus wie „I4OO“). */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--on-gold); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw + 0.6rem, 4.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 2.4vw + 0.9rem, 2.7rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 16px; }
p, li, dd, figcaption { text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px;
}

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.nowrap { white-space: nowrap; }
/* Sternchen am Preis (Erklärung in der Fußzeile): wächst mit der Schrift mit, ohne die Zeile höher zu machen. */
.star { font-size: .75em; vertical-align: .12em; line-height: 0; }
.sprite { display: none; }
/* Sprung-Link: nur sichtbar, wenn man mit der Tab-Taste daraufkommt */
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 60; translate: 0 -200%;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px;
  background: var(--gold); color: var(--on-gold); font-weight: 700; text-decoration: none;
}
.skip-link:focus { translate: 0 0; }
main:focus { outline: none; }
.intro { color: var(--soft); font-size: 1.25rem; max-width: 38rem; margin-bottom: 48px; }

svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Knöpfe (wie in der App: 64 hoch, 16er Rundung) ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 0 32px; border-radius: var(--radius-control);
  font-weight: 700; font-size: 1.125rem; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold:active { background: #E0A12E; }
.btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Häkchen-Listen: kleines goldenes Häkchen */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Im Start-Bereich: goldener Kreis mit dunklem Haken */
.checks-light { display: flex; flex-wrap: wrap; gap: 10px 28px; color: #fff; font-weight: 600; }
.checks-light li::before {
  mask: none; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1405' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Leiste oben: sehr dunkles Blau ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bar);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
/* Rundes Logo mit dünnem weißem Rand (Wunsch des Nutzers, oben und in der Fußzeile) */
.brand img { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  border-radius: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color .15s ease;
}
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav .nav-login { margin-left: 8px; padding: 0 22px; background: var(--gold); color: var(--on-gold); }
.nav .nav-login:hover { background: var(--gold-hover); }

/* ---------- Start: Hero-Blau, Strahlen drehen sich langsam ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 70% 45%, var(--hero-light) 0%, var(--hero) 38%, var(--hero-deep) 72%, var(--hero-night) 100%);
}
/* Die drehende Fläche ist genau so lang wie die Diagonale des Start-Bereichs: So bleibt beim
   Drehen nie eine Ecke frei, und sie braucht wenig Grafikspeicher. 300vmax ist der Ersatz für
   ältere Browser ohne hypot(). */
.hero-rays { position: absolute; inset: 0; container-type: size; pointer-events: none; }
.hero-rays::before {
  content: ""; position: absolute; left: 50%; top: 50%; aspect-ratio: 1;
  width: 300vmax;
  width: calc(hypot(100cqw, 100cqh) + 4px);
  translate: -50% -50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .055) 0deg 6deg, transparent 6deg 12deg);
  animation: spin 240s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 80px 0 56px; }
.hero h1 { color: #fff; }
.hero .gold { color: var(--gold); }
.lead { font-size: 1.25rem; color: var(--on-hero-soft); max-width: 36rem; }
/* „Stand 2026“: eine Stufe heller und kräftiger, ohne eigenes Schild (nicht zu groß machen, Wunsch des Nutzers) */
.lead strong { color: #fff; font-weight: 700; }

.hero-devices { position: relative; min-height: 470px; }
.laptop { position: absolute; right: 0; top: 30px; width: 92%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
.laptop-screen { background: #0B0D12; border-radius: 14px 14px 4px 4px; padding: 10px 10px 12px; }
.laptop-screen img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; }
.laptop-base { height: 16px; margin: 0 -6%; background: linear-gradient(#CFD5DF, #9AA3B2); border-radius: 0 0 16px 16px; }
.hero-devices .phone-hero { position: absolute; left: 0; bottom: -20px; width: 38%; max-width: 230px; rotate: -4deg; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 1rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 20px; height: 20px; color: var(--on-gold); }
.chip-a { right: 4%; top: 0; }
.chip-b { right: 12%; bottom: 10px; animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -8px; } }

/* Die 5 Kästchen: Zahl groß, darunter Begriff und eine kurze Erklärung */
.stats {
  position: relative; margin: 0; padding: 8px 0 72px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.stats div {
  display: flex; flex-direction: column;
  /* Leicht dunkel getönt: Gold und Weiß bleiben auch über dem hellen Blau gut lesbar */
  background: rgba(6, 16, 42, .34); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-card); padding: 20px 22px;
}
.stats dd { margin: 0; }
.stats .stat-number { order: -1; font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1.05; }
.stats dt { font-weight: 700; font-size: 1.125rem; margin-top: 4px; }
.stats dd:last-child { margin-top: 8px; color: var(--on-hero-soft); font-size: 1rem; line-height: 1.45; }

/* ---------- Abschnitte ---------- */
.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }

/* 9 Sprachen: links Text + Sprach-Knöpfe, rechts zwei Handys */
.lang-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.lang-text > p { color: var(--soft); max-width: 34rem; }
.lang-text > .lang-hint { color: var(--text); font-weight: 600; margin: 32px 0 14px; }
.lang-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 30rem; }
.lang-buttons button {
  min-height: 56px; padding: 0 18px; border-radius: var(--radius-control);
  background: var(--card); color: var(--text); border: 1.5px solid var(--line);
  font: 600 1.125rem/1.2 var(--sans); text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lang-buttons button:hover { border-color: var(--soft); }
.lang-buttons button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.pair { display: flex; align-items: center; justify-content: center; gap: 18px; }
.pair figure { margin: 0; width: min(270px, 42%); text-align: center; }
.pair figure .phone { width: 100%; }
.pair figcaption { margin-top: 14px; color: var(--soft); font-size: 1rem; }
.pair figcaption strong { color: var(--text); }
.pair-tap { display: grid; justify-items: center; gap: 4px; color: var(--gold); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.pair-tap svg { width: 34px; height: 34px; }
.swipe-hint { display: none; }

/* Handy-Rahmen um die echten Bilder der App */
.phone {
  position: relative; width: min(300px, 100%);
  background: #0B0D12; border-radius: 40px; padding: 10px;
  box-shadow: 0 32px 60px -24px rgba(0, 0, 0, .7), inset 0 0 0 1.5px #2A2E38;
}
.phone img { width: 100%; border-radius: 30px; aspect-ratio: 390 / 844; object-fit: cover; background: var(--night); }

/* Neue Sprache gleitet in ihrer Leserichtung über das Bild:
   from-start = von links (Deutsch, Englisch …), from-end = von rechts (Arabisch, Farsi, Dari). */
.phone-translated .incoming {
  position: absolute; inset: 10px; width: calc(100% - 20px);
  clip-path: inset(0 0 0 100% round 30px);
}
.phone-translated.from-start .incoming { clip-path: inset(0 100% 0 0 round 30px); }
.phone-translated.from-end .incoming { clip-path: inset(0 0 0 100% round 30px); }
.phone-translated.sliding .incoming {
  clip-path: inset(0 0 0 0 round 30px);
  transition: clip-path .7s cubic-bezier(.16, 1, .3, 1);
}

/* So lernst du: 3 Schritte nebeneinander, ohne Karten */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 20px; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 12px;
  font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--soft);
}
.steps p { color: var(--soft); margin: 0; }

/* 9 Module als ruhige Liste */
.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.modules li {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.modules img { width: 48px; height: 48px; }
.modules span { font-weight: 600; line-height: 1.3; }
.modules small { color: var(--soft); font-size: 1rem; white-space: nowrap; }

/* Text + Bild nebeneinander */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text > p { color: var(--soft); max-width: 34rem; }
.fineprint { font-size: 1rem; }
.duo { display: flex; justify-content: center; gap: 24px; }
.duo .phone { width: min(260px, 48%); }
.duo .phone:last-child { margin-top: 72px; }

/* Mutmacher mit dem Professor */
.courage-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.courage-text > p { color: var(--soft); max-width: 36rem; margin-bottom: 40px; }
.professor { position: relative; margin: 0; }
.professor img { width: min(360px, 100%); margin-inline: auto; }
/* Sprechblase unter dem Professor, Spitze zeigt nach oben zu ihm */
.bubble {
  position: relative; width: fit-content; max-width: 16em; margin: 4px auto 0;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; text-align: center;
  padding: 14px 20px; border-radius: var(--radius-control);
}
.bubble::before {
  content: ""; position: absolute; left: 50%; top: -8px; width: 14px; height: 14px;
  background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  translate: -50% 0; rotate: 45deg;
}
.jobs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.jobs li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.jobs svg { color: var(--gold); }

/* Preis: eine klare Aussage */
.price-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.price-text > p { color: var(--soft); max-width: 30rem; }
.price-text > .amount { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; color: var(--text); margin: 8px 0 24px; }
.amount span { font-family: var(--sans); font-size: 1.125rem; font-weight: 400; color: var(--soft); }
.platforms { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.platforms li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.platforms li > span { color: var(--soft); }
.platforms strong { color: var(--text); font-weight: 600; }
.platforms em { font-style: normal; font-weight: 600; font-size: 1rem; color: var(--gold); white-space: nowrap; }
/* Store-Abzeichen: Platzhalter, noch nicht anklickbar */
.store-badge { width: 151px; height: 44px; border-radius: 6px; }
/* KI-Leiste: Platzhalter, noch nicht anklickbar. Die vier Zeichen behalten ihre eigenen Farben. */
.ai-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control);
}
.ai-spark { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold); color: var(--on-gold); }
.ai-spark svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.ai-text { flex: 1 1 180px; min-width: 0; margin: 0; color: var(--soft); font-size: 1rem; line-height: 1.35; }
.ai-text strong { display: block; color: var(--text); font-size: 1.0625rem; }
.ai-logos { flex: none; display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ai-logos li { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); border: 1px solid var(--line); }
.ai-logos svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.ai-chatgpt { color: #10A37F; }
.ai-perplexity { color: #20B8CD; }
.ai-claude { color: #D97757; }
.note { margin: 24px 0 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--soft); font-size: 1rem; }
/* Der Einstieg ist die stärkste Stelle, die wichtigen Wörter im Text eine Stufe darunter. */
.note strong { color: var(--text); font-size: 1.0625rem; }
.note b { color: var(--text); font-weight: 600; }
/* "Gut zu wissen" beim Preis: Überschrift und drei kurze Punkte mit goldenem Punkt. */
.note > p:first-child { margin: 0; }
.note-list { margin: 10px 0 0; padding-left: 1.1em; }
.note-list li { margin-top: 10px; padding-left: 4px; }
.note-list li::marker { color: var(--gold); }

/* Häufige Fragen */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 12px 0; font-weight: 600; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: rotate .2s ease;
}
.faq details[open] summary::after { rotate: 180deg; }
.faq details p { color: var(--soft); padding-bottom: 22px; margin: 0; max-width: 40rem; }

/* ---------- Schluss: Anmelden ----------
   Das Licht der Leselampe fällt auf die Karte rechts. Links Überschrift und Text (ohne goldenen Strich
   darüber – vom Nutzer am 19.11.2026 wieder entfernt), rechts die Karte, hinter der der Professor hervorwinkt. */
.closing {
  background: radial-gradient(ellipse 42% 80% at 74% 0%, rgba(242, 179, 61, .14), transparent 72%), var(--night);
}
.login-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px 96px; align-items: center; }
.login-text h2 { margin-bottom: 20px; }
.login-text > p { max-width: 34rem; color: var(--soft); }
.login-text > .login-lead { color: var(--text); font-size: 1.3125rem; line-height: 1.5; margin-bottom: 14px; }
.login-text .checks { margin: 30px 0 0; font-weight: 600; }

/* Der Professor steht hinter der Karte: Sie verdeckt ihn ab der Brust. */
.login-side { position: relative; padding-top: 122px; }
.login-professor { position: absolute; top: 0; right: 36px; width: 196px; pointer-events: none; }
.login-card {
  position: relative; padding: 32px 32px 24px; color-scheme: dark;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .7);
}
.login-view[hidden] { display: none; }
.login-title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 1.6rem; }
.login-title svg { width: 26px; height: 26px; color: var(--gold); }
.login-intro { margin: -6px 0 22px; color: var(--soft); font-size: 1.0625rem; line-height: 1.5; }
.login-intro strong { color: var(--text); overflow-wrap: anywhere; }
.field-hint { margin: 0; color: var(--soft); font-size: .9375rem; }

/* Passwort: Auge zum Zeigen rechts im Feld (das eigene Auge von Edge ausblenden) */
.password { position: relative; }
.password .input { padding-right: 62px; }
.password .input::-ms-reveal { display: none; }
.eye {
  position: absolute; top: 50%; right: 5px; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: var(--soft); cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.eye:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.eye[aria-pressed="true"] { color: var(--gold); }
.input-code { font-size: 1.25rem; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
/* Fehlt etwas: goldener Rand (nie Rot – Rot heißt bei uns „falsch beantwortet“) */
.input[aria-invalid="true"] { border-color: var(--gold); }

/* „Passwort vergessen?“ rechts neben „Passwort“ – im HTML erst nach dem Feld, damit die Tab-Taste
   vom Passwort direkt zum Knopf „Anmelden“ geht und nicht vorher hier landet. */
.field-password { grid-template-columns: 1fr auto; column-gap: 16px; }
.field-password > label { grid-area: 1 / 1; }
.field-password > .password { grid-area: 2 / 1 / 3 / 3; }
.field-password > .forgot { grid-area: 1 / 2; justify-self: end; }

/* Blaue Links in der Karte (Wunsch des Nutzers: „Passwort vergessen“ blau) – helles Hero-Blau,
   damit es auf der dunklen Karte gut lesbar ist (Kontrast 6,9 : 1). */
.link-blue {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--link-blue); cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.link-blue:hover { color: var(--link-blue-hover); text-decoration-color: currentColor; }
.link-blue.back { display: flex; margin: 14px auto 0; }
.login-small { margin: 18px 0 0; color: var(--soft); font-size: .9375rem; line-height: 1.5; text-align: center; }

/* Zugangscode einlösen (27.11.2026): Zwischenüberschriften wie in der App, Code in Großbuchstaben,
   kleinere Häkchen in der Karte. Versteckte Teile (Häkchen „Ich habe schon ein Konto“) wirklich ausblenden –
   .field ist sonst ein Raster und würde trotz hidden angezeigt. */
.login-section { margin: 8px 0 4px; font-size: 1.125rem; font-weight: 700; color: var(--text); }
.login-section-note { margin: 0 0 16px; }
.input-licence { text-transform: uppercase; }
.input-licence::placeholder { text-transform: none; }
.login-card .check-small { gap: 12px; margin: 0 0 16px; font-size: 1rem; }
.login-card .check-hint { display: block; margin-top: 2px; color: var(--soft); font-size: .9375rem; }
.login-card [data-new-account][hidden] { display: none; }
.login-card [data-redeemed-until]:empty { display: none; }

/* Geklappt (z. B. „Passwort geändert“): grüner Kreis mit Haken – Grün heißt „geschafft“ wie in der App */
.form-status.is-ok { display: flex; align-items: flex-start; gap: 10px; color: var(--text); line-height: 1.45; }
.form-status.is-ok::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: #4CC27A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A18' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.login-view > .form-status { margin: 0 0 4px; }

.login-foot { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: .9375rem; text-align: center; }
.login-more { margin: 20px 0 0; color: var(--soft); font-size: 1rem; text-align: center; }
.login-more a { color: var(--text); font-weight: 600; }
.login-more a:hover { color: var(--gold); }
/* Schon angemeldet: „Noch nicht gekauft?“ passt dann nicht */
.login-side:has([data-view="signed-in"]:not([hidden])) .login-more { display: none; }

/* Fußzeile */
/* Etwas kleiner als der Rest der Seite (Wunsch des Nutzers, 10.11.2026), am Handy noch eine Stufe. */
.footer { background: var(--night-deep); border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 48px; }
.brand-footer { color: var(--text); gap: 10px; font-size: 1.125rem; }
.brand-footer img { width: 36px; height: 36px; }
.footer-text { max-width: 30rem; margin: 0 auto; }
.footer-about { margin: 0; color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.footer-tax { margin: 6px 0 0; color: var(--soft); font-size: .8125rem; line-height: 1.5; }
.footer-tax strong { color: var(--text); }
/* Rechte Spalte: oben das Rechtliche, darunter „Hilfe & Feedback“ und „Für Unternehmen“
   (mit goldenen Symbolen: Sprechblase und Haus) */
.footer-nav { display: flex; flex-direction: column; align-items: flex-end; }
.footer-more { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; }
.footer-extra { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.footer-extra svg { width: 20px; height: 20px; color: var(--gold); }
.footer-extra:hover { text-decoration: underline; }
.footer-extra[aria-current="page"] { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.footer-pair { display: flex; align-items: center; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
/* Die Seite, auf der man gerade ist, steht in Gold. */
.footer-links a[aria-current="page"] { color: var(--gold); }
/* Kleine Punkte zwischen den Links (Wunsch des Nutzers, 10.11.2026), nur Schmuck */
.footer-dot { flex: none; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
/* Copyright ganz unten, über die ganze Breite und mittig (Wunsch des Nutzers, 21.11.2026) */
.footer-copy {
  grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft);
  text-align: center; color: var(--soft); font-size: .875rem; line-height: 1.5;
}

/* ---------- Rechtliche Seiten: impressum.html, datenschutz.html, agb.html, widerruf.html ----------
   Sie gehören zur Infoseite, nicht zur App. Ruhig zum Lesen: Nachtschicht mit dem Licht der
   Leselampe oben, kein Hero-Blau und keine Bewegung. Leiste und Fußzeile wie auf der Startseite. */
.legal-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.legal-page main { flex: 1; }
.legal {
  padding: 96px 0 120px;
  background: radial-gradient(ellipse 55% 360px at 50% 0%, rgba(242, 179, 61, .11), transparent 75%), var(--night);
}
.legal-inner { width: min(46rem, 100% - 40px); }
.legal-label { margin: 0 0 10px; color: var(--gold); font-weight: 700; font-size: 1.0625rem; }
.legal h1 { font-size: clamp(2.4rem, 3.2vw + 1rem, 3.6rem); margin-bottom: 36px; }
/* Für die späteren Texte: Zwischenüberschriften, Listen und Links im Text */
.legal h2 { font-size: 1.5rem; margin: 40px 0 10px; }
.legal h1 + h2 { margin-top: 0; }
.legal address { font-style: normal; margin: 0 0 16px; }
.legal h3 { margin: 32px 0 8px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.4em; }
.legal li { margin-bottom: 6px; }
.legal-inner a { color: var(--gold); }
.legal-placeholder { color: var(--soft); }
/* Kleingedrucktes: Fußnote der Vorlage, Rechtsgrundlagen und Stand */
.legal-small { color: var(--soft); font-size: .9375rem; }
.legal-end { margin-top: 40px; }
.legal-small a { white-space: nowrap; }
/* Button „Vertrag widerrufen“: goldener Knopf wie auf der Startseite. Noch ein Platzhalter, also ohne
   Hand-Zeiger und ohne Farbwechsel beim Darüberfahren. */
.revoke { margin-top: 32px; }

/* Datenschutz: Inhaltsverzeichnis als ruhige Karte, am PC in zwei Spalten */
.legal-toc {
  margin: 0 0 8px; padding: 20px 28px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control);
}
.legal-toc-title { margin: 0 0 10px; color: var(--gold); font-weight: 700; font-size: 1rem; }
.legal .legal-toc ol { columns: 2; column-gap: 40px; margin: 0; padding-left: 1.7em; font-size: 1.0625rem; }
.legal .legal-toc li { break-inside: avoid; margin-bottom: 8px; }
.legal-toc li::marker { color: var(--soft); }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--gold); text-decoration: underline; }
/* „🟡 GEPLANT:“ vor Abschnitten für Funktionen, die es noch nicht gibt: klein, in der Textschrift */
.legal-planned {
  font-family: var(--sans); font-size: .6em; font-weight: 700; letter-spacing: .03em;
  color: var(--gold); vertical-align: .2em; white-space: nowrap;
}
/* Tabelle „Was – Wofür – Wie lange“: feine Linien wie bei den Modulen der Startseite */
.legal-table { width: 100%; border-collapse: collapse; margin: 4px 0 24px; font-size: 1.0625rem; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line);
}
.legal-table thead th { padding-top: 0; color: var(--soft); font-size: .9375rem; font-weight: 600; }
.legal-table tbody th { width: 38%; font-weight: 600; }
.legal-table td:last-child { width: 24%; padding-right: 0; color: var(--soft); }
/* Zweispaltig (AGB § 14: Datenart – Speicherdauer): Spalten halb und halb, Dauer in normaler Farbe */
.legal-table-2 tbody th { width: 50%; }
.legal-table-2 td:last-child { width: auto; color: var(--text); }
/* Untertitel unter der großen Überschrift (AGB: „… und Nutzungsbedingungen …“) */
.legal-intro { margin: -20px 0 28px; color: var(--soft); font-size: 1.125rem; }
.btn-gold[aria-disabled="true"] { cursor: default; }
.btn-gold[aria-disabled="true"]:hover { background: var(--gold); }
/* Vorlage zum Ausfüllen (Muster-Widerrufsformular) als ruhige Karte */
.legal-form {
  margin: 24px 0 0; padding: 24px 28px 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control);
}
.legal .legal-form-fields { list-style: none; padding: 0; margin: 0 0 20px; }
.legal .legal-form-fields li { margin-bottom: 12px; overflow-wrap: anywhere; }

/* ---------- Für Unternehmen: unternehmen.html (seit 18.11.2026) ----------
   Gleiche Welt wie die Startseite: oben Hero-Blau, darunter Nachtschicht mit Lampengold für das,
   was zählt. Hier wird gesiezt. Das Schild „Für Unternehmen“ steht oben neben dem Logo. */
.topbar-start { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid rgba(242, 179, 61, .6); color: var(--gold); font-weight: 700; font-size: .875rem; white-space: nowrap;
}
.nav-short { display: none; }

.b2b-hero h1 { font-size: clamp(2.2rem, 2.4vw + 1.25rem, 3.5rem); }
.hero-inner.b2b-hero-inner { grid-template-columns: 1.1fr .9fr; padding: 88px 0 104px; }
.b2b-hero-inner > * { min-width: 0; }

/* Lizenzkarten: drei Karten wie Scheckkarten, beim Laden fächern sie sich einmal auf.
   Die Schrift wächst mit der Breite des Stapels (cqw), so passt alles auf jedes Handy. */
.licenses { position: relative; container-type: inline-size; width: 100%; max-width: 500px; aspect-ratio: 1.12; justify-self: center; }
.license {
  position: absolute; left: 8%; top: 27%; width: 84%; aspect-ratio: 1.586;
  display: flex; flex-direction: column; padding: 1.3em 1.5em 1.2em; border-radius: 1.15em;
  font-size: clamp(10px, 3.4cqw, 17px); line-height: 1.3; color: var(--text);
  background: linear-gradient(150deg, #262932 0%, var(--card) 52%, #16181D 100%);
  border: 1px solid #3A3E48;
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .65);
  transform-origin: 18% 100%;
}
.license-3 { rotate: -15deg; translate: -3% -15%; }
.license-2 { rotate: -7deg; translate: -1% -7%; }
.license-1 { rotate: 2deg; border: 2px solid var(--gold); }
.license-2 > *, .license-3 > * { opacity: .55; }
@keyframes fan-in { from { rotate: 2deg; translate: 0 0; } }
.license-2, .license-3 { animation: fan-in 1.2s cubic-bezier(.16, 1, .3, 1) .2s both; }
.license-3 { animation-duration: 1.5s; }

.license-head { display: flex; align-items: center; gap: .6em; font-family: var(--display); font-weight: 700; font-size: 1.05em; }
.license-head img { width: 2em; height: 2em; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff; }
.license-crest { width: 1.9em; height: 1.9em; margin-left: auto; }
.license-crest path:first-child { fill: #FFC23D; stroke: none; }
.license-crest path:last-child { stroke: var(--on-gold); stroke-width: 2.6; }
.license-label { margin: auto 0 0; color: var(--soft); font-size: .78em; font-weight: 600; letter-spacing: .03em; }
.license-code { margin: .1em 0 0; font-size: 1.62em; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.license-foot { display: flex; justify-content: space-between; gap: 1em; margin-top: auto; color: var(--soft); font-size: .72em; font-weight: 600; }
.license-foot span:last-child { color: var(--gold); white-space: nowrap; }

.b2b-page .section > .wrap > h2 { margin-bottom: 44px; }

/* 4 Schritte nebeneinander (wie „So lernst du“), Link zum Formular in Gold */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps h3 { margin-bottom: 8px; }
.steps a { color: var(--gold); }

/* Ihre Vorteile: 8 Karten (Vorgabe des Nutzers), Symbol im blassen Gold-Kreis wie in der App */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px 24px 28px; }
.benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: rgba(242, 179, 61, .14); color: var(--gold); }
.benefit-icon svg { width: 28px; height: 28px; }
.benefits h3 { font-size: 1.3rem; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--soft); font-size: 1.0625rem; }

/* Ausbilderportal: oben Text (links Titel, rechts Liste), darunter eine Beispielansicht nach den
   Vorlagen des Nutzers – das Portal im Browserfenster (Web-Version) und davor die Historie eines
   Schülers als Fenster. In unserer Welt: Nachtschicht, Lampengold für das Aktive, Grün ab 75 %
   („Das kannst du gut“), Modulfarben nur bei den Modulen, nie Rot. Das Portal richtet sich mit
   Container-Abfragen nach seiner eigenen Breite – wie eine echte Web-App. */
.portal-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 72px; align-items: start; }
.portal-intro-text > p { color: var(--soft); max-width: 34rem; }
.portal-intro .checks { margin-bottom: 20px; }
.portal-intro .fineprint { color: var(--soft); }
.portal-ask { margin: 0; font-weight: 600; }
.portal-ask a { color: var(--gold); }

.portal-showcase { margin: 64px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; }
.browser {
  grid-column: 1 / -1; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #0B0C0F;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.browser-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser-url {
  display: inline-flex; align-items: center; gap: 8px; margin-inline: auto; padding: 6px 16px; border-radius: 999px;
  background: var(--card); color: var(--soft); font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
.browser-url svg { width: 14px; height: 14px; }

.portal { container-type: inline-size; padding: 22px 26px 20px; background: var(--night); font-size: .9375rem; line-height: 1.4; }
.portal svg, .history svg { width: 18px; height: 18px; color: var(--soft); }
.portal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-org { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.portal-org span { font-family: var(--sans); font-weight: 500; font-size: .9375rem; color: var(--soft); }
.portal-org svg { align-self: center; }
.portal-logout { flex: none; padding: 8px 18px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: .875rem; }
.portal-tabs { display: flex; align-items: center; gap: 8px; margin: 18px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.portal-tab { padding: 8px 16px; border-radius: 12px; border: 1.5px solid transparent; color: var(--soft); font-weight: 600; font-size: .875rem; white-space: nowrap; }
.portal-tab.is-active { border-color: var(--gold); background: rgba(242, 179, 61, .12); color: var(--text); }
.portal-period { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--soft); font-size: .875rem; white-space: nowrap; }
.portal-period b { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px 6px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.portal-period svg { width: 16px; height: 16px; }

.person { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.person-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 18px; font-size: 1rem; }
.person-head span { color: var(--soft); font-size: .875rem; overflow-wrap: anywhere; }
.person-toggle { margin-left: auto; }
.person-top { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.person-summary { display: flex; flex-direction: column; gap: 14px; padding-right: 18px; border-right: 1px solid var(--line); }
.person-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.stat small { color: var(--soft); font-size: .75rem; line-height: 1.25; }
/* Prüfungstag aus dem Lernplan: kleines Kalenderblatt */
.exam-day {
  display: grid; place-items: center; align-content: center; gap: 2px; width: 56px; height: 56px; border-radius: 14px;
  background: rgba(242, 179, 61, .12); border: 1.5px solid rgba(242, 179, 61, .55);
}
.portal .exam-day svg { width: 18px; height: 18px; color: var(--gold); }
.exam-day b { font-size: .8125rem; line-height: 1; }
.person-total { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .875rem; }
.person-total span { color: var(--soft); }
.person-total .meter { grid-column: 1 / -1; }
.person-plan { margin: 0; color: var(--soft); font-size: .8125rem; }
.person-box { padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--night); }
.box-title { margin: 0 0 12px; text-align: center; font-weight: 700; font-size: .875rem; }
.box-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.box-rings div { display: grid; justify-items: center; gap: 3px; }
.box-rings b { margin-top: 3px; font-size: .75rem; font-weight: 600; }
.box-rings small { color: var(--soft); font-size: .6875rem; line-height: 1.25; }

.person-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.panel { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--night); }
.panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-weight: 700; }
.panel-title small { color: var(--soft); font-weight: 500; font-size: .75rem; }
.panel-facts { margin: 14px 0 0; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.panel-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .875rem; }
.panel-facts dt { color: var(--soft); }
.panel-facts dd { margin: 0; font-weight: 700; text-align: right; }
.panel-facts small { color: var(--soft); font-weight: 500; }
.panel-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--soft); font-size: .8125rem; }
.portal .panel-note svg { width: 16px; height: 16px; color: #4CC27A; stroke-width: 2.6; }

/* Balken: Name – Balken – Prozent. Bei Modulen das Modul-Logo davor und die Modulfarbe. */
.meters { list-style: none; margin: 0; padding: 0; }
.meters li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 32% 42px; align-items: center; gap: 10px; padding: 5px 0; font-size: .875rem; line-height: 1.3; }
.meters img { width: 24px; height: 24px; }
.meters b { text-align: right; font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meters-plain li { grid-template-columns: minmax(0, 1fr) 38% 42px; }
.meters li.meters-oral { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.meter { --c: var(--gold); position: relative; display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.meter::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: inherit; background: var(--c); }
.meter.good { --c: #4CC27A; }
.meter.mod-blue { --c: #5B8DEF; }
.meter.mod-orange { --c: #F2B33D; }
.meter.mod-lila { --c: #A07CF0; }
.meter-wide { height: 10px; }

/* Ringe wie der Fortschrittskreis der App (hier aus einem kegelförmigen Verlauf mit Maske) */
.ring {
  --c: var(--gold); --s: 56px; --t: 5px; position: relative; display: grid; place-items: center;
  width: var(--s); height: var(--s); font-weight: 700; font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, .09) 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--t) - .5px), #000 calc(100% - var(--t)));
}
.ring.good { --c: #4CC27A; }
.ring-sm { --s: 50px; --t: 4px; font-size: .75rem; }
.ring-lg { --s: 116px; --t: 9px; font-size: 1.5rem; }

.portal-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 16px 0 0; color: var(--soft); font-size: .8125rem; }
.portal-foot span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.portal-sync { color: #4CC27A; }

/* Historie: wie ein Fenster, das sich im Portal öffnet – unten rechts über dem Browserfenster */
.history {
  grid-column: 2; grid-row: 2; position: relative; z-index: 1; margin-top: -84px;
  display: grid; justify-items: center; padding: 22px 22px 24px; border-radius: var(--radius-card);
  background: var(--card); border: 1px solid #3A3E48; font-size: .9375rem; line-height: 1.4;
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, .85);
}
.history-head { justify-self: stretch; display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.history-head small { font-family: var(--sans); font-weight: 500; font-size: .875rem; color: var(--soft); white-space: nowrap; }
.history-head svg { flex: none; margin: 2px 0 0 auto; }
/* Zwei Reihen: schriftlich/mündlich, darunter die Art der Simulation */
.history-tabs { justify-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.history-modes { margin-top: 6px; }
.history-tabs span { padding: 6px 4px; border-radius: 10px; border: 1.5px solid var(--line); color: var(--soft); font-weight: 600; font-size: .8125rem; text-align: center; white-space: nowrap; }
.history-tabs .is-active { border-color: var(--gold); background: rgba(242, 179, 61, .12); color: var(--text); }
.history-nav { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; margin: 18px 0 2px; }
.history-date { margin: 0 0 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.history-result { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 12px 0 16px; color: var(--soft); font-size: .875rem; text-align: center; }
.pass { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 6px; border-radius: 999px; background: rgba(76, 194, 122, .14); color: #4CC27A; font-weight: 700; }
.history .pass svg { width: 16px; height: 16px; color: #4CC27A; stroke-width: 2.6; }
.history .meters { justify-self: stretch; }
.meters-compact li { padding: 4px 0; font-size: .8125rem; }
.history-tip { justify-self: stretch; display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(242, 179, 61, .10); font-size: .8125rem; }
.history .history-tip svg { flex: none; color: var(--gold); }
.history-close { justify-self: end; padding: 8px 20px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: .875rem; }

/* Merksatz links neben der Historie */
.portal-caption { grid-column: 1; grid-row: 2; align-self: center; display: grid; gap: 16px; max-width: 34rem; padding-top: 24px; }
.portal-motto { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.4vw + .9rem, 2.1rem); line-height: 1.25; text-wrap: balance; }
.portal-note { color: var(--soft); font-size: 1rem; }
/* KI-Leiste unter dem Merksatz (gesiezt), Text immer am Zeilenanfang – auch wenn die Unterschrift mittig steht */
.portal-caption .ai-bar { margin-top: 8px; text-align: start; }

/* Das Portal wird schmaler: erst Kreise unter die Übersicht, am Handy nur das Wichtigste */
@container (max-width: 980px) {
  .person-top { grid-template-columns: 1fr 1fr; }
  .person-summary { grid-column: 1 / -1; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@container (max-width: 620px) {
  .portal-tabs { overflow-x: auto; scrollbar-width: none; }
  .portal-period { display: none; }
  .person-top, .person-panels { grid-template-columns: 1fr; }
  .person-stats { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .person-box + .person-box, .person-panels { display: none; }
}

/* Anfrage: Text + Professor mit Klemmbrett links, Formular als Karte rechts */
.b2b-request { background: radial-gradient(ellipse 50% 60% at 25% 0%, rgba(242, 179, 61, .10), transparent 72%), var(--night); }
.request-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.request-text > p { color: var(--soft); max-width: 26rem; }
.professor.request-professor { margin: 40px 0 0; }
.request-professor img { width: min(300px, 90%); margin: 0; }
.request-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 36px; }
.request-mail { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: 1rem; }

.b2b-form { color-scheme: dark; }
.form-hint { margin: 0 0 24px; color: var(--soft); font-size: 1rem; }
.req { color: var(--gold); }
.optional { color: var(--soft); font-weight: 400; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.field > label { font-weight: 600; font-size: 1.0625rem; }
fieldset.field { display: block; }
fieldset.field legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 1.0625rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Eingabefelder wie in der App: dunkle Fläche, 16er Rundung, goldener Rand beim Tippen */
.input {
  width: 100%; min-height: 56px; padding: 14px 18px; border-radius: var(--radius-control);
  background: var(--night); color: var(--text); border: 1.5px solid var(--line);
  font: inherit; font-size: 1.0625rem; line-height: 1.4; caret-color: var(--gold);
  transition: border-color .15s ease;
}
.input:hover { border-color: #4A4F5B; }
.input:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
textarea.input { min-height: 132px; resize: vertical; }
/* Automatisch ausgefüllte Felder bleiben dunkel (der Browser färbt sie sonst hellblau) */
.input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 100px var(--night) inset; transition: background-color 9999s ease 0s; }

/* Hinweise bei fehlenden Angaben: nie Rot (Rot heißt in unserer Welt „falsch beantwortet“),
   sondern ein goldenes Ausrufezeichen und klarer Text. */
.field-error, .form-status.is-error { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; color: var(--text); font-size: 1rem; line-height: 1.45; }
.field-error::before, .form-status.is-error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: .8125rem; line-height: 1;
}
.field-error[hidden] { display: none; }

/* Auswahl wie die großen Auswahlknöpfe der App: gewählt = goldener Rand, blasses Gold, gefüllter Punkt */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices.choices-4 { grid-template-columns: repeat(4, 1fr); }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
  border-radius: var(--radius-control); background: var(--night); border: 1.5px solid var(--line);
  font-size: 1.0625rem; line-height: 1.3; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: #4A4F5B; }
.choices-4 .choice { justify-content: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.choice input {
  appearance: none; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0;
  border-radius: 50%; border: 2px solid var(--soft); cursor: pointer;
}
.choice input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--on-gold); scale: 0; transition: scale .15s ease; }
.choice input:checked { background: var(--gold); border-color: var(--gold); }
.choice input:checked::before { scale: 1; }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(242, 179, 61, .12); }
.choice input:focus-visible { outline: none; }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Häkchen-Kästchen: gewählt = goldenes Kästchen mit dunklem Haken */
.check { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 22px; font-size: 1.0625rem; line-height: 1.45; cursor: pointer; }
.check input {
  appearance: none; flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 1px 0 0;
  border-radius: 7px; border: 2px solid var(--soft); background: var(--night); cursor: pointer;
}
.check input::before {
  content: ""; width: 15px; height: 15px; background: var(--on-gold); scale: 0; transition: scale .15s ease;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::before { scale: 1; }
.check input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.check a { color: var(--gold); }
.check-privacy { margin-bottom: 10px; color: var(--soft); font-size: 1rem; }
.check-privacy + .field-error { margin-bottom: 10px; }

.btn-submit { width: 100%; margin-top: 18px; border: 0; font-family: inherit; cursor: pointer; }
.btn-submit:disabled { cursor: progress; opacity: .75; }
.form-status { margin: 14px 0 0; font-size: 1rem; }
.form-status:empty { display: none; }

/* Honeypot: für Menschen unsichtbar, auch nicht mit der Tab-Taste erreichbar */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Nach dem Absenden: grünes Häkchen (Grün = geschafft, wie in der App) */
.form-done { padding: 24px 8px 4px; text-align: center; outline: none; }
.done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: rgba(76, 194, 122, .16); color: #4CC27A; }
.done-icon svg { width: 38px; height: 38px; stroke-width: 2.4; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { max-width: 26rem; margin: 0 auto; color: var(--soft); }
/* Die Adresse bleibt am Stück und rutscht notfalls ganz in die nächste Zeile */
.form-done strong { display: inline-block; color: var(--text); overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .hero-inner.b2b-hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 40px; }
  .licenses { max-width: 460px; }
  .steps.steps-4 { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .portal-intro { grid-template-columns: 1fr; }
  .portal-showcase { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .history { grid-column: 1; grid-row: auto; justify-self: center; width: min(420px, 100%); margin-top: 28px; }
  .portal-caption { grid-column: 1; grid-row: auto; justify-self: center; text-align: center; padding-top: 28px; }
  .request-inner { grid-template-columns: 1fr; gap: 32px; }
  .request-text > p { max-width: 36rem; }
  .professor.request-professor { display: none; }
  .footer-nav { align-items: flex-start; }
  .footer-more { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .nav .nav-wide { display: none; }
}
@media (max-width: 760px) {
  .topbar .brand .brand-name { display: none; }
}
@media (max-width: 640px) {
  .hero-inner.b2b-hero-inner { padding: 40px 0 56px; }
  .b2b-page .section > .wrap > h2 { margin-bottom: 32px; }
  .steps.steps-4 { grid-template-columns: 1fr; gap: 28px; }
  .benefits { grid-template-columns: 1fr; }
  .portal { padding: 16px 14px; }
  .person { padding: 16px 14px; }
  .portal-org { font-size: 1.3rem; }
  .browser-url { padding: 5px 12px; }
  .url-extra { display: none; }
  .portal-foot { flex-direction: column; }
  .portal-foot span + span { padding-left: 0; border-left: 0; }
  .history { padding: 18px 16px 20px; }
  .benefits li { padding: 22px 22px 24px; }
  .request-card { padding: 24px 18px; }
  .field-row, .choices { grid-template-columns: 1fr; }
  .choices.choices-4 { grid-template-columns: 1fr 1fr; }
  .footer-extra { font-size: 1rem; }
}
@media (max-width: 400px) {
  .nav-long { display: none; }
  .nav-short { display: inline; }
}

/* ---------- Hilfe & Feedback: hilfe.html (seit 18.11.2026) ----------
   Die einzige Seite in 9 Sprachen: nur <main> wechselt, Leiste und Fußzeile bleiben Deutsch.
   Arabisch, Farsi und Dari laufen von rechts nach links – darum hier nur „inline“-Abstände. */
.help {
  padding: 88px 0 112px;
  background: radial-gradient(ellipse 55% 360px at 50% 0%, rgba(242, 179, 61, .11), transparent 75%), var(--night);
}
.help-inner { width: min(46rem, 100% - 40px); }
.help h1 { font-size: clamp(2.4rem, 3.2vw + 1rem, 3.6rem); margin-bottom: 14px; }
.help-lead { color: var(--soft); font-size: 1.25rem; max-width: 36rem; margin-bottom: 28px; }

/* Sprachen als kleine Pillen, jede in ihrer eigenen Schrift */
.help-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 48px; }
.help-langs-label { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: 6px; color: var(--soft); font-weight: 600; font-size: 1rem; }
.help-langs-label svg { width: 20px; height: 20px; color: var(--gold); }
.help-langs button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text); border: 1.5px solid var(--line);
  font: 600 1rem/1.2 var(--sans);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.help-langs button:hover { border-color: var(--soft); }
.help-langs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* Feedback als Karte; „Anonym“ als blasses Gold-Schild neben der Überschrift */
.help-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 36px; }
.fb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.fb-head h2 { margin: 0; font-size: clamp(1.75rem, 1.2vw + 1.3rem, 2.1rem); }
.anon-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  background: rgba(242, 179, 61, .12); color: var(--gold); font-weight: 700; font-size: .9375rem;
}
.anon-badge svg { width: 18px; height: 18px; stroke-width: 2; }
.fb-intro { color: var(--soft); font-size: 1.0625rem; margin-bottom: 28px; }
.fb-form { color-scheme: dark; }

/* Art des Feedbacks: vier Kacheln mit Symbol, gewählt = goldener Rand und goldenes Symbol */
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kind {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 8px;
  min-height: 92px; padding: 14px 8px; border-radius: var(--radius-control); cursor: pointer;
  background: var(--night); border: 1.5px solid var(--line);
  font-weight: 600; font-size: 1rem; line-height: 1.25; text-align: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.kind input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kind svg { width: 28px; height: 28px; color: var(--soft); transition: color .15s ease; }
.kind:hover { border-color: #4A4F5B; }
.kind:has(input:checked) { border-color: var(--gold); background: rgba(242, 179, 61, .12); }
.kind:has(input:checked) svg { color: var(--gold); }
.kind:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

.fb-text { min-height: 168px; }
.field-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--soft); font-size: .9375rem; line-height: 1.45; }
.field-foot p { margin: 0; }
.fb-count { flex: none; padding-top: 1px; font-variant-numeric: tabular-nums; }
.fb-count.is-near { color: var(--gold); }
.btn-quiet {
  margin-top: 24px; min-height: 56px; padding: 0 24px; cursor: pointer;
  background: transparent; color: var(--text); border: 1.5px solid var(--line); font-family: inherit;
}
.btn-quiet:hover { border-color: var(--soft); }

/* Hilfe: Antworten wie „Häufige Fragen“, darunter die E-Mail in einem blassen Gold-Rahmen */
.help-section { margin-top: 80px; }
.help-section h2 { margin: 0; }
.help .faq { margin-top: 24px; }
.support {
  display: flex; align-items: flex-start; gap: 18px; margin-top: 28px; padding: 24px;
  border-radius: var(--radius-control); background: rgba(242, 179, 61, .06); border: 1px solid rgba(242, 179, 61, .28);
}
.support-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(242, 179, 61, .14); color: var(--gold); }
.support h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.support p { margin: 0; color: var(--soft); }
.support .support-mail { margin-top: 12px; color: var(--gold); font-weight: 700; overflow-wrap: anywhere; }

/* Arabische Schrift: Playfair hat keine arabischen Zeichen – Überschriften in der Schrift des Geräts,
   ohne engeren Buchstabenabstand (der würde die verbundenen Buchstaben auseinanderreißen). */
.help:is(:lang(ar), :lang(fa)) :is(h1, h2, h3) {
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif;
  letter-spacing: 0;
}
.help:is(:lang(ar), :lang(fa)) { line-height: 1.75; }

@media (max-width: 640px) {
  .help { padding: 56px 0 80px; }
  .help-langs { margin-bottom: 36px; }
  .help-langs-label { flex-basis: 100%; }
  .help-card { padding: 24px 18px; }
  .kinds { grid-template-columns: 1fr 1fr; }
  .kind { min-height: 84px; }
  .help-section { margin-top: 64px; }
  .help .faq details { padding: 0 18px; }
  .support { flex-direction: column; gap: 12px; padding: 20px 18px; }
}

/* ---------- Über uns: ueber-uns.html (seit 21.11.2026) ----------
   „Das kleine Quiz“ (Wahl des Nutzers): Antwort-Felder wie in der App (Rand 2, Rundung 16, Symbol vorne),
   die richtige grün mit Häkchen, die andere bleibt neutral (Rot gibt es nur für falsche Antworten in der
   App). Ohne Skript ist alles aufgelöst; mit Skript („quiz-armed“) wird erst beim Hinscrollen abgehakt. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.about {
  --correct: #4CC27A;
  --correct-pale: rgba(76, 194, 122, .12);
  --on-correct: #0E2A18;
  padding: 72px 0 112px;
  background: radial-gradient(ellipse 55% 380px at 50% 0%, rgba(242, 179, 61, .11), transparent 75%), var(--night);
}

/* Oben: Überschrift und zwei kurze Sätze, rechts der nachdenkliche Professor */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.about-intro-text { max-width: 40rem; padding-bottom: 24px; }
.about h1 { font-size: clamp(2.4rem, 3.2vw + 1rem, 3.6rem); margin-bottom: 18px; }
.about-lead { color: var(--soft); font-size: 1.25rem; margin-bottom: 12px; }
.about-lead-quiz { color: var(--text); font-weight: 600; margin-bottom: 0; }
.about-professor { width: 190px; margin-inline-end: 24px; }

/* Das Quiz: auf dem PC zwei Spalten, am Handy eine */
.quiz {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  margin-top: 8px; padding-top: 40px; border-top: 1px solid var(--line);
}
.quiz-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px;
}
.quiz .quiz-question {
  font-family: var(--sans); font-weight: 650; font-size: 1.3125rem; line-height: 1.35; letter-spacing: 0;
  margin: 0 0 18px;
}
.quiz-answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quiz-answer {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-control);
  color: var(--soft); font-size: 1.0625rem; line-height: 1.4;
  transition: border-color .35s ease, background-color .35s ease, color .35s ease;
}
.quiz-answer.is-correct { border-color: var(--correct); background: var(--correct-pale); color: var(--text); font-weight: 600; }
/* Vorne: leerer Kreis (nicht gewählt) bzw. grüner Kreis mit Häkchen (richtig) */
.quiz-mark {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line); transition: background-color .35s ease, border-color .35s ease;
}
.quiz-answer.is-correct .quiz-mark { background: var(--correct); border-color: var(--correct); }
.quiz-mark svg {
  width: 18px; height: 18px; color: var(--on-correct); stroke-width: 3;
  stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .45s cubic-bezier(.2, .7, .2, 1) .15s;
}
.quiz-explain {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  color: var(--soft); font-size: 1rem; line-height: 1.6;
  transition: opacity .4s ease .25s, translate .4s ease .25s;
}
.quiz-explain p { margin: 0; }
.quiz-explain strong { color: var(--text); }
/* Eine echte Frage aus der App in drei Sprachen; „Notwehr“ bleibt Deutsch und leuchtet golden */
.quiz-sample { margin: 14px 0 0; display: grid; gap: 8px; }
.quiz-sample div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
.quiz-sample dt { color: var(--soft); font-size: .875rem; font-weight: 600; }
.quiz-sample dd { margin: 0; color: var(--text); font-size: 1rem; }
.quiz-sample [lang="ar"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
.quiz-sample mark { background: rgba(242, 179, 61, .16); color: var(--gold); font-weight: 700; padding: 0 1px; border-radius: 3px; }

/* Vor dem Hinscrollen (nur mit Skript): noch nichts abgehakt, die Erklärung noch verdeckt */
.quiz-armed .quiz-card:not(.is-revealed) .quiz-answer.is-correct { border-color: var(--line); background: transparent; color: var(--soft); }
.quiz-armed .quiz-card:not(.is-revealed) .quiz-answer.is-correct .quiz-mark { background: transparent; border-color: var(--line); }
.quiz-armed .quiz-card:not(.is-revealed) .quiz-mark svg { stroke-dashoffset: 1; }
.quiz-armed .quiz-card:not(.is-revealed) .quiz-explain { opacity: 0; translate: 0 8px; }

/* Die Auswertung über beide Spalten: Professor springt, „Bestanden“, 6 von 6 */
.quiz-result {
  grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; gap: 8px 40px; margin-top: 12px; padding: 32px 40px;
  background: radial-gradient(ellipse 70% 120% at 15% 50%, rgba(76, 194, 122, .13), transparent 70%), var(--card);
  border: 2px solid var(--correct); border-radius: var(--radius-card);
}
.quiz-result-professor { width: 170px; margin-block: -8px; }
.quiz-pass {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 4px 14px 4px 8px;
  border-radius: 999px; background: var(--correct-pale); color: var(--correct); font-weight: 700; font-size: 1rem;
}
.quiz-pass svg { width: 18px; height: 18px; stroke-width: 2.8; }
.quiz .quiz-score { font-size: clamp(2rem, 2vw + 1.2rem, 2.6rem); margin: 0 0 10px; }
.quiz-result-text > p:not(.quiz-pass) { color: var(--soft); max-width: 34rem; margin-bottom: 22px; }
.quiz-result-text .btn { min-width: 220px; }
.quiz-armed .quiz-result:not(.is-revealed) .quiz-result-professor { translate: 0 14px; opacity: 0; }
.quiz-result-professor { transition: translate .5s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }

/* Ganz unten: Für Unternehmen – in der Welt des Professors (Hero-Blau mit Licht von oben) */
.about-b2b {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px;
  margin-top: 56px; padding: 30px 36px; border-radius: var(--radius-card);
  background: radial-gradient(ellipse 80% 140% at 20% 0%, var(--hero-light), var(--hero) 45%, var(--hero-deep));
  color: #fff;
}
.about-b2b-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--gold);
}
.about-b2b-icon svg { width: 28px; height: 28px; }
.about-b2b h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.85rem); margin: 0 0 6px; }
.about-b2b p { margin: 0; color: var(--on-hero-soft); font-size: 1.0625rem; max-width: 40rem; }

@media (max-width: 1000px) {
  .quiz { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
  .about-b2b { grid-template-columns: auto minmax(0, 1fr); }
  .about-b2b-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-professor { display: none; }
  .about-intro-text { padding-bottom: 8px; }
}
@media (max-width: 640px) {
  .about { padding: 56px 0 80px; }
  .quiz { padding-top: 28px; gap: 16px; }
  .quiz-card { padding: 22px 18px; }
  .quiz .quiz-question { font-size: 1.1875rem; }
  .quiz-sample div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .quiz-result { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 24px 18px 28px; }
  .quiz-result-professor { width: 130px; margin: 0; }
  .quiz-result-text .btn { width: 100%; }
  .about-b2b { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .about-b2b-btn { width: 100%; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1000px) {
  .hero-inner, .split, .courage-inner, .price-inner, .lang-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-inner { padding: 56px 0 48px; }
  /* Platz unten, damit das schräge Handy nicht in die Kästchen ragt */
  .hero-devices { min-height: 0; aspect-ratio: 1.25; max-width: 640px; width: 100%; margin: 0 auto 48px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .courage-text { order: -1; }
  .professor img { width: min(300px, 80%); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-text { margin: 0; }
  /* Anmelden: eine Spalte. Die Karte kommt gleich nach Überschrift und erstem Satz (wer oben auf
     „Anmelden“ tippt, sieht sie sofort), die Erklärung zum Kauf danach. */
  .login-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .login-text { display: contents; }
  .login-side { order: 1; width: min(100%, 34rem); margin-top: 8px; }
  .login-text > p:not(.login-lead), .login-text > .checks { order: 2; }
  .login-text > p:not(.login-lead) { margin: 48px 0 0; }
  .closing { background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(242, 179, 61, .13), transparent 72%), var(--night); }
}

@media (max-width: 800px) {
  .steps, .modules, .jobs { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .login-side { padding-top: 88px; }
  .login-professor { width: 142px; right: 24px; }
  .login-text > .login-lead { font-size: 1.1875rem; }
  .login-card { padding: 26px 20px 20px; }
  .login-title { font-size: 1.45rem; }
  .legal { padding: 64px 0 88px; }
  .legal-form { padding: 20px 20px 4px; }
  .legal-toc { padding: 18px 20px 10px; }
  .legal .legal-toc ol { columns: 1; }
  /* Tabelle am Handy: jede Zeile eine kleine Karte, die Spaltennamen davor */
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .legal-table th, .legal-table td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  .legal-table td::before { content: attr(data-label) ": "; color: var(--soft); font-size: .9375rem; }
  .footer { padding: 28px 0; }
  .footer-inner { gap: 12px; }
  .footer-links a { font-size: 1rem; }
  .topbar .brand span { display: none; }
  .nav a { padding: 0 10px; }
  .nav .nav-login { margin-left: 4px; padding: 0 14px; }
  .hero-inner { padding-top: 40px; gap: 32px; }
  .hero-devices .phone-hero { left: 3%; }
  .buttons .btn { flex: 1 1 200px; }
  .stats { grid-template-columns: 1fr 1fr; padding-bottom: 56px; }
  .stats div:last-child { grid-column: 1 / -1; }
  .stats div { padding: 16px 18px; }
  .stats .stat-number { font-size: 2rem; }
  /* Zwei Handys nebeneinander zum Wischen, jedes groß genug zum Lesen */
  .pair {
    justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .pair figure { flex: 0 0 78vw; width: auto; scroll-snap-align: center; }
  .pair-tap { display: none; }
  .swipe-hint { display: block; margin: 8px 0 0; text-align: center; color: var(--gold); font-weight: 600; font-size: 1rem; }
  .duo .phone:last-child { margin-top: 40px; }
  .platforms li { grid-template-columns: 28px 1fr; }
  .platforms em, .store-badge { grid-column: 2; }
  .ai-logos { width: 100%; justify-content: space-between; }
  /* Anzahl der Fragen unter den Namen, sonst wird die Seite auf kleinen Handys zu breit */
  .modules li { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; }
  .modules img { grid-row: span 2; }
}

/* Handys: Links der Fußzeile in zwei Zeilen, „Impressum · Datenschutz“ und „AGB · Widerruf“ */
@media (max-width: 520px) {
  .footer-links { flex-direction: column; align-items: flex-start; }
  .footer-dot-middle { display: none; }
}

/* Kleine Handys: Leiste enger, damit alle drei Einträge in eine Zeile passen */
@media (max-width: 400px) {
  .topbar-inner { gap: 8px; }
  .nav { gap: 0; }
  .nav a { padding: 0 8px; font-size: .9375rem; }
  .nav .nav-login { margin-left: 2px; padding: 0 12px; }
}

/* Sehr kleine Handys */
@media (max-width: 340px) {
  .topbar .brand { display: none; }
  .nav { width: 100%; justify-content: space-between; }
  .stats { grid-template-columns: 1fr; }
}

/* ===== Cookie-Hinweis (27.11.2026, cookie-hinweis.js) =====
   Leiste unten über allem. „Nur notwendige“ und „Alle akzeptieren“ sehen genau gleich aus (beides gleich leicht),
   „Einstellungen“ ist ein Textknopf. Ohne Kennungen erscheint die Leiste nicht (Vorschau: ?cookie-hinweis). */
.cookie-bar {
  position: fixed; inset: auto 0 0 0; z-index: 1000; max-height: 88vh; overflow-y: auto;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--line); color: var(--text);
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .8);
}
.cookie-bar[hidden] { display: none; }
.cookie-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; }
.cookie-text p { margin: 0; color: var(--soft); font-size: .9375rem; line-height: 1.5; }
.cookie-text .cookie-title { margin-bottom: 4px; color: var(--text); font-size: 1.0625rem; font-weight: 700; }
.cookie-text a { color: var(--gold); }
.cookie-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; }
.cookie-btn {
  min-height: 52px; padding: 0 24px; border: 2px solid var(--gold); background: var(--gold); color: var(--on-gold);
  font-family: inherit; font-size: 1rem; cursor: pointer;
}
.cookie-btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.cookie-btn.cookie-save { background: transparent; color: var(--text); }
.cookie-btn.cookie-save:hover { background: rgba(242, 179, 61, .12); }
.cookie-btn[hidden], .cookie-more[hidden] { display: none; }
.cookie-more {
  min-height: 48px; padding: 0 6px; border: 0; background: none; color: var(--link-blue);
  font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .22em;
}
.cookie-more:hover { color: var(--link-blue-hover); }
.cookie-btn:focus-visible, .cookie-more:focus-visible, .cookie-switch:focus-visible, .footer-cookie button:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* Einstellungen: eine Zeile pro Kategorie, rechts der Schalter */
.cookie-settings { grid-column: 1 / -1; display: grid; gap: 10px; }
.cookie-settings[hidden] { display: none; }
.cookie-option {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--night);
}
label.cookie-option { cursor: pointer; }
.cookie-option p { margin: 0; }
.cookie-option-title { display: block; margin: 0 0 2px; color: var(--text); font-weight: 700; }
.cookie-option-text, .cookie-option p:not(.cookie-option-title) { display: block; color: var(--soft); font-size: .9375rem; line-height: 1.45; }
.cookie-always { flex: none; color: var(--correct, #4CC27A); font-size: .9375rem; font-weight: 600; }
.cookie-switch {
  appearance: none; flex: none; position: relative; width: 52px; height: 30px; margin: 0;
  border-radius: 999px; background: var(--line); cursor: pointer; transition: background-color .15s ease;
}
.cookie-switch::before {
  content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--text); transition: translate .15s ease;
}
.cookie-switch:checked { background: var(--gold); }
.cookie-switch:checked::before { translate: 22px 0; background: var(--on-gold); }

/* „Cookie-Einstellungen“ unten auf jeder Seite (vom Skript eingefügt, über der Copyright-Zeile) */
.footer-cookie { grid-column: 1 / -1; margin: 0; text-align: center; }
.footer-cookie button {
  min-height: 40px; padding: 0 6px; border: 0; background: none; color: var(--soft);
  font: inherit; font-size: .9375rem; cursor: pointer; text-decoration: underline; text-underline-offset: .22em;
}
.footer-cookie button:hover { color: var(--text); }

@media (max-width: 760px) {
  .cookie-inner { grid-template-columns: minmax(0, 1fr); }
  .cookie-buttons { justify-content: stretch; }
  .cookie-btn { flex: 1 1 100%; }
  .cookie-more { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-switch, .cookie-switch::before { transition: none; }
}

/* ===== KI-Leiste: Links und Bewegung (27.11.2026, ki-leiste.js) =====
   Die Zeichen sind Links (neues Fenster). Beim Hinfahren heben sie sich und leuchten in ihrer Farbe.
   Kommt die Leiste ins Bild, springen sie nacheinander auf; der goldene Stern funkelt sanft. */
.ai-logos li { padding: 0; }
.ai-link {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ai-link:hover { transform: translateY(-3px); box-shadow: 0 6px 18px -6px currentColor; background: rgba(255, 255, 255, .04); }
.ai-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ai-logos li:not([class]) .ai-link:hover { box-shadow: 0 6px 18px -6px #9B72CB; }

@keyframes ai-funkeln {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.14) rotate(14deg); }
}
@keyframes ai-aufspringen {
  0% { transform: translateY(10px) scale(.85); opacity: 0; }
  70% { transform: translateY(-3px) scale(1.04); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .ai-spark svg { animation: ai-funkeln 4s ease-in-out infinite; }
  .ai-bar.is-animated .ai-logos li { opacity: 0; }
  .ai-bar.is-visible .ai-logos li { animation: ai-aufspringen .5s ease-out both; }
  .ai-bar.is-visible .ai-logos li:nth-child(2) { animation-delay: .1s; }
  .ai-bar.is-visible .ai-logos li:nth-child(3) { animation-delay: .2s; }
  .ai-bar.is-visible .ai-logos li:nth-child(4) { animation-delay: .3s; }
}

/* ===== Preis: „Jetzt kaufen“ bei der Web-App (27.11.2026) ===== */
.buy-btn { min-height: 52px; padding: 0 24px; border: 0; font-family: inherit; font-size: 1rem; white-space: nowrap; cursor: pointer; }
.buy-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.buy-note { margin: 14px 0 0; color: var(--soft); font-size: .9375rem; }
.buy-note[hidden] { display: none; }
@media (max-width: 640px) {
  .platforms .buy-btn { grid-column: 2; justify-self: start; }
}

/* ===== Schalter Web-App (27.11.2026): #anmelden trägt data-web-app="bald" bis zum Verkaufsstart =====
   „bald“: nur der Hinweis (nur-bald), „online“: Anmelden und Zugangscode (nur-online). */
[data-web-app="bald"] .nur-online, [data-web-app="online"] .nur-bald { display: none !important; }
.login-soon {
  position: relative; padding: 32px 32px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .7);
}
.login-soon .login-small a { color: var(--gold); }
