/* Final4: lokale Barlow-Schriften. */
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-italic-400-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-italic-400-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-400-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-400-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-500-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-500-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-600-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow/barlow-normal-600-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-400-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-400-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-600-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-600-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-700-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-700-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-800-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-800-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-900-latin-ext-v13.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url('../assets/fonts/barlow/barlow-condensed-normal-900-latin-v13.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ─── CSS Variables ─── */
:root {
  --primary:      #29255b;
  --primary-dark: #1b1840;
  --primary-mid:  #3a3580;
  --accent:       #dd3730;
  --accent-dark:  #b52c26;
  --white:        #ffffff;
  --off-white:    #f5f6fa;
  --light-gray:   #e8eaf0;
  --mid-gray:     #8b90a8;
  --dark:         #111122;
  --text:         #2a2a3e;

	/*
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;*/

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Area Normal', sans-serif;
  --font-title:   'Neutra Display 2', sans-serif;
	
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 2px 8px rgba(41,37,91,.12);
  --shadow-md:  0 4px 24px rgba(41,37,91,.18);
  --shadow-lg:  0 8px 48px rgba(41,37,91,.25);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.45s cubic-bezier(.4,0,.2,1);
}
/* --- Display-Schriften (Für Überschriften / Buttons) --- */
@font-face {
  font-family: 'Neutra Display 1';
  src: url('../assets/NeutraDisp%20Titling.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Neutra Display 2';
  font-display: swap;
  src: url('../assets/fonts/neutra-display-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

/* --- Text-Schriften (Für fettgedruckten Text) --- */
@font-face {
  font-family: 'Neutra Text';
  src: url('../assets/NeutraText%20BoldAlt.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* --- Fliesstext-Schrift (Für normalen Body-Text) --- */
@font-face {
  font-family: 'Area Normal';
  src: url('../assets/AreaNormal-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); }

.section-label {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1;
  color: var(--primary); text-transform: uppercase;
}

/* ─── Top Bar ─── */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  font-family: 'Barlow', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .01em;
  padding: 6px 0;
}
.top-bar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.top-bar span, .top-bar a {
  font-family: 'Barlow', sans-serif;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.top-bar a { color: rgba(255,255,255,.7); }
.top-bar a:hover { color: var(--white); }
.top-bar-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ─── Header / Navbar ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  transition: background var(--transition-slow);
}

.site-header.scrolled { background: var(--primary-dark); }

.navbar {
display: flex; align-items: center;
  height: 70px; gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 0;
}
.nav-logo img { width: 150px; height: auto; }
@media (min-width: 1201px) {
  .navbar { height: 80px; }
}
.nav-logo-badge {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  padding: 6px 14px;
  letter-spacing: .06em;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: .9rem; font-weight: 600; letter-spacing: .1em;
  color: rgba(255,255,255,.9); line-height: 1.3;
  text-transform: uppercase;
}
.nav-logo-text span { display: block; font-size: .72rem; color: rgba(255,255,255,.55); }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-family: var(--font-display);
  font-size: .88rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '▾'; margin-left: 4px; font-size: .7rem; opacity: .6;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; padding: 4px;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 16px;
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  transition: color var(--transition), padding-left var(--transition);
}
.dropdown-menu a:hover { color: var(--white); padding-left: 22px; background: rgba(255,255,255,.06); }

/* Event Switch */
.event-switch {
  position: relative;
  margin-left: auto; flex-shrink: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 136px; height: 36px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; overflow: hidden;
}
.event-switch-thumb {
  position: absolute; inset: 0 auto 0 0;
  width: 50%; height: 100%;
  background: var(--accent);
  border-radius: 5px;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(0);
  transition: transform .16s ease-in-out;
  view-transition-name: final4-event-thumb;
}
.event-switch-btn {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.event-switch-btn.active { color: var(--white); }
.event-switch-btn:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; border-radius: 4px; }
.event-switch-divider { display: none; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; flex-shrink: 0;
  width: 44px; min-width: 44px; max-width: 44px; height: 44px;
  margin: 0 0 0 auto; padding: 0;
  position: relative; background: transparent;
  border: 0; border-radius: 0; box-shadow: none;
  transition: none;
}
.nav-toggle:hover { box-shadow: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; flex-shrink: 0;
  background: var(--white); transform-origin: center;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary);
  min-height: 580px;
  display: flex; align-items: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(221,55,48,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(58,53,128,.6) 0%, transparent 55%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
}

.hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0px, #fff 1px,
    transparent 1px, transparent 40px
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 80px 0;
  max-width: 680px;
}

.hero-event-tag {
  display: inline-flex; align-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900; line-height: .95;
  color: var(--white); text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title .accent { color: var(--accent); }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 36px;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.hero-meta-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Halle 2027: noch nicht verfuegbare Hero-Aktionen sind keine Links. */
.ctx-halle .hero-cta .hero-cta-unavailable,
.ctx-halle .hero-cta .hero-cta-unavailable:hover,
.ctx-halle .hero-cta .hero-cta-unavailable:active {
  background: rgba(38, 38, 54, .48);
  border-color: rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .7);
  opacity: 1;
  cursor: help;
  pointer-events: auto;
  user-select: none;
  position: relative;
  animation: none;
  transition: none;
  transform: none;
  box-shadow: none;
}
.ctx-halle .hero-cta .hero-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* ─── Event Countdown Strip ─── */
.countdown-strip {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
}
.countdown-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.countdown-label {
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
}
.countdown-units { display: flex; gap: 16px; align-items: center; }
.countdown-unit {
  text-align: center;
  min-width: 52px;
}
.countdown-number {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--white); display: block;
}
.countdown-text {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.countdown-sep {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900;
  color: rgba(255,255,255,.4); line-height: 1;
  margin-bottom: 16px;
}

/* ─── News Section ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: var(--section-heading-gap); flex-wrap: wrap;
}
.section-header-left {
	width: auto; min-width: 60%;
}
.section-header-right { padding-bottom: 4px; }

.news-filter {
  display: flex; gap: 8px; flex-wrap: nowrap;
  max-width: 100%; min-width: 0;
  margin-top: 16px; padding-bottom: 4px;
  overflow-x: auto; overflow-y: hidden;
  white-space: nowrap;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(41,37,91,.28) transparent;
}
.news-filter::-webkit-scrollbar { height: 4px; }
.news-filter::-webkit-scrollbar-thumb { background: rgba(41,37,91,.28); border-radius: 4px; }
.news-filter .filter-btn { flex: 0 0 auto; min-width: 0; margin: 0; white-space: nowrap; }
.news-filter .filter-btn,
.news-filter .filter-btn:hover,
.news-filter .filter-btn:focus-visible { box-shadow: none; }
@media (max-width: 640px) {
  #news .section-header-left { width: 100%; min-width: 0; }
}
.filter-btn {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--light-gray);
  color: var(--mid-gray);
  background: var(--white);
  transition: all var(--transition);
width: auto;
	justify-content: flex-start;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.news-card-img {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: var(--light-gray);
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white);
  background: var(--primary); padding: 3px 10px;
  border-radius: 100px;
}
.news-card-tag.tag-feld   { background: var(--primary); }
.news-card-tag.tag-halle  { background: var(--accent); }
.news-card-tag.tag-global { background: var(--primary-mid); }

.news-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-date {
  font-size: .78rem; color: var(--mid-gray); margin-bottom: 8px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em;
}
.news-card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.news-card-meta .news-card-date { margin-bottom: 0; }
.news-card-category {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.news-empty { grid-column: 1 / -1; color: var(--mid-gray); margin: 16px 0 36px; max-width: 560px; }
.news-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; line-height: 1.25;
  color: var(--primary); margin-bottom: 10px;
  text-transform: uppercase;
}
.news-card-excerpt { font-size: .9rem; color: var(--mid-gray); line-height: 1.55; flex: 1; }
.news-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--transition);
}
.news-card-link:hover { gap: 10px; }

/* ─── Teams Section ─── */
.teams-filter {
  display: flex; gap: 8px; flex-wrap: nowrap; margin-bottom: var(--section-heading-gap);
  max-width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  white-space: nowrap;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(41,37,91,.28) transparent;
}
.teams-filter::-webkit-scrollbar { height: 4px; }
.teams-filter::-webkit-scrollbar-thumb { background: rgba(41,37,91,.28); border-radius: 4px; }
.teams-filter .filter-btn { flex: 0 0 auto; min-width: 0; margin: 0; white-space: nowrap; }
.teams-filter .filter-btn,
.teams-filter .filter-btn:hover,
.teams-filter .filter-btn:focus-visible { box-shadow: none; }

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.team-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.team-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--light-gray);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}
.team-logo img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); letter-spacing: .04em; line-height: 1.2;
}
.team-region {
  font-size: .8rem; color: var(--mid-gray); margin-top: 4px; line-height: 1.35;
}
.team-api-badge {
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mid-gray);
  background: var(--off-white); border: 1px solid var(--light-gray);
  padding: 2px 8px; border-radius: 100px;
  display: inline-block; margin-top: 8px;
}

