/* Deutschland springt Seil – Website
   Farben, Schriften, Abstände aus dem DSS-Designsystem. Schriften lokal gehostet (keine Google-Server, DSGVO). */

@font-face { font-family: "Saira"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("fonts/saira.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: italic; font-weight: 500 800; font-display: swap; src: url("fonts/saira-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); }

:root {
  --schwarz: #030303; --rot: #eb0411; --gold: #fdd306;
  --surface: #ffffff; --surface-sunken: #f3f3f1; --line: #deded9;
  --ink: #030303; --ink-muted: #5c5c62;
  --rot-text: #c8000f; --on-rot: #ffffff; --on-gold: #030303; --on-schwarz: #ffffff; --on-schwarz-muted: #b9b9bf;
  --gold-soft: #fff4c2; --gold-text: #7a5c00; --focus: #030303;
  --font-display: Saira, "Arial Narrow", system-ui, sans-serif;
  --font-body: Barlow, "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 4px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --rot: #ff4d58; --surface: #0f0f11; --surface-sunken: #1a1a1d; --line: #2e2e33;
    --ink: #f4f4f2; --ink-muted: #a9a9b0; --rot-text: #ff4d58; --on-rot: #0f0f11;
    --gold-soft: #3a3000; --gold-text: #ffe066; --focus: #f4f4f2;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rot-text); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: var(--space-3); max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
.section-head p { font-size: 19px; line-height: 1.5; color: var(--ink-muted); font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--radius-md); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--rot); color: var(--on-rot); }
.btn-secondary { background: var(--ink); color: var(--surface); }
.btn-quiet { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-light { background: var(--on-schwarz); color: var(--schwarz); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); height: 76px; }
.brand { flex: none; display: block; width: 104px; }
.brand img { width: 104px; height: auto; }
.main-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.main-nav ul { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-display); font-weight: 600; font-size: 16px; text-decoration: none; padding-block: 6px; border-bottom: 3px solid transparent; }
.main-nav ul a:hover { border-bottom-color: var(--rot); }
.nav-cta { height: 42px; padding: 0 18px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--radius-md); border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: var(--space-4); padding: var(--space-6) max(20px, env(safe-area-inset-left, 0px)) var(--space-8); background: var(--surface); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: var(--space-2); }
  .main-nav ul a { font-size: 22px; display: block; padding-block: 8px; }
  .nav-cta { justify-content: center; height: 52px; }
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: var(--space-6); min-width: 0; }
.hero h1 { font-size: clamp(54px, 8.6vw, 112px); font-weight: 800; font-style: italic; line-height: .92; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--rot); }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; font-weight: 500; color: var(--ink-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-note { font-size: 14px; color: var(--ink-muted); }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--radius-lg); background: var(--schwarz); overflow: hidden; min-width: 0; }
.hero-art svg.ropes { position: absolute; inset: 0; width: 100%; height: 100%; }
.rope { fill: none; stroke-linecap: round; }
.rope-faint { stroke: #1e1e22; stroke-width: 28; }
.rope-gold { stroke: var(--gold); stroke-width: 6; opacity: .9; }
.hero-art .hero-logo { position: absolute; left: 9%; right: 9%; top: 50%; transform: translateY(-46%); }
.hero-art .hero-logo img { width: 100%; height: auto; }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-style: italic; color: var(--on-gold); background: var(--gold); border-radius: var(--radius-md); }
.sticker-challenge { right: 6%; top: 6%; padding: 10px 14px; font-size: 15px; line-height: 1.1; transform: rotate(4deg); }
.sticker-challenge small { display: block; font-size: 11px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.hero-art .caption { position: absolute; left: 6%; bottom: 6%; color: var(--on-schwarz-muted); font-size: 13px; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .rope-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.6,.05,.2,1) forwards; }
  .rope-draw.d2 { animation-delay: .18s; }
  .rope-draw.d3 { animation-delay: .36s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 4 / 3.4; }
}

