/* =========================================================
   Padel für Anfänger — Stylesheet
   Farbwelt: Padel-Court (Blau), Akzent Türkis, Graphit
   ========================================================= */

:root {
  --court:        #17457c;
  --court-deep:   #0e2c52;
  --court-line:   #ffffff;
  --accent:       #00b39a;
  --accent-deep:  #00806f;
  --sand:         #e8b06a;
  --danger:       #d1495b;

  --bg:           #f6f7f9;
  --bg-elev:      #ffffff;
  --bg-sunk:      #eceef2;
  --text:         #16202e;
  --text-muted:   #5b6779;
  --text-faint:   #8792a3;
  --border:       #dde1e8;
  --border-strong:#c3cad6;

  --shadow-sm: 0 1px 2px rgba(16,32,54,.06), 0 1px 3px rgba(16,32,54,.05);
  --shadow-md: 0 2px 4px rgba(16,32,54,.05), 0 8px 24px rgba(16,32,54,.08);
  --shadow-lg: 0 4px 8px rgba(16,32,54,.06), 0 16px 48px rgba(16,32,54,.12);

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --measure: 68ch;
  --wrap: 1120px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --step-0: clamp(1rem, .97rem + .16vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.11rem + .34vw, 1.38rem);
  --step-2: clamp(1.4rem, 1.27rem + .62vw, 1.75rem);
  --step-3: clamp(1.68rem, 1.45rem + 1.1vw, 2.3rem);
  --step-4: clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --court:        #4f9ae0;
    --court-deep:   #0b1a2b;
    --accent:       #2ad4b8;
    --accent-deep:  #7ff0dc;
    --sand:         #e8b06a;
    --danger:       #ff7b8a;

    --bg:           #0d151f;
    --bg-elev:      #141f2d;
    --bg-sunk:      #0a1119;
    --text:         #e9eef5;
    --text-muted:   #9dabbd;
    --text-faint:   #74839a;
    --border:       #24354a;
    --border-strong:#354a64;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 2px 6px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 4px 10px rgba(0,0,0,.4), 0 20px 56px rgba(0,0,0,.5);
  }
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.033em; }
h2 { font-size: var(--step-3); letter-spacing: -.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1.15em; }
p, li { max-width: var(--measure); text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }
li::marker { color: var(--accent); font-weight: 600; }

strong { font-weight: 650; color: var(--text); }

a { color: var(--accent-deep); text-decoration-thickness: 1.5px; text-underline-offset: 2.5px; }
a:hover { color: var(--accent); }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.4rem, 780px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-deep); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 62px;
  width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto;
}