/* Halle 2027: Platzhalter bis zum Ende der Qualifikation. */
.ctx-halle .teams-intro {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.6;
}
.ctx-halle .team-card-pending {
  background: var(--white);
  border-color: var(--light-gray);
  cursor: default;
}
.ctx-halle .team-card-pending:hover {
  border-color: var(--light-gray);
  box-shadow: none;
  transform: none;
}
.ctx-halle .team-card-pending .team-placeholder-icon { width: 58px; height: 58px; }
.team-slot {
  margin-bottom: 3px;
  line-height: 1.2;
  color: var(--mid-gray);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ctx-halle .team-card-pending .team-name { color: var(--primary); }

/* ─── Spielplan ─── */
.schedule-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }

.schedule-table {
  width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 20px; text-align: left;
}
.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: .92rem;
	
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--off-white); }
.schedule-table tr:hover td { background: rgba(41,37,91,.04); }

.match-teams {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary);
}
.match-kategorie{
	color:var(--primary);
}
.match-score {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900;
  color: var(--accent); white-space: nowrap;
}
.match-time { color: var(--mid-gray); white-space: nowrap; }
.match-venue { font-size: .82rem; color: var(--mid-gray); }

.schedule-day-header {
  background: var(--light-gray);
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  padding: 10px 20px;
  border-bottom: 1px solid var(--light-gray);
}

/* Halle und Feld: kompakte Spielzeilen mit Mannschaftsplaetzen und Resultat. */
#spielplan .hall-schedule { max-width: 1040px; margin-inline: auto; }
#spielplan .hall-schedule-day {
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
#spielplan .hall-schedule-day + .hall-schedule-day { margin-top: 18px; }
#spielplan .hall-schedule-day-title {
  margin: 0; padding: 10px 16px;
  background: var(--primary); color: var(--white);
  font-family: var(--font-display); font-size: .95rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
#spielplan .hall-match,
#spielplan .hall-schedule-info { border-bottom: 1px solid var(--light-gray); }
#spielplan .hall-schedule-day > :last-child { border-bottom: 0; }
#spielplan .hall-match { position: relative; padding: 0; background: var(--white); }
#spielplan .hall-match-featured { background: var(--white); }
#spielplan .hall-match-final { box-shadow: inset 3px 0 0 var(--accent); }
#spielplan .hall-match-head {
  display: grid; grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: baseline; gap: 8px; margin-bottom: 4px;
  font-family: var(--font-display); font-size: .82rem; line-height: 1.15;
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
#spielplan .hall-match-time { color: var(--accent); white-space: nowrap; }
#spielplan .hall-match-type { color: var(--primary); }
#spielplan .hall-match-final .hall-match-type { color: var(--accent); }
#spielplan .hall-match-category { color: var(--mid-gray); white-space: nowrap; }
#spielplan .hall-match-fixture {
  display: grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr);
  gap: 6px; margin-left: 72px;
}
#spielplan .hall-match-side,
#spielplan .hall-match-score {
  min-height: 0; padding: 4px 8px;
  display: flex; align-items: center; border-radius: var(--radius-sm);
}
#spielplan .hall-match-side {
  min-width: 0; background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--primary); font-size: .84rem; line-height: 1.2;
  font-weight: 600; overflow-wrap: anywhere;
}
#spielplan .hall-match-side:first-child { justify-content: flex-end; text-align: right; }
#spielplan .hall-match-side:last-child { justify-content: flex-start; text-align: left; }
#spielplan .hall-match-score {
  justify-content: center; padding-inline: 0;
  background: var(--primary); color: var(--white);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1;
}
#spielplan .hall-schedule-info {
  display: grid; grid-template-columns: 64px minmax(0,1fr);
  gap: 8px; padding: 9px 14px;
  background: var(--off-white); color: var(--mid-gray);
  font-size: .84rem; font-weight: 600;
}
#spielplan .hall-schedule-info .hall-match-time { color: var(--mid-gray); }
#spielplan .hall-schedule-info > span:last-child { color: var(--text); }
#spielplan .schedule-note {
  max-width: 1040px; margin: 12px auto 0;
  color: var(--mid-gray); font-size: .85rem;
}
@media (max-width: 640px) {
  #spielplan .hall-match-summary { padding: 6px 10px; }
  #spielplan .hall-match-head { grid-template-columns: 52px minmax(0,1fr) auto; gap: 5px; padding-right: 0; font-size: .75rem; }
  #spielplan .hall-match-fixture { margin-left: 0; grid-template-columns: minmax(0,1fr) 44px minmax(0,1fr); gap: 4px; }
  #spielplan .hall-match-side { padding: 4px 6px; font-size: .78rem; }
  #spielplan .hall-schedule-info { grid-template-columns: 65px minmax(0,1fr); padding: 8px 10px; }
}

/* Gemeinsamer Spielplan: Filter, klickbare Spielzeilen und Satzdetails. */
#spielplan .schedule-filter {
  display: flex; gap: 8px; flex-wrap: nowrap;
  max-width: 1040px; min-width: 0; margin: 0 auto 18px;
  padding-bottom: 4px; overflow-x: auto; overflow-y: hidden;
  white-space: nowrap; overscroll-behavior-inline: contain;
  scrollbar-width: thin; scrollbar-color: rgba(41,37,91,.28) transparent;
}
#spielplan .schedule-filter::-webkit-scrollbar { height: 4px; }
#spielplan .schedule-filter::-webkit-scrollbar-thumb { background: rgba(41,37,91,.28); border-radius: 4px; }
#spielplan .schedule-filter .filter-btn { flex: 0 0 auto; min-width: 0; margin: 0; white-space: nowrap; }
#spielplan .schedule-filter .filter-btn,
#spielplan .schedule-filter .filter-btn:hover,
#spielplan .schedule-filter .filter-btn:focus-visible { box-shadow: none; }
#spielplan .hall-match-summary { display: block; padding: 6px 14px; cursor: pointer; list-style: none; }
#spielplan .hall-match-summary::-webkit-details-marker { display: none; }
#spielplan .hall-match-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
#spielplan .hall-match-summary:hover .hall-match-toggle { color: var(--accent); }
#spielplan .hall-match-toggle {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 16px; margin: 2px 0 0 72px; text-align: center;
  color: var(--primary-mid); font-family: var(--font-display);
  font-size: .71rem; font-weight: 700; line-height: 1.1;
  letter-spacing: .03em; text-transform: uppercase;
}
#spielplan .hall-match-toggle span,
#spielplan .hall-match-toggle i { color: inherit; }

#spielplan .hall-match-sets-open { display: none; }
#spielplan .hall-match[open] .hall-match-sets-closed { display: none; }
#spielplan .hall-match[open] .hall-match-sets-open { display: inline; }
#spielplan .hall-match[open] .hall-match-toggle i { transform: rotate(180deg); }
#spielplan .hall-match-sets-scroll {
  width: 100%; max-width: 100%; overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-top: 0; padding: 8px 14px;
  border-top: 0; background: var(--off-white); border-radius: 0;
  scrollbar-width: thin; scrollbar-color: rgba(41,37,91,.3) transparent;
}
#spielplan .hall-match-sets-track {
  display: flex; gap: 8px; width: max-content; margin-inline: auto;
}
#spielplan .hall-match-set {
  flex: 0 0 106px; min-width: 0; padding: 4px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
}
#spielplan .hall-match-set-label {
  color: var(--mid-gray); font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; line-height: 1.1; text-transform: uppercase;
}
#spielplan .hall-match-set-score {
  color: var(--primary); font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700; line-height: 1.1;
}
@media (max-width: 640px) {
  #spielplan .hall-match-toggle { margin-left: 0; }
  #spielplan .hall-match-set { flex-basis: 84px; }
  #spielplan .hall-match-sets-track { margin-inline: 0; }
}

