/* ════════════════════════════════════════════════════════════════════════════════════════════
   FocusChest · Website (focus-chest.de) – gemeinsames Stylesheet für alle Seiten
   Farben wie in der App (Türkis → Lila → Pink auf dunklem Grund), helles Design automatisch.
   Keine externen Schriften, Skripte oder Cookies – dadurch braucht die Seite kein Cookie-Banner.
   Aufbau: Grundlagen · Kopfzeile · Knöpfe · Startbereich · Abschnitte · Vorführ-Bereiche ·
           Funktionen · Fragen · Fußzeile · Rechtstexte · Barrierefreiheit
   ════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Grundlagen ────────────────────────────────────────────────────────────── */
:root {
  --bg: #070915;
  --bg-2: #11102A;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.11);
  --ink: #F4F5FF;
  --ink-soft: rgba(244, 245, 255, 0.74);
  --ink-faint: rgba(244, 245, 255, 0.52);
  --mint: #34F5C5;
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --pink: #F472B6;
  --gold: #FBBF24;
  --orange: #F97316;
  --green: #4ADE80;
  --grad: linear-gradient(135deg, var(--mint) 0%, var(--violet) 55%, var(--pink) 100%);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1160px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F7F6FF;
    --bg-2: #EEECFF;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-2: rgba(255, 255, 255, 0.95);
    --border: rgba(23, 20, 60, 0.1);
    --ink: #15133A;
    --ink-soft: rgba(21, 19, 58, 0.74);
    --ink-faint: rgba(21, 19, 58, 0.55);
    --mint: #0FB894;
    --shadow: 0 24px 60px rgba(60, 50, 140, 0.14);
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Farbiger Schimmer im Hintergrund, wie in der App */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgba(52, 245, 197, 0.15), transparent 62%),
    radial-gradient(44vmax 44vmax at 88% 14%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(40vmax 40vmax at 55% 95%, rgba(244, 114, 182, 0.13), transparent 62%);
  pointer-events: none;
}

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ── Kopfzeile ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgba(139, 92, 246, .35); }

.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav a { color: var(--ink-soft); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav .btn { padding: 9px 16px; font-size: .88rem; }

/* Handy-Menü ohne JavaScript (aufklappbar) */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 52px; min-width: 220px; padding: 10px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.menu-panel a { padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.menu-panel a:hover { background: var(--surface-2); text-decoration: none; }
@media (max-width: 820px) { .nav { display: none; } .menu { display: block; } }

/* ── Knöpfe ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #07111A; box-shadow: 0 12px 32px rgba(139, 92, 246, 0.38); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(139, 92, 246, 0.5); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-store { background: #000; color: #fff; padding: 11px 22px 11px 18px; border: 1px solid rgba(255,255,255,.2); }
.btn-store small { display: block; font-size: .68rem; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn-store b { display: block; font-size: 1.12rem; line-height: 1.1; }
.btn-store span { text-align: left; }
.btn-store[aria-disabled="true"] { cursor: default; }
.btn-store[aria-disabled="true"]:hover { transform: none; }

/* ── Startbereich ──────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; margin: 20px 0; }
.hero .lead { font-size: clamp(1.06rem, 2.1vw, 1.26rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; color: var(--ink-soft); font-size: .93rem; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .checks { justify-content: center; }
}

/* Telefon-Vorschau, gebaut aus HTML/CSS (zeigt eine laufende Lern-Session) */
.device-stage { position: relative; width: min(330px, 86vw); margin-inline: auto; }
.device-stage::before {
  content: ""; position: absolute; inset: 10% -12% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52,245,197,.35), rgba(139,92,246,.25), transparent);
  filter: blur(30px);
}
.phone {
  aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 13px;
  background: linear-gradient(155deg, #34344d, #0b0b16 60%);
  box-shadow: 0 50px 90px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.09), inset 0 0 0 7px #05050c;
  position: relative;
}
.phone-screen {
  height: 100%; border-radius: 40px; overflow: hidden; position: relative;
  background: radial-gradient(120% 70% at 50% 0%, rgba(52,245,197,.26), transparent 62%), linear-gradient(180deg, #13122E, #070915);
  display: flex; flex-direction: column; align-items: center; padding: 50px 18px 18px; color: #F4F5FF;
}
.phone-island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 1; }
.phone-chip { font-size: .72rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); margin-bottom: 18px; }
.ring { width: 178px; height: 178px; position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: rgba(255,255,255,.1); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 452; stroke-dashoffset: 145; animation: ring 2.4s ease-out both; filter: drop-shadow(0 0 10px rgba(52,245,197,.6)); }
@keyframes ring { from { stroke-dashoffset: 452; } }
.ring-inner { text-align: center; }
.ring-inner strong { display: block; font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-inner span { font-size: .72rem; opacity: .7; }
.phone-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; width: 100%; }
.phone-stat { background: rgba(255,255,255,.07); border-radius: 14px; padding: 10px 6px; text-align: center; }
.phone-stat b { display: block; font-size: 1rem; }
.phone-stat small { font-size: .62rem; opacity: .65; }
.phone-goal { margin-top: auto; width: 100%; background: rgba(255,255,255,.07); border-radius: 16px; padding: 12px; font-size: .76rem; font-weight: 600; }
.meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--orange)); }

