/* SQDZ Website – Entwurf
   Design-Tokens abgeleitet aus der App (src/app/globals.css):
   pitch (Crimson Violet) + cherry als einzige Akzentfamilie,
   tea/gold/flame nur als semantische Ampel in Produkt-Vorschauen.
   Radius-Regel: Buttons/Chips = Pill, Karten = 24px, Flächen = 32px. */

@font-face {
  /* Headline-Schrift: Sport Headline Degular (aufrecht, kommerzielle Lizenz, Webfont-Nutzung prüfen).
     Nur noch für die Headline im roten Abschluss-Kasten (.final h2), alle anderen Headlines in DM Sans.
     Das deutsche „ fehlt im Zeichensatz, deshalb dort keine deutschen Anführungszeichen. */
  font-family: "Sport Headline Degular";
  src: url("fonts/SportHeadline-Degular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  /* Nur im App-Prototyp: Headline-Schrift der App (ExtraBold Italic) */
  font-family: "Sport Headline";
  src: url("fonts/SportHeadline-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f9fa;
  --surface: #ffffff;
  --card: #f1f4f6;
  --hover: #e9edf0;
  --ink: #17121a;
  --muted: #5b616b;
  --line: rgba(23, 18, 26, 0.09);
  --accent: #a62c5d;        /* cherry */
  --accent-deep: #5d1733;   /* pitch */
  --accent-ink: #ffffff;
  --accent-soft: rgba(166, 44, 93, 0.08);
  --ok: #2f7d4f;            /* tea-dark */
  --ok-soft: #c6ebbe;       /* tea */
  --mid: #b07a00;           /* gold-dark, lesbar */
  --mid-soft: #ffba49;      /* gold */
  --low: #c0330a;           /* flame-dark */
  --grass: #2f6b45;
  --grass-2: #2a603e;
  --shadow: 0 1px 2px rgba(23, 18, 26, 0.03), 0 12px 32px -12px rgba(93, 23, 51, 0.14);
  --heading: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Sport Headline Degular", "DM Sans", system-ui, sans-serif; /* nur Headline im roten Abschluss-Kasten */
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121416;
    --surface: #1b1e21;
    --card: #24282c;
    --hover: #2d3236;
    --ink: #f4eef2;
    --muted: #b3a6ae;
    --line: rgba(244, 238, 242, 0.1);
    --accent: #e0679a;
    --accent-deep: #7a2146;
    --accent-ink: #1a0f14;
    --accent-soft: rgba(224, 103, 154, 0.12);
    --ok: #7fcf93;
    --ok-soft: #2d4a35;
    --mid: #ffc767;
    --mid-soft: #5b4520;
    --low: #ff8a63;
    --grass: #1f4a30;
    --grass-2: #1b422b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121416;
  --surface: #1b1e21;
  --card: #24282c;
  --hover: #2d3236;
  --ink: #f4eef2;
  --muted: #b3a6ae;
  --line: rgba(244, 238, 242, 0.1);
  --accent: #e0679a;
  --accent-deep: #7a2146;
  --accent-ink: #1a0f14;
  --accent-soft: rgba(224, 103, 154, 0.12);
  --ok: #7fcf93;
  --ok-soft: #2d4a35;
  --mid: #ffc767;
  --mid-soft: #5b4520;
  --low: #ff8a63;
  --grass: #1f4a30;
  --grass-2: #1b422b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.h-display, h1, h2 {
  font-family: var(--heading);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section { padding: 88px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap; border-radius: 999px; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15px; border: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s, background-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #a62c5d, #5d1733);
  color: #fff; padding: 15px 28px;
  box-shadow: 0 8px 24px -10px rgba(93, 23, 51, 0.55);
}
.btn-primary:hover { opacity: 0.92; }
.btn-primary i { transition: transform 0.25s var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }
.btn-secondary {
  background: var(--surface); color: var(--ink); padding: 14px 24px;
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--hover); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand .logo { display: block; height: 26px; width: auto; }
.nav-links { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; align-items: center; gap: 18px; }
.nav-cta .login { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-cta .login:hover { color: var(--ink); }
.menu-btn { display: inline-flex; background: none; border: 0; font-size: 26px; padding: 6px; cursor: pointer; }
@media (min-width: 1180px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn { display: none; }
}
.nav-links a, .nav-cta a { white-space: nowrap; }
.drawer {
  position: fixed; inset: 0; z-index: 50; background: var(--bg);
  padding: 20px 16px 32px; display: flex; flex-direction: column;
  transform: translateY(-102%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.drawer ul { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 6px; }
.drawer ul a { display: block; font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 2rem; text-decoration: none; padding: 6px 0; }
.drawer .btn { margin-top: auto; width: 100%; }

/* Hero */
.hero { padding: 40px 0 72px; }
@media (min-width: 1024px) { .hero { padding: 64px 0 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.hero h1 { max-width: none; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Spielfeld-Komponente (Produktvorschau) */
.pitch-card {
  background: var(--surface); border-radius: 32px; padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.pitch-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 14px; flex-wrap: wrap; }
.pitch-title { font-weight: 700; font-size: 15px; }
.pitch-title span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; }
.seg button {
  border: 0; background: transparent; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23,18,26,.12); }
.pitch {
  position: relative; aspect-ratio: 3 / 3.6; border-radius: 22px; overflow: hidden;
  background: repeating-linear-gradient(180deg, var(--grass) 0 10%, var(--grass-2) 10% 20%);
}
@media (min-width: 1024px) { .pitch { aspect-ratio: 3 / 3.3; } }
.pitch .ln { position: absolute; border: 2px solid rgba(255,255,255,.28); }
.pitch .ln-out { inset: 4%; border-radius: 4px; }
.pitch .ln-mid { left: 4%; right: 4%; top: 50%; height: 0; border-width: 2px 0 0; }
.pitch .ln-circle { left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.pitch .ln-box-t { left: 26%; right: 26%; top: 4%; height: 14%; border-top: 0; }
.pitch .ln-box-b { left: 26%; right: 26%; bottom: 4%; height: 14%; border-bottom: 0; }
.press-line {
  position: absolute; left: 4%; right: 4%; top: 38%; height: 0;
  border-top: 2px dashed rgba(255, 186, 73, 0.95);
  opacity: 0; transition: opacity 0.4s, top 0.6s var(--ease);
}
.press-line span {
  position: absolute; right: 8px; top: -26px; font-size: 11px; font-weight: 700;
  color: #1c1305; background: #ffba49; padding: 3px 9px; border-radius: 999px;
}
.pitch[data-mode="off"] .press-line { opacity: 1; }
.token {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transition: transform 0.75s var(--ease);
  will-change: transform;
}
.token-inner {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.token .num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: #fff; color: #17121a; position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.token .num::after {
  content: ""; position: absolute; right: -2px; top: -2px; width: 11px; height: 11px;
  border-radius: 50%; border: 2px solid #fff; background: var(--fit, #2f7d4f);
}
.token .name {
  font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(10, 20, 14, 0.42); padding: 1px 7px; border-radius: 999px;
}
@media (min-width: 768px) {
  .token .num { width: 40px; height: 40px; font-size: 15px; }
  .token .name { font-size: 12px; }
}
.pitch-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 14px 6px 2px; font-size: 13px; color: var(--muted); }
.pitch-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pitch-legend i.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sample-note { font-size: 12px; color: var(--muted); margin-left: auto; }

/* So funktioniert's */
.how { display: grid; gap: 40px; }
@media (min-width: 1024px) { .how { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px;
  border-radius: 24px; cursor: pointer; transition: background-color 0.25s;
  border: 0; background: none; text-align: left; width: 100%;
}
.step:hover { background: var(--card); }
.step[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.step .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 24px;
}
.step .step-t { display: block; font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 1.6rem; line-height: 1.1; margin-bottom: 4px; }
.step .step-d { display: block; color: var(--muted); font-size: 16px; }

.demo {
  background: var(--surface); border-radius: 32px; padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .demo { padding: 36px; } }
.demo-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-deep); color: #fff; font-weight: 700;
}
.demo-head strong { display: block; font-size: 17px; }
.demo-head span { font-size: 14px; color: var(--muted); }
.demo-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
.slider { display: grid; gap: 6px; margin-bottom: 14px; }
.slider label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.slider output { font-variant-numeric: tabular-nums; color: var(--accent); }
.slider input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.demo-panel-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.fit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fit-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border-radius: 16px; padding: 12px 14px;
  transition: transform 0.4s var(--ease);
}
.fit-list .pos { font-weight: 700; }
.fit-list .pos small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.boost-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.boost-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); }
.boost-list .pos { font-weight: 700; }
.boost-list .pos small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.boost-gain { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fit-badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.fit-3 { background: var(--ok-soft); color: #1e5535; }
.fit-2 { background: var(--mid-soft); color: #4a3200; }
.fit-1 { background: var(--card); color: var(--low); border: 1px solid var(--line); }
:root[data-theme="dark"] .fit-3 { color: #c9f0d2; }
:root[data-theme="dark"] .fit-2 { color: #ffe3b0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fit-3 { color: #c9f0d2; }
  :root:not([data-theme="light"]) .fit-2 { color: #ffe3b0; }
}
.demo-foot { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
.tile {
  border-radius: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 260px; overflow: hidden; position: relative;
}
@media (min-width: 900px) {
  .t-4 { grid-column: span 4; }
  .t-2 { grid-column: span 2; }
  .t-6 { grid-column: span 6; }
}
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--muted); font-size: 16px; max-width: 48ch; }
.tile .tag { font-size: 12px; font-weight: 700; color: var(--accent); }
.tile-deep { background: linear-gradient(160deg, #5d1733, #2e0b1b); color: #fbeff4; border: 0; }
.tile-deep p { color: rgba(251, 239, 244, 0.78); }
.tile-deep .tag { color: #ffba49; }
.tile-tint { background: var(--accent-soft); border-color: transparent; }

.depth { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: auto; }
.depth div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 10px 12px; }
.depth b { display: block; font-size: 13px; }
.depth .dots { display: flex; gap: 4px; margin-top: 6px; }
.depth .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: rgba(255,255,255,.18); }
.depth .dots i.g { background: #7fcf93; }
.depth .dots i.y { background: #ffba49; }
.depth .dots i.r { background: #ff7a52; }

.events { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.events li { display: grid; grid-template-columns: 38px 22px 1fr; align-items: center; gap: 6px; background: var(--card); padding: 8px 12px; border-radius: 12px; }
.events .min { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.events i { color: var(--accent); }

.rae { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: auto; }
.rae div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.rae span { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--accent); }
.rae small { font-size: 12px; font-weight: 700; color: var(--muted); }

.minutes { margin-top: auto; display: grid; gap: 8px; font-size: 13px; }
.minutes div { display: grid; grid-template-columns: 72px 1fr 38px; align-items: center; gap: 8px; }
.minutes span.bar { height: 8px; border-radius: 99px; background: var(--accent); }
.minutes b { text-align: right; font-variant-numeric: tabular-nums; }

.attend { margin-top: auto; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.attend i { aspect-ratio: 1; border-radius: 6px; background: var(--ok-soft); display: block; }
.attend i.x { background: var(--card); border: 1px solid var(--line); }

.tile-wide { display: grid; gap: 24px; }
@media (min-width: 900px) { .tile-wide { grid-template-columns: 1fr 1.2fr; align-items: center; } }

/* Foto-Platzhalter: werden durch echte Fotos ersetzt */
.photo-slot {
  border-radius: 20px; min-height: 220px; height: 100%;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,186,73,.22), transparent 60%),
    linear-gradient(160deg, var(--grass), #173524);
  display: grid; place-items: end start; padding: 16px; color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 600; position: relative; overflow: hidden;
}
.photo-slot i { font-size: 22px; margin-right: 6px; vertical-align: -4px; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Zielgruppen-Tabs */
.aud { display: grid; gap: 32px; }
@media (min-width: 1024px) { .aud { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .aud .tabs { margin-top: 0; } }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.tabs button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted);
  transition: background-color .25s, color .25s;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab-panel h3 { font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 1.9rem; line-height: 1.1; margin-bottom: 14px; }
.tab-panel p { color: var(--muted); max-width: 52ch; }
.tab-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tab-panel li { display: flex; gap: 12px; align-items: flex-start; }
.tab-panel li i { color: var(--ok); font-size: 22px; margin-top: 0; flex-shrink: 0; }
.aud .photo-slot { min-height: 340px; }
@media (min-width: 1024px) { .aud .photo-slot { min-height: 460px; } }

/* Statement */
.facts { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.facts b { display: block; font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 3.4rem; line-height: 1; color: var(--accent); }
.facts span { font-size: 14px; color: var(--muted); }

/* Preise */
.billing { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.billing .save { font-size: 13px; font-weight: 700; color: var(--ok); }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px;
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.plan-hl { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 3rem; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { font-size: 13px; color: var(--muted); min-height: 20px; margin-top: -10px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li i { color: var(--ok); font-size: 22px; margin-top: -1px; flex-shrink: 0; }
.plan .btn { margin-top: auto; width: 100%; }

.club {
  margin-top: 20px; border-radius: 24px; padding: 30px; display: grid; gap: 28px;
  background: linear-gradient(150deg, #5d1733, #2e0b1b); color: #fbeff4;
}
@media (min-width: 900px) { .club { grid-template-columns: 1.1fr 1fr; padding: 44px; align-items: center; } }
.club h3 { font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 2rem; line-height: 1.1; }
.club p { color: rgba(251, 239, 244, 0.8); margin-top: 10px; max-width: 50ch; }
.club ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.club li { display: flex; gap: 10px; }
.club li i { color: #7fcf93; font-size: 22px; margin-top: -1px; flex-shrink: 0; }
.calc { background: rgba(255,255,255,.07); border-radius: 20px; padding: 24px; border: 1px solid rgba(255,255,255,.1); }
.calc label { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.calc input[type="range"] { width: 100%; accent-color: #ffba49; margin: 12px 0 18px; height: 28px; }
.calc-row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; color: rgba(251,239,244,.8); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.calc-total b { font-family: var(--heading); font-style: normal; font-weight: 600; letter-spacing: -0.025em; font-size: 2.2rem; }
.calc .btn { width: 100%; margin-top: 18px; padding: 15px 24px; background: #fbeff4; color: #3d0f22; }
.calc .btn:hover { background: #fff; }

.pilot {
  margin-bottom: 28px; border-radius: 24px; padding: 24px 28px; background: var(--surface);
  border: 1px dashed var(--accent); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between;
}
.pilot p { max-width: 70ch; }
.pilot strong { color: var(--accent); }

details.compare { margin-top: 28px; background: var(--surface); border-radius: 24px; border: 1px solid var(--line); }
details.compare summary { cursor: pointer; padding: 22px 28px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.compare summary::-webkit-details-marker { display: none; }
details.compare summary i { transition: transform .3s var(--ease); }
details.compare[open] summary i { transform: rotate(180deg); }
.table-scroll { overflow-x: auto; padding: 0 12px 20px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; padding: 11px 16px; }
.compare thead th { font-size: 13px; color: var(--muted); font-weight: 700; }
.compare tbody tr:nth-child(odd) td { background: var(--card); }
.compare tbody tr td:first-child { border-radius: 10px 0 0 10px; }
.compare tbody tr td:last-child { border-radius: 0 10px 10px 0; }
.compare td.c { text-align: center; }
/* Plan-Spalten gleich breit, Kopf zentriert wie die Zellen */
.compare thead th:not(:first-child) { text-align: center; width: 15%; }
.compare td i.ph-check-circle { color: var(--ok); font-size: 22px; }
.compare td .no { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* FAQ */

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Abschluss-CTA */
.final {
  border-radius: 32px; padding: 56px 24px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 50% 0%, #a62c5d, #5d1733 55%, #2e0b1b);
  color: #fff;
}
@media (min-width: 768px) { .final { padding: 96px 48px; } }
.final h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; max-width: 16em; margin: 0 auto; }
.final p { margin: 20px auto 0; color: rgba(255,255,255,.8); max-width: 46ch; }
.final .btn-primary { background: #fff; color: #3d0f22; margin-top: 34px; box-shadow: none; }
.final .fine { color: rgba(255,255,255,.7); }

/* Footer */
footer { padding: 72px 0 40px; }
.foot { display: grid; gap: 40px; }
@media (min-width: 768px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { font-size: 13px; margin: 0 0 14px; color: var(--muted); font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--accent); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }

/* Scroll-Reveal (nur ohne reduzierte Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero .reveal { transition-duration: 1s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .token, .press-line, .drawer, .fit-list li { transition: none !important; }
}

/* Mobil: einspaltige Grids dürfen nie breiter als der Viewport werden */
.hero-grid, .how, .demo-grid, .bento, .tile-wide, .aud,
.plans, .club, .foot { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .demo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 768px) {
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile-wide { grid-template-columns: 1fr 1.2fr; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .club { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .how { grid-template-columns: 0.9fr 1.1fr; }
  .aud { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); hyphens: auto; -webkit-hyphens: auto; }
  .pitch-toolbar { padding-bottom: 12px; }
  .tab-panel h3 { font-size: 1.6rem; }
}

/* ===================================================================
   HERO: Headline, Subline-Zeile, App-Fenster
   =================================================================== */
/* overflow-x: clip statt hidden, damit Schatten und Glow unter dem App-Fenster nicht abgeschnitten werden */
.hero { padding: 104px 0 40px; overflow-x: clip; overflow-y: visible; position: relative; }
.hero > .wrap, .hero > .app-stage { position: relative; z-index: 1; }
.hero { isolation: isolate; }
/* Punkteraster über den ganzen Viewport, steht fest und scrollt nicht mit */
.bg-dots { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
main, footer { position: relative; z-index: 1; }
/* Spielerfoto rechts hinter der Headline, blendet beim Scrollen aus (main.js) */
.hero-photo {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: 72px; right: max(-60px, calc((100vw - 1240px) / 2 - 40px));
  width: auto; height: clamp(340px, 52vw, 640px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
  opacity: var(--photo-o, 1); transform: translate3d(0, var(--photo-y, 0px), 0); will-change: opacity, transform;
}
@media (max-width: 899px) { .hero-photo { opacity: calc(var(--photo-o, 1) * .35); right: -90px; } }
/* Auf niedrigen Bildschirmen schrumpfen Abstand und Headline mit der Höhe, damit das App-Fenster noch anschneidet */
@media (min-width: 1024px) { .hero { padding: clamp(112px, 20vh, 160px) 0 48px; } }
.hero h1 { max-width: 14em; font-size: clamp(2.3rem, min(4.6vw, 8.5vh), 4rem); }
.hero-row { display: grid; gap: 20px; margin-top: 22px; align-items: end; }
@media (min-width: 900px) { .hero-row { grid-template-columns: minmax(0, 1fr) auto; } }
.hero .lead { margin-top: 0; max-width: 52ch; }
.hero-ctas { margin-top: 24px; }
.hero-news {
  justify-self: start; border: 0; background: none; cursor: pointer; padding: 6px 0; text-decoration: none;
  font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
}
/* Liegt auf Desktop über dem Spielerfoto, daher als Glas-Pille */
@media (min-width: 900px) {
  .hero-news {
    padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}
.hero-news b { color: var(--ink); }
.hero-news:hover { color: var(--ink); }
.hero-news i { transition: transform .25s var(--ease); }
.hero-news:hover i { transform: translateX(3px); }
kbd {
  font-family: var(--body); font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 6px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
}

.app-stage { position: relative; max-width: 1320px; margin: 44px auto 0; padding: 0 16px; }
@media (min-width: 768px) { .app-stage { padding: 0 32px; margin-top: 56px; } }
@media (min-width: 768px) and (max-height: 760px) { .app-stage { margin-top: 32px; } }
@media (min-width: 768px) and (max-height: 640px) {
  .hero { padding-top: 72px; }
  .hero-row { margin-top: 16px; }
  .hero-ctas { margin-top: 18px; }
}
.app-glow {
  position: absolute; left: 6%; right: 6%; top: 18%; bottom: -10%; z-index: 0;
  background: radial-gradient(60% 60% at 50% 60%, rgba(166, 44, 93, .28), transparent 70%);
  filter: blur(40px); pointer-events: none;
}

/* Das App-Fenster zeigt die echte App-Optik (immer hell, wie das Produkt) */
.app {
  --a-page: #f7f9fa; --a-card: #f1f4f6; --a-ink: #17121a; --a-muted: #6b7280; --a-line: #e5e7eb;
  --a-cherry: #a62c5d; --a-pitch: #5d1733; --a-tea: #c6ebbe; --a-tea-d: #2f7d4f;
  --a-gold: #ffba49; --a-gold-d: #9a6500; --a-flame: #fc440f; --a-flame-d: #c0330a;
  position: relative; z-index: 1; color-scheme: light;
  display: grid; grid-template-columns: minmax(0, 1fr);
  height: 640px; border-radius: 22px; overflow: hidden;
  background: var(--a-page); color: var(--a-ink); font-size: 14px; line-height: 1.45;
  border: 1px solid rgba(23, 18, 26, .1);
  box-shadow: 0 30px 80px -30px rgba(93, 23, 51, .45), 0 2px 6px rgba(23, 18, 26, .06);
}
@media (min-width: 900px) { .app { grid-template-columns: 240px minmax(0, 1fr); height: 800px; } }

/* Seitenleiste wie nav.tsx (0.9.0) */
.app-side { display: none; flex-direction: column; border-right: 1px solid var(--a-line); padding: 22px 14px 18px 22px; overflow: hidden; }
@media (min-width: 900px) { .app-side { display: flex; } }
.app-side-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-team { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-weight: 700; font-size: 14px; cursor: default; min-width: 0; }
.app-team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-team i { color: var(--a-muted); }
.app-crest { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--a-cherry), var(--a-pitch)); flex-shrink: 0; }
.app-icon-btn { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: #9ca3af; display: grid; place-items: center; cursor: pointer; font-size: 17px; }
.app-icon-btn:hover { background: #e9edf0; color: var(--a-ink); }
.app-nav { margin-top: 20px; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.app-nav::-webkit-scrollbar { display: none; }
.app-group { margin-top: 14px; font-size: 12px; font-weight: 500; color: #9ca3af; padding: 0 4px 3px; display: flex; align-items: center; gap: 3px; }
.app-link {
  display: flex; align-items: center; gap: 9px; padding: 5px 4px; border-radius: 8px; border: 0; background: none;
  font-size: 14px; color: #4b5563; cursor: pointer; text-align: left; width: 100%;
}
.app-link i { font-size: 17px; color: #6b7280; }
.app-link:hover { color: var(--a-ink); background: #eef1f3; }
.app-link[aria-current="page"] { color: var(--a-cherry); font-weight: 600; }
.app-link[aria-current="page"] i { color: var(--a-cherry); }
.app-hint {
  margin-top: auto; border-radius: 16px; padding: 14px; color: #fff; display: grid; gap: 4px; font-size: 12px;
  background: linear-gradient(135deg, var(--a-cherry), var(--a-pitch)); box-shadow: 0 12px 30px -12px rgba(93,23,51,.6);
}
.app-hint b { font-size: 13px; margin-top: 6px; }
.app-hint span { color: rgba(255,255,255,.8); line-height: 1.4; }
.app-hint-ico { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 16px; color: #fff !important; }
.app-hint button { margin-top: 8px; border: 0; border-radius: 8px; background: #fff; color: var(--a-pitch); font-weight: 700; font-size: 12px; padding: 7px; cursor: pointer; }
.app-version { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: #9ca3af; }
.app-version img { width: 22px; height: 22px; opacity: .4; filter: grayscale(1); }

/* Hauptbereich */
.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 0; }
@media (min-width: 900px) { .app-bar { padding: 18px 28px 0; } }
.app-crumb { font-size: 12px; font-weight: 600; color: #9ca3af; }
.app-sample { font-size: 11px; font-weight: 700; color: var(--a-cherry); background: rgba(166,44,93,.08); padding: 3px 9px; border-radius: 999px; }
.app-view { flex: 1; overflow-y: auto; padding: 12px 20px 96px; outline: none; scrollbar-width: thin; }
@media (min-width: 900px) { .app-view { padding: 14px 28px 60px; } }
.app-view.is-swap { animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.a-h1 { font-family: var(--heading); font-style: normal; font-size: 34px; line-height: 1.05; text-transform: uppercase; margin: 6px 0 2px; }
@media (min-width: 900px) { .a-h1 { font-size: 46px; } }
.a-sub { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a-cherry); }
.a-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.a-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--a-cherry), var(--a-pitch)); cursor: pointer; white-space: nowrap; }
.a-surface { background: #fff; border-radius: 24px; padding: 14px; }
@media (min-width: 900px) { .a-surface { padding: 18px; } }
.a-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .a-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-card { background: var(--a-card); border-radius: 18px; padding: 16px; min-height: 124px; display: flex; flex-direction: column; border: 0; text-align: left; font: inherit; color: inherit; }
button.a-card { cursor: pointer; transition: background-color .2s; }
button.a-card:hover { background: #e9edf0; }
.a-span2 { grid-column: span 2; }
.a-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-cherry); display: flex; gap: 6px; align-items: center; }
.a-big { font-family: var(--heading); font-style: normal; font-size: 40px; line-height: 1; margin-top: auto; }
.a-small { font-size: 12px; color: var(--a-muted); margin-top: 4px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.a-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(198,235,190,.6); color: var(--a-tea-d); }
.a-chip.bad { background: rgba(252,68,15,.13); color: var(--a-flame-d); }
.a-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.a-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.a-list li span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-list b { font-variant-numeric: tabular-nums; }
.jersey { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #fff; border: 1px solid var(--a-line); flex-shrink: 0; }
.a-week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.a-day { background: #fff; border-radius: 12px; padding: 10px; font-size: 12px; }
.a-day b { display: block; font-size: 13px; }
.a-day small { color: var(--a-muted); display: block; }
.load { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.load.m { background: rgba(255,186,73,.3); color: var(--a-gold-d); }
.load.h { background: rgba(252,68,15,.13); color: var(--a-flame-d); }
.load.n { background: rgba(198,235,190,.6); color: var(--a-tea-d); }
.load.g { background: var(--a-pitch); color: #fff; }

/* Spieler */
.a-split { display: grid; gap: 14px; }
@media (min-width: 1100px) { .a-split { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; } }
.a-table { width: 100%; border-collapse: collapse; }
.a-table th { text-align: left; font-size: 11px; color: #9ca3af; font-weight: 600; padding: 4px 10px 8px; }
.a-table td { padding: 8px 10px; font-size: 13px; }
.a-table tbody tr { cursor: pointer; }
.a-table tbody tr td:first-child { border-radius: 10px 0 0 10px; }
.a-table tbody tr td:last-child { border-radius: 0 10px 10px 0; }
.a-table tbody tr:hover td { background: var(--a-card); }
.a-table tbody tr.is-sel td { background: rgba(166,44,93,.08); }
.a-table .hide-s { display: none; }
@media (min-width: 640px) { .a-table .hide-s { display: table-cell; } }
.fitdot { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fitdot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--a-tea-d)); }
.status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(198,235,190,.6); color: var(--a-tea-d); }
.status.inj { background: rgba(252,68,15,.13); color: var(--a-flame-d); }
.a-panel { background: #fff; border-radius: 20px; padding: 18px; }
.a-panel-head { display: flex; gap: 12px; align-items: center; }
.a-panel-head .jersey { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; background: var(--a-pitch); color: #fff; border: 0; }
.a-panel-head b { font-size: 16px; display: block; }
.a-panel-head small { color: var(--a-muted); }
.a-props { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0; font-size: 13px; }
.a-props dt { color: var(--a-muted); }
.a-props dd { margin: 0; font-weight: 600; }
.a-sec { font-size: 11px; font-weight: 700; color: #9ca3af; margin: 14px 0 8px; }
.a-fits { display: grid; gap: 6px; }
.a-fits div { display: flex; justify-content: space-between; align-items: center; background: var(--a-card); border-radius: 12px; padding: 7px 10px; font-weight: 700; font-size: 13px; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.badge.b3 { background: var(--a-tea); color: #1e5535; }
.badge.b2 { background: var(--a-gold); color: #4a3200; }
.badge.b1 { background: #fff; color: var(--a-flame-d); border: 1px solid var(--a-line); }
.a-attr { display: grid; grid-template-columns: 1fr 34px; gap: 4px 10px; font-size: 13px; align-items: center; }
.a-attr b { text-align: right; font-variant-numeric: tabular-nums; }
.a-attr .bar { grid-column: 1 / -1; height: 4px; border-radius: 9px; background: var(--a-cherry); margin-bottom: 6px; }

/* Kadertiefe */
.a-formation { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.a-pill { border: 1px solid var(--a-line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #4b5563; cursor: pointer; }
.a-pill[aria-pressed="true"] { background: var(--a-cherry); border-color: var(--a-cherry); color: #fff; }
.a-depth { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .a-depth { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-pos { background: var(--a-card); border-radius: 16px; padding: 12px; }
.a-pos.ok { background: rgba(198,235,190,.35); }
.a-pos.bad { box-shadow: inset 0 0 0 1.5px rgba(252,68,15,.45); }
.a-pos-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.a-pos-h small { font-weight: 700; font-size: 10.5px; color: var(--a-flame-d); }
.a-pos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.a-pos li { display: flex; align-items: center; gap: 7px; }
.a-pos li i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.a-pos li em { font-style: normal; color: var(--a-muted); font-size: 11px; }

/* Aufstellung im Fenster */
.a-lineup { display: grid; gap: 14px; }
@media (min-width: 1100px) { .a-lineup { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; } }
.a-lineup .pitch { aspect-ratio: 3 / 3.4; }
.a-bench { background: #fff; border-radius: 20px; padding: 16px; }
.a-bench ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.a-bench li { display: flex; align-items: center; gap: 6px; background: var(--a-card); border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 12.5px; }
.a-bench .jersey { width: 22px; height: 22px; border-radius: 50%; }
.app .seg { background: #eef1f3; }
.app .seg button { color: #6b7280; }
.app .seg button[aria-pressed="true"] { background: #fff; color: var(--a-ink); }

/* Kalender: Monatsansicht wie die App (0.9.1) */
.app { --a-aqua: #55e8eb; --a-aqua-d: #0c757a; --a-tea-d: #2f7d4f; }
.a-head-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.a-btn-sec { background: #fff; color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-line); }
.app .a-head-btns .a-btn { cursor: default; }
.a-calbox { container-type: inline-size; }
.a-calgrid { background: #fff; border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 760px) { .a-calgrid { grid-template-columns: minmax(0, 1fr) 250px; } .a-planned { border-left: 1px solid #f3f4f6; } }
.a-calmain { padding: 18px; min-width: 0; }
.a-caltop { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.a-caltop > div { display: flex; gap: 6px; align-items: center; }
.a-sel { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 5px 12px; font-size: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--a-line); }
.a-sel i { font-size: 12px; color: var(--a-muted); }
.a-today { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--a-line); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
button.a-round { border: 0; cursor: pointer; }
button.a-round:hover { background: #e5e7eb; }
.a-round { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f3f4f6; color: #4b5563; font-size: 13px; flex-shrink: 0; }
.a-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.a-fpill { border: 0; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; background: #f3f4f6; color: #4b5563; cursor: pointer; }
.a-fpill.on.t-alle { background: var(--a-pitch); color: #fff; }
.a-fpill.on.t-spiel { background: var(--a-cherry); color: #fff; }
.a-fpill.on.t-training { background: var(--a-aqua); color: var(--a-aqua-d); }
.a-fpill.on.t-termin { background: var(--a-gold); color: var(--a-gold-d); }
.a-fpill.on.t-gb { background: var(--a-flame); color: #fff; }
.a-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.a-month-grid .wd { font-size: 11px; font-weight: 500; color: #9ca3af; padding-bottom: 2px; }
.a-month-grid .wd span + span { display: none; }
@container (min-width: 640px) { .a-month-grid .wd span:first-child { display: none; } .a-month-grid .wd span + span { display: inline; } }
.a-day { position: relative; display: flex; flex-direction: column; min-width: 0; aspect-ratio: 1; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; padding: 5px 6px; cursor: pointer; transition: border-color .2s; }
.a-day:hover { border-color: #d1d5db; }
.a-day b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.a-day.out { background: #f9fafb; border-color: transparent; color: #9ca3af; }
.a-day.game { background: linear-gradient(135deg, var(--a-cherry), var(--a-pitch)); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.a-day.game.out { opacity: .5; }
.a-day.today { outline: 2px solid var(--a-cherry); outline-offset: 2px; }
.a-day.sel { outline: 2px dashed var(--a-cherry); outline-offset: 2px; }
.a-day .lbls { display: none; }
.a-day .dots { margin-top: auto; display: flex; flex-wrap: wrap; gap: 2px; }
.a-day .dots i { width: 5px; height: 5px; border-radius: 50%; }
.a-day.game .dots i, .a-day.game .bar { background: #fff !important; }
@container (min-width: 640px) {
  .a-day { aspect-ratio: auto; min-height: 84px; border-radius: 16px; padding: 7px 8px; }
  .a-day b { font-size: 17px; }
  .a-day .dots { display: none; }
  .a-day .lbls { margin-top: auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .a-day .lbl { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .a-day .lbl[data-player] { cursor: pointer; }
  .a-day .lbl[data-player]:hover { text-decoration: underline; }
  .a-day .lbl.off { color: #9ca3af; text-decoration: line-through; }
  .a-day .lbl .bar { width: 3px; height: 10px; border-radius: 99px; flex-shrink: 0; }
  .a-day.game .lbl { color: rgba(255,255,255,.9); }
  .a-day small { font-size: 10px; color: #9ca3af; }
}
.t-spiel.bar, .dots .t-spiel, .a-tk .bar.t-spiel { background: var(--a-cherry); }
.t-training.bar, .dots .t-training { background: var(--a-aqua); }
.t-termin.bar, .dots .t-termin, .a-tk .bar.t-termin { background: var(--a-gold); }
.t-gb.bar, .dots .t-gb, .a-tk .bar.t-gb { background: var(--a-flame); }
.lbl.off .bar { background: #d1d5db; }
.a-planned { min-width: 0; border-top: 1px solid #f3f4f6; }
.a-planned-in { padding: 18px; }
.a-plist { padding: 8px 8px 0; margin: -8px -8px 0; }
/* Breit: Spalte so hoch wie das Raster, Liste scrollt darin ohne sichtbaren Balken (wie die App) */
@container (min-width: 760px) {
  .a-planned { position: relative; }
  .a-planned-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .a-planned-head { flex-shrink: 0; }
  .a-plist { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
  .a-plist::-webkit-scrollbar { display: none; }
}
@container (min-width: 760px) { .a-planned { border-top: 0; } }
.a-planned-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.a-planned-head strong { display: block; font-size: 16px; }
.a-planned-head span:not(.a-round) { display: block; font-size: 11px; color: var(--a-muted); }
.a-pday { margin-bottom: 16px; border-radius: 16px; transition: background-color .2s; }
.a-pday.sel { background: rgba(166,44,93,.05); padding: 8px; margin: -8px -8px 8px; }
.a-pday > button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; margin-bottom: 8px; font-size: 11px; font-weight: 500; color: #9ca3af; cursor: pointer; text-align: left; }
.a-pday.sel > button { color: var(--a-cherry); }
.a-pday > button i { flex: 1; height: 1px; background: #f3f4f6; }
.a-pday > button em { font-style: normal; font-size: 9px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--a-cherry); border-radius: 99px; padding: 1px 6px; }
.a-tk { background: #fff; border: 1px solid #f3f4f6; border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.a-tk[data-player] { cursor: pointer; }
.a-tk .bar { display: block; height: 5px; border-radius: 99px; }
.a-tk-main { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; min-width: 0; }
.a-tk-main > div { min-width: 0; }
.a-tk-main strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-tk-main span:not(.crest) { display: block; font-size: 11px; color: var(--a-muted); }
.a-tk .crest { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: #f1f4f6; color: #4b5563; }
.a-tk-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; color: var(--a-muted); }
.a-tk-foot span { display: flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.a-tk-foot em { font-style: normal; font-size: 10px; font-weight: 500; background: #f3f4f6; border-radius: 99px; padding: 1px 8px; }
.a-tk-foot b { font-size: 13px; }
.a-tk-foot .r-w { color: var(--a-tea-d); } .a-tk-foot .r-l { color: var(--a-flame-d); } .a-tk-foot .r-d { color: var(--a-gold-d); }
.a-empty { font-size: 13px; color: var(--a-muted); border: 1px dashed var(--a-line); border-radius: 16px; padding: 24px 12px; text-align: center; }

/* Gesperrte Ansichten */
.a-locked { display: grid; place-items: center; text-align: center; min-height: 380px; gap: 10px; }
.a-locked .ico { width: 56px; height: 56px; border-radius: 18px; background: rgba(166,44,93,.08); color: var(--a-cherry); display: grid; place-items: center; font-size: 26px; margin: 0 auto 6px; }
.a-locked p { color: var(--a-muted); max-width: 36ch; margin: 0 auto 8px; }

/* Mobile Tab-Bar wie in der App (< 900px) */
.app-tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; display: flex; justify-content: space-around;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 6px; box-shadow: 0 12px 40px -12px rgba(17,17,26,.3);
}
@media (min-width: 900px) { .app-tabbar { display: none; } }
.app-tabbar button { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10px; font-weight: 600; color: #6b7280; padding: 5px 0; border-radius: 999px; cursor: pointer; }
.app-tabbar button i { font-size: 21px; }
.app-tabbar button[aria-current="page"] { color: var(--a-cherry); }
.a-tiles { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.a-tiles button { flex-shrink: 0; min-width: 76px; height: 56px; border-radius: 12px; border: 1px solid var(--a-line); background: #fff; font-size: 11.5px; color: #4b5563; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.a-tiles button i { font-size: 17px; }
.a-tiles button[aria-current="page"] { background: var(--a-cherry); border-color: var(--a-cherry); color: #fff; }
@media (min-width: 900px) { .a-tiles { display: none; } }

/* Schnellsuche */
.app-search { position: absolute; inset: 0; z-index: 5; background: rgba(23,18,26,.28); display: grid; place-items: start center; padding: 70px 16px 0; }
.app-search[hidden] { display: none; }
.app-search-box { width: min(520px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(23,18,26,.45); overflow: hidden; animation: viewIn .3s var(--ease); }
.app-search-input { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--a-line); }
.app-search-input i { color: #9ca3af; font-size: 18px; }
.app-search-input input { flex: 1; border: 0; outline: none; font: inherit; font-size: 15px; color: var(--a-ink); background: none; min-width: 0; }
.app-search-input input::placeholder { color: #8b919a; }
.app-search kbd { background: #f1f4f6; border-color: #e5e7eb; color: #6b7280; }
.app-search ul { list-style: none; margin: 0; padding: 8px; max-height: 300px; overflow-y: auto; }
.app-search li.grp { font-size: 11px; font-weight: 700; color: #9ca3af; padding: 8px 10px 4px; }
.app-search li.opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.app-search li.opt i { color: #6b7280; font-size: 17px; }
.app-search li.opt small { margin-left: auto; color: #9ca3af; font-size: 12px; }
.app-search li.opt[aria-selected="true"] { background: rgba(166,44,93,.08); color: var(--a-cherry); }
.app-search li.opt[aria-selected="true"] i { color: var(--a-cherry); }
.app-search li.empty { padding: 16px 10px; color: #6b7280; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .app-view.is-swap, .app-search-box { animation: none; }
}
.a-card { min-width: 0; overflow: hidden; }
.a-label { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 899px) {
  .a-label { font-size: 9.5px; letter-spacing: .06em; }
  .a-big { font-size: 34px; }
  .a-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Im klickbaren Prototyp bleibt die Headline-Schrift der App: Sport Headline ExtraBold Italic */
.app { --heading: "Sport Headline", "DM Sans", system-ui, sans-serif; }
.app .a-h1, .app .a-big { font-style: italic; }
.nowrap { white-space: nowrap; }
/* Seitenleiste: Navigation scrollt, Hinweiskarte überdeckt keine Menüpunkte */
.app-nav { flex: 1 1 auto; min-height: 0; }
.app-hint { flex-shrink: 0; margin-top: 14px; }
/* Platz unter dem Fenster, damit der Schatten nicht abgeschnitten wird */
.hero { padding-bottom: 72px; }

/* ===================================================================
   FUNKTIONEN: Lede, Bento-Kacheln, Popup
   =================================================================== */
.lede { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--muted); max-width: 30em; margin-bottom: 44px; font-weight: 500; }
.lede strong { color: var(--ink); font-weight: 600; }
.lede a { color: var(--ink); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.lede a:hover { color: var(--accent); }

.mods { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .mods { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .m-wide { grid-column: span 4; } .m-narrow { grid-column: span 2; }
  .m-third { grid-column: span 2; } .m-full { grid-column: span 6; }
}
.mod {
  position: relative; display: block; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  min-height: 380px; padding: 0; transition: border-color .3s, transform .3s var(--ease);
}
@media (min-width: 900px) { .m-wide, .m-narrow { min-height: 460px; } .m-full { min-height: 360px; } }
.mod:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.mod:active { transform: scale(0.995); }
.mod-title { position: relative; z-index: 2; display: block; padding: 26px 76px 0 26px; font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.22; font-weight: 500; letter-spacing: -0.015em; max-width: 22em; }
.mod-open {
  position: absolute; top: 20px; right: 20px; z-index: 3; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 16px;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.mod:hover .mod-open { background: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.mod-visual { position: absolute; inset: 96px 0 0 0; display: block; }
.m-full .mod-visual { inset: 0 0 0 38%; }
@media (max-width: 899px) { .m-full .mod-visual { inset: 110px 0 0 0; } }

/* Verlauf-Hintergründe der Kacheln (Markenfarben, pro Kachel anders platziert) */
.glow-a { background: radial-gradient(70% 90% at 95% 100%, rgba(166,44,93,.55), transparent 70%), radial-gradient(50% 60% at 60% 100%, rgba(166,44,93,.55), transparent 70%); }
.glow-b { background: radial-gradient(90% 70% at 50% 110%, rgba(93,23,51,.6), transparent 70%), radial-gradient(60% 50% at 90% 60%, rgba(224,103,154,.45), transparent 70%); }
.glow-c { background: radial-gradient(80% 80% at 0% 100%, rgba(166,44,93,.55), transparent 65%), radial-gradient(70% 70% at 100% 100%, rgba(166,44,93,.45), transparent 70%); }
.glow-d { background: radial-gradient(70% 60% at 100% 75%, rgba(166,44,93,.45), transparent 70%), radial-gradient(80% 70% at 30% 110%, rgba(166,44,93,.5), transparent 70%); }

/* Produkt-Ausschnitte (immer helle App-Optik) */
.snip { position: absolute; background: #fff; color: #17121a; border-radius: 16px; font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 1px 2px rgba(23,18,26,.06), 0 18px 40px -18px rgba(93,23,51,.45); padding: 16px; }
.snip-h { font-weight: 700; font-size: 13.5px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.snip-h small { font-weight: 600; color: #9ca3af; font-size: 11px; }
.snip-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a62c5d; margin-bottom: 8px; }
.sdot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.s-g { background: #2f7d4f; } .s-y { background: #ffba49; } .s-r { background: #fc440f; }
.sj { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800; border: 1px solid #e5e7eb; flex-shrink: 0; }
.srow { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.srow + .srow { border-top: 1px solid #f1f4f6; }
.srow .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbadge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sb3 { background: #c6ebbe; color: #1e5535; } .sb2 { background: #ffba49; color: #4a3200; } .sb1 { background: #fff; color: #c0330a; border: 1px solid #e5e7eb; }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.spos { background: #f1f4f6; border-radius: 12px; padding: 9px; }
.spos.ok { background: rgba(198,235,190,.45); }
.spos.bad { box-shadow: inset 0 0 0 1.5px rgba(252,68,15,.45); background: #fff; }
.spos b { display: block; font-size: 12px; margin-bottom: 5px; }
.spos span { display: flex; align-items: center; gap: 5px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.sbar { height: 5px; border-radius: 9px; background: #a62c5d; }
.score { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #17121a; color: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.score b { font-size: 22px; font-variant-numeric: tabular-nums; }
.score small { color: rgba(255,255,255,.65); font-size: 11px; display: block; }
.score .clock { font-variant-numeric: tabular-nums; font-weight: 700; background: #a62c5d; padding: 3px 9px; border-radius: 999px; font-size: 12px; }
.sbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.sbtns span { text-align: center; background: #f1f4f6; border-radius: 10px; padding: 8px 0; font-weight: 700; font-size: 11.5px; }
.qbars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.qbars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.qbars i { width: 100%; border-radius: 7px 7px 3px 3px; background: #a62c5d; display: block; }
.qbars div:nth-child(n+3) i { background: #e0a3bd; }
.qbars small { font-size: 10.5px; font-weight: 700; color: #6b7280; }
.growth { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.growth i { flex: 1; background: #ffba49; border-radius: 4px 4px 2px 2px; display: block; }
.growth i.hi { background: #fc440f; }
.att { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.att i { aspect-ratio: 1; border-radius: 4px; background: #c6ebbe; display: block; }
.att i.x { background: #f1f4f6; }
.ex { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; }
.ex + .ex { margin-top: 10px; }
.mini-pitch { aspect-ratio: 4 / 3; border-radius: 8px; position: relative; overflow: hidden; background: repeating-linear-gradient(90deg, #2f6b45 0 20%, #2a603e 20% 40%); }
.mini-pitch::before { content: ""; position: absolute; inset: 8%; border: 1.5px solid rgba(255,255,255,.5); border-radius: 2px; }
.mini-pitch i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.mini-pitch i.r { background: #ffba49; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.chips span { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f4f6; color: #4b5563; }
.chips span.on { background: #a62c5d; color: #fff; }

/* Popup */
.modal {
  width: min(1180px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0;
  border-radius: 28px; background: var(--surface); color: var(--ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 120px -30px rgba(23,18,26,.5);
}
.modal::backdrop { background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal.is-closing { animation: modalOut .28s ease-in forwards; }
@keyframes modalIn { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.7); } }
.modal-inner { position: relative; padding: 28px 20px 36px; }
@media (min-width: 900px) { .modal-inner { padding: 72px 72px 64px; } }
.modal-close { position: sticky; float: right; top: 0; margin: -8px -4px 0 12px; z-index: 5; width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer; background: var(--accent-soft); color: var(--accent); font-size: 17px; display: grid; place-items: center; }
@media (min-width: 900px) { .modal-close { margin: -44px -44px 0 12px; } }
.modal-close:hover { background: var(--accent); color: var(--accent-ink); }
.modal-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .modal-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; } }
.modal-title { font-family: var(--heading); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; }
.modal-desc { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.modal-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.modal-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.modal-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.modal-checks li i { color: var(--ok); font-size: 22px; margin-top: -1px; }
.modal-visuals { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .modal-visuals { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: 64px; } }
.mv { position: relative; border-radius: 20px; min-height: 320px; overflow: hidden; background-color: var(--card); }
@media (min-width: 900px) { .mv { min-height: 360px; } }
.mv .snip { font-size: 13.5px; }
.modal-title:focus { outline: none; }
.modal-benefits { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 768px) { .modal-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; } }
.modal-benefits i { width: 40px; height: 40px; border-radius: 10px; border: 1px solid color-mix(in srgb, #ffba49 60%, transparent); color: #b07a00; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.modal-benefits p { color: var(--muted); font-size: 16px; }
.modal-benefits b { color: var(--ink); font-weight: 600; }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .modal[open], .modal.is-closing { animation: none; } }
.mod { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.m-third .mod-visual, .m-narrow .mod-visual { inset: 120px 0 0 0; }
@media (max-width: 899px) { .mod-visual { inset: 120px 0 0 0; } }
@media (min-width: 900px) { .m-full .mod-visual { inset: 0; } }
@media (max-width: 899px) {
  .mod-visual .snip + .snip { display: none; }
  .mod-visual .snip:first-child { left: 16px !important; right: 16px !important; width: auto !important; }
  .mod-visual .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FAQ mit AutoAnimate (faq.js baut die <details> in Buttons um) */
.faq-item { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq-h { margin: 0; font-size: inherit; }
.faq-q {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink);
  padding: 22px 0; font: inherit; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-q i { color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; margin: 0; }

/* FAQ: Desktop Headline links, Fragen rechts */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .faq-wrap .lede { margin-bottom: 0; position: sticky; top: 100px; }
}

/* Streifen "Neu in SQDZ" */
.cl-teaser { padding-top: 0; }
.cl-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 44px; }
.cl-teaser-head .lede { margin-bottom: 0; }
.cl-all { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--muted); }
.cl-all:hover { color: var(--ink); }
.cl-all i { transition: transform .25s var(--ease); }
.cl-all:hover i { transform: translateX(3px); }
.cl-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 900px) {
  .cl-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .cl-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line); }
}
.cl-strip li { position: relative; }
.cl-strip .dot { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); margin-bottom: 26px; position: relative; }
.cl-strip li:first-child .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cl-strip a { text-decoration: none; display: block; }
.cl-strip b { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.cl-strip a:hover b { color: var(--accent); }
.cl-strip p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-strip time { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Beta-Kennzeichnung */
.beta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.mod-title .beta { font-size: 12px; position: relative; top: -2px; }
.snip .beta { background: rgba(166,44,93,.1); color: #a62c5d; border-color: rgba(166,44,93,.3); font-size: 10px; margin-left: 4px; }
.beta-lg { margin: 12px 0 0; font-size: 12px; }
.beta-lg[hidden] { display: none; }

/* Eine Datenbasis: Eingang, Spielerprofil, Ausgang */
.flow { display: grid; gap: 18px; align-items: center; background: var(--card); border-radius: 28px; padding: 24px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr minmax(220px, .8fr) 1fr; gap: 48px; padding: 48px; } }
.flow-col { display: grid; gap: 10px; position: relative; }
.flow-lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.flow-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; font-size: 15px; }
.flow-chip i { color: var(--accent); font-size: 19px; }
.flow-chip .beta { margin-left: auto; }
.flow-hub { position: relative; text-align: center; display: grid; justify-items: center; gap: 6px; padding: 32px 22px; border-radius: 24px; color: #fbeff4; background: radial-gradient(90% 120% at 50% 0%, #a62c5d, #5d1733 55%, #2e0b1b); }
.flow-hub b { font-family: var(--heading); font-weight: 600; letter-spacing: -0.02em; font-size: 1.6rem; }
.flow-hub span:last-child { font-size: 14px; opacity: .8; max-width: 24ch; }
.flow-hub-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,.14); }
/* Verbindungslinien: auf Desktop waagerecht, mobil senkrecht */
.flow-hub::before, .flow-hub::after { content: ""; position: absolute; background: color-mix(in srgb, var(--accent) 55%, transparent); }
@media (min-width: 900px) {
  .flow-hub::before, .flow-hub::after { top: 50%; width: 48px; height: 2px; }
  .flow-hub::before { right: 100%; } .flow-hub::after { left: 100%; }
}
@media (max-width: 899px) {
  .flow-hub::before, .flow-hub::after { left: 50%; width: 2px; height: 18px; }
  .flow-hub::before { bottom: 100%; } .flow-hub::after { top: 100%; }
}
.adv { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 768px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; } }
@media (min-width: 1024px) { .adv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.adv i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; background: var(--accent-soft); color: var(--accent); }
.adv p { color: var(--muted); font-size: 16px; }
.adv b { color: var(--ink); font-weight: 600; }

/* Neue Produkt-Ausschnitte */
.lu { display: grid; gap: 7px; background: repeating-linear-gradient(0deg, #2f6b45 0 24px, #2a603e 24px 48px); border-radius: 12px; padding: 12px 8px; }
.lu div { display: flex; justify-content: space-around; }
.lu .sj { background: #fff; border-color: #fff; }
.lbars { display: flex; align-items: flex-end; gap: 5px; height: 100px; position: relative; border-top: 1.5px dashed rgba(252,68,15,.45); }
.lbars i { flex: 1; border-radius: 5px 5px 2px 2px; display: block; }
.l-g { background: #8fcf86; } .l-y { background: #ffba49; } .l-r { background: #fc440f; }
.qtrack { height: 8px; border-radius: 99px; position: relative; background: linear-gradient(90deg, #f1f4f6 33%, rgba(198,235,190,.7) 33% 50%, #f1f4f6 50%); overflow: visible !important; }
.qtrack span { display: block; height: 100%; border-radius: 99px; }
.qtrack .l-g { background: #2f7d4f; } .qtrack .l-y { background: #ffba49; } .qtrack .l-r { background: #fc440f; }
.heat { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: repeating-linear-gradient(90deg, #2f6b45 0 12.5%, #2a603e 12.5% 25%); }
.heat::before { content: ""; position: absolute; inset: 7%; border: 1.5px solid rgba(255,255,255,.5); border-radius: 2px; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.5) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.heat i { position: absolute; width: var(--s); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(252,68,15,.85), rgba(255,186,73,.55) 55%, transparent); }
.heat b { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #a62c5d; transform: translate(-50%, -50%); }
.modal-ctas [hidden] { display: none; }