/* ─── Livestream CTA ─── */
.livestream-section {
  background: var(--primary-dark);
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.livestream-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(221,55,48,.25) 0%, transparent 65%);
}
.livestream-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
}
.livestream-text { flex: 1; min-width: 260px; }
.livestream-text .section-title { color: var(--white); }
.livestream-desc {
  color: rgba(255,255,255,.7);
  margin-top: 16px; max-width: 480px;
}
.livestream-visual {
  flex: 1; min-width: 300px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.livestream-play-btn {
  width: 72px; height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  box-shadow: 0 0 0 0 rgba(221,55,48,.5);
  animation: ping 2s ease-in-out infinite;
  cursor: pointer;
  transition: transform var(--transition);
}
.livestream-play-btn:hover { transform: scale(1.1); }
/* Halle 2027: Livestream ist angekündigt, die Aktionen bleiben bis zur Freigabe inaktiv. */
.ctx-halle .livestream-section .livestream-action-unavailable,
.ctx-halle .livestream-section .livestream-action-unavailable:hover,
.ctx-halle .livestream-section .livestream-action-unavailable:active {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.65);
  cursor: default; pointer-events: none; user-select: none;
  animation: none; transition: none; transform: none; box-shadow: none;
}
.ctx-halle .livestream-play-btn.livestream-play-unavailable,
.ctx-halle .livestream-play-btn.livestream-play-unavailable:hover {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.6);
  cursor: default; pointer-events: none;
  animation: none; transition: none; transform: none; box-shadow: none;
}
.ctx-halle .fab-unavailable,
.ctx-halle .fab-unavailable:hover {
  background: #77758d; color: rgba(255,255,255,.75);
  cursor: default; pointer-events: none;
  animation: none; transition: none; transform: none; box-shadow: none;
}

@keyframes ping {
  0%  { box-shadow: 0 0 0 0 rgba(221,55,48,.5); }
  70% { box-shadow: 0 0 0 28px rgba(221,55,48,0); }
  100%{ box-shadow: 0 0 0 0 rgba(221,55,48,0); }
}

/* ─── Sponsors ─── */
.sponsor-level-title {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mid-gray);
  text-align: center; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.sponsor-level-title::before,
.sponsor-level-title::after {
  content: ''; flex: 1; height: 1px; background: var(--light-gray);
}

.sponsor-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 24px;
  margin-bottom: 40px;
}
.sponsor-logo {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; min-height: 72px;
max-width: 300px;
  transition: box-shadow var(--transition), border-color var(--transition);
  color: var(--mid-gray);
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
}
.sponsor-logo:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.sponsor-logo.gold   { min-width: 180px; min-height: 88px; font-size: 1rem; }
.sponsor-logo.silver { min-width: 150px; min-height: 76px; }