/* Schwebende Hinweise rund um das Telefon */
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; font-size: .82rem; font-weight: 700; color: #F4F5FF;
  background: rgba(20, 19, 46, .78); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  animation: bob 5s ease-in-out infinite;
}
.float small { display: block; font-weight: 500; opacity: .7; font-size: .7rem; }
.float .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
/* Hinweise schweben neben dem Telefon (nur über dem Rahmen, nie über dem Bildschirminhalt) */
.float-1 { right: 86%; top: 3%; white-space: nowrap; }
.float-2 { left: 50%; translate: -50% 0; bottom: -44px; white-space: nowrap; animation-delay: -1.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 680px) { .float { display: none; } }

/* ── Abschnitte ────────────────────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.12; margin: 14px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* So funktioniert's – drei Schritte mit Verbindungslinie */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.step { position: relative; text-align: center; padding-top: 30px; }
.step .num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; color: #07111A; background: var(--grad);
  box-shadow: 0 0 0 8px var(--bg), 0 10px 26px rgba(139, 92, 246, .4);
  position: relative;
}
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ── Vorführ-Bereiche (abwechselnd Text links/rechts) ─────────────────────── */
.showcase { display: grid; gap: 28px; }
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.show:nth-child(even) .show-visual { order: -1; }
.show h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin: 14px 0 12px; }
.show p { color: var(--ink-soft); font-size: 1.05rem; }
.show .list { margin-top: 18px; }
.show-visual { padding: 26px; border-radius: 28px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (max-width: 880px) { .show { grid-template-columns: 1fr; gap: 26px; } .show:nth-child(even) .show-visual { order: 0; } }

.list { list-style: none; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; color: var(--ink-soft); }
.list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307111A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Mini-Oberflächen in den Vorführ-Bereichen */
.ui-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.ui-row + .ui-row { margin-top: 10px; }
.ui-row .grow { flex: 1; min-width: 0; }
.ui-row b { display: block; font-size: .95rem; }
.ui-row small { color: var(--ink-faint); font-size: .8rem; }
.ui-emoji { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--surface-2); flex: none; }
.ui-price { font-weight: 800; font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: rgba(251, 191, 36, .16); color: var(--gold); white-space: nowrap; }
.ui-price.buy { background: var(--grad); color: #07111A; }
.ui-balance { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; }
.ui-balance span:last-child { color: var(--gold); font-size: 1.3rem; font-weight: 900; }

.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.tier { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface); border: 1px solid var(--border); position: relative; }
.tier.done { background: linear-gradient(135deg, rgba(52,245,197,.25), rgba(139,92,246,.25)); border-color: rgba(52,245,197,.4); }
.tier.next { outline: 2px solid var(--gold); outline-offset: 2px; }
.tier small { position: absolute; bottom: 3px; font-size: .55rem; font-weight: 800; color: var(--ink-faint); }
.season { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-faint); margin-top: 14px; }

.rank { display: grid; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; flex: none; }
.live { font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--green); color: #05300F; margin-left: 6px; vertical-align: 2px; }
.mins { font-weight: 800; font-variant-numeric: tabular-nums; }