/* Trick-Band */
.ticker { background: var(--schwarz); color: var(--on-schwarz); overflow: hidden; border-block: 4px solid var(--gold); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding-block: 18px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; }
.ticker-track span::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 40px; border-radius: 50%; background: var(--rot); vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 38s linear infinite; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.story { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; font-weight: 700; letter-spacing: -.005em; }
.story em { font-style: italic; color: var(--rot); }
.about-side { display: grid; gap: var(--space-4); font-size: 18px; color: var(--ink-muted); padding-top: 8px; }
.values { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.values li { display: flex; align-items: baseline; gap: var(--space-3); padding-block: 14px; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.values li span { font-size: 13px; font-weight: 700; color: var(--rot-text); letter-spacing: .08em; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Mitmachen */
.join { background: var(--surface-sunken); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; }
.step { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-8) var(--space-6); border-radius: var(--radius-md); background: var(--surface); }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--ink); color: var(--surface); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 24px; }
.step:nth-child(2) .step-num { background: var(--rot); color: var(--on-rot); }
.step:nth-child(3) .step-num { background: var(--gold); color: var(--on-gold); }
.step h3 { font-size: 26px; font-weight: 700; margin-top: var(--space-2); }
.step p { color: var(--ink-muted); }
.step .tag { font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Challenge */
.challenge-card { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--schwarz); color: var(--on-schwarz); }
.challenge-main { display: grid; gap: var(--space-6); padding: clamp(28px, 5vw, 56px); align-content: start; }
.challenge-tag { justify-self: start; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 16px; padding: 4px 12px; border-radius: var(--radius-sm); background: var(--gold); color: var(--on-gold); }
.challenge-main h2 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; font-style: italic; line-height: .95; }
.challenge-main p { color: var(--on-schwarz-muted); font-size: 18px; max-width: 32em; }
.challenge-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); }
.challenge-meta div { display: grid; }
.challenge-meta dt { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.challenge-meta dd { margin: 0; font-weight: 600; font-size: 18px; }
.challenge-rules { padding: clamp(28px, 5vw, 56px); background: #141416; display: grid; align-content: start; gap: var(--space-4); }
.challenge-rules h3 { font-size: 22px; font-weight: 700; color: var(--on-schwarz); }
.challenge-rules ol { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); counter-reset: r; }
.challenge-rules li { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); color: var(--on-schwarz-muted); }
.challenge-rules li::before { counter-increment: r; content: counter(r); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.challenge-rules strong { color: var(--on-schwarz); }
@media (max-width: 860px) { .challenge-card { grid-template-columns: 1fr; } }

/* Level */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.level { display: grid; align-content: start; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--line); }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; line-height: 26px; padding: 0 10px; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--ink); }
.badge-2 { background: var(--gold-soft); color: var(--gold-text); }
.badge-3 { background: var(--ink); color: var(--surface); }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.dots i.on { background: currentColor; }
.level h3 { font-size: 32px; font-weight: 800; font-style: italic; }
.level p { color: var(--ink-muted); }
.tricks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tricks li { font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }

/* Was dich erwartet */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.perk { display: grid; align-content: start; gap: var(--space-3); padding-top: var(--space-6); border-top: 3px solid var(--ink); }
.perk:nth-child(2) { border-top-color: var(--rot); }
.perk:nth-child(3) { border-top-color: var(--gold); }
.perk svg { width: 28px; height: 28px; }
.perk h3 { font-size: 22px; font-weight: 700; }
.perk p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* Treff starten / Kontakt */
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-8); align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-lg); background: #eb0411; color: #ffffff; }
.cta-panel h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; font-style: italic; line-height: .95; position: relative; }
.cta-panel p { font-size: 19px; font-weight: 500; margin-top: var(--space-4); max-width: 30em; position: relative; }
.cta-actions { display: grid; gap: var(--space-3); justify-items: start; position: relative; }
.cta-mail { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); color: #ffffff; text-decoration-thickness: 2px; text-underline-offset: 5px; word-break: break-all; }
.cta-panel .arc { position: absolute; right: -80px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 14px solid var(--gold); opacity: .9; }
.cta-panel .btn-light { color: #030303; background: #ffffff; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel .arc { width: 360px; height: 360px; right: -120px; bottom: -200px; } }

/* Footer */
.site-footer { background: var(--schwarz); color: var(--on-schwarz); padding-block: var(--space-16) var(--space-8); margin-top: clamp(64px, 9vw, 120px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer-brand img { width: 150px; height: auto; }
.footer-grid p { color: var(--on-schwarz-muted); margin-top: var(--space-4); max-width: 22em; }
.footer-grid .hashtag { color: var(--gold); font-weight: 700; }
.footer-grid h2 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.site-footer a { color: var(--on-schwarz); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #2e2e33; color: var(--on-schwarz-muted); font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Rechtstexte */
.legal { padding-block: clamp(48px, 7vw, 88px) 0; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; font-style: italic; margin-bottom: var(--space-8); }
.legal h2 { font-size: 24px; font-weight: 700; margin: var(--space-8) 0 var(--space-3); }
.legal p, .legal li { color: var(--ink); margin-bottom: var(--space-3); }
.legal address { font-style: normal; margin-bottom: var(--space-3); }
.legal .todo { background: var(--gold-soft); color: var(--gold-text); font-weight: 600; padding: 0 4px; border-radius: 3px; }
.legal .back { display: inline-block; margin-bottom: var(--space-6); font-weight: 600; color: var(--rot-text); }