/* ─── Info Cards (Arena, Anreise) ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.info-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.info-card-icon {
  width: 48px; height: 48px;
  background: rgba(41,37,91,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.info-card-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px; letter-spacing: .04em;
}
.info-card-text { flex: 1; font-size: .9rem; color: var(--mid-gray); line-height: 1.6; }
.info-card-link {
  width: 100%; margin-top: 24px; padding: 10px 14px;
  justify-content: space-between; font-size: .85rem;
}
.ctx-halle .organizer-logo-link { display: inline-block; line-height: 0; margin-bottom: 16px; }
.ctx-halle .organizer-logo-link img { display: block; width: 96px; height: auto; }

/* ─── Organisation ─── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.org-card {
  background: var(--white); border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md); padding: 24px;
  text-align: center; transition: box-shadow var(--transition);
}
.org-card:hover { box-shadow: var(--shadow-sm); }
.org-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--light-gray);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; overflow: hidden;
}
.org-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); letter-spacing: .04em; line-height: 1.2;
}
.org-role { font-size: .82rem; color: var(--mid-gray); margin-top: 2px; line-height: 1.35; }
.org-contacts { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.org-contact-link {
  font-size: .82rem; color: var(--accent); display: flex; align-items: center;
  justify-content: center; gap: 6px;
}

.ctx-halle .org-avatar { color: var(--primary-mid); }
.ctx-halle .org-avatar i { color: var(--primary-mid); }
.ctx-halle .org-contact-link { font-family: var(--font-display); font-size: .78rem; white-space: nowrap; }

/* ─── Archive / History ─── */
.archive-scroll {
  width: 100%; max-width: 100%; overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.archive-table {
  width: 100%; min-width: 720px; border-collapse: collapse;
  background: var(--white);
}
.archive-table th {
  background: var(--primary); color: var(--white);
  font-family: var(--font-display); font-size: .82rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 20px; text-align: left;
}
.archive-table td {
  padding: 12px 20px; border-bottom: 1px solid var(--light-gray);
  font-size: .9rem; color: var(--primary);
}
.archive-table tr:last-child td { border-bottom: none; }
.archive-table tr:nth-child(even) td { background: var(--white); }

/* ─── Contact Form ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-display); font-size: .82rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 6px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41,37,91,.12);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ─── Volunteers ─── */
.volunteer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.volunteer-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.volunteer-info p { color: var(--mid-gray); margin-bottom: 20px; }
.volunteer-shifts { display: flex; flex-direction: column; gap: 10px; }
.shift-item {
  background: var(--off-white); border-left: 3px solid var(--primary);
  padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.shift-day { font-family: var(--font-display); font-weight: 700; font-size: .9rem; text-transform: uppercase; color: var(--primary); }
.shift-time { font-size: .85rem; color: var(--mid-gray); }

/* ─── Footer ─── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {}
.footer-logo-badge {
 /* background: var(--accent);*/ color: var(--white);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  padding: 5px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  display: inline-block; margin-bottom: 16px;
}
.footer-desc {
  font-size: .88rem; line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social-link:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .88rem; color: rgba(255,255,255,.55);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-sponsors-row {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-sponsors-row .sponsor-label {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35); flex-shrink: 0;
}
.footer-sponsor-logos { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  align-items: center; 
}

.footer-sponsor-logo {
  background: rgba(255,255,255,1.00);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 0; /* Padding komplett entfernt, damit das Bild an den Rand stößt */
  overflow: hidden; /* Wichtig, damit das Bild nicht über die abgerundeten Ecken ragt */
  
  /* Optionale feste Box-Grösse, damit alle Sponsoren-Kacheln gleich gross sind */
  max-width: 160px; 
  height: 70px; 
  
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sorgt dafür, dass der Linkbereich die komplette Kachel ausfüllt */
.footer-sponsor-logo a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

/* Kontrolliert das Bild im Inneren */
.footer-sponsor-logo img {
  width: 100%;
  height: 100%;
  display: block;
  /* 
     'contain' sorgt dafür, dass das Logo vollständig sichtbar bleibt ohne Verzerrung.
     Falls das Bild die Box radikal beschneiden und komplett ausfällen soll, 
     ändere es zu 'cover'. Für Sponsorenlogos ist 'contain' meistens besser.
  */
  object-fit: contain; 
}

.footer-bottom {
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copyright {
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: .8rem; color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─── Floating Buttons ─── */
.fab-group {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 900;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.fab-livestream { background: var(--accent); }
.fab-whatsapp   { background: #25D366; }
.fab-label {
  position: absolute; right: 62px;
  background: var(--dark); color: var(--white);
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.fab:hover .fab-label { opacity: 1; }
/* Pulsierender Effekt für den FAB */
.fab-pulse {
  animation: fab-ping 2s ease-in-out infinite;
}

/* Eigens auf die FAB-Grösse abgestimmte Animation */
@keyframes fab-ping {
  0%   { box-shadow: 0 0 0 0 rgba(221, 55, 48, 0.6); }
  70%  { box-shadow: 0 0 0 20px rgba(221, 55, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(221, 55, 48, 0); }
}
/* ─── Page Hero (sub-pages) ─── */
.page-hero {
  background: var(--primary);
  padding: 56px 0 48px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(221,55,48,.15) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; text-transform: uppercase; line-height: 1;
  color: var(--white); margin-bottom: 8px;
}
.page-hero-sub {
   font-family: var(--font-title);
  font-size: 1rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-size: .75rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ─── Mobile Navigation ─── */
.mobile-nav {
  display: none; position: fixed; top: 70px; right: 0; bottom: 0; left: 0; z-index: 990;
  background: var(--primary-dark); padding: 12px 24px 28px; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) var(--primary-dark);
}
.mobile-nav::-webkit-scrollbar { width: 5px; }
.mobile-nav::-webkit-scrollbar-track { background: var(--primary-dark); }
.mobile-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 5px; }
.mobile-nav.open { display: block; }
body.mobile-menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; background: var(--primary-dark); box-shadow: none; }
.mobile-nav > a, .mobile-nav-group > summary {
  display: block; width: 100%; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  line-height: 1.15; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.86); cursor: pointer;
}
.mobile-nav > a:hover, .mobile-nav-group > summary:hover { color: var(--white); }
.mobile-nav > a:focus-visible, .mobile-nav-group > summary:focus-visible,
.mobile-nav-submenu a:focus-visible {
  outline: 2px solid var(--white); outline-offset: 3px;
}
.mobile-nav-group > summary { position: relative; list-style: none; padding-right: 30px; }
.mobile-nav-group > summary::-webkit-details-marker { display: none; }
.mobile-nav-group > summary::after {
  content: ""; position: absolute; right: 5px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform var(--transition);
}
.mobile-nav-group[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.mobile-nav-submenu { padding: 6px 0 9px 16px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.035); }
.mobile-nav-submenu a {
  display: block; width: 100%; padding: 10px 12px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.mobile-nav-submenu a:hover { color: var(--white); background: rgba(255,255,255,.05); }
/* ─── Responsive ─── */


@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .volunteer-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
	.match-venue{
		display:none;
	}
}

@media (max-width: 640px) {
  .navbar { gap: 8px; }
  .nav-logo img { width: 120px; }
  .event-switch { width: 128px; }
  .nav-toggle { width: 40px; min-width: 40px; max-width: 40px; }
  .top-bar-links { gap: 12px; }
  .top-bar-links a:nth-child(n+2) { display: none; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .countdown-strip .container { gap: 20px; }
  .hero-title { font-size: 3.2rem; }
  .schedule-table { font-size: .84rem; }
  .schedule-table th, .schedule-table td { padding: 10px 12px; }
}

@media (max-width: 365px) {
  .site-header .container { padding-inline: 12px; }
  .navbar { gap: 4px; }
  .nav-logo img { width: clamp(96px, 31vw, 112px); }
  .event-switch { width: 112px; height: 34px; }
  .nav-toggle { width: 36px; min-width: 36px; max-width: 36px; }
  .hero > .container { width: 100%; min-width: 0; }
  .hero-content { width: 100%; max-width: 100%; min-width: 0; }
  .hero .hero-title { font-size: clamp(2rem, 11vw, 2.75rem); line-height: 1; }
  .hero-subtitle { font-size: 1rem; }
  .news-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .livestream-text, .livestream-visual { min-width: 0; flex: 1 1 100%; }
  .countdown-strip .container { gap: 12px; }
  .countdown-label { width: 100%; text-align: center; }
  .countdown-units { width: 100%; justify-content: space-between; gap: 3px; }
  .countdown-unit { min-width: 0; flex: 1 1 0; }
  .countdown-number { font-size: 1.7rem; }
  .countdown-sep { font-size: 1.2rem; }
}
/* ─── Animations ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Active event context classes ─── */
body.ctx-halle .event-switch-thumb { transform: translateX(0); }
body.ctx-feld .event-switch-thumb { transform: translateX(100%); }

body.ctx-halle .hero-event-tag::after { content: ' HALLE'; }
body.ctx-feld   .hero-event-tag::after { content: ' FELD'; }

/* ─── Print ─── */
@media print {
  .site-header, .fab-group, .mobile-nav { display: none; }
}


/* ─── Ergänzungen für Banner & Vereinslogos ─── */
.content-banner-strip {
  background: var(--off-white);
  padding: 0; /* Padding entfernt für volle Breite */
  display: flex;
  justify-content: center;
  width: 100%;
}

.header-content-banner {
  width: 100%;
  max-width: 100%; /* Auf 100% gesetzt, damit es sich über die ganze Breite erstreckt */
  height: auto;
  border-radius: 0; /* Abrundung entfernt für nahtlosen Übergang */
  box-shadow: none;
  object-fit: cover;
  margin: 0;
}

.team-logo-container {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-club-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.team-logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--primary-mid);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ─── Hero-Bereich Hintergrund-Logik ─── */

/* Wenn ein Banner vorhanden ist (Feld): Banner über die ganze Breite, KEINE Overlays/Schraffuren */
.hero.hero-has-banner {
  background: url('../pictures/design/content/2026_final4_header_img_03.png') no-repeat center center;
  background-size: cover;
}
.hero.hero-has-gais-banner { background: #2b2a5e url(../pictures/design/content/gais-header.svg?v=20261101-2) center / cover no-repeat; }
@media (max-width: 640px) {
  .hero.hero-has-gais-banner { background-position: 70% center; }
}
.hero.hero-has-banner .hero-bg,
.hero.hero-has-banner .hero-pattern {
  display: none !important; /* Deaktiviert die Farb-Verläufe und Standard-Schraffuren */
}

/* Wenn kein Banner vorhanden ist (Halle): Schraffierter Hintergrund bleibt wie gehabt */
.hero.hero-has-pattern {
  background-color: var(--primary);
}


/* ─── Hero Basis-Styles ─── */
.hero {
  position: relative; overflow: hidden;
  min-height: 580px;
  display: flex; align-items: center;
  transition: background 0.3s ease;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(221,55,48,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(58,53,128,.6) 0%, transparent 55%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
}

.hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0px, #fff 1px,
    transparent 1px, transparent 40px
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 80px 0;
  max-width: 680px;
}

.hero-event-tag {
  display: inline-flex; align-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900; line-height: .95;
  color: var(--white); text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title .accent { color: var(--accent); }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem); /* Leicht herabgesetzt, damit der längere Text gut bricht */
  font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.9); text-transform: uppercase;
  margin-bottom: 28px;
  line-height: 1.3;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 36px;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.hero-meta-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Weicher Lesbarkeits-Schatten über beiden Eventillustrationen. */
.hero-title {
  text-shadow:
    0 2px 18px rgba(12, 10, 39, .46),
    0 6px 48px rgba(12, 10, 39, .32);
}
.hero-subtitle, .hero-meta-item {
  text-shadow:
    0 2px 12px rgba(12, 10, 39, .88),
    0 4px 36px rgba(12, 10, 39, .78),
    0 8px 72px rgba(12, 10, 39, .55);
}




/* Klasse für noch nicht aktive Buttons */
.btn-disabled {
  opacity: 0.5;                 /* Macht den Button halbtransparent (wirkt dadurch grauer) */
  filter: grayscale(60%);       /* Entzieht dem Button etwas Farbe */
  pointer-events: none;         /* Sperrt den Link komplett (er ist nicht mehr anklickbar) */
  user-select: none;            /* Verhindert, dass der Text markiert werden kann */
}



/* Live-Zustand für den Livestream-Link in der Top-Bar */
.topbar-live {
  color: #ffffff !important;         /* Text komplett in Weiss */
  font-weight: 700 !important;       /* Text fett hervorheben */
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Der rote Aufnahme-Kreis (Live-Dot) */
.topbar-live .fa-circle {
  color: var(--accent, #dd3730);     /* Dein Website-Rot */
  font-size: 0.75rem;                /* Etwas kleiner als der Text */
  animation: live-blink 1.5s infinite ease-in-out; /* Weiches Blinken */
}

/* Blinkanimation für den roten Punkt */
@keyframes live-blink {
  0%   { opacity: 1; filter: drop-shadow(0 0 2px rgba(221,55,48,0.8)); }
  50%  { opacity: 0.3; filter: drop-shadow(0 0 0px rgba(221,55,48,0)); }
  100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(221,55,48,0.8)); }
}


/* Für normale Text-Links im Live-Modus */
.link-live {
  font-weight: 700 !important;
  color: var(--accent, #dd3730) !important; /* Nutzt dein Rot */
}
.link-live .fa-circle {
  font-size: 0.7rem;
  margin-right: 4px;
  animation: live-blink 1.5s infinite ease-in-out;
}

/* Für Buttons, die im Live-Modus pulsieren sollen */
.btn-live-pulse {
  animation: btn-shadow-pulse 2s infinite ease-in-out;
  background-color: var(--accent, #dd3730) !important;
  border-color: var(--accent, #dd3730) !important;
  color: #fff !important;
}

@keyframes btn-shadow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(221, 55, 48, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(221, 55, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(221, 55, 48, 0); }
}

/* Same-origin Halle/Feld navigation: keep the header still and fade the page. */
@view-transition { navigation: auto; }
.top-bar { view-transition-name: final4-topbar; }
.site-header { view-transition-name: final4-header; }
::view-transition-old(final4-topbar),
::view-transition-new(final4-topbar),
::view-transition-old(final4-header),
::view-transition-new(final4-header),
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: final4-page-fade .28s ease-out both; }
::view-transition-group(final4-event-thumb) {
  animation-duration: .16s;
  animation-timing-function: ease-in-out;
  border-radius: 5px;
  overflow: hidden;
}
::view-transition-image-pair(final4-event-thumb),
::view-transition-old(final4-event-thumb),
::view-transition-new(final4-event-thumb) {
  animation: none;
  border-radius: 5px;
  overflow: hidden;
}
::view-transition-old(final4-event-thumb) { opacity: 0; }
@keyframes final4-page-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .nav-toggle span, .event-switch-thumb { transition: none; }
}

/* Deaktivierte Aktionen: fünf Sekunden Textwechsel im unveränderten Platz. */
.unavailable-action,
.unavailable-action:hover,
.unavailable-action:active {
  position: relative;
  pointer-events: auto !important;
  cursor: help !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  box-shadow: none !important;
}
.unavailable-action-label { display: inline-flex; align-items: center; gap: 8px; }
.unavailable-action-hint {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font: inherit; color: inherit; letter-spacing: inherit;
  visibility: hidden; pointer-events: none;
}
.unavailable-hint-visible > .unavailable-action-label { visibility: hidden; }
.unavailable-hint-visible > .unavailable-action-hint { visibility: visible; }
.unavailable-action .fab-label { display: none; }
.fab.unavailable-action .unavailable-action-hint,
.livestream-play-btn.unavailable-action .unavailable-action-hint { font-size: .65rem; letter-spacing: 0; }
.unavailable-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Kontakt: kompakte Felder und bündiges Dropdown in der Final4-Designsprache. */
#kontakt .contact-grid { gap: 32px; margin-top: 28px !important; }
:is(#contact-form, #volunteer-form, .custom-select-scope) { min-width: 0; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-group { margin: 0 0 14px; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-label { margin-bottom: 5px; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-input,
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-textarea,
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-select,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger {
  box-sizing: border-box; display: block; width: 100%; margin: 0;
  padding: 10px 12px; border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm); font-family: inherit; font-size: .9rem;
  line-height: 1.4; color: var(--primary); background: var(--off-white);
}
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-select[hidden] { display: none; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .form-textarea { min-height: 108px; }
.contact-select { position: relative; width: 100%; min-width: 0; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger { text-align: left; padding-right: 38px; cursor: pointer; }
.contact-select-trigger::after {
  content: ''; position: absolute; right: 15px; top: 17px;
  width: 7px; height: 7px; border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary); transform: rotate(45deg);
}
.contact-select-trigger[aria-expanded="true"]::after { transform: rotate(225deg); top: 21px; }
.contact-select-options {
  position: absolute; z-index: 30; top: calc(100% + 5px); left: 0; right: 0;
  padding: 5px; max-height: 260px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-md);
}
.contact-select-options[hidden] { display: none; }
.contact-select-options button {
  display: block; width: 100%; padding: 10px; border: 0; border-radius: var(--radius-sm);
  margin: 0; background: transparent; color: var(--primary); font: inherit;
  font-size: .9rem; line-height: 1.4; text-align: left; cursor: pointer;
}
.contact-select-options button[aria-selected="true"] { background: var(--off-white); font-weight: 600; }
.contact-select-options button:hover,
.contact-select-options button:focus-visible { background: rgba(41,37,91,.08); outline: 1px solid var(--primary); outline-offset: -1px; }
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
#kontakt .info-card { padding: 22px; }
#kontakt .organizer-logo-link { margin-bottom: 8px; align-self: flex-start; }
#kontakt .organizer-card .info-card-text { flex: initial; }
#kontakt .organizer-card .info-card-link { margin-top: 16px; }
@media(max-width: 640px) { #kontakt .contact-grid { gap: 24px; } }

/* Verbindliche Aktionsbutton-Grössen: Standard und Kachel. */
.btn {
  box-sizing: border-box; min-height: 48px; min-width: 0; width: auto;
  margin: 0; padding: 10px 24px; border: 2px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  line-height: 1.25; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius-sm); max-width: 100%; text-align: center;
}
.btn.btn-outline { border-color: rgba(255,255,255,.6); }
.btn.btn-outline:hover { border-color: var(--white); }
.btn.btn-sm {
  min-height: 40px; padding: 8px 14px; font-size: .875rem;
}
.info-card > .btn.btn-sm {
  width: 100%; margin-top: 16px;
}
.btn > i { flex: 0 0 auto; font-size: 1em; }
.btn .unavailable-action-label { font: inherit; width: 100%; justify-content: inherit; }
.btn .unavailable-action-hint { font: inherit; }

/* Eventabhängige Sponsoringkategorien, gemeinsame Platzhaltergestaltung. */
.sponsor-logo.sponsor-placeholder {
  flex-direction: column; align-items: stretch; gap: 14px;
  min-width: 0; width: 280px; max-width: 100%; padding: 20px;
  text-align: center; letter-spacing: .03em;
}
.sponsor-logo.sponsor-placeholder.gold { width: 360px; padding: 28px; }
.sponsor-placeholder-label { color: var(--primary); font-family: var(--font-display); }
.sponsor-placeholder .btn.btn-sm { width: 100%; }
.sponsor-placeholder .unavailable-action-label { width: 100%; }

/* Aktionsicons immer rechts; interne Aktionen als schlichter SVG-Pfeil. */
.btn { justify-content: space-between; }
.btn .btn-label { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; min-width: 0; }
.btn .btn-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 1em; order: 2; font-size: 1em; }
.btn svg.btn-icon { overflow: visible; }
.btn .unavailable-action-label { display: inline-flex; align-items: center; gap: 8px; justify-content: inherit; }

/* Kontakt-Dropdown bleibt in allen Zuständen hell und schattenfrei. */
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger:hover,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-trigger:focus,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-options,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-options button,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-options button:hover,
:is(#contact-form, #volunteer-form, .custom-select-scope) .contact-select-options button:focus { box-shadow: none; }

/* Spielpaarung: kleine Herkunftszeile, darunter der austauschbare Teamname. */
#spielplan .hall-match-side {
  flex-direction: column; justify-content: center; gap: 3px;
  padding-block: 6px;
}
#spielplan .hall-match-side:first-child { align-items: flex-end; justify-content: center; }
#spielplan .hall-match-side:last-child { align-items: flex-start; justify-content: center; }
#spielplan .hall-match-slot {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  line-height: 1.15; color: var(--mid-gray);
}
#spielplan .hall-match-team { font-size: .84rem; font-weight: 700; line-height: 1.2; color: var(--primary); }
#spielplan .hall-match-team-pending { font-weight: 600; }
#spielplan .hall-match-score { align-self: stretch; min-height: 32px; }
@media(max-width: 640px) {
  #spielplan .hall-match-slot { font-size: .7rem; }
  #spielplan .hall-match-team { font-size: .78rem; }
}

/* Innenabstand liegt im Summary; der Satzhintergrund reicht bis an alle Zeilenränder. */

/* Bewusst gewählte Funktionsicons links, generische Navigationspfeile rechts. */
.btn.btn-with-icon { justify-content: center; }
.btn .btn-icon.btn-icon-leading { order: 0; }
.btn.btn-with-icon .unavailable-action-label { justify-content: center; }

/* Spielnummer und Spieltyp mittig über der Paarung. */
#spielplan .hall-match-head { position: relative; display: block; padding-left: 72px; }
#spielplan .hall-match-head > .hall-match-time { position: absolute; left: 0; top: 0; }
#spielplan .hall-match-type { display: block; text-align: center; padding-inline: 64px; }
#spielplan .hall-match-category { position: absolute; right: 0; top: 0; }
@media(max-width: 640px) {
  #spielplan .hall-match-head { padding-left: 0; }
  #spielplan .hall-match-type { padding-inline: 54px; }
}

/* Gemeinsamer kompakter Footer, mit unveränderten Eventinhalten. */
.site-footer { padding-top: 32px; }
.site-footer .footer-grid { grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 24px; }
.site-footer .footer-brand-header { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.site-footer .footer-logo-badge { padding: 0; margin: 0; clip-path: none; line-height: 0; }
.site-footer .footer-desc { margin: 0; max-width: 360px; font-size: .85rem; line-height: 1.5; }
.site-footer .footer-social { gap: 8px; }
.site-footer .footer-social-link { width: 34px; height: 34px; }
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-col h4 { margin: 0 0 10px; line-height: 1.25; }
.site-footer .footer-links { gap: 3px; margin: 0; padding: 0; }
.site-footer .footer-links li { margin: 0; padding: 0; line-height: 1.3; }
.site-footer .footer-links a { display: inline-block; padding: 3px 0; font-size: .85rem; line-height: 1.3; }
.site-footer .footer-links a:hover { padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-sponsors-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; }
.footer-organizations, .footer-partner-group { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; }
.site-footer .footer-sponsor-logos { gap: 12px; }
.site-footer .footer-sponsor-logo { height: 48px; max-width: 136px; }
.site-footer .footer-sponsor-logo img { width: auto; height: 100%; max-width: 136px; object-fit: contain; }
.site-footer .footer-bottom { padding: 12px 0; gap: 8px 20px; align-items: baseline; }
.site-footer .footer-copyright, .site-footer .footer-legal a { font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.55); }
.site-footer .footer-legal { gap: 16px; flex-wrap: wrap; }
.site-footer a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@media(max-width: 960px) {
 .site-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; }
 .site-footer .footer-sponsors-row { gap: 16px; }
}
@media(max-width: 640px) {
 .site-footer { padding-top: 24px; }
 .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; padding-bottom: 20px; }
 .site-footer .footer-brand { grid-column: 1 / -1; }
 .site-footer .footer-brand-header { justify-content: space-between; }
 .site-footer .footer-col:last-child { grid-column: 1 / -1; }
 .site-footer .footer-col:last-child .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; }
 .site-footer .footer-links a { padding-block: 5px; overflow-wrap: anywhere; }
 .site-footer .footer-sponsors-row { align-items: flex-start; padding-block: 16px; }
 .footer-partner-group { gap: 8px 12px; }
 .footer-partner-group .sponsor-label { flex-basis: 100%; }
 .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Automatischer Hell/Dunkel-Rhythmus der hellen Inhaltssections.
   Sections zum Deaktivieren entfernen oder mit hidden ausblenden. */
#hauptinhalt > section.section[hidden] { display: none !important; }
#hauptinhalt > section.section:nth-child(odd of section.section:not([hidden])) { background: var(--white); }
#hauptinhalt > section.section:nth-child(even of section.section:not([hidden])) { background: var(--off-white); }

/* Verbandslogos: optisch zentriertes Quadrat und Luft um die STV-Wortmarke. */
.site-footer .footer-org-swiss { width: 48px; max-width: 48px; flex: 0 0 48px; }
.site-footer .footer-org-swiss img {
  width: 100%; height: 100%; max-width: none; object-fit: contain;
  object-position: center; transform: translateY(-1px) scale(1.12); transform-origin: center;
}
.site-footer .footer-org-stv { width: 160px; max-width: 160px; padding: 7px 12px; }
.site-footer .footer-org-stv img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; }
/* Neue Bereiche nutzen bestehende Kacheln und die automatische Section-Farbfolge. */
.event-highlights-grid { margin-top: var(--section-heading-gap); grid-template-columns: repeat(3,minmax(0,1fr)); }
.event-highlights-grid .info-card { padding: 24px; }
.event-highlights-grid .info-card-icon i { color: var(--primary); }
.event-highlights-grid p { margin: 0; }
.archive-more { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 24px; }
.archive-more p { margin: 0; color: var(--mid-gray); font-size: .82rem; }
@media(max-width: 640px) { .event-highlights-grid { grid-template-columns: 1fr; gap: 12px; } .event-highlights-grid .info-card { padding: 20px; } }

/* Gezielte Menüanker mit Platz für den fixierten Header. */
#hauptinhalt [id] { scroll-margin-top: 96px; }
.navbar > .nav-ticket { flex-shrink: 0; }
.navbar { gap: 16px; } .nav-links > li > a { padding-inline: 8px; }

.mobile-nav > .mobile-ticket-cta {
 display: flex; align-items: center; justify-content: center; gap: 8px;
 min-height: 48px; margin-top: 20px; padding: 10px 24px;
 background: var(--accent); border: 2px solid transparent;
 font-size: 1rem; line-height: 1.25; color: var(--white);
}
.mobile-nav > .mobile-ticket-cta:hover { background: var(--accent-dark); }

#teams { position: relative; }
#teams > .section-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Header-Steuerelemente: 36px wie der Halle/Feld-Switch. */
.navbar > .nav-ticket {
  height: 36px; min-height: 36px; padding: 0 14px;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  line-height: 1; letter-spacing: .08em; border-radius: 6px;
}
.navbar > .nav-ticket:hover, .navbar > .nav-ticket:active { transform: none; box-shadow: none; }
.nav-links > li { display: flex; align-items: center; }
.nav-links > li > a {
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; height: 36px; padding-block: 0; line-height: 1;
}
/* Inhaltsabhängiger Wechsel statt festem Desktop-Breakpoint. */
.navbar { height: 80px; }
.has-compact-nav .top-bar, .has-compact-nav .nav-links, .has-compact-nav .navbar > .nav-ticket { display: none; }
.has-compact-nav .navbar { height: 70px; gap: 12px; }
.has-compact-nav .nav-logo img { width: 128px; }
.has-compact-nav .event-switch { margin-right: 6px; }
.has-compact-nav .nav-toggle { display: flex; margin-left: 0; }
.has-compact-nav #hauptinhalt [id] { scroll-margin-top: 86px; }
.site-header.nav-measuring .navbar { height: 80px; gap: 16px; }
.site-header.nav-measuring .nav-logo img { width: 150px; }
.site-header.nav-measuring .nav-links { display: flex; flex: none; width: max-content; position: absolute; visibility: hidden; }
.site-header.nav-measuring .navbar > .nav-ticket { display: inline-flex; }
.site-header.nav-measuring .event-switch { width: 136px; height: 36px; margin-right: 0; }
.site-header.nav-measuring .nav-toggle { display: none; }
@media(max-width: 640px) { .has-compact-nav .navbar { gap: 8px; } .has-compact-nav .nav-logo img { width: 120px; } }
@media(max-width: 365px) { .has-compact-nav .navbar { gap: 4px; } .has-compact-nav .nav-logo img { width: 100px; } }
/* Fallback bis zur ersten Messung oder ohne JavaScript. */
@media(max-width: 1000px) {
 body:not(.nav-ready) .top-bar, body:not(.nav-ready) .nav-links, body:not(.nav-ready) .navbar > .nav-ticket { display: none; }
 body:not(.nav-ready) .nav-toggle { display: flex; }
}

/* Header: Text und Funktionsicon unabhängig vertikal einmitten. */
.navbar > .nav-ticket > .btn-label { display: flex; align-items: center; height: 100%; line-height: 1.6; }
.navbar > .nav-ticket > .btn-icon { display: flex; align-items: center; justify-content: center; align-self: center; line-height: 1; }
.navbar > .nav-ticket > .btn-icon::before { display: block; line-height: 1; }
.navbar > .nav-logo { margin-right: 8px; }
.has-compact-nav .navbar > .nav-logo { margin-right: 0; }
.site-header.nav-measuring .navbar > .nav-logo { margin-right: 8px; }
/* Vereinslogos nur dekorativ: absolut, beschnitten, ohne Layoutänderung. */
#spielplan .hall-match-side { position: relative; overflow: hidden; isolation: isolate; }
#spielplan .hall-match-side > .hall-match-slot,
#spielplan .hall-match-side > .hall-match-team { position: relative; z-index: 1; }
#spielplan .hall-match-side > .hall-match-logo {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: 50%; left: -4px; width: auto; height: 160%; max-width: none; max-height: none;
  object-fit: contain; opacity: .12; filter: grayscale(1);
  transform: translateY(-50%) rotate(-12deg); transform-origin: center;
}
#spielplan .hall-match-side:last-child > .hall-match-logo {
  left: auto; right: -4px; transform: translateY(-50%) rotate(12deg);
}
@media(max-width: 640px) {
  #spielplan .hall-match-summary { padding: 6px 10px; }
  #spielplan .hall-match-sets-scroll { padding-inline: 10px; }
}

/* Gemeinsame Sieger-Timeline: Männer über, Frauen unter der Saisonachse. */
.champions-timeline{min-width:0;margin-top:18px;}
.champions-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:4px 0 0;}
.champions-caption{margin:0!important;color:var(--mid-gray)!important;font-size:.9rem;}
.champions-controls{display:flex;gap:8px;flex:0 0 auto;}
.timeline-control{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--light-gray);border-radius:var(--radius-sm);background:var(--white);color:var(--primary);}
.timeline-control i{color:inherit;}.timeline-control:hover:not(:disabled){background:var(--primary);color:var(--white);}.timeline-control:disabled{opacity:.35;cursor:default;}.timeline-control[hidden]{display:none;}
.champions-scroll{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:none;padding:2px 0 6px;}
.champions-scroll:focus-visible,.timeline-control:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.champions-track{display:grid;grid-auto-flow:column;grid-auto-columns:192px;grid-template-columns:220px;list-style:none;margin:0;padding:0;width:max-content;min-width:100%;}
.championship{display:grid;grid-template-rows:128px 84px 128px;padding:0;list-style:none;scroll-snap-align:end;min-width:0;}
.champion-card{min-height:0;height:108px;margin:0 6px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;border:1px solid var(--light-gray);border-radius:var(--radius-md);background:var(--white);color:var(--primary);}
.champion-category{font-family:var(--font-display);font-size:.72rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--mid-gray);line-height:1.2;}
.champion-logo{width:36px;height:36px;display:block;object-fit:contain;}.champion-logo[hidden]{display:none;}
.champion-logo-fallback{width:36px;height:36px;display:grid;place-items:center;background:var(--off-white);border-radius:50%;color:var(--primary-mid);}.champion-logo-fallback i{color:inherit;font-size:1.4rem;}.champion-logo-fallback[hidden]{display:none;}
.champion-card .champion-name{font-family:var(--font-display);font-size:1rem;font-weight:700;line-height:1.15;letter-spacing:0;text-transform:none;color:var(--primary);margin:0;min-height:2.3em;display:flex;align-items:center;justify-content:center;}
.championship-axis{height:84px;position:relative;text-align:center;}
.championship-axis::before{content:'';position:absolute;left:0;right:0;top:46px;height:2px;background:var(--light-gray);}
.championship:first-child .championship-axis::before{left:50%;}.championship:last-child .championship-axis::before{right:50%;}
.championship-period{position:absolute;top:12px;left:0;right:0;color:var(--primary);font-family:var(--font-display);font-size:.85rem;font-weight:600;line-height:1.1;}
.championship-event{white-space:nowrap;position:absolute;top:46px;left:50%;transform:translate(-50%,-50%);border-radius:var(--radius-sm);padding:5px 12px;background:var(--primary);color:var(--white);font-family:var(--font-display);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.1;}
.championship[data-event="halle"] .championship-event{background:var(--accent);}
.champions-status{margin:6px 0 0!important;color:var(--mid-gray)!important;font-size:.78rem;min-height:1.3em;}
@media(max-width:640px){.champions-track{grid-auto-columns:192px;}.champions-toolbar{align-items:center;}.champions-caption{max-width:170px;font-size:.82rem;}.champion-card{margin-inline:6px;}.champions-timeline{margin-top:18px;}}