.flash { perspective: 900px; }
.flash-card {
  border-radius: 22px; padding: 30px 24px; min-height: 190px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: linear-gradient(150deg, rgba(139,92,246,.3), rgba(244,114,182,.22)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow); transform: rotate(-2deg);
}
.flash-card small { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; color: var(--ink-faint); }
.flash-card strong { font-size: 1.35rem; line-height: 1.3; }
.flash-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.flash-actions span { text-align: center; padding: 10px; border-radius: 12px; font-weight: 700; font-size: .85rem; background: var(--surface); border: 1px solid var(--border); }

/* ── Funktionen ────────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .45); background: var(--surface-2); }
.icon-tile {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(52,245,197,.2), rgba(139,92,246,.28)); border: 1px solid rgba(139,92,246,.3);
  color: var(--ink);
}
.icon-tile svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -.01em; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* Zielgruppen, Geräte, Datenschutz */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split h3 { font-size: 1.45rem; letter-spacing: -.01em; margin-bottom: 8px; }
.split p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 9px 15px; border-radius: 999px; background: rgba(52,245,197,.1); border: 1px solid rgba(52,245,197,.3); font-weight: 700; font-size: .92rem; }

.privacy-band {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  background: linear-gradient(135deg, rgba(52,245,197,.1), rgba(139,92,246,.14));
}
.privacy-band .shield { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #07111A; box-shadow: 0 14px 36px rgba(139,92,246,.4); }
.privacy-band .shield svg { width: 38px; height: 38px; }
.privacy-band h2 { font-size: 1.6rem; letter-spacing: -.015em; margin-bottom: 8px; }
.privacy-band p { color: var(--ink-soft); }
.privacy-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; list-style: none; font-weight: 700; font-size: .9rem; }
.privacy-points li::before { content: "✓ "; color: var(--mint); }
@media (max-width: 620px) { .privacy-band { grid-template-columns: 1fr; text-align: center; } .privacy-band .shield { margin-inline: auto; } .privacy-points { justify-content: center; } }

/* ── Häufige Fragen ────────────────────────────────────────────────────────── */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 4px 24px; transition: background .2s ease; }
.faq details[open] { background: var(--surface-2); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334F5C5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; }

/* Abschluss */
.cta .card {
  text-align: center; padding: 56px 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(52,245,197,.16), rgba(139,92,246,.22) 55%, rgba(244,114,182,.16));
}
.cta img { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 14px 36px rgba(139,92,246,.45); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: 10px; }
.cta p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 34em; }

/* ── Fußzeile ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; color: var(--ink-faint); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-soft); }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ── Rechtstexte (Impressum, Datenschutz) ──────────────────────────────────── */
.legal { padding: 56px 0 80px; }
.legal-head { max-width: 860px; margin-bottom: 36px; }
.legal-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 8px; }
.legal-head p { color: var(--ink-faint); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.legal-layout.single { grid-template-columns: 1fr; max-width: 860px; }
.toc { position: sticky; top: 92px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; }
.toc strong { display: block; margin-bottom: 8px; color: var(--ink); }
.toc ol { list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; }
.toc a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.toc .sub a { padding-left: 22px; font-weight: 500; font-size: .87rem; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.legal-body { min-width: 0; }
.legal-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.legal-section + .legal-section { margin-top: 18px; }
.legal-section h2 { font-size: 1.45rem; letter-spacing: -.015em; margin-bottom: 6px; }
.legal-section h3 { font-size: 1.06rem; margin: 24px 0 6px; }
.legal-section h2 + h3 { margin-top: 14px; }
.legal-section p, .legal-section li { color: var(--ink-soft); }
.legal-section p + p { margin-top: 10px; }
.legal-section ul { padding-left: 1.2em; display: grid; gap: 7px; margin: 8px 0; }
.legal-section li::marker { color: var(--mint); }
.legal-section address { font-style: normal; color: var(--ink-soft); }
.to-top { display: inline-block; margin-top: 22px; font-weight: 700; font-size: .92rem; }

/* ── Barrierefreiheit ──────────────────────────────────────────────────────── */
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--mint); color: #07111A; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
