/* ==========================================================================
   BAM Bowler Baker Cup – Stylesheet
   Grundlage: Design-System „Organic“, Akzentfarbe = Logo-Pink.
   Alle Maße und Farben entsprechen dem Prototyp (Baker Cup WebApp v3).
   Schriften lokal (kein Google Fonts).
   ========================================================================== */

/* ---------- Schriften ---------- */
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/figtree-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/figtree-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/figtree-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/figtree-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/figtree-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/figtree-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/caprasimo-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/caprasimo-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Design-Tokens ---------- */
:root {
  --pink: #E4007C;            /* Akzent (Logo-Pink) */
  --pink-hover: #C4006B;
  --pink-text: #A8005B;       /* Pink-Text auf hell */
  --pink-light: #FFE3F1;      /* Flächen/Tags */
  --ink: #141414;             /* Ink / dunkle Flächen */
  --ink-hover: #2a2a2a;
  --ink-line: #3a3a3a;

  --n100: #f9f4ed;            /* Seitengrund */
  --n200: #eee7db;
  --n300: #dcd3c4;
  --n400: #c0b6a5;
  --n700: #645c50;            /* Sekundärtext */
  --n800: #474238;
  --muted-on-dark: #d6d2cc;   /* Text auf Schwarz, gedämpft */

  --ok-bg: #e1eecc;           /* „bezahlt“ / Positiv */
  --ok-text: #3d472b;
  --ok-dot: #8fa073;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, .14);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, .16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, .22);

  --r-pill: 999px;
  --r-card: 28px;
  --r-section: 36px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--n100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--pink-text); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
::selection { background: var(--pink); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink) !important; }
button { font: inherit; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.num { font-variant-numeric: tabular-nums; }
.contents { display: contents; }

/* ---------- Seitengerüst ---------- */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header (sticky) */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(249, 244, 237, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--n200);
}
.site-header__bar {
  max-width: 1240px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; text-align: left; }
