/* BallerZone – Info-Website zur App
   Gestaltung 1:1 aus der App übernommen (src/app/GlobalStyle.jsx, tailwind.config.js):
   - Farben: dieselben Token wie .bz-root (Apple-Dunkelmodus, Akzent #5CD672).
   - Schrift: Systemschrift wie in der App (iPhone/Mac: SF Pro, Android: Roboto, Windows: Segoe UI).
     Es wird keine Schriftdatei geladen, also auch keine Verbindung zu Google Fonts.
   - Schriftskala der App: 11 / 13 / 15 / 17 / 22 / 34 px, dazu größere Überschriften nur für Web.
   - Karten: flache Fläche #1C1C1E, Radius 18 px, kein Rand, kein Verlauf, kein Schatten.
   - Knöpfe: Akzentgrün mit SCHWARZER Schrift (Weiß auf #5CD672 wäre nur 1,86:1).
   - Abschnittsbeschriftung wie „WOCHENPLAN“ in der App: Versalien, 600, Laufweite 0.05em.
   Im Hero stehen echte Bildschirmfotos der iPhone-App (store-assets/screenshots-ios).
   Das Logo-Grün #779232 bleibt nur im Logo-Bild; die Oberfläche nutzt wie die App #5CD672. */

:root {
  --bg: #000000;
  --surface: #1C1C1E;
  --surface2: #2C2C2E;
  --line: rgba(84, 84, 88, 0.40);
  --text: #FFFFFF;
  --text-dim: rgba(235, 235, 245, 0.60);
  --chrome: rgba(235, 235, 245, 0.30);
  --fill: rgba(120, 120, 128, 0.24);      /* Segment-Spur, Fortschrittsbalken der App */
  --accent: #5CD672;
  --accent-soft: rgba(92, 214, 114, 0.14);
  --accent-strong: #7FE894;
  --on-accent: #000000;
  --alert: #FF453A;

  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui,
        "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Schriftskala der App */
  --t-mini: 11px;
  --t-xs: 13px;
  --t-sm: 15px;
  --t-base: 17px;
  --t-xl: 22px;
  --t-3xl: 34px;
  /* nur Website: große Überschriften */
  --t-h2: clamp(28px, 4.2vw, 40px);
  --t-hero: clamp(36px, 6.4vw, 64px);

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --r-card: 18px;      /* .bz-card */
  --r-btn: 12px;       /* rounded-xl der App-Knöpfe */
  --r-seg: 9px;        /* Segment-Umschalter */
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sf); font-size: var(--t-base); line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.024em; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface2); padding: .1em .35em; border-radius: 6px; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-dim); }

/* Abschnittsbeschriftung wie in der App */
.eyebrow { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }

/* ---------- Kopfzeile (wie die App-Kopfleiste: schwarz, Haarlinie) ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 0.5px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 44px; }
.brand span { font-weight: 700; font-size: var(--t-base); letter-spacing: -0.024em; }
/* Hauptmenü als Segment-Umschalter der App */
.nav { display: flex; gap: 2px; padding: 2px; background: var(--fill); border-radius: var(--r-seg); flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--t-xs); padding: 6px 14px; border-radius: 7px; transition: background .2s var(--spring); }
.nav a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface2); font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 0.5px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { font-size: var(--t-hero); line-height: 1.04; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-top: 20px; max-width: 34rem; font-size: var(--t-base); line-height: 1.5; color: var(--text-dim); }
@media (min-width: 861px) { .hero .lead { font-size: 19px; } }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--r-btn); background: var(--surface); color: var(--text); min-height: 52px; }
.store svg { width: 24px; height: 24px; fill: var(--text); flex: none; }
.store span { display: grid; line-height: 1.2; }
.store small { font-size: var(--t-mini); color: var(--text-dim); }
.store b { font-weight: 600; font-size: var(--t-sm); }
.hero-note { margin-top: 14px; font-size: var(--t-xs); color: var(--text-dim); }

