/* ==========================================================================
   Baker Cup – Theme der öffentlichen Seiten (body.theme-cup, nicht in der Verwaltung)
   Angelehnt an bam-bowler.de (Farbwelt Rosa/Pink, Space Grotesk, IBM Plex Mono, Pinselschrift, Welle),
   gestalterisch vom Turnierlogo abgeleitet: Schwarz und Magenta, Stempel, Farbspritzer.
   Überschreibt nur Optik – Texte und Anordnung kommen unverändert aus den Templates.
   Schriften lokal (SIL OFL / Apache 2.0, siehe fonts/LICENSE-cup-theme.txt).
   ========================================================================== */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/SpaceGrotesk-400.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: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/SpaceGrotesk-400-ext.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: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 500 600; src: url(../fonts/SpaceGrotesk-500.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: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 500 600; src: url(../fonts/SpaceGrotesk-500-ext.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: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/SpaceGrotesk-700.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: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/SpaceGrotesk-700-ext.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; }
/* Überschriften: app.css setzt sie mit font-weight 400 – diese Familie liefert dafür den fetten Schnitt */
@font-face { font-family: 'Cup Display'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/SpaceGrotesk-700.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: 'Cup Display'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/SpaceGrotesk-700-ext.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: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/IBMPlexMono-500.woff2) format('woff2'); }
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/PermanentMarker-400.woff) format('woff'); }

/* ---------- Tokens ---------- */
.theme-cup {
  --pink: #E6007E;
  --pink-hover: #B8006A;
  --pink-text: #B0005F;
  --pink-light: #FFE0EF;
  --pink-soft: #FF7CC2;        /* Pink auf Schwarz */
  --ink: #141416;
  --ink-hover: #26262b;
  --ink-line: #34343a;
  --ink-2: #1f1f23;

  --n100: #FBE6F0;             /* Seitengrund Rosa */
  --n200: #F4D6E5;
  --n300: #E8C2D5;
  --n400: #CFA6BA;
  --n700: #6E6669;
  --n800: #3B3638;
  --muted-on-dark: #D9D2D5;

  --font-heading: 'Cup Display', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-brush: 'Permanent Marker', 'Segoe Print', cursive;

  --shadow-sm: 0 1px 2px rgba(120, 0, 66, .08), 0 6px 18px rgba(150, 0, 80, .07);
  --shadow-md: 0 4px 14px rgba(150, 0, 80, .12);
  --shadow-lg: 0 14px 40px rgba(150, 0, 80, .16);

  --r-card: 18px;
  --r-section: 22px;
}
.theme-cup .site { overflow-x: clip; }
.theme-cup :is(h1, h2, h3, h4) { letter-spacing: -.025em; }
.theme-cup :is(.h1, .hero__title) { letter-spacing: -.035em; }

/* Beschriftungen in Mono wie auf der Vereinsseite */
.theme-cup :is(.stamp, .kicker, .fact__label, .countdown__label, .cd-tile__unit, .stat__label,
  .live-banner__kicker, .champion__kicker, .cutline, .reg-counter__free) {
  font-family: var(--font-mono); font-weight: 500;
}
.theme-cup .stamp { border-width: 2px; border-radius: 4px; padding: 5px 12px; letter-spacing: .12em; }