/* Timeline: kompakte Steuerung, offene nächste Ausgabe und jüngste Sieger. */
.timeline-control{min-width:42px;max-width:42px;flex:0 0 42px;padding:0;margin:0;line-height:1;}
.champions-timeline.has-preview .champions-track{grid-template-columns:144px 220px;}
.championship-preview .champion-card{border-style:dashed;}
.championship-preview .champion-name{color:var(--mid-gray);font-size:.9rem;}
.championship-preview .champion-logo-fallback{opacity:.55;}
.championship.is-latest .champion-card{height:128px;border-color:var(--accent);}
.championship-latest{position:absolute;bottom:8px;left:0;right:0;font-family:var(--font-display);font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);line-height:1.1;}

.champion-card:first-child{align-self:end;}
.champion-card:last-child{align-self:start;}
.championship.is-latest .champion-logo{width:44px;height:44px;}
#archiv > .container > p{margin-bottom:20px!important;}

.champions-caption{line-height:1.35;}
@media(max-width:640px){
  .champions-timeline .champions-track{grid-auto-columns:164px;grid-template-columns:176px;}
  .champions-timeline.has-preview .champions-track{grid-template-columns:76px 176px;}
  .championship-preview .championship-event{font-size:.65rem;padding:4px 7px;}
  .championship-preview .champion-name{font-size:.85rem;}
}