.brand:hover { color: inherit; }
.brand__logo { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__club { font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.brand__cup { font-family: var(--font-heading); font-size: 22px; color: var(--pink); }

.main-nav { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.nav-pill {
  border-radius: var(--r-pill); padding: 10px 18px;
  font-weight: 600; font-size: 15px; line-height: 1.5;
  color: var(--ink); background: transparent; text-decoration: none;
}
.main-nav--dense { gap: 2px; }
.main-nav--dense .nav-pill { padding: 10px 12px; } /* 7 Reiter (mit Gruppeneinteilung) passen in eine Zeile */
.nav-pill.is-active { background: var(--ink); color: #fff; }
.nav-pill:hover { background: var(--pink-light); color: var(--pink-text); }

.header-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.header-actions .menu-toggle { display: none; }

.mobile-menu {
  display: none; max-width: 1240px; margin: 0 auto; padding: 4px 16px 16px;
  flex-direction: column; gap: 6px;
}
.site-header.is-menu-open .mobile-menu, .mobile-menu:target { display: flex; }
.mobile-menu__item {
  text-align: left; border-radius: var(--r-pill); padding: 14px 20px;
  font-weight: 700; font-size: 17px; line-height: 1.5;
  color: var(--ink); background: transparent; text-decoration: none;
}
.mobile-menu__item.is-active { background: var(--ink); color: #fff; }
.mobile-menu__item:hover { color: var(--ink); }
.mobile-menu__item.is-active:hover { color: #fff; }
.mobile-menu__admin {
  text-align: left; border-radius: var(--r-pill); padding: 12px 20px;
  font-weight: 700; font-size: 17px; line-height: 1.5;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); text-decoration: none;
}
.mobile-menu__admin:hover { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); }
.site-footer__inner {
  max-width: 1240px; margin: 0 auto; padding: 32px 24px;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.site-footer__brand { font-family: var(--font-heading); font-size: 22px; color: var(--pink); }
.site-footer__links { margin-left: auto; display: flex; gap: 8px; }
.site-footer__links a { color: var(--muted-on-dark); padding: 6px 10px; border-radius: var(--r-pill); text-decoration: none; }
.site-footer__links a:hover { color: #fff; background: var(--ink-hover); }
.site-footer__visitors { font-size: 14px; font-variant-numeric: tabular-nums; padding: 6px 12px; border: 1px solid var(--ink-hover); border-radius: var(--r-pill); }
.site-footer__seal { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted-on-dark); text-decoration: none; padding: 6px 12px; border: 1px solid var(--ink-hover); border-radius: var(--r-pill); min-height: 36px; }
.site-footer__seal svg { color: var(--ok-dot); flex: none; }
.site-footer__seal:hover { color: #fff; background: var(--ink-hover); }
.site-footer__copy { flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--ink-hover); font-size: 14px; }

/* ---------- Typografie ---------- */
.h1 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 0; }
.h2 { font-family: var(--font-heading); font-weight: 400; font-size: 40px; line-height: 1; margin: 0; }
.h2--32 { font-size: 32px; }
.h2--mt { margin-top: 8px; }
.h-admin { font-family: var(--font-heading); font-weight: 400; font-size: 44px; line-height: 1; margin: 0; }
.card-title { font-family: var(--font-heading); font-size: 24px; }
.card-title--tight { line-height: 1.1; }
.stamp {
  display: inline-flex; align-self: flex-start;
  border: 3px solid var(--pink); color: var(--pink-text);
  padding: 6px 16px; border-radius: 12px; transform: rotate(-2deg);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px;
}
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-text); }
.kicker--16 { letter-spacing: .16em; }
.lead-19 { font-size: 19px; color: var(--n800); }
.intro { font-size: 18px; color: var(--n800); max-width: 760px; }
.muted { color: var(--n700); }
.muted-600 { color: var(--n700); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; border-radius: var(--r-pill);
  padding: 10px 20px; font: inherit; font-weight: 700; line-height: 1.5;
  text-align: center; text-decoration: none;
  background: transparent; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.is-clear { background: transparent; }
.btn-outline.is-clear:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; }
.btn-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn--xs { padding: 8px 16px; }
.btn--s { padding: 8px 18px; }
.btn--m { padding: 10px 18px; }
.btn--m2 { padding: 10px 20px; }
.btn--m3 { padding: 10px 22px; }
.btn--l { padding: 12px 22px; }
.btn--l2 { padding: 12px 24px; }
.btn--xl { padding: 14px 24px; }
.btn--xl2 { padding: 14px 26px; }
.btn--xl3 { padding: 14px 28px; }
.btn--xxl { padding: 16px 30px; }
.btn--submit { padding: 16px 34px; }
.btn--login { padding: 16px; }
.btn--fs15 { font-size: 15px; }
.btn--fs17 { font-size: 17px; }
.btn--fs18 { font-size: 18px; }
.btn--w600 { font-weight: 600; }
.btn--start { align-self: flex-start; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row--10 { gap: 10px; }

/* Text-Buttons (Touch-Ziel per ::after vergrößert, ohne Layout zu verändern) */
.btn-text {
  position: relative; display: inline; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 700; line-height: 1.5; color: var(--pink-text); text-decoration: none;
}
.btn-text::after { content: ''; position: absolute; inset: -10px -6px; }
.btn-text:hover { color: var(--pink); }
.btn-text--ink { color: var(--ink); }
.btn-text--ink:hover { color: var(--pink); }
.link-more { margin-left: auto; font-weight: 700; color: var(--pink-text); padding: 6px 0; text-decoration: none; }
.link-more:hover { color: var(--pink); }

/* Pill-Umschalter mit Rahmen (Squads, Filter, Tags, Stufen) */
.pill-toggle {
  display: inline-block; cursor: pointer; border-radius: var(--r-pill);
  padding: 10px 20px; font: inherit; font-weight: 700; line-height: 1.5;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none;
}
.pill-toggle:hover { color: var(--ink); }
.pill-toggle.is-active, .pill-toggle:has(input:checked) { background: var(--ink); color: #fff; }
.pill-toggle--s { padding: 8px 18px; }
.pill-toggle--xs { padding: 8px 16px; }

/* Segment Ja/Nein, Damen/Herren */
.seg { display: flex; gap: 4px; background: #fff; border-radius: var(--r-pill); padding: 4px; border: 2px solid var(--n300); }
.seg__opt {
  border: 0; cursor: pointer; border-radius: var(--r-pill); padding: 7px 20px;
  font: inherit; font-weight: 700; line-height: 1.5; background: transparent; color: var(--ink);
}
.seg__opt--pink.is-on, .seg__opt--pink:has(input:checked) { background: var(--pink); color: #fff; }
.seg__opt--ink.is-on, .seg__opt--ink:has(input:checked) { background: var(--ink); color: #fff; }
.seg--gender .seg__opt { padding: 7px 16px; }
.seg--re .seg__opt { padding: 8px 22px; }

/* Auswahlkarten (Status, Spielmodus) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.choice-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.choice-card {
  width: 100%; height: 100%; cursor: pointer; text-align: left; border-radius: var(--r-card); padding: 22px;
  font: inherit; line-height: 1.5; display: flex; flex-direction: column; gap: 6px;
  border: 3px solid transparent; background: #fff; color: var(--ink);
}
.choice-card.is-active { border-color: var(--pink); background: var(--pink-light); }
.choice-card__title { font-family: var(--font-heading); font-size: 24px; line-height: 1.1; }

/* ---------- Karten & Raster ---------- */
.card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.grid-220 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.section { display: flex; flex-direction: column; gap: 20px; }
.section--16 { gap: 16px; }
.section--24 { gap: 24px; }
.section-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-head__meta { font-weight: 700; font-size: 18px; color: var(--n700); padding-bottom: 6px; }
.num-badge {
  flex: none; border-radius: 50%; background: var(--ink); color: var(--pink);
  display: grid; place-items: center; font-family: var(--font-heading);
}
.num-badge--56 { width: 56px; height: 56px; font-size: 28px; }
.num-badge--52 { width: 52px; height: 52px; font-size: 26px; }
.num-badge--48 { width: 48px; height: 48px; font-size: 24px; }
.num-badge--44 { width: 44px; height: 44px; font-size: 22px; }

/* ---------- Start: vor dem Turnier ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: .95; margin: 0; text-wrap: balance; }
.hero__lead { font-size: 20px; max-width: 540px; color: var(--n800); text-wrap: pretty; }
.hero__art { display: flex; justify-content: center; position: relative; }
/* z-index -1: bei einspaltigem Hero ragt der Kreis sonst über die Fakten-Karten (Prototyp-Fehler) */
.hero__circle { position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--pink-light); right: 0; top: 4%; }
.hero__logo { position: relative; width: min(100%, 460px); aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.countdown { display: flex; flex-direction: column; gap: 10px; }
.countdown__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--n700); }
.countdown__tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.cd-tile { background: var(--ink); color: #fff; border-radius: 22px; padding: 14px 18px; min-width: 76px; display: flex; flex-direction: column; align-items: center; }
.cd-tile__num { font-family: var(--font-heading); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-tile__num--pink { color: var(--pink); }
.cd-tile__unit { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
/* Meldezähler unter den Buttons: eine Zeile Text, schmaler Verlaufsbalken */
/* Buttons + Zähler: der Balken ist genau so breit wie die Buttonzeile */
.hero__cta { display: flex; flex-direction: column; gap: 16px; width: fit-content; max-width: 100%; }
.reg-counter { display: flex; flex-direction: column; gap: 8px; }
.reg-counter__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
.reg-counter__label { font-size: 14px; font-weight: 700; color: var(--n800); font-variant-numeric: tabular-nums; }
.reg-counter__free { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--n700); }
.reg-counter__free.is-full { color: var(--pink-text); font-weight: 700; }
.reg-counter__bar { height: 8px; border-radius: var(--r-pill); background: var(--n200); overflow: hidden; }
.reg-counter__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--pink-text), var(--pink)); }
.reg-counter__fill.is-full { background: var(--ink); }

.fact { background: #fff; border-radius: var(--r-card); padding: 24px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.fact__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-text); }
.fact__value { font-size: 19px; font-weight: 700; line-height: 1.3; }

.squad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.squad-card { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.squad-card__head { display: flex; align-items: center; gap: 14px; }
.squad-card__titles { display: flex; flex-direction: column; }
.squad-card__title { font-weight: 700; font-size: 18px; }
.squad-card__when { color: var(--n700); }
.bar { height: 12px; border-radius: var(--r-pill); background: var(--n200); overflow: hidden; }
.bar__fill { height: 100%; border-radius: var(--r-pill); background: var(--pink); }
.bar__fill--full { background: var(--ink); }
.squad-card__foot { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; flex-wrap: wrap; }
.squad-card__free { color: var(--pink-text); }
.squad-card__full { color: var(--n700); }

.dark-section { background: var(--ink); color: #fff; border-radius: var(--r-section); padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-family: var(--font-heading); font-size: 24px; }
.step__body { display: flex; flex-direction: column; gap: 4px; }
.step__title { font-weight: 700; font-size: 19px; }
.step__text { color: var(--muted-on-dark); white-space: pre-line; }

/* ---------- Start: Dashboard ---------- */
.live-banner { background: var(--ink); color: #fff; border-radius: var(--r-section); padding: 28px 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.live-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--pink); flex: none; }
.live-dot.is-live { animation: bcPulse 1.4s infinite; }
@keyframes bcPulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 0, 124, .7); }
  70% { box-shadow: 0 0 0 12px rgba(228, 0, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 0, 124, 0); }
}
.live-banner__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 240px; }
.live-banner__kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.live-banner__headline { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.live-banner__refresh { font-size: 14px; color: var(--muted-on-dark); }

.champion { background: var(--pink); color: #fff; border-radius: var(--r-section); padding: 36px 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.champion__one { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-family: var(--font-heading); font-size: 44px; flex: none; }
.champion__text { display: flex; flex-direction: column; gap: 4px; }
.champion__kicker { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.champion__name { font-family: var(--font-heading); font-size: clamp(36px, 6vw, 64px); line-height: 1; }
.champion__sub { font-weight: 600; }

.stat { background: #fff; border-radius: var(--r-card); padding: 24px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--n700); }
.stat__value { font-family: var(--font-heading); font-size: 48px; line-height: 1.05; color: var(--pink); font-variant-numeric: tabular-nums; }
.stat__sub { font-weight: 600; }

.dash-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.panel { background: #fff; border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.panel--news { gap: 18px; }
.panel__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel__note { color: var(--n700); font-weight: 600; }

.rank {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--n200); color: var(--ink);
}
.rank--36 { width: 36px; height: 36px; }
.rank--ink { background: var(--ink); color: #fff; }
.rank--pink { background: var(--pink); color: #fff; }

.toplist { display: flex; flex-direction: column; }
.toprow { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 2px solid var(--n200); }
.toprow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.toprow__name { font-weight: 700; }
.toprow__sub { font-size: 14px; color: var(--n700); }
.toprow__total { font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.cutline {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  color: var(--pink-text); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.cutline::before, .cutline::after { content: ''; flex: 1; border-top: 2px dashed var(--pink); }

.news-item { display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; border-bottom: 2px solid var(--n200); }
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.news-tag { border-radius: var(--r-pill); padding: 3px 12px; font-weight: 700; }
.news-tag--Info { background: var(--ok-bg); color: var(--ok-text); }
.news-tag--Live { background: var(--pink); color: #fff; }
.news-tag--Ergebnis { background: var(--ink); color: #fff; }
.news-tag--Wichtig { background: var(--pink-light); color: var(--pink-text); }
.news-ts { color: var(--n700); font-weight: 600; }
.news-text { font-size: 17px; text-wrap: pretty; }

.winner { background: #fff; border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: center; }
.winner__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.winner__name { font-weight: 700; }
.winner__sub { color: var(--n700); font-size: 15px; }

/* ---------- Ausschreibung ---------- */
.aus { display: flex; flex-direction: column; gap: 24px; max-width: 920px; }
.prize-list { display: flex; flex-direction: column; gap: 12px; }
.deflist { background: #fff; border-radius: var(--r-card); padding: 12px 32px; box-shadow: var(--shadow-sm); }
.defrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 24px; padding: 18px 0; border-bottom: 2px solid var(--n200); }
.defrow__label { font-weight: 700; color: var(--pink-text); }
.defrow__value { grid-column: span 2; min-width: 0; text-wrap: pretty; font-size: 17px; white-space: pre-line; }

.table-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow-x: auto; }
.table-card--prizes { padding: 8px 28px 16px; }
.table-card--results { padding: 12px 24px 20px; }
.table-card--admin { padding: 8px 20px 16px; }
.table-card--entry { padding: 8px 20px 20px; }
.table { width: 100%; border-collapse: collapse; }
.table--num { font-variant-numeric: tabular-nums; }
.table thead tr { text-align: left; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--n700); }
.table th { padding: 14px 8px; font-weight: 700; }
.table tbody tr { border-top: 2px solid var(--n200); }
.table tbody tr.is-cut { border-top: 3px dashed var(--pink); }
.table tbody tr.group-head { border-top: 0; }
.table td { padding: 10px 8px; }
.table .th-game { padding: 14px 4px; text-align: center; }
.table .td-game { padding: 10px 3px; text-align: center; }
.table .th-right, .table .td-right { text-align: right; }
.table--prizes td { padding: 12px 8px; }
.table--entry td { padding: 8px; }
.min-480 { min-width: 480px; }
.min-640 { min-width: 640px; }
.min-720 { min-width: 720px; }
.min-760 { min-width: 760px; }
.min-860 { min-width: 860px; }
.td-strong { font-weight: 700; }
.td-pink { font-weight: 700; color: var(--pink-text); }
.td-hc { text-align: right; color: var(--pink-text); font-weight: 700; }
.td-total { text-align: right; font-weight: 700; font-size: 20px; }
.td-muted { text-align: right; color: var(--n700); }
.td-600 { font-weight: 600; }
.game { display: inline-block; min-width: 46px; padding: 5px 6px; border-radius: 12px; border: 2px solid var(--n300); font-weight: 600; }
.group-head td { padding: 22px 8px 6px; font-family: var(--font-heading); font-size: 24px; color: var(--pink-text); }
.team-cell { line-height: 1.2; }
.team-cell__row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.team-cell__name { font-weight: 700; }
.team-cell__sub { font-size: 14px; color: var(--n700); }

.hc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hc-tile { border-radius: var(--r-card); padding: 22px 24px; display: flex; flex-direction: column; }
.hc-tile__num { font-family: var(--font-heading); font-size: 44px; line-height: 1; }
.hc-tile__label { font-weight: 700; }
.hc-tile--pink { background: var(--pink); color: #fff; }
.hc-tile--light { background: var(--pink-light); color: var(--pink-text); }
.hc-tile--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.times { background: #fff; border-radius: var(--r-card); padding: 8px 32px; box-shadow: var(--shadow-sm); }
.times__row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--n200); flex-wrap: wrap; }
.times__when { font-weight: 700; flex: 1; min-width: 160px; }
.times__places { font-weight: 600; color: var(--n700); }

/* ---------- Ergebnisse ---------- */
.results-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.results-head__title { display: flex; flex-direction: column; gap: 6px; }
.refresh-note { font-size: 14px; font-weight: 600; color: var(--pink-text); }
.tabs { display: flex; gap: 4px; background: #fff; border-radius: var(--r-pill); padding: 5px; box-shadow: var(--shadow-sm); margin-left: auto; flex-wrap: wrap; }
.tab { border-radius: var(--r-pill); padding: 10px 18px; font-weight: 700; line-height: 1.5; color: var(--ink); background: transparent; text-decoration: none; }
.tab:hover { color: var(--ink); }
.tab.is-active, .tab.is-active:hover { background: var(--pink); color: #fff; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }

.empty { background: #fff; border-radius: var(--r-card); padding: 48px 40px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.empty__dots { width: 72px; height: 72px; border-radius: 50%; background: var(--pink-light); display: flex; align-items: center; justify-content: center; gap: 5px; }
.empty__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.empty__title { font-family: var(--font-heading); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 0; }
.empty__text { font-size: 18px; color: var(--n800); max-width: 640px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border-radius: var(--r-pill); padding: 6px 14px; background: var(--n200); font-weight: 600; }
.note-card { background: #fff; border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow-sm); font-size: 18px; font-weight: 600; }

.legend { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.legend__item { display: flex; align-items: center; gap: 8px; }
.legend__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.legend__dot--pink { background: var(--pink); }
.legend__note { color: var(--n700); }

.tag-reentry { border-radius: var(--r-pill); padding: 1px 8px; font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; }
.tag-hc { border-radius: var(--r-pill); padding: 1px 8px; font-size: 12px; font-weight: 700; background: var(--pink-light); color: var(--pink-text); }
.tag-wait { border-radius: var(--r-pill); padding: 0 8px; font-size: 12px; font-weight: 700; border: 2px solid var(--pink); color: var(--pink-text); }

/* K.-o.-Baum */
.ko { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; align-items: stretch; }
.ko__round { flex: 1 0 270px; display: flex; flex-direction: column; gap: 14px; }
.ko__title { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-text); }
.ko__matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.match { background: #fff; border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.match__side { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.match__side--a { border-bottom: 2px solid var(--n200); }
.match__seed { width: 28px; height: 28px; border-radius: 50%; background: var(--n200); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.match__name { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.match__score { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.match__side.is-win .match__name { font-weight: 800; color: var(--pink-text); }
.match__side.is-win .match__score { color: var(--pink-text); }
.match__side.is-empty .match__name, .match__side.is-empty .match__score { color: var(--n700); }
.match__detail { padding: 8px 16px; background: var(--n100); font-size: 13px; font-weight: 600; color: var(--n700); }
.winner-card { background: var(--pink); color: #fff; border-radius: var(--r-card); padding: 24px 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.winner-card__one { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-family: var(--font-heading); font-size: 28px; }
.winner-card__text { display: flex; flex-direction: column; }
.winner-card__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.winner-card__name { font-family: var(--font-heading); font-size: 34px; line-height: 1.05; }
.winner-card__sub { font-weight: 600; }

/* Eliminationsfinale */
.elim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.elim-stage { background: #fff; border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.elim-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-pill); background: var(--pink-light); color: var(--pink-text); }
.elim-row--win { background: var(--pink); color: #fff; }
.elim-row--out { background: var(--n200); color: var(--n700); }
.elim-row__name { flex: 1; min-width: 0; font-weight: 700; }
.elim-row--out .elim-row__name { text-decoration: line-through; }
.elim-row__note { font-size: 13px; font-weight: 700; }
.elim-row__score { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Anmeldung ---------- */
.anm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: start; }
.anm__main { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.anm__aside { display: flex; flex-direction: column; gap: 16px; }
.form-card { background: #fff; border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 26px; }
.fields-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.field--between { justify-content: space-between; }
.input {
  width: 100%; min-width: 0; padding: 13px 18px; border-radius: var(--r-pill);
  border: 2px solid var(--n300); background: #fff; font: inherit; font-weight: 400; color: var(--ink);
}
.input[type="date"], .input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; } /* iPad/iPhone: Safari gibt Datums- und Zeitfeldern sonst eine eigene Mindestbreite */
.input[type="date"]::-webkit-date-and-time-value, .input[type="time"]::-webkit-date-and-time-value { text-align: left; }
.input--m { padding: 12px 18px; }
.input--s { padding: 10px 16px; }
.input--xs { padding: 10px 14px; }
.input--bold { font-weight: 700; }
.input--area { border-radius: 24px; padding: 16px 20px; resize: vertical; }
.input--num80 { width: 80px; padding: 10px 14px; }
.input--center { text-align: center; }
.input--auto { width: auto; }
.input--f180 { flex: 1 1 180px; }
.input--f150 { flex: 1 1 150px; }
.field--wide { grid-column: 1 / -1; }
.fw-600 { font-weight: 600; }
.hint-dark { background: var(--ink); color: #fff; border-radius: 24px; padding: 14px 20px; font-weight: 600; }
.hint-dark a { color: #fff; font-weight: 700; }
.hint-dark a:hover { color: var(--pink-light); }
.block { display: flex; flex-direction: column; gap: 12px; }
.block__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.block__title { font-family: var(--font-heading); font-size: 24px; }
.block__titles { display: flex; flex-direction: column; gap: 2px; }
.block__desc { color: var(--n700); }
.cat-pill { border-radius: var(--r-pill); padding: 4px 14px; font-weight: 700; font-size: 14px; background: var(--pink-light); color: var(--pink-text); }
.player-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--n100); border-radius: 32px; padding: 6px; }
.player-row__nr { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.player-row__input { flex: 1 1 200px; min-width: 0; padding: 11px 16px; border-radius: var(--r-pill); border: 2px solid var(--n300); background: #fff; font: inherit; color: var(--ink); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.opt-card {
  position: relative; cursor: pointer; text-align: left; border-radius: 24px; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px; border: 3px solid var(--n300); background: #fff; color: var(--ink);
}
.opt-card.is-selected, .opt-card:has(input:checked) { border-color: var(--pink); background: var(--pink-light); }
.opt-card.is-disabled { opacity: .4; cursor: default; }
.opt-card__title { font-weight: 700; font-size: 18px; }
.opt-card__when { font-size: 15px; }
.opt-card__free { font-size: 14px; font-weight: 700; color: var(--pink-text); }
.draw-info { background: var(--pink-light); color: var(--pink-text); border-radius: 24px; padding: 16px 20px; font-weight: 600; }
.re-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.re-head__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 220px; }
.strong { font-weight: 700; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--pink); margin: 2px 0 0; flex: none; }
.consent a { font-weight: 700; color: var(--pink-text); text-decoration: underline; }
.form-error { background: var(--pink-light); color: var(--pink-text); border-radius: var(--r-pill); padding: 12px 20px; font-weight: 700; }
.submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.info-dark { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.info-dark__kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.info-dark__item { display: flex; flex-direction: column; }
.info-dark__label { color: var(--muted-on-dark); font-size: 14px; }
.info-dark__value { font-weight: 700; font-size: 19px; }
.info-dark__value--sm { font-size: inherit; }
.info-white { background: #fff; border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }

.sent-banner { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 32px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.sent-banner__check { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-family: var(--font-heading); font-size: 30px; }
.sent-banner__text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.sent-banner__title { font-family: var(--font-heading); font-size: 30px; line-height: 1.1; }
.sent-banner__sub { color: var(--muted-on-dark); }
.mail-preview { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-md); overflow: hidden; }
.mail-preview__head { padding: 18px 28px; background: var(--n200); display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.mail-preview__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.mail-preview__logo { width: 88px; height: 88px; object-fit: contain; mix-blend-mode: multiply; }
.mail-preview__wait { background: var(--pink-light); border-radius: 20px; padding: 12px 16px; color: var(--pink-text); }
.mail-sig { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding-top: 18px; border-top: 2px solid var(--n200); flex-wrap: wrap; }
.mail-sig__logo { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.mail-sig__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; color: var(--n800); }
.mail-sig__name { font-family: var(--font-heading); font-size: 18px; color: var(--pink); }
.mail-sig__club { font-weight: 700; color: var(--ink); }
.mail-sig__small { font-size: 12px; color: var(--n700); }

/* ---------- Meldeliste ---------- */
.pending-card { background: #fff; border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.mel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; align-items: start; }
.mel-card { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.mel-card__head { display: flex; align-items: center; gap: 12px; }
.mel-card__titles { display: flex; flex-direction: column; line-height: 1.25; }
.mel-card__title { font-weight: 700; font-size: 18px; }
.mel-card__when { color: var(--n700); font-size: 15px; }
.mel-card__count { margin-left: auto; font-weight: 700; }
.mel-list { display: flex; flex-direction: column; }
.mel-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 2px solid var(--n200); }
.mel-row__nr { flex: none; width: 24px; color: var(--n700); font-weight: 700; font-size: 14px; padding-top: 2px; }
.mel-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; gap: 3px; }
.mel-row__name { font-weight: 700; }
.mel-row__players { font-size: 14px; color: var(--n700); }
.tags { display: flex; gap: 4px; flex-wrap: wrap; }
.pay { flex: none; border-radius: var(--r-pill); padding: 3px 10px; font-size: 13px; font-weight: 700; }
.pay--paid { background: var(--ok-bg); color: var(--ok-text); }
.pay--open { background: var(--pink-light); color: var(--pink-text); }
.free-pill { border: 2px dashed var(--pink); border-radius: var(--r-pill); padding: 10px 16px; text-align: center; color: var(--pink-text); font-weight: 700; }
.waitbox { background: var(--n100); border-radius: 22px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.waitbox__item { font-weight: 600; }
.waitbox__item span { font-weight: 400; color: var(--n700); }

/* ---------- Rechtliches ---------- */
.legal { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.legal__lead { font-size: 19px; color: var(--n800); max-width: 760px; text-wrap: pretty; }
.legal__card { background: #fff; border-radius: var(--r-card); padding: 8px 32px 16px; box-shadow: var(--shadow-sm); font-size: 17px; }
.legal__block { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-bottom: 2px solid var(--n200); }
.legal__block:last-child { border-bottom: 0; }
.legal__block h2 { font-family: var(--font-heading); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
.legal__block p { margin: 0; text-wrap: pretty; }

/* ---------- Galerie ---------- */
.gal-head__count { font-weight: 700; color: var(--n700); padding-bottom: 6px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 40px) / 3)), 1fr)); gap: 20px; }
.album-card { background: #fff; border-radius: var(--r-card); padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.album-card__cover { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--n200); }
.album-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card__info { display: flex; align-items: center; gap: 12px; padding: 0 6px 6px; }
.album-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.album-card__title { font-weight: 700; font-size: 18px; }
.album-card__meta { font-size: 14px; color: var(--n700); }
.album-card .btn { flex: none; }
.washed { filter: saturate(.6) contrast(.85) brightness(1.1); }
.img-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--n400); }
.img-placeholder svg { width: 40px; height: 40px; }
.album-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0; }
.album-meta { font-size: 18px; color: var(--n800); }
.title-block { display: flex; flex-direction: column; gap: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(200px, calc((100% - 32px) / 3)), 1fr)); gap: 16px; }
.photo { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--n200); padding: 0; border: 0; cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(20, 20, 20, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__btn { position: absolute; border: 0; cursor: pointer; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; padding: 10px 18px; min-width: 44px; min-height: 44px; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: var(--muted-on-dark); font-weight: 600; }

/* ---------- Archiv ---------- */
.arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.arch-card { text-align: left; background: #fff; border-radius: var(--r-card); padding: 26px 28px; box-shadow: var(--shadow-sm); color: var(--ink); display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.arch-card:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.arch-card__titles { display: flex; flex-direction: column; gap: 2px; }
.arch-card__title { font-family: var(--font-heading); font-size: 26px; line-height: 1.1; }
.arch-card__meta { color: var(--n700); font-weight: 600; }
.arch-card__champ { display: flex; align-items: center; gap: 14px; background: var(--pink-light); border-radius: var(--r-pill); padding: 8px 18px 8px 8px; }
.arch-card__one { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-size: 22px; }
.arch-card__champ-name { font-weight: 700; color: var(--pink-text); }
.arch-card__more { font-weight: 700; color: var(--pink-text); }
.arch-title { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 48px); line-height: 1.05; }
.arch-meta { font-size: 18px; color: var(--n800); }
.podium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.podium { border-radius: var(--r-card); padding: 22px 24px; display: flex; align-items: center; gap: 14px; }
.podium--1 { background: var(--pink); color: #fff; }
.podium--2 { background: var(--ink); color: #fff; }
.podium--3 { background: var(--pink-light); color: var(--pink-text); }
.podium__place { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font-family: var(--font-heading); font-size: 26px; }
.podium__name { font-weight: 700; font-size: 18px; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mini-stat { background: #fff; border-radius: 24px; padding: 18px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mini-stat__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n700); }
.mini-stat__value { font-family: var(--font-heading); font-size: 36px; color: var(--pink); }
.mini-stat__text { font-weight: 700; font-size: 20px; padding-top: 8px; }
.report-gen { background: var(--pink-light); color: var(--pink-text); border-radius: var(--r-card); padding: 22px 28px; font-weight: 700; }
.report { background: #fff; border-radius: var(--r-card); padding: 24px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.report p { font-size: 17px; text-wrap: pretty; }
.report__meta { align-self: flex-start; border-radius: var(--r-pill); padding: 4px 14px; font-size: 13px; font-weight: 700; background: var(--ok-bg); color: var(--ok-text); }
.arch-top { background: #fff; border-radius: var(--r-card); padding: 20px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.arch-top__title { font-family: var(--font-heading); font-size: 24px; padding-bottom: 8px; }
.arch-top__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 2px solid var(--n200); }

/* ---------- Login ---------- */
.login-wrap { display: flex; justify-content: center; padding: 24px 0; }
.login-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-section); padding: 40px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 18px; }
.login-card__logo { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; align-self: center; }
.login-card__title { font-family: var(--font-heading); font-weight: 400; font-size: 36px; line-height: 1; margin: 0; text-align: center; }
.login-card__sub { text-align: center; color: var(--n700); }
.role-seg { display: flex; gap: 4px; background: var(--n200); border-radius: var(--r-pill); padding: 5px; }
.role-seg__opt { flex: 1; cursor: pointer; border-radius: var(--r-pill); padding: 10px; font-weight: 700; text-align: center; background: transparent; color: var(--ink); }
.role-seg__opt.is-on, .role-seg__opt:has(input:checked) { background: var(--ink); color: #fff; }
.login-ok { background: var(--ok-bg); color: var(--ok-text); border-radius: var(--r-pill); padding: 12px 20px; font-weight: 700; text-align: center; }

/* ---------- Verwaltung ---------- */
.admin { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.admin-nav {
  flex: 1 1 240px; max-width: 300px; min-width: 0;
  background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 20px;
  display: flex; flex-direction: column; align-items: stretch; overflow-x: auto; gap: 4px;
}
.admin-nav__who { display: flex; align-items: center; gap: 12px; padding: 6px 8px 16px; }
.admin-nav__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-weight: 700; flex: none; }
.admin-nav__whotext { display: flex; flex-direction: column; line-height: 1.2; }
.admin-nav__role { font-weight: 700; white-space: nowrap; }
.admin-nav__state { font-size: 14px; color: var(--muted-on-dark); }
.admin-nav__item {
  text-align: left; white-space: nowrap; flex: none; border-radius: var(--r-pill); padding: 11px 16px;
  font-weight: 600; line-height: 1.5; background: transparent; color: var(--muted-on-dark); text-decoration: none;
}
.admin-nav__item:hover { background: var(--ink-hover); color: var(--muted-on-dark); }
.admin-nav__item.is-active { background: var(--pink); color: #fff; }
.admin-nav__item.is-active:hover { background: var(--ink-hover); color: #fff; }
.admin-nav__logout-form { flex: none; margin-top: 12px; }
.admin-nav__logout {
  width: 100%; white-space: nowrap; cursor: pointer; text-align: left; border-radius: var(--r-pill); padding: 11px 16px;
  font: inherit; font-weight: 600; line-height: 1.5; background: transparent; color: var(--muted-on-dark); border: 2px solid var(--ink-line);
}
.admin-nav__logout:hover { color: #fff; border-color: #fff; }
/* Anwesenheit: andere aktive Benutzer in der Seitenleiste, Hinweis bei gleicher Seite */
.presence:empty { display: none; }
.presence { display: flex; flex-direction: column; gap: 6px; padding: 0 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ink-line); }
.presence__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); }
.presence__row { display: flex; align-items: center; gap: 10px; }
.presence__avatar { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ink-hover); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.presence__avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; border: 2px solid var(--ink); }
.presence__row.is-same .presence__avatar { background: var(--pink); }
.presence__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.presence__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence__area { font-size: 13px; color: var(--muted-on-dark); }
.presence-warn { background: var(--pink-light); color: var(--pink-text); border-radius: 20px; padding: 12px 16px; font-weight: 700; margin: 0; }
.admin-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.admin-intro { font-size: 17px; color: var(--n800); }
.admin-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin-head__meta { font-weight: 600; color: var(--n700); padding-bottom: 4px; }
.admin-head__meta--pink { color: var(--pink-text); }

.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.adm-stat { background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; }
.adm-stat__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n700); }
.adm-stat__value { font-family: var(--font-heading); font-size: 40px; line-height: 1.1; color: var(--pink); }
.adm-card { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.adm-card--wide { padding: 24px 28px; }
.adm-card--list { padding: 8px 24px; gap: 0; }
.adm-card--12 { gap: 12px; }
.adm-card--18 { gap: 18px; }
.adm-card--form { padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.adm-card--row { padding: 24px 28px; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.adm-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-card__head .push { margin-left: auto; }
.dark-card { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.dark-card--row { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.dark-card__text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.dark-card__hint { color: var(--muted-on-dark); }
.confirm-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.confirm-row__text { font-weight: 700; flex: 1; min-width: 220px; }
.settings-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.toggle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toggle-row__label { flex: 1; min-width: 220px; font-weight: 700; }
.inline-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-row--12 { gap: 12px; }
.inline-row--8 { gap: 8px; }
.select { padding: 8px 14px; border-radius: var(--r-pill); border: 2px solid var(--n300); font: inherit; background: #fff; color: var(--ink); }
.wait-text { font-weight: 600; color: var(--pink-text); }
.pay-btn { cursor: pointer; border: 0; border-radius: var(--r-pill); padding: 6px 14px; font: inherit; font-weight: 700; font-size: 14px; line-height: 1.5; }
.pay-btn--paid { background: var(--ok-bg); color: var(--ok-text); }
.pay-btn--open { background: var(--pink-light); color: var(--pink-text); }
.actions { text-align: right; white-space: nowrap; }
.actions form { display: inline; }
.actions .btn-text + form .btn-text, .actions form + form { margin-left: 8px; }
.score-cells { display: flex; flex-wrap: wrap; gap: 6px; max-width: 700px; } /* bei vielen Vorrundenspielen in mehreren Reihen */
.score-input { width: 64px; padding: 8px 6px; border-radius: 14px; border: 2px solid var(--n300); font: inherit; font-weight: 600; text-align: center; background: #fff; color: var(--ink); -moz-appearance: textfield; }
.score-input::-webkit-outer-spin-button, .score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-input--ro { width: 64px; border-color: var(--pink); }
.entry-stage { display: flex; flex-direction: column; gap: 12px; }
.entry-stage__title { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-text); }
.entry-note { font-size: 14px; font-weight: 600; color: var(--pink-text); }
.part-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: start; }
.part-card { background: #fff; border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.part-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.part-card__title { font-family: var(--font-heading); font-size: 24px; line-height: 1.1; overflow-wrap: anywhere; }
.count-pill { border-radius: var(--r-pill); padding: 3px 12px; font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--pink-light); color: var(--pink-text); }
.part-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 2px solid var(--n200); }
.part-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.excl-box { background: var(--n100); border-radius: 22px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.excl-row { display: flex; align-items: center; gap: 10px; }
.excl-row__name { flex: 1; font-weight: 600; text-decoration: line-through; }
.news-admin { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 2px solid var(--n200); }
.news-admin__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.compose-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.compose-row .push { margin-left: auto; }
.fb-status { display: flex; align-items: center; gap: 12px; }
.fb-status__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--n400); flex: none; }
.fb-status__dot.is-on { background: var(--ok-dot); }
.fb-status__text { font-weight: 700; font-size: 18px; }
.small-note { font-size: 14px; color: var(--n700); }
.fb-post { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 2px solid var(--n200); }
.fb-post__meta { font-size: 14px; font-weight: 600; color: var(--n700); }
.fb-post__error { font-size: 14px; font-weight: 700; color: var(--pink-text); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 2px solid var(--n200); flex-wrap: wrap; }
.list-row:last-child { border-bottom-color: var(--n200); }
.list-row__text { flex: 1; min-width: 180px; display: flex; flex-direction: column; line-height: 1.25; }
.list-row__text--tight { line-height: 1.2; }
.list-row__title { font-weight: 700; }
.list-row__meta { font-size: 14px; color: var(--n700); }
.user-ini { width: 44px; height: 44px; border-radius: 50%; background: var(--pink-light); color: var(--pink-text); display: grid; place-items: center; font-weight: 700; flex: none; }
.role-pill { border-radius: var(--r-pill); padding: 5px 14px; font-weight: 700; font-size: 14px; background: var(--ink); color: #fff; }
.role-pill--pending { background: var(--pink-light); color: var(--pink-text); }
.upload { display: block; }
.upload[open] { flex-basis: 100%; }
.upload > summary { list-style: none; display: inline-block; }
.upload > summary::-webkit-details-marker { display: none; }
.upload__panel { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--n100); border-radius: 22px; padding: 16px; }
.field--grow2 { flex: 2 1 220px; }
.field--grow1 { flex: 1 1 160px; }
.list-link { color: var(--ink); text-decoration: none; }
.list-link:hover { color: var(--pink); }
.push { margin-left: auto; }
.maxw-720 { max-width: 720px; }
.field--max480 { max-width: 480px; }
.invite { display: block; }
.invite > summary { list-style: none; display: inline-block; }
.invite > summary::-webkit-details-marker { display: none; }
.invite > form { margin-top: 14px; }
.upload__panel input[type=file] { font: inherit; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.thumb { display: flex; flex-direction: column; gap: 8px; }
.thumb__img { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--n200); }
.thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.thumb__cover { position: absolute; left: 8px; top: 8px; border-radius: var(--r-pill); padding: 2px 10px; font-size: 12px; font-weight: 700; background: var(--pink); color: #fff; }
.thumb__actions { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }

/* Verwaltung → Kalkulation */
.field__hint { font-size: 14px; font-weight: 400; color: var(--n700); }
.calc-split { border: 0; margin: 0; padding: 0; display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; }
.calc-split__legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.calc-split__item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.calc-results { display: flex; flex-direction: column; gap: 20px; }
.calc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.calc-tiles--single { grid-template-columns: minmax(0, 360px); }
.calc-tile { border-radius: 24px; padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; background: var(--n100); color: var(--ink); }
.calc-tile--pink { background: var(--pink); color: #fff; }
.calc-tile--light { background: var(--pink-light); color: var(--pink-text); }
.calc-tile__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.calc-tile__value { font-family: var(--font-heading); font-size: 38px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-tile__sub { font-size: 14px; font-weight: 600; }
.calc-tile__sub--warn { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.calc-lines { display: flex; flex-direction: column; }
.calc-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-top: 2px solid var(--n200); }
.calc-line__label { font-weight: 700; }
.calc-line__value { font-variant-numeric: tabular-nums; margin-left: auto; text-align: right; }
.calc-line__note { flex-basis: 100%; font-size: 14px; color: var(--n700); }
.calc-pos { font-weight: 700; color: var(--ok-text); }
.calc-neg { font-weight: 700; color: var(--pink-text); }
.calc-big { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.calc-big__num { font-family: var(--font-heading); font-size: 64px; line-height: 1; color: var(--pink); font-variant-numeric: tabular-nums; }
.calc-big__text { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; }
.calc-big__sub { font-size: 15px; font-weight: 600; color: var(--n700); }
.calc-warn { background: var(--pink-light); color: var(--pink-text); border-radius: 20px; padding: 12px 16px; font-weight: 700; }
.calc-apply { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.calc-apply .small-note { flex: 1 1 260px; }
.calc-table { overflow-x: auto; }
.table tbody tr.calc-sum { border-top: 3px solid var(--ink); }
.table tbody tr.calc-row--sel { background: var(--pink-light); }

/* ---------- Touch-Ziele ≥ 44 px (unsichtbar vergrößerte Klickfläche, Optik unverändert) ---------- */
.nav-pill, .seg__opt, .site-footer__links a { position: relative; }
.nav-pill::after, .seg__opt::after, .site-footer__links a::after { content: ''; position: absolute; inset: -5px -2px; }

/* ---------- Toast & Modal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 14px 24px;
  font-weight: 700; box-shadow: var(--shadow-lg); z-index: 50;
  display: flex; gap: 10px; align-items: center; max-width: 90vw;
  animation: toast-out .25s ease 3.2s forwards;
}
.toast::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: none; }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }
.modal { position: fixed; inset: 0; background: rgba(20, 20, 20, .55); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal__dialog { width: 100%; max-width: 540px; background: #fff; border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.modal__kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-text); }
.modal__title { font-family: var(--font-heading); font-size: 30px; line-height: 1.1; }
.modal__text { color: var(--n800); }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Responsive: Tablet < 900px, Smartphone < 600px ---------- */
@media (max-width: 899.98px) {
  .main-nav, .header-actions .header-login { display: none; }
  .header-actions .menu-toggle { display: inline-block; }
  .page { padding: 32px 20px 88px; }
  .defrow__value, .anm__main { grid-column: 1 / -1; }
  .admin-nav { flex: 1 1 100%; max-width: none; flex-direction: row; align-items: center; padding: 10px; }
  .admin-nav__logout-form { margin-top: 0; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 599.98px) {
  .site-header__bar { padding: 10px 16px; }
  .page { padding: 24px 16px 72px; gap: 28px; }
  .dark-section { padding: 26px 22px; }
  .form-card { padding: 20px; }
  .calc-table .table th { letter-spacing: .04em; padding: 12px 6px; }
  .calc-table .table td { padding: 10px 6px; }
}

/* ---------- Round-Robin-Finale ---------- */
.rr-rounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.rr-round { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.rr-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 15px; padding: 6px 0; border-top: 1px solid var(--n200); }
.rr-match--bye { display: flex; justify-content: space-between; }
.rr-match__name { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.rr-match__name--b { text-align: right; }
.rr-match__name.is-win { font-weight: 700; color: var(--pink-text); }
.rr-match__score { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.rr-entry .td-game { width: 90px; }
.score-log summary { cursor: pointer; }

/* ---------- Ablaufplan: Zeitplan und Bahnbelegung ---------- */
.plan-table td { vertical-align: top; }
.plan-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-row--warmup td, .plan-row--warmup-final td, .plan-row--ceremony td { color: var(--n700); }
.plan-row--pause td { background: var(--n100); color: var(--n700); font-style: italic; }
.plan-row--final td:first-child, .plan-row--ko td:first-child { box-shadow: inset 4px 0 0 var(--pink); }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; font-weight: 600; }
.plan-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan-legend .lane-cell { width: 34px; height: 24px; font-style: normal; }
.lane-wrap { overflow-x: auto; }
.lane-grid { border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; }
.lane-grid th { font-size: 12px; font-weight: 700; padding: 2px 4px; text-align: center; color: var(--n700); }
.lane-grid tbody th { text-align: right; white-space: nowrap; position: sticky; left: 0; background: #fff; }
.lane-grid td { padding: 0; }
.lane-cell {
  display: inline-grid; place-items: center; width: 44px; height: 26px; border: 0; border-radius: 6px;
  font: 700 11px/1 var(--font-body, inherit); cursor: pointer; background: var(--n100); color: var(--n700); white-space: nowrap; overflow: hidden;
}
.lane-cell:hover { outline: 2px solid var(--pink); }
.lane-cell--auto { background: var(--pink-light); color: var(--pink-text); }
.lane-cell--belegt { background: var(--pink); color: #fff; }
.lane-cell--gesperrt { background: var(--ink); color: #fff; }
.lane-cell--frei { background: #fff; color: var(--n700); box-shadow: inset 0 0 0 1px var(--n300); }
span.lane-cell, i.lane-cell { cursor: default; }
span.lane-cell:hover, i.lane-cell:hover { outline: 0; }
.plan-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px 18px; margin: 4px 0 0; }
.plan-codes__row { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.plan-codes dt { flex: none; }
.plan-codes dd { margin: 0; }
.plan-codes .lane-cell { width: 52px; height: 24px; font-style: normal; }
.plan-print-part { display: flex; flex-direction: column; gap: 20px; }
.print-head { display: flex; flex-direction: column; gap: 8px; }
/* Druckansicht auch am Bildschirm ohne Menü der Verwaltung */
.admin:has(.print-head) .admin-nav { display: none; }

/* ---------- Druck (Ausschreibung als PDF speichern) ---------- */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; }
  .site-header, .site-footer, .no-print, .toast, .modal, .admin-nav { display: none !important; }
  .lane-cell { -webkit-print-color-adjust: exact; print-color-adjust: exact; width: 30px; height: 18px; font-size: 9px; border-radius: 3px; box-shadow: none; }
  .lane-cell--frei, .lane-cell--leer { border: 1px solid var(--n300); }
  .lane-grid { border-spacing: 1px; }
  .lane-grid th { font-size: 9px; padding: 0 2px; }
  .lane-wrap { overflow: visible; }
  .admin-main { gap: 12px; }
  .adm-card { box-shadow: none; padding: 0; }
  .plan-codes .lane-cell { width: 40px; }
  /* Bahnbelegung im Querformat, jeder Tag auf eigener Seite; Zeitplan im Hochformat */
  .plan-print-part--lanes { page: querformat; }
  .lane-day + .lane-day { break-before: page; }
  .plan-legend-card { break-inside: avoid; }
  .plan-print-part + .plan-print-part--lanes { break-before: page; }
  .plan-row { break-inside: avoid; }
}
@page querformat { size: A4 landscape; margin: 10mm; }
@media print {
  .page { padding: 0; gap: 20px; }
  .card, .deflist, .table-card, .times, .hc-tile--white, .fact { box-shadow: none; border: 1px solid var(--n300); }
  .deflist, .table-card, .times { break-inside: auto; }
  .defrow, .times__row, .table tr { break-inside: avoid; }
  .stamp { transform: none; }
}

/* ---------- Bahnvertrag ---------- */
.bv-head { align-items: baseline; gap: 10px 18px; }
.bv-head__status { flex: 1 1 240px; font-weight: 500; color: var(--pink-text); }
.bv-head__status.is-ok { font-weight: 600; color: var(--ok-text); }
.seg-pills { display: inline-flex; gap: 2px; border: 2px solid var(--n300); border-radius: var(--r-pill); padding: 4px; background: #fff; }
.bv-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.bv-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bv-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bv-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n700); }
.bv-kicker--pink { color: var(--pink-text); letter-spacing: .12em; }
.bv-h2 { font-family: var(--font-heading); font-weight: 400; font-size: 26px; letter-spacing: -.015em; line-height: 1.15; margin: 6px 0 0; }
.bv-h3 { margin: 4px 0 0; font-size: 17px; }
.bv-muted { color: var(--n800); }
.bv-small { font-size: 13px; }
.bv-ink { color: var(--ink); }
.bv-pinktext { color: var(--pink-text); }
.bv-center { text-align: center; }
.bv-spacer { flex: 1; }
.bv-lead { font-size: 17px; }
.bv-prewrap { white-space: pre-wrap; margin-top: 4px; }
.bv-row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 12px; flex-wrap: wrap; }
.bv-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--pink-text); cursor: pointer; text-decoration: none; min-height: 24px; }
.bv-link:hover { color: var(--pink-hover); }
.bv-btn-soft { border-color: var(--n300); }
.bv-btn-soft:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.bv-btn-block { display: block; width: 100%; }
.bv-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bv-actions form { margin: 0; }
.bv-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill); padding: 6px 14px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--pill-fg, var(--n800)); background: var(--n200); }
.bv-pill--pink-light { background: var(--pink-light); }
.bv-pill--n300 { background: var(--n300); }
.bv-pill--ok-bg { background: var(--ok-bg); }
.bv-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pill-dot, var(--n400)); flex: none; }
.bv-tag { font-size: 12px; font-weight: 600; color: var(--n800); background: var(--n200); border-radius: var(--r-pill); padding: 2px 10px; border: 0; }
.bv-tag--reset { font-weight: 700; color: var(--pink-text); background: var(--pink-light); cursor: pointer; font-family: inherit; }
.bv-optional { font-size: 12px; font-weight: 600; color: var(--n700); }

/* Formular */
.bv-form { gap: 22px; }
.bv-grid { display: grid; gap: 20px 18px; }
.bv-grid--230 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.bv-grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bv-grid--200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: start; }
.bv-grid--180 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.bv-grid--150 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 20px 16px; }
.bv-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bv-field--wide { grid-column: 1 / -1; }
.bv-grid--150 .bv-label { flex-direction: column; align-items: flex-start; gap: 6px; } /* Herkunft immer unter der Beschriftung – alle Felder einer Zeile auf gleicher Höhe */
.bv-field--pad { padding-top: 30px; gap: 10px; }
.bv-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.bv-form .input { height: 50px; padding: 0 20px; }
.bv-form .input[type="date"], .bv-form .input[type="time"] { line-height: 46px; }
.bv-form select.input { padding: 0 16px; }
.input.is-invalid { border-color: var(--pink); }
.bv-error { font-size: 14px; font-weight: 600; color: var(--pink-text); }
.bv-hint { margin: 0; font-size: 13px; font-weight: 400; color: var(--n700); }
.bv-hint--intro { font-size: 14px; }
.bv-suffix { position: relative; }
.bv-suffix .input { padding-right: 100px; }
.bv-suffix--wide .input { padding-right: 150px; }
.bv-suffix--narrow .input { padding-right: 44px; }
.bv-suffix span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--n700); pointer-events: none; }
.bv-box { background: var(--n100); border-radius: 22px; padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; margin: 0; }
.bv-box--text { font-size: 14px; color: var(--n800); padding: 14px 18px; }
.bv-box--tight { padding: 14px 16px; border-radius: 20px; }
.bv-times { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px 14px; font-size: 15px; margin: 6px 0 6px; }
.bv-times strong { font-variant-numeric: tabular-nums; }
.bv-times__muted { color: var(--n700); font-style: italic; }
.bv-addon { border: 2px solid var(--n200); border-radius: 24px; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.bv-addon__head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.bv-addon__head > div:first-child { flex: 1; min-width: 0; }
.bv-addon .bv-hint { font-size: 14px; }
.bv-switch { position: relative; flex: none; width: 52px; height: 30px; cursor: pointer; margin: 7px 0; }
.bv-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bv-switch__track { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--n300); transition: background .15s; pointer-events: none; }
.bv-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.bv-switch input:checked + .bv-switch__track { background: var(--pink); }
.bv-switch input:checked + .bv-switch__track::after { left: 25px; }
.bv-switch input:focus-visible + .bv-switch__track { outline: 2px solid var(--ink); outline-offset: 2px; }
.bv-check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; font-weight: 400; min-height: 44px; }
.bv-check--top { align-items: flex-start; min-height: 0; }
.bv-check input { width: 20px; height: 20px; accent-color: var(--pink); margin: 2px 0 0; flex: none; }
.bv-form__foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--n200); }
.bv-preview-bar { align-items: center; }

/* Seitenleiste: Schritte, Änderungswünsche, Kosten */
.bv-steps { padding: 22px; gap: 10px; }
.bv-steps .bv-kicker { padding: 0 8px; }
.bv-steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bv-step { display: flex; align-items: center; gap: 12px; border-radius: var(--r-pill); padding: 6px 14px 6px 6px; text-decoration: none; color: var(--n800); font-size: 15px; font-weight: 600; min-height: 46px; }
.bv-step:hover { background: var(--n100); color: var(--n800); }
.bv-step.is-active { background: var(--n100); color: var(--ink); font-weight: 700; }
.bv-step__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: var(--pink); font-family: var(--font-heading); font-size: 16px; }
.bv-step.is-active .bv-step__n { background: var(--pink); color: #fff; }
.bv-step.is-done .bv-step__n { background: var(--ok-bg); color: var(--ok-text); font-family: var(--font-body); font-weight: 800; font-size: 15px; }
.bv-changes { background: var(--pink-light); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.bv-changes--aside { padding: 22px; }
.bv-changes__head { font-weight: 800; color: var(--pink-text); }
.bv-change { background: #fff; border-radius: 20px; padding: 14px 16px; margin-top: 10px; }
.bv-change--inline { background: var(--pink-light); margin: 0; }
.bv-cost { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 24px; }
.bv-cost__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }
.bv-cost__total { font-family: var(--font-heading); font-size: 40px; line-height: 1.1; margin-top: 8px; }
.bv-cost__sum { font-size: 14px; color: var(--muted-on-dark); margin-top: 2px; }
.bv-cost__rows { display: flex; flex-direction: column; margin-top: 16px; font-size: 14px; }
.bv-cost__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-line); }
.bv-cost__row > span { color: var(--muted-on-dark); }
.bv-cost__row strong { text-align: right; white-space: nowrap; }
.bv-cost__open { color: var(--pink-light); }
.bv-cost__note { font-size: 13px; color: var(--muted-on-dark); margin: 12px 0 0; }
.bv-factlist { display: flex; flex-direction: column; font-size: 14px; }
.bv-factlist__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--n200); }
.bv-factlist__row span { color: var(--n700); }
.bv-factlist__row strong { text-align: right; overflow-wrap: anywhere; }

/* Dokument */
.bv-doc { padding: clamp(22px, 4vw, 44px); gap: 0; }
.bv-doc__top { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; align-items: center; }
.bv-doc__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(30px, 3.4vw, 38px); letter-spacing: -.015em; line-height: 1.1; margin: 14px 0 6px; }
.bv-doc__sub { margin: 0; font-size: 17px; color: var(--n800); }
.bv-doc__between { font-size: 14px; color: var(--n700); margin: 22px 0 10px; }
.bv-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.bv-party { background: var(--n100); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.bv-party__name { font-weight: 700; font-size: 16px; }
.bv-party__line { color: var(--n800); overflow-wrap: anywhere; }
.bv-party__as { font-size: 13px; color: var(--n700); margin-top: 6px; }
.bv-parties__note { display: flex; justify-content: flex-end; margin-top: 10px; }
.bv-paras { display: flex; flex-direction: column; gap: 26px; margin-top: 32px; }
.bv-para { display: flex; flex-direction: column; gap: 10px; }
.bv-para__head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.bv-para__num { font-family: var(--font-heading); font-size: 19px; color: var(--pink); min-width: 34px; }
.bv-para__title { margin: 0; font-size: 18px; font-weight: 700; flex: 1; min-width: 160px; }
.bv-clause { display: flex; gap: 10px; padding-left: 46px; }
.bv-clause__n { flex: none; width: 26px; color: var(--n700); font-variant-numeric: tabular-nums; }
.bv-clause__text { margin: 0; flex: 1; min-width: 0; line-height: 1.6; }
.bv-note-toggle { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--pink-text); cursor: pointer; min-height: 44px; }
.bv-note-toggle:hover { color: var(--pink-hover); }
.bv-note { margin-left: 46px; }
.bv-parties__note + .bv-note { margin: 10px 0 0; }
.bv-note__edit { background: var(--pink-light); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bv-note__edit .input { border-radius: 18px; padding: 12px 16px; }
.bv-note__actions { display: flex; gap: 14px; justify-content: flex-end; align-items: center; }
.bv-note__saved { background: var(--pink-light); border-radius: 22px; padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.bv-note__body { flex: 1; min-width: 200px; }
.bv-note__text { font-size: 15px; white-space: pre-wrap; }
.bv-annex { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--n200); }
.bv-annex__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.bv-annex__head::-webkit-details-marker { display: none; }
.bv-annex__head > span:first-child { display: flex; flex-direction: column; }
.bv-annex__title { font-weight: 700; font-size: 17px; }
.bv-annex__btn { border-color: var(--n300); }
.bv-annex__hide, .bv-annex[open] .bv-annex__show { display: none; }
.bv-annex[open] .bv-annex__hide { display: inline; }
.bv-plan-wrap { overflow-x: auto; margin-top: 16px; }
.bv-plan { min-width: 560px; width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--n200); }
.bv-plan th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n700); padding: 10px 12px; border-bottom: 2px solid var(--n200); }
.bv-plan td { padding: 10px 12px; border-bottom: 1px solid var(--n200); color: var(--n700); vertical-align: top; }
.bv-plan__t { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; width: 116px; }
.bv-plan__p { font-weight: 600; }
.bv-plan__l { white-space: nowrap; width: 56px; }
.bv-plan__row--game td, .bv-plan__row--final td { color: var(--ink); }
.bv-plan__row--game .bv-plan__t, .bv-plan__row--game .bv-plan__p, .bv-plan__row--final .bv-plan__t, .bv-plan__row--final .bv-plan__p { font-weight: 700; }
.bv-plan__row--pause td { background: var(--n100); font-style: italic; }
.bv-plan__row--final td:first-child { box-shadow: inset 4px 0 0 var(--pink); }
.bv-plan__row--day th { background: var(--n200); color: var(--ink); text-align: left; padding: 8px 12px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.bv-sigs { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--n200); }
.bv-sigs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.bv-sig__line { height: 104px; border-bottom: 2px solid var(--ink); display: flex; align-items: flex-end; padding-bottom: 6px; margin-top: 6px; }
.bv-sig__img { max-height: 92px; max-width: 100%; display: block; }
.bv-sig__aside { max-height: 44px; max-width: 100%; display: block; margin: 4px 0; align-self: flex-start; }
.bv-sig__pending { color: var(--n700); font-style: italic; font-size: 15px; }
.bv-sig__name { font-weight: 700; margin-top: 10px; }
.bv-sig__role { font-size: 14px; color: var(--n800); }
.bv-sig__when { font-size: 14px; color: var(--n700); }
.bv-audit { margin-top: 26px; background: var(--n100); border-radius: 22px; padding: 18px 22px; font-size: 13.5px; color: var(--n800); }
.bv-audit__head { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bv-audit__head strong { font-size: 14px; color: var(--ink); }
.bv-audit__row { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 4px 14px; padding: 7px 0; border-top: 1px solid var(--n200); }
.bv-audit__k { font-weight: 700; color: var(--ink); }
.bv-audit__v { overflow-wrap: anywhere; }
.bv-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; }

/* Unterschrift */
.bv-signcard { gap: 18px; }
.bv-hallsign { gap: 16px; padding: 22px; }
.bv-signer { cursor: pointer; border: 2px solid var(--n300); background: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.bv-signer:has(input:checked) { border-color: var(--ink); }
.bv-signer:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.bv-pad__area { position: relative; border: 2px solid var(--n300); border-radius: 24px; background: #fff; overflow: hidden; }
.bv-pad__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.bv-pad__baseline { position: absolute; left: 24px; right: 24px; bottom: 36px; border-bottom: 1.5px dashed var(--n400); pointer-events: none; }
.bv-pad__x { position: absolute; left: 24px; bottom: 40px; color: var(--n400); font-size: 20px; line-height: 1; pointer-events: none; }
.bv-pad__hint { position: absolute; top: 40%; left: 0; right: 0; text-align: center; color: var(--n400); font-size: 15px; pointer-events: none; }
.bv-pad__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; align-items: center; }
.bv-pad__foot .bv-link { min-height: 44px; }
.bv-pad__caption { color: var(--n700); }
.bv-errors { background: var(--pink-light); border-radius: 20px; padding: 14px 18px; color: var(--pink-text); font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.bv-errors a { color: var(--ink); font-weight: 800; }
.bv-notes-hint { background: var(--pink-light); border-radius: 18px; padding: 12px 14px; font-size: 14px; color: var(--n800); }
.bv-hallsign__foot { padding-top: 12px; border-top: 1px solid var(--n200); }
.bv-done { background: var(--ok-bg); border-radius: var(--r-card); padding: clamp(20px, 3vw, 28px); color: var(--ok-text); }
.bv-done .bv-h2 { color: var(--ink); margin: 0; }
.bv-done p { margin: 8px 0 0; }
.bv-hallpage { display: flex; flex-direction: column; gap: 20px; }

/* Status & Verlauf */
.bv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.bv-fact { background: var(--n100); border-radius: 20px; padding: 14px 16px; }
.bv-fact__v { font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.bv-timeline { list-style: none; margin: 0; padding: 0; }
.bv-timeline__item { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; padding-bottom: 14px; }
.bv-timeline__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); margin-top: 6px; }
.bv-timeline__item.is-planned .bv-timeline__dot { background: #fff; border: 2px solid var(--n400); }
.bv-timeline__text { font-weight: 600; }
.bv-timeline__when { font-size: 13px; color: var(--n700); }
.bv-version { border-top: 1px solid var(--n200); padding: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.bv-version__notes { background: var(--pink-light); border-radius: 18px; padding: 12px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.bv-version__notes-head { font-weight: 700; color: var(--pink-text); }
.bv-scroll { overflow-x: auto; }
.bv-diff, .bv-archive { width: 100%; border-collapse: collapse; font-size: 14px; }
.bv-diff { min-width: 440px; border: 1px solid var(--n200); }
.bv-archive { min-width: 560px; }
.bv-diff th, .bv-archive th { text-align: left; background: var(--n100); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n700); padding: 9px 12px; }
.bv-archive th { background: none; border-bottom: 2px solid var(--n200); padding: 9px 8px; }
.bv-diff td { padding: 9px 12px; border-top: 1px solid var(--n200); vertical-align: top; }
.bv-archive td { padding: 12px 8px; border-bottom: 1px solid var(--n200); vertical-align: middle; }
.bv-diff__label { font-weight: 600; }
.bv-diff__before { color: var(--n700); text-decoration: line-through; }
.bv-diff__after { font-weight: 700; }

/* E-Mail-Vorschau */
.bv-mailview { padding: 0; overflow: hidden; gap: 0; }
.bv-mailview__head { padding: 18px 24px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--n200); font-size: 14px; }
.bv-mailview__head > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; overflow-wrap: anywhere; }
.bv-mailview__head > div > span:first-child { color: var(--n700); }
.bv-mailview .small-note { padding: 0 24px 18px; margin: 0; }

/* Druckansicht A4 */
.bv-print { background: var(--n200); border-radius: var(--r-card); padding: 24px 16px 48px; }
.bv-print__bar { max-width: 794px; margin: 0 auto 18px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.bv-sheet { max-width: 794px; margin: 0 auto; background: #fff; padding: clamp(24px, 7vw, 64px) clamp(20px, 8vw, 72px); box-shadow: var(--shadow-md); font-size: 14px; line-height: 1.55; }
.bv-sheet__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.bv-sheet__brand { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.bv-sheet__brand img { width: 40px; height: 40px; display: block; }
.bv-sheet__cup { font-family: var(--font-heading); color: var(--pink); font-size: 17px; }
.bv-sheet__meta { text-align: right; font-size: 12.5px; color: var(--n800); }
.bv-sheet__title { font-family: var(--font-heading); font-weight: 400; font-size: 32px; letter-spacing: -.015em; margin: 26px 0 4px; }
.bv-sheet__sub { margin: 0 0 18px; font-size: 15px; color: var(--n800); }
.bv-sheet__parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; margin-bottom: 22px; }
.bv-sheet__parties .bv-kicker { font-size: 11px; }
.bv-sheet__para { margin-top: 16px; }
.bv-sheet__ptitle { font-weight: 700; font-size: 15px; }
.bv-sheet__ptitle span { color: var(--pink-text); }
.bv-sheet__clause { display: flex; gap: 8px; margin-top: 4px; }
.bv-sheet__clause p { margin: 0; flex: 1; min-width: 0; }
.bv-sheet__n { flex: none; width: 24px; color: var(--n700); }
.bv-sheet__sigs { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.bv-sheet__sigline { height: 84px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: flex-end; padding-bottom: 4px; }
.bv-sheet__sigline img { max-height: 76px; max-width: 100%; }
.bv-sheet__small { font-size: 12.5px; }
.bv-sheet__audit { margin-top: 22px; border: 1px solid var(--n300); border-radius: 12px; padding: 12px 16px; font-size: 11.5px; color: var(--n800); }
.bv-sheet__arow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 3px 0; overflow-wrap: anywhere; }
.bv-sheet__arow strong { color: var(--ink); }
.bv-sheet__arow .bv-mono { font-size: 10.5px; }
.bv-sheet__annex { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--n200); }
.bv-sheet__h2 { font-family: var(--font-heading); font-weight: 400; font-size: 22px; margin: 2px 0 12px; }
.bv-sheet .bv-plan { font-size: 12.5px; min-width: 0; }
.bv-sheet .bv-plan-wrap { margin-top: 0; }
.bv-sheet__foot { margin-top: 28px; padding-top: 10px; border-top: 1px solid var(--n300); font-size: 10.5px; color: var(--n700); overflow-wrap: anywhere; }

@media (max-width: 599.98px) {
  .bv-clause, .bv-note { padding-left: 0; margin-left: 0; }
  .bv-addon { padding: 14px 16px; }
  .bv-cost__total { font-size: 34px; }
}
@media print {
  @page { size: A4; margin: 16mm 18mm; }
  [data-noprint] { display: none !important; }
  .bv-print { background: #fff; padding: 0; border-radius: 0; }
  .bv-sheet { box-shadow: none; margin: 0; max-width: none; padding: 0; }
  [data-pagebreak] { break-before: page; }
  [data-avoidbreak] { break-inside: avoid; }
  .bv-sheet .bv-plan__row--pause td, .bv-sheet .bv-plan__row--final td:first-child { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bv-print-body .page { padding: 0; }
}

/* ---------- Mailversand ---------- */
.adm-card[hidden], .pills[hidden], .field[hidden], .mv-mail__notice[hidden] { display: none; }
.mv-mail__author { display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.mv-mail__author:empty { display: none; }
.mv-mail__sigtext { margin: 0; white-space: pre-wrap; font: inherit; }
.mv-target { gap: 8px; }
.mv-external .field { font-size: 15px; }
/* Bahnvertrag: stornieren / kündigen (aufklappbar) */
.bv-endcard { padding: 18px 22px; }
.bv-end summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--n700); }
.bv-end summary::-webkit-details-marker { display: none; }
.bv-end[open] summary { color: var(--ink); }
.bv-end__form { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.bv-end__form .btn { align-self: flex-start; }
.modal[hidden] { display: none; }
.mv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .mv { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); } .mv-preview { grid-column: 2; } }
.mv-center { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mv-row { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; }
.mv-row--nowrap { flex-wrap: nowrap; }
.mv-muted-link { color: var(--n700); }
.mv-recipients { gap: 12px; }
.mv-list { list-style: none; margin: 0; padding: 0; max-height: 460px; overflow-y: auto; border-top: 1px solid var(--n200); }
.mv-team { border-bottom: 1px solid var(--n200); }
.mv-team label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 6px; cursor: pointer; border-radius: 14px; }
.mv-team label:hover { background: var(--n100); }
.mv-team.is-picked label { background: var(--n100); box-shadow: inset 3px 0 0 var(--pink); }
.mv-team input { width: 20px; height: 20px; accent-color: var(--pink); margin: 2px 0 0; flex: none; }
.mv-team.is-disabled label { cursor: not-allowed; opacity: .55; }
.mv-team__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mv-team__line { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mv-team__nr { font-size: 13px; color: var(--n700); font-variant-numeric: tabular-nums; }
.mv-team__mail { font-size: 13px; color: var(--n700); overflow-wrap: anywhere; }
.mv-empty { padding: 14px 6px; color: var(--n700); }
.mv-extra { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.mv-extras { display: flex; gap: 6px; flex-wrap: wrap; }
.mv-extra-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; overflow-wrap: anywhere; }
.mv-extra-pill button { border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--pink-text); padding: 0 2px; min-width: 24px; min-height: 24px; }
.mv-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.mv-editor { gap: 14px; }
.mv-pane { display: flex; flex-direction: column; gap: 14px; }
.mv-tokens { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mv-tokens .bv-kicker { margin-right: 4px; }
.mv-token { border: 0; cursor: pointer; border-radius: var(--r-pill); padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 700; background: var(--pink-light); color: var(--pink-text); }
.mv-token:hover { background: var(--pink); color: #fff; }
.mv-text { min-height: 260px; font-size: 15px; line-height: 1.55; }
.mv-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.mv-side .bv-box { gap: 6px; }
.mv-signature { margin: 4px 0; white-space: pre-wrap; font: inherit; font-size: 13.5px; line-height: 1.5; color: var(--n800); }
.mv-upload { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.mv-upload input { font: inherit; font-size: 14px; max-width: 100%; }
.mv-log { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--n200); }
.mv-log strong { overflow-wrap: anywhere; }
.mv-bar { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.mv-bar__left, .mv-bar__right { display: flex; flex-direction: column; gap: 8px; }
.mv-bar__right { align-items: flex-end; }
.mv-warn { font-size: 14px; font-weight: 700; color: var(--pink-text); }
.mv-preview { gap: 12px; }
.mv-mail { background: var(--n100); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: max-width .2s; margin: 0 auto; width: 100%; }
.mv-mail.is-mobile { max-width: 360px; }
.mv-mail > * { background: #fff; }
.mv-mail__logo { width: 56px; height: 56px; background: none; }
.mv-mail__subject { font-family: var(--font-heading); font-size: 22px; line-height: 1.15; background: none; overflow-wrap: anywhere; }
.mv-mail__body { background: none; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.mv-mail__body p { margin: 0 0 12px; }
.mv-mail__files { background: none; font-size: 13px; color: var(--n700); }
.mv-mail__files:empty { display: none; }
.mv-mail__sig { background: none; margin: 0; padding-top: 12px; border-top: 2px solid var(--n200); white-space: pre-wrap; font: inherit; font-size: 13px; line-height: 1.45; color: var(--n800); }
.mv-mail__notice { background: none; margin: 0; padding-top: 10px; border-top: 1px solid var(--n200); font-size: 12px; color: var(--n700); }
.mv-plain summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.mv-plain pre { white-space: pre-wrap; font-size: 12.5px; background: var(--n100); border-radius: 16px; padding: 12px 14px; margin: 8px 0 0; overflow-wrap: anywhere; }
.mv-modal-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; border-top: 1px solid var(--n200); }
.mv-modal-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--n200); font-size: 14px; overflow-wrap: anywhere; }
.mv-state { background: var(--n200); color: var(--n800); }
.mv-progress { height: 10px; background: var(--n200); border-radius: var(--r-pill); overflow: hidden; }
.mv-progress__fill { height: 100%; width: 0; background: var(--pink); transition: width .2s; }
@media (max-width: 599.98px) {
  .mv-bar__right { align-items: stretch; }
  .mv-row--nowrap { flex-wrap: wrap; }
}

/* Bahnvertrag: Reiter „Protokolle“ */
.bv-proto-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.bv-proto-pick { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; flex: 1 1 320px; }
.bv-proto-pick .field { flex: 1 1 260px; min-width: 0; }
.bv-proto { min-width: 620px; }
.bv-proto td { vertical-align: top; }
.bv-proto__when { white-space: nowrap; font-size: 13.5px; color: var(--n700); }
.bv-proto__text { overflow-wrap: anywhere; }
.bv-proto tr.is-error td { color: var(--pink-text); }
.bv-audit--flat { margin-top: 0; }
.bv-audit--flat .bv-audit__row:first-child { border-top: 0; }
@media (max-width: 599.98px) { .bv-proto-tools .btn { flex: 1 1 100%; } }
@media print { .bv-proto { min-width: 0; } .bv-scroll { overflow: visible; } }

/* ---------- Mailversand: Posteingang ---------- */
.mv-tabs-top { margin-bottom: 4px; }
.mv-tabs-top .pill-toggle span:empty { display: none; }
.mv-tabs-top .pill-toggle span { margin-left: 6px; }
.pe-loading { padding: 28px 4px; color: var(--n700); font-weight: 600; }
.pe-note { gap: 6px; }
.pe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .pe-grid { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); } }
.pe-list-card { gap: 12px; }
.pe-list { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; border-top: 1px solid var(--n200); }
.pe-item { border-bottom: 1px solid var(--n200); }
.pe-item__btn {
  width: 100%; text-align: left; cursor: pointer; border: 0; background: transparent;
  border-radius: 14px; padding: 12px 10px; font: inherit; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
}
.pe-item__btn:hover { background: var(--n100); }
.pe-item.is-unread .pe-item__btn { box-shadow: inset 3px 0 0 var(--pink-light); }
.pe-item.is-unread .pe-item__from, .pe-item.is-unread .pe-item__subject { font-weight: 700; }
.pe-item.is-open .pe-item__btn { background: var(--n100); box-shadow: inset 3px 0 0 var(--pink); }
.pe-item__top { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.pe-item__from { font-weight: 600; overflow-wrap: anywhere; }
.pe-item__time { flex: none; font-size: 13px; color: var(--n700); white-space: nowrap; }
.pe-item__subject { overflow-wrap: anywhere; }
.pe-item__snippet {
  font-size: 13.5px; color: var(--n700); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pe-item__tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pe-item__clip { font-size: 12px; font-weight: 700; color: var(--n700); }
.pe-chip { font-size: 13px; padding: 3px 10px; }

.pe-reader { gap: 16px; min-width: 0; scroll-margin-top: 96px; }
.pe-empty { padding: 44px 4px; text-align: center; color: var(--n700); display: flex; flex-direction: column; gap: 6px; }
.pe-mail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pe-mail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.pe-mail__subject { font-family: var(--font-heading); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0; overflow-wrap: anywhere; flex: 1 1 260px; }
.pe-mail__from { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid var(--n200); }
.pe-mail__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pink-light); color: var(--pink-text); display: grid; place-items: center; font-weight: 700; flex: none; }
.pe-mail__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.pe-mail__date { margin-left: auto; white-space: nowrap; }
.pe-mail__body { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 12px; }
.pe-mail__body p { margin: 0; }
.pe-mail__body blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--n300); color: var(--n700); }
.pe-files { display: flex; gap: 8px; flex-wrap: wrap; }
.pe-file {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--n300);
  border-radius: var(--r-pill); padding: 6px 14px; font-size: 14px; font-weight: 600;
  text-decoration: none; color: var(--ink); overflow-wrap: anywhere;
}
.pe-file:hover { border-color: var(--pink); color: var(--ink); }
.pe-file span { font-size: 12px; font-weight: 400; color: var(--n700); }
.pe-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 4px; }
@media (max-width: 599.98px) {
  .pe-mail__subject { font-size: 23px; }
  .pe-mail__date { margin-left: 0; }
  .pe-actions .btn { flex: 1 1 100%; }
}
.mv-tabs-top + [data-mv-top-pane], [data-mv-top-pane] + [data-mv-top-pane] { margin-top: 0; }
[data-mv-top-pane][hidden], .pe-item[hidden], .pe-mail[hidden], .pe-empty[hidden], .bv-box[hidden], .bv-link[hidden], .mv-empty[hidden] { display: none; }

/* ---------- Sponsoren ---------- */
.sp-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.sp-new { flex: 1 1 520px; padding: 18px 22px; }
.sp-new[open] { padding: 22px 26px; }
.sp-new > summary { list-style: none; cursor: pointer; width: fit-content; }
.sp-new > summary::-webkit-details-marker { display: none; }
.sp-new[open] > summary { margin-bottom: 16px; }
.sp-form { display: flex; flex-direction: column; gap: 14px; }
.sp-form .field[hidden] { display: none; }
.sp-stats { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sp-table { min-width: 860px; }
.sp-table td { vertical-align: top; }
.sp-contact a { white-space: nowrap; }
.sp-table .bv-pill { white-space: nowrap; }
.sp-table td:first-child { min-width: 170px; }
.sp-tick { text-align: center; width: 90px; }
.sp-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ok-bg); color: var(--ok-text); font-weight: 800; }
.sp-check--no { background: var(--n200); color: var(--ink); }
.sp-ticks { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.sp-tickbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--n700); }
.sp-tickbox .sp-check { background: #fff; border: 2px solid var(--n300); }
.sp-tickbox.is-on { color: var(--ink); }
.sp-tickbox.is-on .sp-check { background: var(--ok-bg); border-color: var(--ok-dot); }
.sp-tickbox.is-on.is-no .sp-check { background: var(--n200); border-color: var(--n400); }
.sp-pre { white-space: pre-wrap; margin: 10px 0 0; }
.sp-gap { margin-top: 10px; }
.sp-extern { border-top: 1px solid var(--n200); padding-top: 12px; }
.sp-extern > summary { cursor: pointer; width: fit-content; }
.sp-extern .sp-form { margin-top: 12px; }
.sp-fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-fieldset legend { margin-bottom: 6px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sp-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.sp-card:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.sp-card__name { font-size: 17px; }
.sp-card__logo { height: 110px; border-radius: 18px; display: grid; place-items: center; padding: 12px;
  background-color: #fff; background-image: linear-gradient(45deg, var(--n100) 25%, transparent 25%, transparent 75%, var(--n100) 75%), linear-gradient(45deg, var(--n100) 25%, transparent 25%, transparent 75%, var(--n100) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px; border: 1px solid var(--n200); }
.sp-card__logo img { max-width: 100%; max-height: 86px; object-fit: contain; }
.sp-card__logo.is-empty { background: var(--n100); color: var(--n700); font-size: 13px; font-weight: 600; text-align: center; }
.sp-card__logo--l { width: min(100%, 260px); height: 150px; flex: none; }
.sp-card__logo--l img { max-height: 126px; }
.sp-logo { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.sp-logo > .sp-form { flex: 1 1 260px; }
.sp-upload { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.sp-warn { font-size: 13px; font-weight: 600; color: var(--pink-text); }
.sp-tokens .mv-token { cursor: default; }
.sp-tpl textarea { font-size: 15px; line-height: 1.55; }

/* ---------- Startseite: Logoleiste „Unsere Sponsoren“ ---------- */
.sponsor-strip { gap: 16px; }
.sponsor-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.sponsor-strip__item { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); height: 120px; padding: 18px 22px; display: grid; place-items: center; }
.sponsor-strip__item img { max-width: 100%; max-height: 84px; object-fit: contain; }
@media (max-width: 599.98px) {
  .sponsor-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sponsor-strip__item { height: 96px; padding: 14px; }
  .sponsor-strip__item img { max-height: 64px; }
}

/* Sponsoren: Nachrichtenverlauf */
.sp-msgs { gap: 16px; }
.sp-open { background: var(--n100); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-open__subject { margin: 0; font-size: 18px; }
.sp-reply { border-top: 2px solid var(--n200); padding-top: 14px; }
.sp-msglist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sp-msg { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--n200); }
.sp-msg__dir { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n700); padding-top: 3px; }
.sp-msg.is-in .sp-msg__dir { color: var(--pink-text); }
.sp-msg.is-unread .sp-msg__top strong { color: var(--pink-text); }
.sp-msg.is-open { background: var(--n100); border-radius: 14px; padding-left: 10px; padding-right: 10px; }
.sp-msg__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.sp-msg__top { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
@media (max-width: 599.98px) { .sp-msg { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.sponsor-strip__link { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; }
.sponsor-strip__link:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }

/* Sponsoren: Spenden (Zuwendungsbestätigungen) */
.sp-legal { line-height: 1.5; }
.sp-summary { cursor: pointer; list-style: none; }
.sp-summary::-webkit-details-marker { display: none; }
details[open] > .sp-summary { margin-bottom: 14px; }
.bv-archive tr.is-cancelled td { color: var(--n700); text-decoration: line-through; }
.bv-archive tr.is-cancelled td:first-child, .bv-archive tr.is-cancelled td:last-child { text-decoration: none; }
.sp-zb-actions { white-space: nowrap; }
.sp-zb-actions .bv-end form { display: flex; gap: 6px; margin-top: 6px; }
[data-zb-geld][hidden], [data-zb-sach][hidden] { display: none; }

/* Reiterleisten (Bahnvertrag, Sponsoren): auf schmalen Bildschirmen seitlich scrollen statt die Seite zu verbreitern */
.seg-pills { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg-pills::-webkit-scrollbar { display: none; }
.seg-pills .pill-toggle { white-space: nowrap; flex: none; }