/* ---------- Kopfzeile: dunkel wie das Logo ---------- */
.theme-cup .site-header { background: rgba(20, 20, 22, .94); border-bottom: 0; color: #fff; }
.theme-cup .brand__logo { mix-blend-mode: normal; }
.theme-cup .brand__club { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; color: var(--pink-soft); }
.theme-cup .brand__cup { color: #fff; font-size: 21px; }
.theme-cup .nav-pill { color: #E9E4E6; font-weight: 500; border-radius: 8px; }
.theme-cup .nav-pill:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.theme-cup .nav-pill.is-active { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 -2px 0 var(--pink); }
.theme-cup .site-header .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.theme-cup .site-header .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.theme-cup .site-header .btn-ink { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.theme-cup .mobile-menu__item { color: #fff; font-weight: 600; border-radius: 10px; }
.theme-cup .mobile-menu__item:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.theme-cup .mobile-menu__item.is-active { background: var(--pink); color: #fff; }
.theme-cup .mobile-menu__admin { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); border-radius: 10px; }
.theme-cup .mobile-menu__admin:hover { color: #fff; }


/* ==========================================================================
   Startseite vor dem Turnier – Aufbau der Design-Demo (templates/pages/start_vor.php, Klassen cup-*)
   ========================================================================== */
.theme-cup .brush { font-family: var(--font-brush); font-weight: 400; letter-spacing: 0; color: var(--pink); }

/* Hero: volle Breite, schwarz wie das Logo, Pinselstrich, Farbspritzer, Welle */
.theme-cup .cup-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: -36px calc(50% - 50vw) 0;
  background: var(--ink); color: #fff;
}
.theme-cup .cup-hero::before { /* Magenta-Pinselstrich */
  content: ''; position: absolute; z-index: -1; left: -10%; bottom: 128px; width: 75%; height: 56px;
  background: var(--pink); border-radius: 40px 10px 50px 8px; transform: rotate(-6deg); opacity: .9;
}
.theme-cup .cup-hero::after { /* Farbspritzer */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(230, 0, 126, .55) 0 6px, transparent 7px),
    radial-gradient(circle at 93% 30%, rgba(230, 0, 126, .4) 0 3px, transparent 4px),
    radial-gradient(circle at 54% 12%, rgba(255, 255, 255, .12) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 82%, rgba(230, 0, 126, .35) 0 10px, transparent 11px);
}
.theme-cup .cup-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 90px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23E6007E' d='M0 50C260 10 520 14 760 40s460 44 680 0v50H0Z'/%3E%3Cpath fill='%23FBE6F0' d='M0 66C280 32 520 40 760 60s460 30 680-4v34H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.theme-cup .cup-hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 64px 24px 170px;
}
.theme-cup .cup-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.theme-cup .cup-hero .stamp { color: var(--pink-soft); border-color: currentColor; }
.theme-cup .cup-hero__title { margin: 22px 0 18px; font-family: var(--font-heading); font-size: clamp(46px, 7vw, 92px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.theme-cup .cup-hero__lead { max-width: 46ch; font-size: 18px; line-height: 1.6; color: #E4DDE0; text-wrap: pretty; }
.theme-cup .cup-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.theme-cup .cup-hero .btn-light { border-color: rgba(255, 255, 255, .55); }
.theme-cup .cup-hero__badge { justify-self: center; width: min(100%, 380px); }
.theme-cup .cup-hero__badge img { width: 100%; height: auto; transform: rotate(6deg); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }

/* Ticket: Meldestand je Squad und Countdown, ragt in den Hero (.page hat 40 px Abstand zwischen den Blöcken) */
.theme-cup .cup-ticket {
  position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center;
  margin-top: -150px; padding: 26px 30px; border-radius: 18px; background: #fffafc; box-shadow: var(--shadow-lg);
}
.theme-cup .cup-ticket--solo { grid-template-columns: 1fr; }
.theme-cup .cup-ticket::before, .theme-cup .cup-ticket::after {
  content: ''; position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--n100);
}
.theme-cup .cup-ticket::before { left: -13px; }
.theme-cup .cup-ticket::after { right: -13px; }
.theme-cup .cup-ticket__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.theme-cup .cup-ticket__count { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.theme-cup .cup-ticket__count span { color: var(--pink); }
.theme-cup .cup-ticket__note { font-family: var(--font-mono); font-size: 13px; color: var(--n700); }
.theme-cup .cup-ticket__note.is-full { color: var(--pink-text); font-weight: 700; }
.theme-cup .cup-slots { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 6px; }
.theme-cup .cup-slot { height: 12px; border-radius: 3px; background: var(--n200); overflow: hidden; }
.theme-cup .cup-slot i { display: block; height: 100%; background: var(--pink); }
.theme-cup .cup-slot.is-full i { background: var(--ink); }
.theme-cup .cup-slots__legend { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 6px; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--n700); }
.theme-cup .cup-ticket__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-left: 32px; border-left: 2px dashed rgba(230, 0, 126, .2); }
.theme-cup .cup-ticket--solo .cup-ticket__side { align-items: flex-start; padding-left: 0; border-left: 0; }
.theme-cup .cup-ticket .countdown__label { color: var(--pink-text); font-size: 12px; letter-spacing: .14em; }
.theme-cup .cup-cd { display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.theme-cup .cup-cd__tile { text-align: center; }
.theme-cup .cup-cd__tile b { display: block; font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.theme-cup .cup-cd__tile small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--n700); }

/* Abschnitte */
.theme-cup .cup-block { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.theme-cup .cup-block--first { position: relative; z-index: 3; margin-top: -120px; padding-top: 0; }
.theme-cup .cup-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; padding: 0; border: 0; }
.theme-cup .cup-block__title { font-family: var(--font-heading); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.theme-cup .cup-block__title .brush { font-size: 1.04em; }

/* Startplan je Tag */
.theme-cup .cup-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.theme-cup .cup-day { padding: 24px 24px 10px; border-radius: 18px; background: #fffafc; box-shadow: var(--shadow-md); }
.theme-cup .cup-day__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 22px; }
.theme-cup .cup-day__title small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--n700); }
.theme-cup .cup-run { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(230, 0, 126, .16); }
.theme-cup .cup-run:last-child { border-bottom: 0; }
.theme-cup .cup-run__time { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.theme-cup .cup-run__name { font-weight: 700; }
.theme-cup .cup-run__sub { margin-top: 4px; font-size: 13px; color: var(--n700); font-variant-numeric: tabular-nums; }
.theme-cup .cup-pins { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.theme-cup .cup-pins i { width: 9px; height: 14px; border-radius: 5px 5px 3px 3px; background: var(--n200); }
.theme-cup .cup-pins i.on { background: var(--pink); }
.theme-cup .cup-run.is-full .cup-pins i.on { background: var(--ink); }
.theme-cup .cup-run__free { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-align: right; color: var(--pink-text); }
.theme-cup .cup-run.is-full .cup-run__free { padding: 3px 8px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); transform: rotate(-3deg); }

/* Eckdaten als Stempelkarten */
.theme-cup .cup-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.theme-cup .cup-fact { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 2px dashed rgba(230, 0, 126, .35); border-radius: 14px; background: rgba(255, 250, 252, .75); }
.theme-cup .cup-block--first .cup-fact { background: #fffafc; box-shadow: var(--shadow-lg); }
.theme-cup .fact__label { color: var(--pink-text); letter-spacing: .12em; font-size: 12px; }
.theme-cup .cup-fact__value { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }

/* Ablauf: dunkles Band über die volle Breite */
.theme-cup .cup-flow { margin: 32px calc(50% - 50vw) 0; background: linear-gradient(120deg, var(--ink) 0 55%, #3a0d24); color: #fff; }
.theme-cup .cup-flow__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.theme-cup .cup-flow__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.theme-cup .cup-flow__title { font-family: var(--font-heading); font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.theme-cup .cup-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.theme-cup .cup-step { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: var(--ink-2); }
.theme-cup .cup-step__num { font-family: var(--font-brush); font-size: 34px; line-height: 1; color: var(--pink); }
.theme-cup .cup-step__title { margin-top: 4px; font-size: 18px; font-weight: 700; }
.theme-cup .cup-step__text { font-size: 15px; line-height: 1.5; color: #C9C1C4; white-space: pre-line; }

/* Sponsoren: eine Karte, Logos mittig, Dank darunter */
.theme-cup .sponsor-strip { gap: 16px; }
.theme-cup .sponsor-strip__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; padding: 28px; border-radius: 18px; background: #fffafc; box-shadow: var(--shadow-md); }
.theme-cup .sponsor-strip__item { height: 72px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.theme-cup .sponsor-strip__item img { max-height: 64px; max-width: 180px; }
.theme-cup .sponsor-strip__thanks { order: 3; text-align: center; }

/* ---------- Übrige Seiten ---------- */
.theme-cup .squad-card { box-shadow: var(--shadow-sm), 0 0 0 1px rgba(230, 0, 126, .14); }
.theme-cup .num-badge { background: var(--ink); color: #fff; }
.theme-cup .bar { height: 10px; background: var(--pink-light); }
.theme-cup .dark-section { background: linear-gradient(120deg, var(--ink) 0 55%, #3a0d24); }
.theme-cup .step__num { font-family: var(--font-brush); background: var(--ink-2); color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); font-size: 26px; }
.theme-cup .fact { border-radius: 16px; box-shadow: var(--shadow-md), 0 0 0 1px rgba(230, 0, 126, .14); }
.theme-cup :is(.card, .panel, .stat, .winner) { box-shadow: var(--shadow-sm); }
.theme-cup .live-banner { background: linear-gradient(120deg, var(--ink) 0 60%, #3a0d24); }

/* ---------- Footer mit Welle (Aufbau der Demo) ---------- */
.theme-cup .site-footer { position: relative; margin-top: 88px; }
.theme-cup .site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -59px; height: 60px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23E6007E' d='M0 30C300 0 560 4 820 24s420 30 620 4v32H0Z'/%3E%3Cpath fill='%23141416' d='M0 42C300 16 560 20 820 38s420 22 620-2v24H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.theme-cup .site-footer__brand { font-family: var(--font-brush); font-size: 26px; color: var(--pink); }
.theme-cup .cup-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; padding: 48px 24px 32px; }
.theme-cup .cup-foot__name { display: flex; align-items: center; gap: 12px; }
.theme-cup .cup-foot__name img { width: 52px; height: 52px; }
.theme-cup .cup-foot__sub { margin-top: 10px; max-width: 40ch; font-size: 14px; line-height: 1.5; color: #B8B0B3; }
.theme-cup .cup-foot__links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.theme-cup .cup-foot__links a { color: #fff; text-decoration: none; font-size: 15px; }
.theme-cup .cup-foot__links a:hover { color: var(--pink-soft); }
.theme-cup .cup-foot__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.theme-cup .cup-foot__bottom { max-width: 1240px; margin: 0 auto; padding: 16px 24px 22px; border-top: 1px solid #2b2b30; font-size: 13px; color: #B8B0B3; }

@media (max-width: 899.98px) {
  .theme-cup .cup-hero { margin-top: -32px; }
  .theme-cup .cup-hero__grid { grid-template-columns: minmax(0, 1fr) 220px; padding: 44px 20px 170px; }
  .theme-cup .cup-flow__inner { grid-template-columns: 1fr; padding: 56px 20px; }
  .theme-cup .cup-ticket { grid-template-columns: 1fr; }
  .theme-cup .cup-ticket__side { align-items: flex-start; padding: 16px 0 0; border-left: 0; border-top: 2px dashed rgba(230, 0, 126, .2); }
  .theme-cup .cup-foot__grid { grid-template-columns: 1fr 1fr; }
  .theme-cup .cup-foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .theme-cup .cup-hero { margin-top: -24px; }
  .theme-cup .cup-hero__grid { grid-template-columns: 1fr; gap: 0; padding: 32px 16px 160px; }
  .theme-cup .cup-hero__badge { order: -1; justify-self: start; width: 112px; margin-bottom: 18px; }
  .theme-cup .cup-hero::before { top: auto; bottom: 120px; height: 44px; width: 120%; }
  .theme-cup .cup-ticket { margin-top: -138px; padding: 22px 20px; }
  .theme-cup .cup-block--first { margin-top: -138px; }
  .theme-cup .cup-slots__legend { font-size: 10px; }
  .theme-cup .cup-run { grid-template-columns: 52px minmax(0, 1fr); }
  .theme-cup .cup-run__free { grid-column: 2; justify-self: start; text-align: left; }
  .theme-cup .cup-foot__grid { grid-template-columns: 1fr; }
}

/* Ablauf-Band als letzter Block (keine Sponsoren): direkt in den Footer übergehen */
.theme-cup .page:has(> .cup-flow:last-child) { padding-bottom: 0; }
.theme-cup .site:has(.cup-flow:last-child) .site-footer { margin-top: 0; border-top: 1px solid #2b2b30; }
.theme-cup .site:has(.cup-flow:last-child) .site-footer::before { display: none; }

/* ---------- Angleichung an die Demo (localhost:8020) ---------- */
/* Kopfzeile: Turniername groß, „BAM BOWLER“ als Unterzeile */
.theme-cup .brand__text { flex-direction: column-reverse; }
.theme-cup .brand__cup { font-size: 18px; letter-spacing: -.01em; }
.theme-cup .brand__club { margin-top: 2px; }
.theme-cup .brand__logo { width: 48px; height: 48px; }

/* Hero-Titel: letztes Wort als Pinselzeile */
.theme-cup .cup-hero__title .brush {
  display: block; margin-top: 6px; font-size: .82em; text-transform: none;
  transform: rotate(-4deg); transform-origin: left;
  text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 rgba(255, 255, 255, .18);
}

/* Newsfeed „Neues vom Cup“ */
.theme-cup .cup-news { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.theme-cup .cup-news__main { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; background: #fffafc; box-shadow: var(--shadow-md); }
.theme-cup .cup-news__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-text); }
.theme-cup .cup-news__text { font-size: 18px; line-height: 1.55; color: var(--n800); white-space: pre-line; text-wrap: pretty; }
.theme-cup .cup-news__author { font-size: 13px; color: var(--n700); }
.theme-cup .cup-news__list { margin: 0; padding: 0; list-style: none; }
.theme-cup .cup-news__list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(230, 0, 126, .16); }
.theme-cup .cup-news__list li:first-child { padding-top: 0; }
.theme-cup .cup-news__list li:last-child { border-bottom: 0; }
.theme-cup .cup-news__day { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.theme-cup .cup-news__day small { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--n700); }
.theme-cup .cup-news__list p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--n800); white-space: pre-line; }
.theme-cup .cup-news .news-tag { font-size: 13px; }

/* Footer unten: Copyright, Besucher, SiteLock in einer Zeile */
.theme-cup .cup-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.theme-cup .cup-foot__bottom > span:first-child { margin-right: auto; }

@media (max-width: 799.98px) {
  .theme-cup .cup-news { grid-template-columns: 1fr; }
}