.timeline-control:disabled,.timeline-control:disabled i{color:var(--primary);}

/* Nur das sehr helle Wigoltingen-Zeichen bekommt zusätzliche Tonwertkorrektur. */
#spielplan .hall-match-side > .hall-match-logo.hall-match-logo-contrast { opacity: .2; mix-blend-mode: multiply; }

/* Gemeinsame Highlight-Kacheln: Desktop-Raster, mobil bewusst bedienbarer Slider. */
.highlights-intro{max-width:680px;margin:12px 0 0;color:var(--mid-gray)}
.highlight-detail{display:block;margin-bottom:6px;color:var(--mid-gray);font-family:var(--font-display);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.event-highlights-grid .info-card-title{margin-bottom:10px}
.highlight-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}
.highlight-controls[hidden]{display:none}
.highlight-position{color:var(--mid-gray);font-size:.8rem;margin-right:auto}
.highlight-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid var(--light-gray);border-radius:var(--radius-sm);background:var(--white);color:var(--primary);cursor:pointer}
.highlight-control i{color:inherit;font-size:14px}
.highlight-control:disabled{opacity:.35;cursor:default}
.highlight-control:focus-visible,.event-highlights-grid:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:640px){
 .event-highlights-grid{display:grid;grid-auto-flow:column;grid-auto-columns:86%;grid-template-columns:none;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--light-gray) transparent;padding-bottom:10px}
 .event-highlights-grid .info-card{scroll-snap-align:start;min-width:0;box-shadow:none}
 .event-highlights-grid .info-card:hover{transform:none;box-shadow:none}
}