/* Echte App-Bildschirme im iPhone-Rahmen */
.devices { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 520 / 640; }
.device { position: absolute; width: 49%; border-radius: 15% / 7%; padding: 2.4%; background: #1a1a1c; box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset, 0 30px 60px -20px rgba(0,0,0,.9); container-type: inline-size; }
.device .screen { border-radius: 12.5% / 5.6%; overflow: hidden; background: #000; }
.device img { width: 100%; height: auto; }
/* Statusleiste wie auf dem iPhone; die Bilder selbst stammen aus der App ohne Statusleiste */
.sbar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 13cqw; padding: 2cqw 7cqw 0 9cqw; color: #fff; font-weight: 600; font-size: 5.4cqw; letter-spacing: -0.01em; }
.sbar svg { width: 17cqw; height: auto; fill: currentColor; }
.sbar .island { position: absolute; left: 50%; top: 2.6cqw; translate: -50% 0; width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000; box-shadow: 0 0 0 .6cqw #0b0b0c; }
.device.front { left: 25.5%; top: 0; z-index: 3; }
.device.left { left: 0; top: 8%; z-index: 1; transform: rotate(-7deg); }
.device.right { right: 0; left: auto; top: 8%; z-index: 2; transform: rotate(7deg); }
.devices figcaption { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: var(--t-mini); color: var(--text-dim); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .devices { width: min(100%, 420px); margin-bottom: 24px; }
  .device.left { left: 4%; transform: rotate(-5deg); }
  .device.right { right: 4%; transform: rotate(5deg); }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); border-bottom: 0.5px solid var(--line); }
.section-head { display: grid; gap: 10px; max-width: 42rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section h2 { font-size: var(--t-h2); line-height: 1.1; }
.section-head p { color: var(--text-dim); font-size: var(--t-base); }

/* Funktionen: Karten wie .bz-card */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border-radius: var(--r-card); padding: clamp(18px, 2.6vw, 24px); display: grid; align-content: start; gap: 8px; min-width: 0; }
.tile h3 { font-size: var(--t-base); line-height: 1.29; }
.tile p { color: var(--text-dim); font-size: var(--t-sm); line-height: 1.4; }
.tile .fig { font-size: var(--t-3xl); font-weight: 700; line-height: 1.12; letter-spacing: -0.024em; font-variant-numeric: tabular-nums; }
.tile .fig small { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin-left: 8px; }
.tile .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; }
.tile .ico svg { width: 22px; height: 22px; }
.tile.lead { grid-column: span 4; }
.tile.lead h3 { font-size: var(--t-xl); line-height: 1.27; }
.tile.lead .fig { color: var(--accent); }
.tile.w2 { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips span { font-size: var(--t-xs); font-weight: 500; padding: 5px 11px; border-radius: 99px; background: var(--fill); }
@media (max-width: 900px) { .tile.lead { grid-column: span 6; } .tile.w2 { grid-column: span 3; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.lead, .tile.w2 { grid-column: auto; } }

/* Trainingskompass */
.table-scroll { overflow-x: auto; border-radius: var(--r-card); background: var(--surface); }
table.compass { width: 100%; border-collapse: collapse; min-width: 0; font-variant-numeric: tabular-nums; }
.compass th, .compass td { text-align: left; padding: 14px 18px; border-bottom: 0.5px solid var(--line); vertical-align: middle; }
.compass thead th { font-size: var(--t-mini); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); padding-block: 12px; }
.compass tbody tr:last-child > * { border-bottom: 0; }
.compass tbody th { font-weight: 600; font-size: var(--t-base); white-space: nowrap; }
.compass td.foci { color: var(--text-dim); font-size: var(--t-sm); }
.compass td.num { font-weight: 600; white-space: nowrap; font-size: var(--t-sm); }
.compass td.num em { font-style: normal; display: inline-block; min-width: 3.2em; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); text-align: center; }
.table-note { margin-top: 12px; color: var(--text-dim); font-size: var(--t-xs); max-width: 44rem; }

/* Niveau-Leiste */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.track::before { content: ""; position: absolute; left: 10px; right: 10px; top: 9px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--fill), var(--accent)); }
.track li { position: relative; padding-top: 34px; display: grid; gap: 4px; }
.track li::before { content: ""; position: absolute; top: 1px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); }
.track li:last-child::before { background: var(--accent); }
.track b { font-weight: 600; font-size: var(--t-base); line-height: 1.29; }
.track span { color: var(--text-dim); font-size: var(--t-xs); line-height: 1.38; }
@media (max-width: 760px) {
  .track { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .track::before { left: 8px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; background: linear-gradient(180deg, var(--fill), var(--accent)); }
  .track li { padding: 0 0 0 36px; }
}

/* Premium */
.premium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; align-items: start; font-size: var(--t-sm); line-height: 1.4; }
.checklist li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 0; }
.free-note { margin-top: 18px; font-size: var(--t-xs); color: var(--text-dim); }
.plans { display: grid; gap: 10px; }
.plan { background: var(--surface); border-radius: var(--r-card); padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; box-shadow: inset 0 0 0 2px transparent; }
.plan.best { box-shadow: inset 0 0 0 2px var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.plan-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-top b { font-weight: 600; font-size: var(--t-base); }
.plan p { color: var(--text-dim); font-size: var(--t-xs); grid-column: 1; }
.pill { font-size: var(--t-mini); font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 2px 8px; border-radius: 99px; letter-spacing: 0; }
.amount { grid-column: 2; grid-row: 1 / span 2; text-align: right; white-space: nowrap; font-weight: 700; font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.024em; font-variant-numeric: tabular-nums; }
.amount small { display: block; font-size: var(--t-xs); font-weight: 400; color: var(--text-dim); letter-spacing: 0; }
.plans + .table-note { margin-top: 14px; }
@media (max-width: 860px) { .premium { grid-template-columns: minmax(0, 1fr); } }

/* Neuigkeiten */
.news { display: grid; }
.news-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding-block: 22px; border-top: 0.5px solid var(--line); }
.news-item:last-child { border-bottom: 0.5px solid var(--line); }
.news-item time { color: var(--text-dim); font-weight: 500; font-size: var(--t-xs); padding-top: 3px; }
.news-item h3 { font-size: var(--t-base); margin-bottom: 4px; }
.news-item p { color: var(--text-dim); max-width: 42rem; font-size: var(--t-sm); line-height: 1.4; }
.news-item ul { color: var(--text-dim); margin: 8px 0 0; padding-left: 1.2em; font-size: var(--t-sm); }
.news-item li + li { margin-top: 4px; }
.tag { display: inline-block; font-size: var(--t-mini); font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; letter-spacing: 0; }
@media (max-width: 600px) { .news-item { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.about p { font-size: var(--t-base); line-height: 1.5; }
.about p + p { margin-top: 14px; }
.about .muted { font-size: var(--t-sm); }
@media (max-width: 760px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* Knöpfe wie in der App */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: var(--t-sm); min-height: 44px; padding: 12px 20px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); text-decoration: none; letter-spacing: -0.024em; transition: transform .12s var(--spring), opacity .12s; }
.button:hover { color: var(--on-accent); opacity: .9; }
.button:active { transform: scale(.96); }
.button.ghost { background: var(--surface2); color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:active { transform: none; } }

/* ---------- Textseiten ---------- */
.page-head { border-bottom: 0.5px solid var(--line); }
.page-head .wrap { padding-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px); display: grid; gap: 10px; }
.page-head h1 { font-size: var(--t-hero); line-height: 1.06; }
.page-head p { color: var(--text-dim); max-width: 40rem; font-size: var(--t-base); }
.prose { max-width: 46rem; padding-block: clamp(28px, 5vw, 48px) clamp(56px, 8vw, 96px); font-size: var(--t-base); line-height: 1.55; }
.prose h2 { font-size: var(--t-xl); line-height: 1.27; margin: 2.2em 0 .5em; padding-top: 1.1em; border-top: 0.5px solid var(--line); }
.prose h2:first-child, .prose .toc + h2, .prose .box + h2 { border-top: 0; padding-top: 0; }
.prose h3 { font-size: var(--t-base); font-weight: 600; letter-spacing: -0.012em; margin: 1.5em 0 .35em; }
.prose p, .prose ul, .prose ol, .prose address { margin: 0 0 .9em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose address { font-style: normal; }
.prose .meta, .prose .stand { color: var(--text-dim); font-size: var(--t-xs); margin-bottom: 1.6em; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: 12px; background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); line-height: 1.4; }
.prose .table-wrap table { min-width: 520px; }
.prose th, .prose td { border-bottom: 0.5px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose tr:last-child > td { border-bottom: 0; }
.prose th { color: var(--text-dim); font-weight: 600; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .05em; }
.prose .box { background: var(--surface); border-radius: var(--r-card); padding: 16px 18px; margin: 1.2em 0; font-size: var(--t-sm); line-height: 1.45; }
.prose .box ul { margin-bottom: 0; }
.prose .box.warn { background: linear-gradient(rgba(255,159,10,.10), rgba(255,159,10,.10)), var(--surface); box-shadow: inset 3px 0 0 #FF9F0A; }
.prose .box > :last-child { margin-bottom: 0; }
.toc { background: var(--surface); border-radius: var(--r-card); padding: 16px 20px; margin-bottom: 2em; font-size: var(--t-sm); }
.toc b { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.toc ol { margin: 8px 0 0; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.faq { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.faq details { padding: 0 18px; }
.faq details + details summary { border-top: 0.5px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; font-size: var(--t-base); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding-block: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--chrome); border-bottom: 2px solid var(--chrome); transform: rotate(-45deg); transition: transform .2s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 14px; margin: 0; color: var(--text-dim); font-size: var(--t-sm); line-height: 1.45; }
.contact-card { background: var(--surface); border-radius: var(--r-card); padding: 20px 22px; margin-bottom: 2.2em; display: grid; gap: 6px; }
.contact-card .big { font-weight: 700; font-size: var(--t-xl); color: var(--accent); user-select: all; overflow-wrap: anywhere; letter-spacing: -0.024em; }
.contact-card span:last-child { color: var(--text-dim); font-size: var(--t-sm); line-height: 1.45; }
.steps { list-style: none; counter-reset: s; padding: 0 !important; background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; margin: 0 !important; min-height: 56px; }
.steps li + li { border-top: 0.5px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: var(--t-xs); }
.path { font-weight: 600; white-space: normal; }
.danger { color: var(--alert); font-weight: 600; }

/* ---------- Fußzeile ---------- */
.site-foot { padding-block: 40px 56px; color: var(--text-dim); font-size: var(--t-xs); }
.site-foot .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.site-foot img { width: 88px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--t-sm); }
.foot-links a:hover { color: var(--accent); }
@media (max-width: 600px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Tabellen in Textseiten auf dem Handy: jede Zeile als Block statt seitlich scrollen */
@media (max-width: 600px) {
  .prose .table-wrap table { min-width: 0; }
  .prose .table-wrap thead, .prose .table-wrap tr:not(:has(td)) { display: none !important; }
  .prose .table-wrap table, .prose .table-wrap tbody, .prose .table-wrap tr, .prose .table-wrap td, .prose .table-wrap th { display: block; width: 100%; }
  .prose .table-wrap tr { padding: 12px 14px; border-bottom: 0.5px solid var(--line); }
  .prose .table-wrap tr:last-child { border-bottom: 0; }
  .prose .table-wrap td, .prose .table-wrap tr:last-child > td { border: 0; padding: 2px 0; }
  .prose .table-wrap td:first-child, .prose .table-wrap th[scope], .prose .table-wrap tr > th:first-child { font-weight: 600; color: var(--text); text-transform: none; letter-spacing: -0.012em; font-size: var(--t-sm); padding: 2px 0; border: 0; }
  .prose .table-wrap td + td { color: var(--text-dim); }
}

/* Menü auf schmalen Bildschirmen: eine Zeile über die volle Breite, wie der Umschalter in der App */
@media (max-width: 560px) {
  .nav { width: 100%; flex-wrap: nowrap; }
  .nav a { flex: 1 1 auto; text-align: center; white-space: nowrap; padding: 7px 6px; }
}
.prose .box h3:first-child { margin-top: 0; }

/* Team-Hinweis direkt unter dem Hero */
.section.team { padding-block: clamp(32px, 5vw, 56px); }
.team-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; max-width: 760px; }
.team-card h2 { font-size: var(--t-xl); line-height: 1.27; }
@media (min-width: 861px) { .team-card h2 { font-size: 28px; } }
.team-card p { color: var(--text); font-size: var(--t-base); line-height: 1.5; }
.team-card p.muted { color: var(--text-dim); font-size: var(--t-sm); }