.brand {
  display: inline-flex; align-items: center; gap: .58rem;
  font-weight: 700; letter-spacing: -.02em; font-size: 1.03rem;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: 28px; height: 28px; flex: 0 0 28px;
  display: block;
  border-radius: 7.5px;
  box-shadow: 0 1px 3px rgba(16, 32, 54, .22);
}
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__mark { transition: transform .18s ease; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--bg-sunk); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: .42rem .72rem; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--border-strong); }
.nav-toggle__bars { display: block; width: 15px; height: 9px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after,
.nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.8px;
  background: currentColor; border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span    { top: 3.6px; }
.nav-toggle__bars::after  { top: 7.2px; }

.nav { margin-left: auto; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .18rem; flex-wrap: wrap;
}
.nav li { margin: 0; }
.nav a {
  display: block; padding: .42rem .68rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted); text-decoration: none;
  font-size: .93rem; font-weight: 550;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-sunk); color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg-sunk); font-weight: 650; }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: .5rem max(1.2rem, calc((100vw - var(--wrap)) / 2)) .9rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .68rem .7rem; font-size: 1rem; }
}
@media (min-width: 861px) { .nav-toggle { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.6rem) 0 clamp(2.6rem, 5vw, 4rem);
  background:
    radial-gradient(75% 120% at 82% 0%, color-mix(in srgb, var(--accent) 17%, transparent) 0%, transparent 62%),
    linear-gradient(168deg, var(--court-deep) 0%, var(--court) 100%);
  color: #eef4fb;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero__lead {
  font-size: var(--step-1); color: #cfe0f2; max-width: 56ch;
  margin-bottom: 1.8rem;
}
.hero__lead strong { color: #fff; font-weight: 650; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .95rem;
}
.hero .eyebrow { color: #6ee7d3; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .72rem 1.2rem;
  border-radius: 999px;
  font-weight: 650; font-size: .97rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #05231e; }
.btn--primary:hover { background: #4fe0c8; color: #05231e; }
.btn--ghost { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--quiet {
  background: var(--bg-elev); color: var(--text);
  border-color: var(--border-strong); box-shadow: var(--shadow-sm);
}
.btn--quiet:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head {
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
}
.page-head__lead {
  font-size: var(--step-1); color: var(--text-muted); max-width: 58ch; margin-bottom: 0;
}

/* ---------- Abschnitte ---------- */

section { scroll-margin-top: 80px; }
.section { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.section--sunk { background: var(--bg-sunk); border-block: 1px solid var(--border); }
.section__head { margin-bottom: 2rem; }
.section__head p { color: var(--text-muted); font-size: var(--step-1); margin-bottom: 0; }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Karten ---------- */

.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }

a.card {
  text-decoration: none; color: inherit; display: block;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  color: inherit;
}
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-deep);
  font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums;
  margin-bottom: .85rem;
}
@media (prefers-color-scheme: dark) { .card__num { color: var(--accent); } }
.card__meta {
  display: block; margin-top: .9rem;
  font-size: .87rem; font-weight: 650; color: var(--accent-deep);
}
@media (prefers-color-scheme: dark) { .card__meta { color: var(--accent); } }

/* ---------- Merksatz / Callout ---------- */

.callout {
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  margin: 1.6rem 0;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  background: var(--bg-elev);
}
.callout > :last-child { margin-bottom: 0; }
.callout__label {
  display: block;
  font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: .38rem;
}
@media (prefers-color-scheme: dark) { .callout__label { color: var(--accent); } }
.callout--warn { border-left-color: var(--danger); }
.callout--warn .callout__label { color: var(--danger); }
.callout--rule { border-left-color: var(--court); background: var(--bg-sunk); }
.callout--rule .callout__label { color: var(--court); }
@media (prefers-color-scheme: dark) { .callout--rule .callout__label { color: var(--court); } }

.keypoint {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 1.1rem;
  margin: 1.8rem 0;
  max-width: 46ch;
}

/* ---------- Aufklappbare Regeln ---------- */

.accordion { display: grid; gap: .6rem; margin: 1.6rem 0; }

details.rule {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
details.rule[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
details.rule > summary {
  cursor: pointer;
  padding: .95rem 1.2rem .95rem 2.8rem;
  font-weight: 650;
  font-size: 1.03rem;
  list-style: none;
  position: relative;
  color: var(--text);
}
details.rule > summary::-webkit-details-marker { display: none; }
details.rule > summary::before {
  content: ""; position: absolute; left: 1.15rem; top: 1.42rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
  transition: transform .18s ease;
}
details.rule[open] > summary::before { transform: rotate(45deg) translateY(-3px); }
details.rule > summary:hover { background: var(--bg-sunk); }
.rule__body { padding: 0 1.2rem 1.15rem 2.8rem; }
.rule__body > :last-child { margin-bottom: 0; }

/* Ja/Nein-Zeilen */
.verdicts { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.verdicts li {
  padding: .62rem .8rem .62rem 2.35rem;
  position: relative;
  background: var(--bg-sunk);
  border-radius: var(--radius-sm);
  max-width: none;
  margin: 0;
  font-size: .96rem;
}
.verdicts li::before {
  position: absolute; left: .78rem; top: .62rem;
  font-weight: 800; font-size: 1rem; line-height: 1.35;
}
.verdicts li.yes::before { content: "✓"; color: var(--accent-deep); }
.verdicts li.no::before  { content: "✕"; color: var(--danger); }
@media (prefers-color-scheme: dark) { .verdicts li.yes::before { color: var(--accent); } }

/* ---------- Streitfälle ---------- */

.dispute {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 1.2rem 1.35rem;
}
.dispute h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.dispute__verdict {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 5px; margin-bottom: .6rem;
}
.dispute__verdict.ok  { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-deep); }
.dispute__verdict.bad { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
@media (prefers-color-scheme: dark) { .dispute__verdict.ok { color: var(--accent); } }
.dispute p:last-child { margin-bottom: 0; }
.dispute p { font-size: .96rem; }

/* ---------- Interaktives Spielfeld ---------- */

.court-tool {
  display: grid; gap: 1.3rem;
  margin: 1.8rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .court-tool { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: start; }
}
.court-stage {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.court-svg { width: 100%; height: auto; display: block; }

.court-caption {
  margin: .8rem .2rem 0;
  font-size: .87rem;
  color: var(--text-faint);
  max-width: none;
}

/* Auf schmalen Schirmen werden die Beschriftungen im SVG unlesbar klein —
   dort tragen die Bildunterschrift und die Legende die Information. */
@media (max-width: 700px) {
  .court-labels { display: none; }
}

.hotspot { cursor: pointer; }
.hotspot .hit { fill: transparent; }
.hotspot:hover .hl, .hotspot:focus-visible .hl { opacity: .55; }
.hotspot[aria-pressed="true"] .hl { opacity: .8; }
.hl { opacity: 0; transition: opacity .15s ease; }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hit { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 6 4; }

.court-info {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.court-info h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.court-info p:last-child { margin-bottom: 0; }
.court-info__hint { color: var(--text-faint); font-size: .92rem; font-style: italic; }

.court-legend {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.court-legend li { margin: 0; max-width: none; }
.court-legend button {
  font: inherit; font-size: .87rem; font-weight: 600;
  padding: .34rem .7rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-sunk); color: var(--text-muted);
  cursor: pointer;
}
.court-legend button:hover { border-color: var(--accent); color: var(--text); }
.court-legend button[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #05231e;
}

/* ---------- Taktik-Situationen (Tabs) ---------- */

.tabs { margin: 1.8rem 0; }
.tablist {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
}
.tablist button {
  font: inherit; font-size: .93rem; font-weight: 620;
  padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev); color: var(--text-muted);
  cursor: pointer;
}
.tablist button:hover { color: var(--text); border-color: var(--accent); }
.tablist button[aria-selected="true"] {
  background: var(--court); border-color: var(--court); color: #fff;
}
@media (prefers-color-scheme: dark) {
  .tablist button[aria-selected="true"] { color: #06121f; }
}
.tabpanel[hidden] { display: none; }
.tabpanel {
  display: grid; gap: 1.3rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .tabpanel { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: start; }
}

/* ---------- Taktik-Grundsätze ---------- */

.principle {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 780px) {
  .principle { grid-template-columns: 62px 1fr; gap: 1.6rem; align-items: start; }
}
.principle__num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  letter-spacing: -.05em;
  color: color-mix(in srgb, var(--accent) 45%, transparent);
  font-variant-numeric: tabular-nums;
}
.principle h3 { margin-bottom: .5rem; }
.principle__why {
  margin-top: 1rem;
  font-size: .95rem; color: var(--text-muted);
  border-left: 3px solid var(--border-strong); padding-left: .95rem;
}
.principle__why strong { color: var(--text); }
.principle > div > :last-child { margin-bottom: 0; }

/* ---------- Skills ---------- */

.skill {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.skill__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; margin-bottom: .3rem; }
.skill__head h3 { margin: 0; }
.tag {
  display: inline-block;
  font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .6rem; border-radius: 5px;
  background: var(--bg-sunk); color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag--core { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-deep); border-color: transparent; }
@media (prefers-color-scheme: dark) { .tag--core { color: var(--accent); } }
.skill__lead { color: var(--text-muted); margin-bottom: 1.3rem; }

.subhead {
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-faint);
  margin: 1.5rem 0 .55rem;
}
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.steps li {
  counter-increment: s;
  position: relative; padding-left: 2.2rem; margin-bottom: .62rem;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: .1rem;
  width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--court); color: #fff;
  font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) { .steps li::before { color: #06121f; } }

.drill {
  background: var(--bg-sunk);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: .8rem;
}
.drill h4 { font-size: 1rem; margin-bottom: .3rem; }
.drill p:last-child { margin-bottom: 0; }
.drill p { font-size: .96rem; }

.check {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-top: 1.3rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--border-strong);
  font-size: .96rem;
}
.check::before { content: "🎯"; flex: 0 0 auto; font-size: 1.1rem; line-height: 1.4; }
.check p { margin: 0; }

.mistakes { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.mistakes li {
  position: relative; padding-left: 1.6rem; margin-bottom: .5rem; font-size: .96rem;
}
.mistakes li::before {
  content: "✕"; position: absolute; left: 0; top: 0;
  color: var(--danger); font-weight: 800;
}

/* ---------- Trainingsplan ---------- */

.week {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  margin-bottom: 1rem;
  overflow: hidden;
}
.week__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
  padding: 1.05rem 1.35rem;
  background: var(--bg-sunk);
  border-bottom: 1px solid var(--border);
}
.week__no {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep);
}
@media (prefers-color-scheme: dark) { .week__no { color: var(--accent); } }
.week__title { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; margin: 0; flex: 1 1 auto; }
.week__body { padding: 1.25rem 1.35rem; }
.week__body > :last-child { margin-bottom: 0; }

.session { margin-bottom: 1.2rem; }
.session h4 { font-size: 1rem; margin-bottom: .4rem; }
.session ul { margin-bottom: 0; }
.session li { font-size: .96rem; }
.dur {
  font-variant-numeric: tabular-nums;
  font-size: .82rem; font-weight: 650;
  color: var(--text-faint);
  background: var(--bg-sunk);
  padding: .1rem .42rem; border-radius: 5px;
  margin-left: .35rem;
  white-space: nowrap;
}
.milestone {
  margin-top: 1.1rem; padding: .85rem 1.05rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: var(--radius-sm);
  font-size: .96rem;
}
.milestone strong { color: var(--accent-deep); }
@media (prefers-color-scheme: dark) { .milestone strong { color: var(--accent); } }
.milestone p { margin: 0; }

/* ---------- Videos (Klick zum Laden) ---------- */

.video {
  margin: 1.6rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  max-width: 640px;
}
.video--wide { max-width: none; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--court-deep);
  display: block; width: 100%;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  overflow: hidden;
}
.video__frame img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .82; transition: opacity .2s ease, transform .3s ease;
}
.video__frame:hover img { opacity: 1; transform: scale(1.02); }
.video__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.video__play span {
  width: 62px; height: 44px; border-radius: 11px;
  background: rgba(16,20,28,.72);
  display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.video__frame:hover .video__play span { background: var(--danger); transform: scale(1.06); }
.video__play svg { width: 20px; height: 20px; fill: #fff; display: block; margin-left: 2px; }
.video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__body { padding: .95rem 1.15rem 1.05rem; }
.video__title { font-size: 1.01rem; font-weight: 650; margin: 0 0 .28rem; line-height: 1.35; }
.video__desc { font-size: .93rem; color: var(--text-muted); margin: 0 0 .55rem; }
.video__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center;
  font-size: .85rem; color: var(--text-faint);
}
.video__meta a { color: var(--text-faint); }
.video__meta a:hover { color: var(--accent); }
.video__lang {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: .12rem .42rem; border-radius: 4px;
  background: var(--bg-sunk); border: 1px solid var(--border); color: var(--text-muted);
}
.video__consent {
  font-size: .82rem; color: var(--text-faint);
  margin: .5rem 0 0; padding-top: .5rem;
  border-top: 1px solid var(--border);
  max-width: none;
}

/* ---------- Spickzettel ---------- */

.cheat-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.cheat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 1.3rem 1.4rem;
  break-inside: avoid;
}
.cheat h2 { font-size: 1.16rem; margin-bottom: .8rem; letter-spacing: -.02em; }
.cheat ol, .cheat ul { margin-bottom: 0; padding-left: 1.2rem; }
.cheat li { font-size: .94rem; margin-bottom: .48rem; max-width: none; line-height: 1.5; }
.cheat li:last-child { margin-bottom: 0; }
.cheat--accent { border-top: 3px solid var(--accent); }
.cheat--court  { border-top: 3px solid var(--court); }
.cheat--sand   { border-top: 3px solid var(--sand); }

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--court-deep);
  color: #b9cbe0;
  padding: 3rem 0 2.2rem;
  margin-top: 4rem;
  font-size: .93rem;
}
.site-footer a { color: #8fe6d6; }
.site-footer a:hover { color: #b6f3e8; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .55rem; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 2.2rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .35rem; }
.footer-grid p { max-width: 42ch; }
/* ---------- Rechtstexte ---------- */

.footer-links {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline;
}
.footer-links a { color: #d7e6f5; text-decoration-thickness: 1.5px; }
.footer-links a:hover { color: #fff; }
.footer-links span { color: #6d84a0; }

/* Auffällig, damit die Seite nicht versehentlich mit Platzhaltern online geht. */
.legal-warning {
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 12%, var(--bg-elev));
  padding: 1.1rem 1.3rem;
  margin: 0 0 2.4rem;
}
.legal-warning h2 {
  font-size: 1.02rem;
  color: var(--danger);
  margin: 0 0 .35rem;
  padding: 0;
  border: 0;
  letter-spacing: -.01em;
}
.legal-warning p { margin-bottom: 0; font-size: .95rem; }
.legal-warning code {
  font-size: .88em;
  background: var(--bg-sunk);
  padding: .1rem .35rem;
  border-radius: 4px;
}

/* Auszufüllende Stellen. Beim Ersetzen das span mit entfernen. */
.ph {
  background: color-mix(in srgb, var(--sand) 42%, transparent);
  border-bottom: 2px dotted var(--sand);
  padding: .05em .3em;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.legal-address {
  font-size: 1.06rem;
  line-height: 2.1;
  margin-bottom: 1.6rem;
}

/* Nur direkte Kinder, damit die Überschrift im Warnkasten unberührt bleibt. */
.legal > h2 {
  font-size: var(--step-1);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.legal > h2:first-of-type { margin-top: 1.4rem; }
.legal > h3 { font-size: 1.06rem; margin-top: 1.6rem; }
.legal .updated {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-faint);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.4rem;
  color: #8ba3bd; font-size: .86rem;
}
.footer-legal p { max-width: 76ch; margin-bottom: .5rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Drucken ---------- */

@media print {
  :root {
    --bg: #fff; --bg-elev: #fff; --bg-sunk: #fff;
    --text: #000; --text-muted: #333; --text-faint: #555;
    --border: #bbb; --border-strong: #888;
    --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
  }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.42; }
  .site-header, .site-footer, .video, .no-print, .nav-toggle, .skip { display: none !important; }
  .ph { background: #ffe9b8; border-bottom: 2px dotted #8a6a1f; }
  .legal-warning { border: 2px solid #000; background: #fff; }
  .legal > h2 { break-after: avoid; }
  .section { padding: 0; }
  .page-head { padding: 0 0 .6rem; border: 0; background: none; }
  .wrap, .narrow { width: 100%; }
  h1 { font-size: 19pt; margin-bottom: .2rem; }
  h2 { font-size: 12.5pt; }
  .cheat-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .cheat { border: 1px solid #999; padding: .55rem .7rem; box-shadow: none; }
  .cheat li { font-size: 9pt; margin-bottom: .22rem; }
  .print-note { display: block !important; }
  a { color: #000; text-decoration: none; }
  @page { margin: 12mm; }
}
.print-note { display: none; }