/* Endloser Mobile-Slider mit zentrierten Kacheln und kompaktem Fortschritt. */
.highlight-clone{display:none!important}
.highlight-controls{justify-content:center;gap:8px;margin-top:8px}
.highlight-control{flex:0 0 28px;width:28px;height:32px;border:0;background:transparent;color:var(--mid-gray)}
.highlight-control:hover{color:var(--primary)}
.highlight-control i{font-size:12px}
.highlight-dots{display:flex;align-items:center;justify-content:center;gap:0}
.highlight-dot{display:grid;place-items:center;width:20px;height:32px;border:0;padding:0;background:transparent;cursor:pointer;transition:width .2s ease}
.highlight-dot::before{content:'';display:block;width:5px;height:5px;border-radius:99px;background:var(--light-gray);transition:width .2s ease,background .2s ease}
.highlight-dot.active{width:34px}
.highlight-dot.active::before{width:24px;background:var(--primary)}
.highlight-dot:focus-visible{outline:2px solid var(--primary);outline-offset:0;border-radius:var(--radius-sm)}
@media(max-width:640px){
 .event-highlights-grid{grid-auto-columns:100%;padding:0 7%;scroll-padding-inline:7%;scrollbar-width:none;gap:12px}
 .event-highlights-grid::-webkit-scrollbar{display:none}
 .event-highlights-grid .info-card{scroll-snap-align:center}
 .event-highlights-grid .highlight-clone{display:flex!important}
}
@media(prefers-reduced-motion:reduce){.highlight-dot,.highlight-dot::before{transition:none}}

/* Legacy-Buttonbreite und oberen Formularabstand für Slider-Steuerung zurücksetzen. */
.highlight-controls button{min-width:0;max-width:none;margin:0;box-shadow:none;letter-spacing:0}

/* Filter und Menüs bleiben scrollbar, ohne überlagernde Scrollleisten. */
.news-filter,.teams-filter,#spielplan .schedule-filter,.content-tabs,.mobile-nav{scrollbar-width:none;-ms-overflow-style:none}
.news-filter::-webkit-scrollbar,.teams-filter::-webkit-scrollbar,#spielplan .schedule-filter::-webkit-scrollbar,.content-tabs::-webkit-scrollbar,.mobile-nav::-webkit-scrollbar{display:none;width:0;height:0}

/* Hauptkategorie verlinkt, rechter Pfeil klappt separat das Untermenü auf. */
.mobile-nav-group > summary:has(.mobile-nav-parent){display:flex;padding:0 44px 0 0}
.mobile-nav-group > summary .mobile-nav-parent{display:block;flex:1;min-width:0;padding:14px 0;margin:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-decoration:none}
.mobile-nav-group > summary .mobile-nav-parent:focus-visible{outline:2px solid var(--white);outline-offset:2px}
.mobile-nav-submenu{padding:0 0 10px;border:0;background:transparent}
.mobile-nav-submenu a{padding:10px 0;font-size:1.35rem;font-weight:500;line-height:1.15;letter-spacing:.06em;color:rgba(255,255,255,.76)}
.mobile-nav-submenu a:hover{color:var(--white);background:transparent}

