/* 1. FC Hettenhain – Website-Styles */

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #111210;
  --surface-2: #151614;
  --surface-3: #1e1f1d;
  --line: #262825;
  --line-strong: #3a3c39;
  --text: #f2f2ef;
  --text-muted: #bdbfb9;
  --text-dim: #a9aba5;
  --accent: #39e079;
  --accent-ink: #0b0b0b;
  --light: #f2f2ef;
  --light-ink: #0b0b0b;
  --light-muted: #3a3c39;
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 24px);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */

.display { font-family: var(--font-display); text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
.display-xl { font-size: clamp(64px, 10.5vw, 168px); }
.display-l { font-size: clamp(52px, 7vw, 104px); }
.display-m { font-size: clamp(40px, 5vw, 72px); }
.display-s { font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.outline { -webkit-text-stroke: 2px var(--text); color: transparent; }
.panel-light .outline, .panel-accent .outline { -webkit-text-stroke-color: var(--light-ink); }
.outline-faint { -webkit-text-stroke: 1.5px rgba(242, 242, 239, .14); color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 700; font-size: 17px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-muted); max-width: 620px; }
.muted { color: var(--text-dim); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-cond); font-weight: 700; font-size: 19px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.btn-primary:hover { color: var(--accent-ink); background: #5cf095; }
.btn-ghost { border-color: #4a4c48; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-light { background: var(--light); color: var(--light-ink); }
.btn-light:hover { color: var(--light-ink); background: #fff; }
.btn-dark, .panel-light .btn-dark, .panel-accent .btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover, .panel-light .btn-dark:hover, .panel-accent .btn-dark:hover { color: var(--text); background: #222; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--font-cond); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1f201e; }
/* Weichzeichner auf eigener Ebene – sonst wird das fixierte Handy-Menü im Header eingesperrt */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 11, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: auto; height: 56px; }
.brand span { font-family: var(--font-display); font-size: 22px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--font-cond); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 10px 0;
}
.nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); padding: 10px 20px; border-radius: 999px; white-space: nowrap; }
.nav .nav-cta:hover { color: var(--accent-ink); background: #5cf095; }
/* Untermenü (Jugend) */
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.subnav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 44px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; }
.subnav-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.nav-group.open .subnav-toggle svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 230px;
  display: none; flex-direction: column; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.nav .subnav a { padding: 9px 12px; border-radius: 10px; font-size: 18px; }
.nav .subnav a:hover { background: var(--surface-2); }
.nav-group:hover .subnav, .nav-group:focus-within .subnav, .nav-group.open .subnav { display: flex; }

.nav-icons { display: flex; gap: 8px; }
.nav .nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1.5px solid #4a4c48; border-radius: 50%; }
.nav .nav-icon:hover { border-color: var(--accent); color: var(--accent); }
.nav-icon svg { width: 19px; height: 19px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid #4a4c48; background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; background: var(--bg);
    overflow-y: auto; opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--font-display); font-weight: 400; font-size: 40px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 24px; text-align: center; font-size: 28px; border-bottom: 0; }
  .nav-open { overflow: hidden; }
  .nav-icons { padding-top: 20px; gap: 12px; }
  .nav .nav-icon { width: 52px; height: 52px; border: 1.5px solid #4a4c48; padding: 0; }
  .nav-icon svg { width: 22px; height: 22px; }
  .nav-group { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-group > a { flex: 1; border-bottom: 0 !important; }
  .subnav-toggle { width: 52px; height: 52px; border: 1.5px solid #4a4c48; border-radius: 50%; }
  .subnav { position: static; width: 100%; min-width: 0; padding: 0 0 14px 8px; background: none; border: 0; box-shadow: none; }
  .nav-group:hover:not(.open) .subnav, .nav-group:focus-within:not(.open) .subnav { display: none; }
  .nav .subnav a { font-family: var(--font-cond); font-weight: 700; font-size: 22px; border-bottom: 0; padding: 8px 0; }
}
@media (max-width: 420px) { .brand span { font-size: 19px; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { max-width: 420px; color: var(--text-dim); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(24px, 4vw, 48px); }
.panel-light { background: var(--light); color: var(--light-ink); border-color: var(--light); }
.panel-light a { color: var(--light-ink); }
.panel-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel-accent a { color: var(--accent-ink); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Hero (Startseite) ---------- */

.hero { position: relative; overflow: hidden; min-height: min(820px, 100svh - var(--header-h)); display: flex; align-items: center; }
.hero-bgword {
  position: absolute; left: 50%; bottom: -2vw; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 23vw; line-height: .8;
  white-space: nowrap; text-transform: uppercase; pointer-events: none;
}
.hero-inner { position: relative; width: 100%; padding-block: 56px 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 56px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .lead { margin-top: 30px; }
.hero-copy .btn-row { margin-top: 38px; }
.hero-art { flex: 1 1 340px; max-width: 520px; margin-inline: auto; position: relative; }
.hero-glow, .hero-ring { position: absolute; left: 50%; top: 58%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.hero-glow { width: 120%; background: radial-gradient(circle, rgba(57, 224, 121, .2) 0%, rgba(11, 11, 11, 0) 62%); }
.hero-ring { width: 96%; border: 1.5px solid var(--accent); opacity: .5; }
.raven { position: relative; animation: raven-in 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.raven-float { position: relative; aspect-ratio: 1551 / 2000; animation: raven-float 5s ease-in-out 1.4s infinite; }
.raven-body { position: absolute; inset: 0; width: 100%; height: 100%; }
.raven-wing { position: absolute; left: 44.874%; top: 24.2%; width: 36.75%; height: auto; transform-origin: 28.8% 13.7%; animation: raven-flutter 6s ease-in-out 1.8s infinite; }
@keyframes raven-in { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes raven-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes raven-flutter {
  0%, 68%, 100% { transform: rotate(0deg); }
  71% { transform: rotate(-11deg); } 74% { transform: rotate(-2deg); }
  77% { transform: rotate(-12deg); } 80% { transform: rotate(-1deg); }
  83% { transform: rotate(-8deg); } 87% { transform: rotate(0deg); }
}
@media (max-width: 700px) { .hero-art { max-width: 340px; } .hero-inner { padding-block: 40px 72px; } }

/* ---------- Laufband ---------- */

.ticker-wrap { overflow: hidden; padding-block: 12px; margin-top: -12px; }
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: ticker 38s linear infinite; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; line-height: 1; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Unterseiten-Kopf ---------- */

.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lead { margin-top: 22px; }
.page-hero-word { position: absolute; right: -2vw; bottom: -3vw; font-family: var(--font-display); font-size: 18vw; line-height: .8; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.page-hero .wrap { position: relative; }
@media (max-width: 700px) { .page-hero-word { display: none; } }

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

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  text-decoration: none; transition: transform .25s ease, border-color .25s ease;
}
a.card:hover { transform: translateY(-6px); border-color: var(--accent); color: var(--text); }
.card-media { aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card-title { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.02; text-transform: uppercase; }
.card-text { color: var(--text-muted); }
.card-num { position: absolute; right: -6px; top: -26px; font-family: var(--font-display); font-size: 200px; line-height: 1; pointer-events: none; }
.team-card { min-height: 340px; justify-content: flex-end; }
.team-card .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.team-card .card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0) 30%, rgba(11,11,11,.92) 100%); }
.team-card .card-body { position: relative; flex: 0; }

/* ---------- Zeilen (Termine, Downloads) ---------- */

.rows { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(84px, 180px) minmax(0, 1fr) auto; gap: clamp(14px, 3vw, 24px); align-items: center;
  padding: 26px 12px; border-top: 1px solid var(--line); text-decoration: none; transition: background .2s ease;
}
a.row:hover, .row-link:hover { background: var(--surface-2); color: var(--text); }
.row-date { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 48px); line-height: 1; color: var(--accent); }
.row-title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; text-transform: uppercase; }
.row-meta { color: var(--text-dim); font-size: 15px; }
.row-text { color: var(--text-muted); margin-top: 6px; }
.arrow { width: 30px; height: 30px; transition: transform .2s ease, color .2s ease; }
a.row:hover .arrow, a.dl:hover .arrow { transform: translateX(8px); color: var(--accent); }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 22px; border: 1px solid #333532; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: background .2s ease;
}
.dl:hover { background: var(--surface-2); color: var(--text); }
.dl .arrow { width: 22px; height: 22px; flex: none; }
.empty-state { padding: 32px 12px; border-top: 1px solid var(--line); color: var(--text-dim); }

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 46px; display: inline-flex; align-items: center; padding: 0 20px;
  border: 1.5px solid currentColor; border-radius: 999px; text-decoration: none;
  font-family: var(--font-cond); font-weight: 700; font-size: 18px; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.panel-light .chip:hover { background: var(--light-ink); color: var(--light); }
.chip:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Spieltag ---------- */

.match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.match-team { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 60px); line-height: .95; text-transform: uppercase; }
.match-team img { width: clamp(56px, 7vw, 88px); height: auto; background: #fff; border-radius: 50%; padding: 6px; }
.match-vs { font-family: var(--font-display); font-size: clamp(26px, 3vw, 44px); color: #5a5c57; }

/* ---------- Einbettungen mit Zustimmung ---------- */

.embed { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.embed-consent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.embed-consent h3 { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.embed-consent p { color: var(--text-muted); max-width: 640px; font-size: 15px; }
.embed-consent label { display: flex; gap: 10px; align-items: center; color: var(--text-dim); font-size: 15px; cursor: pointer; }
.embed-consent input { width: 20px; height: 20px; accent-color: var(--accent); }
.embed-frame { background: #fff; color: #111; }
.embed-frame iframe { display: block; width: 100%; border: 0; }
.embed-frame.fupa { padding: 12px; min-height: 200px; }
.embed-frame.fupa a { color: #111; }
.embed-tall .embed-frame.fupa { max-height: 720px; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Fließtext ---------- */

.prose { max-width: 820px; color: var(--text-muted); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); color: var(--text); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; margin-top: 1.8em; }
.prose h3 { font-family: var(--font-cond); font-weight: 700; color: var(--text); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin-top: 1.6em; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--text); }
.prose .toc { columns: 2 260px; padding: 20px 24px 20px 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--text-dim); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; }

/* ---------- Personen ---------- */

.people { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.person { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.person-role { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.person-name { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.person a { color: var(--text-muted); text-decoration: none; font-size: 15px; word-break: break-word; }
.person a:hover { color: var(--accent); }

/* ---------- Teams (Jugend) ---------- */

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.team-photo { border-radius: var(--radius); overflow: hidden; background: var(--surface-3); aspect-ratio: 4 / 3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo.placeholder { display: flex; align-items: center; justify-content: center; }
.team-photo.placeholder img { width: 46%; height: auto; object-fit: contain; opacity: .14; }
.facts { display: grid; gap: 14px; margin-top: 20px; }
.fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.fact dt { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-size: 15px; padding-top: 2px; }
.fact dd { margin: 0; }
.fact dd a { text-decoration: none; }
.trainer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trainer-list a { color: var(--text-muted); }
.team-link { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: nowrap; }
.team-link::after { content: ' →'; }
.team-link:hover { color: var(--text); }
.team-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }

/* ---------- Sponsoren ---------- */

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 28px 0; }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: ticker 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 220px; height: 110px; flex: none; border-radius: var(--radius-sm); background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; text-decoration: none; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-text { font-family: var(--font-display); font-size: 24px; line-height: 1.05; text-transform: uppercase; color: #0b0b0b; text-align: center; }
.sponsor-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.sponsor { display: flex; flex-direction: column; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.sponsor .logo-tile { width: 100%; height: 170px; border-radius: 0; }
.sponsor span { padding: 14px 18px; font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
a.sponsor:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); }

/* ---------- Formulare ---------- */

.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-family: var(--font-cond); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.field abbr { color: var(--accent); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(57, 224, 121, .25); }
.field input[aria-invalid], .field select[aria-invalid] { border-color: #ff6b5a; }
.field-wide { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.radios { display: flex; flex-wrap: wrap; gap: 10px 24px; min-height: 50px; align-items: center; }
.radios label { display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--text); }
.radios input { width: 20px; height: 20px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #ff8a7a; font-size: 14px; font-weight: 600; }
.form-status { padding: 16px 20px; border-radius: 12px; font-weight: 600; }
.form-status.ok { background: rgba(57, 224, 121, .14); color: var(--accent); border: 1px solid rgba(57, 224, 121, .4); }
.form-status.err { background: rgba(255, 107, 90, .12); color: #ff8a7a; border: 1px solid rgba(255, 107, 90, .4); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin: 0; display: grid; gap: 18px; background: var(--surface); }
legend { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; padding: 0 10px; margin-left: -10px; }
.hint { color: var(--text-dim); font-size: 15px; }
.note { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 12px 12px 0; color: var(--text-muted); }
.price-list { display: grid; gap: 8px; }
.price-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sign { position: relative; border: 1px dashed var(--line-strong); border-radius: 12px; background: #fff; }
.sign canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sign-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.sign-clear { background: none; border: 0; color: var(--text-dim); font: inherit; text-decoration: underline; cursor: pointer; padding: 8px 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--light); color: var(--light-ink); overflow: hidden; }
.site-footer a { color: var(--light-ink); }
.site-footer a:hover { color: #1a7f45; }
.footer-cols { padding-block: 80px 0; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-cols h2 { font-family: var(--font-cond); font-weight: 800; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols ul a { color: var(--light-muted); text-decoration: none; }
.footer-cols address { font-style: normal; color: var(--light-muted); }
.footer-brand img { width: auto; height: 110px; margin-bottom: 16px; }
.footer-brand p { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; line-height: 1.1; margin-bottom: 8px; }
.footer-word { font-family: var(--font-display); font-size: 19.5vw; line-height: .78; text-transform: uppercase; text-align: center; white-space: nowrap; margin-top: 56px; }
.footer-bar { background: var(--bg); color: var(--text-dim); font-size: 14px; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.footer-bar a, .footer-bar button { color: var(--text-dim); }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bar button { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