/* Kontaktzeile als sichtbare Einheit zentrieren; Legacy-Weiss des Icons verhindern. */
.org-contact-link{align-self:center;width:max-content;max-width:100%}
.org-contact-link i{color:inherit;flex:0 0 auto}

/* Slider-Steuerung ohne Buttonfläche oder Hover-Schatten; nur das Play/Pause-Icon wechselt. */
.highlight-controls button,.highlight-controls button:hover,.highlight-controls button:focus,.highlight-controls button:active{box-shadow:none;background:transparent;transform:none;border:0}

/* Mobile News: voller Abschlussbutton unter maximal drei Karten. */
#news .news-card[hidden]{display:none}
.news-more-mobile{display:none}
@media(max-width:640px){
 #news .section-header-right{display:none}
 #news .news-grid{grid-template-columns:minmax(0,1fr)}
 #news .news-more-mobile{display:block;margin-top:20px}
 #news .news-more-mobile .btn{width:100%}
}

/* Einheitlicher Abstand zwischen Abschnittskopf und Inhalt. */
:root{--section-heading-gap:24px;--section-intro-gap:12px}
.section-title{padding:0}
.section-intro{margin:var(--section-intro-gap) 0 var(--section-heading-gap)}
@media(max-width:640px){:root{--section-heading-gap:18px}}

.champions-controls .timeline-control{width:32px;height:32px;min-width:32px;max-width:32px;margin:0;padding:0;font-size:.8rem;box-shadow:none}

/* Datum und Austragungsort auf Mobile stets als zwei eigene Zeilen. */
@media(max-width:640px){
 .hero-meta{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:12px}
 .hero-meta-item{width:100%;min-width:0}
 .hero-meta-icon{flex-shrink:0}
 .hero-meta-item>span{min-width:0}
}

/* Originale Partnerlogos: einheitliche Box, unverzerrt und vollständig sichtbar. */
.sponsor-row-confirmed{gap:16px}
.sponsor-logo.sponsor-confirmed{flex:0 1 240px;width:240px;min-width:0;min-height:120px;padding:16px 24px}
.sponsor-logo.sponsor-confirmed img{display:block;width:100%;height:88px;max-width:100%;object-fit:contain}
@media(max-width:640px){
 .sponsor-logo.sponsor-confirmed{flex:0 1 calc(50% - 8px);width:calc(50% - 8px);max-width:calc(50% - 8px);min-height:104px;padding:12px}
 .sponsor-logo.sponsor-confirmed img{height:76px}
}

.champions-scroll::-webkit-scrollbar{display:none;width:0;height:0}

/* Desktop-Zeitstrahl mit der Maus greifen; Touch-Scrollen bleibt nativ. */
@media(pointer:fine){.champions-scroll{cursor:grab;user-select:none}.champions-scroll img{-webkit-user-drag:none}}
.champions-scroll.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}

/* Tastaturzugang ohne Änderung des ruhenden Designs. */
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 10000; transform: translateY(-150%); padding: 10px 16px; border-radius: var(--radius-sm); background: var(--white); color: var(--primary); font-family: var(--font-body); }
.skip-link:focus { transform: none; outline: 3px solid var(--accent); }
:is(a,button,summary,input,textarea,select,[tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-dropdown.keyboard-dismissed .dropdown-menu { visibility: hidden; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Schon vor der ersten JS-Messung dieselben mobilen Header-Masse reservieren. */
@media(max-width:1000px) {
 body:not(.nav-ready) .navbar { height:70px; gap:12px; }
 body:not(.nav-ready) .navbar > .nav-logo { margin-right:0; }
 body:not(.nav-ready) .nav-logo img { width:128px; }
 body:not(.nav-ready) .event-switch { margin-right:6px; }
 body:not(.nav-ready) .nav-toggle { margin-left:0; }
}
@media(max-width:640px) {
 body:not(.nav-ready) .navbar { gap:8px; }
 body:not(.nav-ready) .nav-logo img { width:120px; }
}
@media(max-width:365px) {
 body:not(.nav-ready) .navbar { gap:4px; }
 body:not(.nav-ready) .nav-logo img { width:100px; }
}

/* Kleine Sponsoringkategorien: auch mobil zwei gleich breite Kacheln. */
@media(max-width:640px) {
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) { gap:12px; align-items:stretch; }
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) > .sponsor-logo {
  flex:0 0 calc((100% - 12px)/2); width:calc((100% - 12px)/2);
  max-width:calc((100% - 12px)/2); min-width:0; min-height:96px; padding:12px;
 }
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) > .sponsor-placeholder { gap:10px; }
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) .btn { min-width:0; max-width:100%; white-space:normal; }
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) .sponsor-logo > a:not(.btn) { width:100%; min-width:0; }
 :is(.sponsor-row-teams,.sponsor-row-patrons,.sponsor-row-co) .sponsor-logo img { max-width:100%; max-height:72px; object-fit:contain; }
}

/* Originale Negativlogos lesbar auf dunkler Fläche; fehlende Logos als Klarname. */
.sponsor-logo.sponsor-reversed { background:var(--primary); }
.sponsor-logo.sponsor-name-only { text-decoration:none; text-align:center; }
.sponsor-name-only .sponsor-name { color:var(--primary); font-family:var(--font-display); font-size:1rem; font-weight:700; line-height:1.3; }

/* TFP: unveränderte weisse Wortmarke direkt unter dem Original-Signet. */
.sponsor-logo.sponsor-confirmed.sponsor-tfp { flex-direction:column; gap:10px; }
.sponsor-logo.sponsor-tfp img.sponsor-tfp-signet { width:68px; height:68px; max-height:68px; }
.sponsor-logo.sponsor-tfp img.sponsor-tfp-wordmark { width:160px; max-width:100%; height:auto; max-height:18px; }
@media(max-width:640px) {
 .sponsor-logo.sponsor-confirmed.sponsor-tfp { gap:8px; }
 .sponsor-logo.sponsor-tfp img.sponsor-tfp-signet { width:52px; height:52px; max-height:52px; }
 .sponsor-logo.sponsor-tfp img.sponsor-tfp-wordmark { width:125px; max-height:14px; }
}

/* Dropdowns: gerundeter Rahmen und innenliegende dezente Scrollleiste. */
.contact-select-options { padding:4px; max-height:none; overflow:hidden; isolation:isolate; }
.contact-select-scroll { max-height:min(260px,50vh); max-height:min(260px,50dvh); overflow-x:hidden; overflow-y:auto; }
.ui-scroll-area { overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:rgba(41,37,91,.28) transparent; }
.ui-scroll-area::-webkit-scrollbar { width:8px; height:8px; }
.ui-scroll-area::-webkit-scrollbar-track { background:transparent; margin-block:5px; }
.ui-scroll-area::-webkit-scrollbar-thumb { background:rgba(41,37,91,.28); border:2px solid transparent; background-clip:padding-box; border-radius:999px; }
.ui-scroll-area::-webkit-scrollbar-thumb:hover { background-color:rgba(41,37,91,.48); }
.ui-scroll-area::-webkit-scrollbar-button { display:none; width:0; height:0; }
.ui-scroll-area::-webkit-scrollbar-corner { background:transparent; }
@supports selector(::-webkit-scrollbar) { .ui-scroll-area { scrollbar-width:auto; scrollbar-color:auto; } }
@media(forced-colors:active) { .ui-scroll-area { scrollbar-color:auto; } .ui-scroll-area::-webkit-scrollbar-thumb { background:CanvasText; } }


/* Gemeinsamer Formularstandard: Eingabeflächen bleiben auf jedem Section-Hintergrund weiss. */
#hauptinhalt :is(.form-input,.form-textarea,.form-select,.contact-select-trigger,.article-share-url),
#hauptinhalt :is(.form-input,.form-textarea,.form-select,.contact-select-trigger,.article-share-url):is(:hover,:focus,:focus-visible,:active) {
 background:var(--white);
}
#hauptinhalt .form-select option { background:var(--white); color:var(--primary); }

/* Einheitliche Einleitungen auf hellen Inhaltsflächen; dunkle Event-Heros ausnehmen. */
:root { --text-intro:#686e84; }
#hauptinhalt > section.section :is(.section-intro,.teams-intro,.highlights-intro,.archive-section-intro) { color:var(--text-intro); }
