/* =====================================================================
   JSG Lünen – Stylesheet
   Farben & Design zentral über CSS-Variablen (:root) anpassbar.
   Mobile-First, responsive, barrierearm.
   ===================================================================== */
/* Schriften lokal gehostet (DSGVO) – Dateien in assets/fonts/, Quelle: @fontsource */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* --- Markenfarben: Schwarz-Weiß (CI) – hier zentral ändern --- */
  --color-primary: #111418;        /* Schwarz */
  --color-primary-dark: #000000;   /* reines Schwarz */
  --color-primary-light: #33373f;  /* Dunkelgrau */
  --color-accent: #ffffff;         /* Weiß (CTAs auf dunklem Grund) */
  --color-black: #111418;
  --color-white: #ffffff;

  /* --- Neutrale Töne --- */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f5f7;
  --color-surface: #ffffff;
  --color-border: #e3e5e9;
  --color-text: #15181d;
  --color-text-muted: #5c636e;
  --color-text-invert: #ffffff;

  /* --- Statusfarben --- */
  --color-success: #1c7c4a;
  --color-success-bg: #e6f5ec;
  --color-error: #b3261e;
  --color-error-bg: #fce8e6;

  /* --- Typografie (modern) --- */
  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-heading: "Sora", "Inter", system-ui, -apple-system, Arial, sans-serif;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.375rem;
  --fs-700: 1.75rem;
  --fs-800: 2.25rem;
  --fs-900: clamp(2.25rem, 5vw, 3.5rem);

  /* --- Abstände & Form --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.05);
  --shadow: 0 10px 30px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 17, 22, 0.16);

  --container: 1180px;
  --header-h: 76px;
}

/* =====================================================================
   Reset / Basis
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  font-family: var(--font-base);
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img,
picture,
svg { max-width: 100%; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); }

ul { padding-left: 1.1rem; }

/* =====================================================================
   Zugänglichkeit
   ===================================================================== */
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -120px;
  z-index: 1000;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: var(--space-3);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.7);
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =====================================================================
   Layout-Hilfen
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section { padding-block: var(--space-7); }
.section--alt { background: var(--color-bg-alt); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section__head p { color: var(--color-text-muted); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.lead { font-size: var(--fs-500); color: var(--color-text-muted); }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--fs-400);
  line-height: 1;
  white-space: nowrap;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--accent { background: var(--color-accent); color: var(--color-black); }
.btn--accent:hover { background: #e9ebee; }

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn--lg { padding: 1rem 1.7rem; font-size: var(--fs-500); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* =====================================================================
   Header / Navigation (responsiv: Mobile -> Tablet -> Laptop -> Desktop)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 17, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  width: 100%;
  max-width: 1320px;            /* eigener, etwas breiterer Header-Content (1200–1400) */
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;               /* Mobile/Tablet: Logo links, Aktionen rechts */
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h); /* feste Höhe -> kein CLS */
}

/* --- Marke --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: var(--fs-500);
  color: #fff;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: block;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__name { line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Desktop-Navigation (Links) --- */
.nav-desktop { display: none; min-width: 0; }
.nav-desktop ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: var(--space-1); }
.nav-desktop a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-desktop a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.nav-desktop a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.15); }
.nav-label--short { display: none; }

/* --- Header-Aktionen rechts (Shop, Anfrage, Burger) --- */
.header-actions { display: flex; align-items: center; gap: var(--space-2); flex: 0 0 auto; }
.header-anfrage { display: none; } /* erst ab Laptop sichtbar */

/* --- Burger --- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile-Drawer (Klappmenü) --- */
.mobile-drawer {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #0c0e11;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.mobile-drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-drawer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer a:not(.btn) {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.mobile-drawer a:not(.btn):hover { background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; }
.mobile-drawer a:not(.btn)[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.14); }
.mobile-drawer__cta { display: flex; flex-direction: column; gap: var(--space-2); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: var(--space-4); }

/* Mobile (<768px): nur Logo + Burger; Shop & Anfrage im Drawer */
@media (max-width: 767px) {
  .header-shop { display: none; }
}

/* Laptop/Desktop (>=1000px): volle Navigation, kein Burger */
@media (min-width: 1000px) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: start; }
  .nav-desktop { display: block; justify-self: center; }
  .header-actions { justify-self: end; }
  .header-anfrage { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-drawer { display: none; }
}

/* Laptop (1000–1399px): enger gesetzt + Kurz-Labels, niemals Umbruch */
@media (min-width: 1000px) and (max-width: 1399px) {
  .nav-desktop ul { gap: 0; }
  .nav-desktop a { padding: 0.45rem 0.6rem; font-size: 0.86rem; }
  .header-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
  .nav-label--full { display: none; }
  .nav-label--short { display: inline; }
}


/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(20, 24, 29, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(120, 126, 136, 0.32), transparent 55%),
    var(--color-primary-dark);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero h1 { color: var(--color-white); margin-bottom: var(--space-4); max-width: 18ch; }
.hero__text { font-size: var(--fs-500); color: rgba(255, 255, 255, 0.9); margin-bottom: var(--space-6); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.hero__stat strong {
  display: block;
  font-size: var(--fs-800);
  font-weight: 800;
  color: var(--color-white);
}
.hero__stat span { color: rgba(255, 255, 255, 0.8); font-size: var(--fs-300); }

/* =====================================================================
   Page-Header (Innenseiten)
   ===================================================================== */
.page-header {
  background:
    linear-gradient(135deg, #000000, #20242b);
  color: var(--color-white);
  padding-block: var(--space-7);
}
.page-header h1 { color: var(--color-white); }
.page-header p { color: rgba(255, 255, 255, 0.88); max-width: 65ch; margin-top: var(--space-3); }
.breadcrumb {
  font-size: var(--fs-300);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-3);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.9); }

/* =====================================================================
   Karten
   ===================================================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__body h3 { font-size: var(--fs-600); }
.card__meta { font-size: var(--fs-300); color: var(--color-text-muted); display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Events: Datum & Ort fest untereinander -> einheitliche Kartenhöhe */
.card__meta--event { flex-wrap: nowrap; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.card__meta--event time,
.card__meta--event .event-place { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__text { color: var(--color-text-muted); }
.card__footer { margin-top: auto; padding-top: var(--space-2); }
.card__media { display: block; }
.card__title-link { color: inherit; text-decoration: none; }
.card__title-link:hover { text-decoration: underline; }
.card__more { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--color-primary); text-decoration: none; }
.card__more span { display: inline-block; transition: transform 0.15s ease; }
.card__more:hover span { transform: translateX(3px); }

/* News-Artikel (Unterseite) */
.container--narrow { max-width: 760px; }
.post__head { margin-bottom: var(--space-5); }
.post__head h1 { margin-top: var(--space-2); }
.post__lead { color: var(--color-text-muted); font-size: var(--fs-500); margin-top: var(--space-3); }
.post__hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-5); background: var(--color-bg-alt); }
.post__body { max-width: none; }
.post__back { margin-top: var(--space-6); }
.post__back a { font-weight: 700; }
.link-arrow { font-weight: 700; color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.link-arrow span { display: inline-block; transition: transform 0.15s ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* Honeypot (Spam-Falle) – unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sponsoren-Laufband (Startseite) */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding-block: var(--space-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item { flex: 0 0 auto; }
.logo-marquee__item img {
  height: clamp(52px, 8vw, 76px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-marquee__item:hover img { opacity: 1; transform: scale(1.05); }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: var(--space-5); }
}

/* Kontaktseite */
.contact-list, .contact-reasons { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: flex; flex-direction: column; gap: var(--space-2); color: var(--color-text); }
.contact-list a { font-weight: 600; }
.contact-reasons li { line-height: 1.5; }

/* Bild-Lightbox */
.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 4vw; background: rgba(8, 10, 13, 0.88); cursor: zoom-out; opacity: 0; transition: opacity 0.2s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); }
.lightbox__close { position: fixed; top: 1rem; right: 1.25rem; width: 46px; height: 46px; display: grid; place-items: center; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background 0.15s ease; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
}
.tag--muted { background: var(--color-bg-alt); color: var(--color-text-muted); }
.tag--accent { background: var(--color-black); color: var(--color-white); }

/* Definitionsliste in Karten (Teams etc.) */
.data-list { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem var(--space-3); font-size: var(--fs-300); margin: 0; }
.data-list dt { color: var(--color-text-muted); font-weight: 600; }
.data-list dd { margin: 0; color: var(--color-text); }

/* =====================================================================
   Filterleiste
   ===================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: end;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.filter-field { display: flex; flex-direction: column; gap: var(--space-1); }
.filter-field label { font-size: var(--fs-300); font-weight: 700; color: var(--color-text-muted); }
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  font-size: var(--fs-300);
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--color-primary-light); }
.chip[aria-pressed="true"] { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

select,
input,
textarea {
  font: inherit;
  color: var(--color-text);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  width: 100%;
}
select:focus,
input:focus,
textarea:focus { border-color: var(--color-primary-light); }

/* =====================================================================
   Tabellen
   ===================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-400); background: var(--color-surface); }
caption { text-align: left; padding: var(--space-3) var(--space-4); color: var(--color-text-muted); font-size: var(--fs-300); }
th, td { padding: 0.8rem var(--space-4); text-align: left; border-bottom: 1px solid var(--color-border); }
thead th { background: var(--color-bg-alt); font-size: var(--fs-300); text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text-muted); position: sticky; top: 0; }
tbody tr:hover { background: var(--color-bg-alt); }
tbody tr:last-child td { border-bottom: none; }
.result { font-weight: 800; color: var(--color-primary); white-space: nowrap; }

/* =====================================================================
   Spiele
   ===================================================================== */
.match {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.match__date { text-align: center; line-height: 1.2; }
.match__date strong { display: block; font-size: var(--fs-600); }
.match__date span { font-size: var(--fs-300); color: var(--color-text-muted); }
.match__teams { font-weight: 700; }
.match__teams span { display: block; font-size: var(--fs-300); font-weight: 500; color: var(--color-text-muted); }
.match__score { font-size: var(--fs-700); font-weight: 800; color: var(--color-primary); }
.match__badge { font-size: var(--fs-300); color: var(--color-text-muted); }

/* =====================================================================
   News / Artikel
   ===================================================================== */
details.article { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); overflow: hidden; }
details.article > summary { cursor: pointer; padding: var(--space-2) var(--space-4) var(--space-4); font-weight: 700; color: var(--color-primary); list-style: none; }
details.article > summary::-webkit-details-marker { display: none; }
details.article > summary::after { content: " Weiterlesen ▾"; font-size: var(--fs-300); }
details.article[open] > summary::after { content: " Weniger anzeigen ▴"; }
.article__full { padding: 0 var(--space-5) var(--space-5); color: var(--color-text); }
.article__full p { margin-bottom: var(--space-3); }

/* =====================================================================
   Sponsoren
   ===================================================================== */
.sponsor-tier { margin-bottom: var(--space-7); }
.sponsor-tier__title { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.sponsor-card { align-items: center; text-align: center; padding: var(--space-5); }
.sponsor-card .logo-box {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
}
/* Logo liegt absolut in der 3:2-Box und wird immer proportional eingepasst –
   nie verzerrt und nie größer als die Box, egal welches Format das Original hat. */
.sponsor-card .logo-box { position: relative; }
.sponsor-card .logo-box img {
  position: absolute;
  inset: var(--space-4);
  width: calc(100% - 2 * var(--space-4));
  height: calc(100% - 2 * var(--space-4));
  object-fit: contain;
}

/* --- Sponsorenseite (modernes Layout mit Hierarchie) --- */
.sp-tier { margin-bottom: var(--space-8); }
.sp-tier:last-child { margin-bottom: 0; }
.sp-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.sp-head h2 { margin: 0; font-size: var(--fs-700); }
.sp-head__line { flex: 1; height: 1px; background: var(--color-border); }
.sp-head__count {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Stufe 1: Hauptsponsor als große dunkle Bühne */
.sp-feature {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) 3fr;
  gap: var(--space-5);
  background: linear-gradient(135deg, var(--color-primary), #22262e 70%, #2b3038);
  color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.sp-feature__logo {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  margin: var(--space-5) 0 var(--space-5) var(--space-5);
  min-height: 220px;
}
.sp-feature__logo img {
  position: absolute;
  inset: var(--space-5);
  width: calc(100% - 2 * var(--space-5));
  height: calc(100% - 2 * var(--space-5));
  object-fit: contain;
}
.sp-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6) var(--space-6) 0;
}
.sp-feature__over {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.sp-feature__body h3 { margin: 0; color: var(--color-white); font-size: var(--fs-800); }
.sp-feature__text { margin: 0 0 var(--space-2); color: rgba(255, 255, 255, 0.82); max-width: 60ch; }

/* Mittlere Stufen: moderne Karten */
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.sp-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(17, 20, 24, 0.1);
  border-color: #c9cdd3;
}
.sp-card__logo { position: relative; aspect-ratio: 5 / 2; border-bottom: 1px solid var(--color-border); }
.sp-card__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% - var(--space-3));
  object-fit: contain;
}
.sp-card__body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.sp-card__body h3 { margin: 0; font-size: var(--fs-500); }
.sp-card__body p { margin: 0; color: var(--color-text-muted); font-size: var(--fs-300); flex: 1; }
.sp-card__link { margin-top: auto; font-weight: 600; font-size: var(--fs-300); color: var(--color-text); text-decoration: none; white-space: nowrap; }
.sp-card__link:hover { text-decoration: underline; }

/* Letzte Stufe: kompakte Logo-Kacheln */
.sp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.sp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.sp-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 20, 24, 0.09);
  border-color: #c9cdd3;
}
.sp-tile__logo { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.sp-tile__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sp-tile__name { font-weight: 600; font-size: var(--fs-300); }

/* Abschluss-Band: Partner werden */
.sp-cta {
  display: grid;
  grid-template-columns: 2fr auto;
  align-items: center;
  gap: var(--space-6);
  background: linear-gradient(135deg, var(--color-primary), #22262e 70%, #2b3038);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-7);
}
.sp-cta__over {
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.sp-cta h2 { margin: 0 0 var(--space-3); color: var(--color-white); }
.sp-cta p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 60ch; }
.sp-cta__action { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.sp-cta__hint { color: rgba(255, 255, 255, 0.55); font-size: var(--fs-300); }

/* =====================================================================
   Galerie
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }

/* =====================================================================
   CTA-Banner
   ===================================================================== */
.cta-banner {
  /* Fußballrasen von oben + leichte Abdunklung für gute Lesbarkeit */
  background:
    linear-gradient(160deg, rgba(3, 26, 13, 0.42), rgba(3, 26, 13, 0.12) 45%, rgba(3, 26, 13, 0.38)),
    url("../assets/img/pitch.svg") center / cover no-repeat,
    #1b6136;
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255, 255, 255, 0.94); max-width: 55ch; margin: var(--space-3) auto var(--space-5); }
.cta-banner .btn { text-shadow: none; }
.cta-banner .hero__ctas { justify-content: center; }

/* =====================================================================
   Formular
   ===================================================================== */
.form { display: grid; gap: var(--space-5); max-width: 720px; }
.form-row { display: grid; gap: var(--space-2); }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form label .req { color: var(--color-error); }
.form .hint { font-size: var(--fs-300); color: var(--color-text-muted); }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.checkbox input { width: auto; margin-top: 0.25rem; }

.form-status { border-radius: var(--radius); padding: var(--space-4) var(--space-5); display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: var(--color-success-bg); color: var(--color-success); border: 1px solid var(--color-success); }
.form-status--error { background: var(--color-error-bg); color: var(--color-error); border: 1px solid var(--color-error); }

.info-box {
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-alt);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-300);
}
.info-box code { background: rgba(17, 20, 24, 0.08); padding: 0.1rem 0.35rem; border-radius: 4px; }

/* =====================================================================
   Zustände: Laden / Leer / Fehler
   ===================================================================== */
.state { padding: var(--space-6); text-align: center; color: var(--color-text-muted); border: 1px dashed var(--color-border); border-radius: var(--radius); }
.state--error { color: var(--color-error); border-color: var(--color-error); background: var(--color-error-bg); }
.skeleton { background: linear-gradient(90deg, var(--color-bg-alt) 25%, #eef2f7 37%, var(--color-bg-alt) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); min-height: 120px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--space-7) var(--space-5);
  margin-top: var(--space-8);
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-white); }
.footer-grid { display: grid; gap: var(--space-6); margin-bottom: var(--space-6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--color-white); font-size: var(--fs-400); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-nav { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-brand { display: inline-flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--fs-300);
}
.footer-bottom nav { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer-powered {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}
.footer-powered a { color: rgba(255, 255, 255, 0.7); font-weight: 700; }
.footer-powered a:hover { color: #fff; }
.social-links { display: flex; gap: var(--space-3); list-style: none; padding: 0; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.social-links a:hover { background: var(--color-primary); }

/* =====================================================================
   Utilities
   ===================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.flow > * + * { margin-top: var(--space-4); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-700); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose p, .prose ul { margin-bottom: var(--space-4); color: var(--color-text); }

/* Vorstand / Über-uns-Karten */
.vorstand-card { text-align: center; }
.vorstand-card__photo { width: 120px; height: 120px; margin: var(--space-4) auto 0; border-radius: 50%; overflow: hidden; }
.vorstand-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.vorstand-card__photo--ph { display: grid; place-items: center; background: var(--color-bg-alt); color: var(--color-text-muted); font-weight: 800; font-size: 2rem; letter-spacing: 0.02em; }
.vorstand-card .card__body { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.vorstand-card h3 { margin: 0; }
.vorstand-card__contact { font-size: var(--fs-300); margin: 0; }
.vorstand-card__contact a { word-break: break-word; }

/* =====================================================================
   Moderne Verfeinerungen
   ===================================================================== */
/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Karten: moderner Hover + Bild-Zoom */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease; }
.card--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d4d8df; }
.card__media { overflow: hidden; }
.card__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card--link:hover .card__media img { transform: scale(1.05); }

/* Eyebrow als modernes Pill (nur in hellen Sektionen) */
.section .eyebrow {
  background: var(--color-bg-alt);
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

/* Buttons: dezente Tiefe */
.btn--primary { box-shadow: 0 8px 22px rgba(17, 20, 24, .18); }
.btn--accent { box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }

/* Hero & Sektionen luftiger/moderner */
.hero h1 { font-family: var(--font-heading); letter-spacing: -0.02em; }
.hero__inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* Footer-Social moderner */
.social-links a { transition: transform .2s ease, background .2s ease; }
.social-links a:hover { transform: translateY(-3px); }

/* === Hero: Eintritt + lebendiger Hintergrund === */
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7%, 6%) scale(1.18); } }
@keyframes heroPitch { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero__inner > .eyebrow,
.hero__inner > h1,
.hero__inner > .hero__text,
.hero__inner > .hero__ctas { animation: heroRise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__inner > .eyebrow   { animation-delay: .05s; }
.hero__inner > h1         { animation-delay: .16s; }
.hero__inner > .hero__text{ animation-delay: .30s; }
.hero__inner > .hero__ctas{ animation-delay: .44s; }

.hero__stats .hero__stat { animation: heroRise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__stats .hero__stat:nth-child(1) { animation-delay: .56s; }
.hero__stats .hero__stat:nth-child(2) { animation-delay: .64s; }
.hero__stats .hero__stat:nth-child(3) { animation-delay: .72s; }
.hero__stats .hero__stat:nth-child(4) { animation-delay: .80s; }

/* driftendes Leuchten hinter dem Hero-Text */
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 55vmax; height: 55vmax; top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(120,140,180,.26), transparent 60%);
  filter: blur(22px); pointer-events: none;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
/* Spielfeld-Overlay atmet leicht */
.hero::after { animation: heroPitch 26s ease-in-out infinite alternate; }

/* =====================================================================
   Reduzierte Bewegung
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   Lade-Logo (Pull-to-Refresh-Gefühl): Chip mit drehendem Vereinslogo,
   erscheint beim Laden oben mittig und gleitet danach wieder hinaus.
   ===================================================================== */
.page-loader {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 300;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: pageLoaderIn 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page-loader img {
  width: 36px;
  height: 36px;
  animation: pageLoaderSpin 0.9s linear infinite;
}
.page-loader.is-done { animation: pageLoaderOut 0.35s ease both; }
@keyframes pageLoaderIn {
  from { transform: translate(-50%, -80px); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
@keyframes pageLoaderOut {
  from { transform: translate(-50%, 0);     opacity: 1; }
  to   { transform: translate(-50%, -80px); opacity: 0; }
}
@keyframes pageLoaderSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .page-loader { display: none; } }

/* =====================================================================
   Mobil-Optimierungen
   ===================================================================== */

/* Tabellen (Trainingszeiten, Ergebnisse) werden auf schmalen Bildschirmen
   zu übersichtlichen Karten gestapelt statt seitlich zu scrollen. */
@media (max-width: 719px) {
  .table-wrap--stack { overflow: visible; border: none; border-radius: 0; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack thead { display: none; }
  /* Caption nur fuer Screenreader - die sichtbare Ueberschrift steht darueber */
  .table--stack caption {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .table--stack tr {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-3);
  }
  .table--stack tbody tr:hover { background: var(--color-surface); }
  .table--stack td {
    border: none;
    padding: 0.3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-4);
    text-align: right;
  }
  .table--stack td::before {
    content: attr(data-th);
    flex: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    text-align: left;
  }
  /* Zellen ohne Beschriftung (Mannschaft/Begegnung) volle Breite, linksbündig */
  .table--stack td:not([data-th]) { display: block; text-align: left; }
  .table--stack td:empty { display: none; }
  .table--stack .result { font-size: var(--fs-500); }
}

/* Spiel-Karten: auf schmalen Bildschirmen zweizeilig statt gequetscht */
@media (max-width: 599px) {
  .match { grid-template-columns: 56px 1fr; row-gap: var(--space-2); }
  .match__date strong { font-size: var(--fs-500); }
  .match__badge { grid-column: 2; }
  .match__score { grid-column: 2; justify-self: start; }
}

/* Hero kompakter, Buttons in voller Breite untereinander */
@media (max-width: 599px) {
  .hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .hero__inner { padding-block: 2.75rem 3rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .cta-banner .hero__ctas { align-items: stretch; }
}

/* Touch-Geräte: Filter-Chips als bequeme Fingerziele */
@media (pointer: coarse) {
  .chip { padding: 0.62rem 1.05rem; }
}

/* Ankreuzfelder nicht auf volle Breite ziehen und gut antippbar machen */
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--color-primary); }

/* Sponsoren mobil: zwei kompakte Karten nebeneinander statt einer mächtigen
   Karte pro Zeile. Die Kurzbeschreibung gibt es ab Tablet-Breite. */
@media (max-width: 859px) {
  .sponsor-tier .grid--3 { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  /* Einziger Sponsor einer Stufe (z. B. Hauptsponsor): volle Breite */
  .sponsor-tier .grid--3 .sponsor-card:only-child { grid-column: 1 / -1; }
}

/* Sponsorenseite (neues Layout) mobil */
@media (max-width: 859px) {
  .sp-tier { margin-bottom: var(--space-7); }
  .sp-head h2 { font-size: var(--fs-600); }
  .sp-feature { grid-template-columns: 1fr; gap: 0; }
  .sp-feature__logo { margin: var(--space-4) var(--space-4) 0; min-height: 170px; }
  .sp-feature__logo img { inset: var(--space-4); width: calc(100% - 2 * var(--space-4)); height: calc(100% - 2 * var(--space-4)); }
  .sp-feature__body { padding: var(--space-5) var(--space-4) var(--space-5); }
  .sp-feature__body h3 { font-size: var(--fs-700); }
  .sp-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .sp-tiles { grid-template-columns: 1fr 1fr; }
  .sp-cta { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); }
  .sp-cta__action { align-items: stretch; width: 100%; }
}
@media (max-width: 639px) {
  .sp-card { padding: var(--space-4); gap: var(--space-3); }
  .sp-card__logo { aspect-ratio: 3 / 2; }
  .sp-card__body h3 { font-size: 1rem; }
  .sp-card__body p { display: none; }
  /* Einzige Karte einer Stufe: volle Breite, Beschreibung darf bleiben */
  .sp-grid .sp-card:only-child { grid-column: 1 / -1; }
  .sp-grid .sp-card:only-child .sp-card__body p { display: block; }
}
@media (max-width: 639px) {
  .sponsor-card { padding: var(--space-3); }
  .sponsor-card .logo-box { margin-bottom: 0; padding: var(--space-3); }
  .sponsor-card .card__body { padding: var(--space-3) var(--space-2); gap: var(--space-2); }
  .sponsor-card .card__body h3 { font-size: 1rem; }
  .sponsor-card .card__text { display: none; }
  .sponsor-card .card__footer { padding-top: 0; width: 100%; }
  .sponsor-card .card__footer .btn { width: 100%; padding: 0.55rem 0.8rem; font-size: 0.82rem; }
  /* Hauptsponsor allein in der Stufe: Beschreibung darf bleiben */
  .sponsor-tier .grid--3 .sponsor-card:only-child .card__text { display: block; font-size: var(--fs-300); }
}

/* Hero-Kennzahlen mobil: alle vier in EINER Zeile statt umgebrochen */
@media (max-width: 599px) {
  .hero__stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: 2.5rem;
  }
  .hero__stat { min-width: 0; }
  .hero__stat strong { font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
  .hero__stat span { font-size: 0.68rem; display: block; line-height: 1.3; }
}

/* =====================================================================
   Profi-Layout: News-Aufmacher, Begrüßungsband, gruppiertes Menü
   ===================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- News-Hero (Slider) --- */
.hero--news { overflow: hidden; }
.news-hero { position: relative; z-index: 1; min-height: clamp(420px, 58vh, 560px); }
.news-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(2rem, 5vw, 3.25rem);
  background-size: cover;
  background-position: center;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.news-hero__slide.is-active { opacity: 1; pointer-events: auto; }
a.news-hero__slide:hover { text-decoration: none; }
.news-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.82) 88%);
}
.news-hero__content { position: relative; display: grid; gap: var(--space-3); justify-items: start; }
.news-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--color-white);
  max-width: 24ch;
}
.news-hero__excerpt {
  color: rgba(255, 255, 255, 0.88);
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-hero__slide .card__meta time { color: rgba(255, 255, 255, 0.75); }
.news-hero__more { margin-top: var(--space-1); }
a.news-hero__slide:hover .news-hero__more { transform: translateY(-2px); }
/* Intro-Slide (Fallback ohne News) */
.news-hero__slide--intro { align-items: center; }
.news-hero__slide--intro h2 {
  color: var(--color-white);
  font-size: var(--fs-900);
  max-width: 18ch;
  margin-bottom: var(--space-2);
}
/* Punkte-Navigation */
.news-hero__dots {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.news-hero__dots button {
  width: 11px; height: 11px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.news-hero__dots button[aria-current="true"] { background: var(--color-white); width: 24px; }

/* --- Begrüßungsband unter dem Aufmacher --- */
.welcome-band {
  background: linear-gradient(135deg, #000000, #171b21);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: var(--space-5);
}

/* Drei gleichwertige Aktions-Kacheln */
.quick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 767px) { .quick-tiles { grid-template-columns: 1fr; } }
.quick-tile {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.95rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--color-white);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.quick-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.32);
}
.quick-tile__ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.15rem;
}
.quick-tile__txt { display: grid; line-height: 1.35; min-width: 0; }
.quick-tile__txt b { font-weight: 700; }
.quick-tile__txt small { color: rgba(255, 255, 255, 0.62); font-size: 0.8rem; }
.quick-tile__arrow { margin-left: auto; color: rgba(255, 255, 255, 0.5); transition: transform 0.15s ease, color 0.15s ease; }
.quick-tile:hover .quick-tile__arrow { transform: translateX(3px); color: var(--color-white); }

/* Kennzahlen: dezente Zeile unter den Kacheln */
.welcome-band .hero__stats {
  margin-top: 0;
  justify-content: space-between;
  gap: var(--space-5);
}
.welcome-band .hero__stat strong { font-size: var(--fs-700); }

/* --- Gruppiertes Desktop-Menü (Dropdowns) --- */
.nav-desktop .nav-group { position: relative; }
/* Gruppen-Punkt ist ein normaler Link (klickbar) mit Pfeil */
.nav-desktop .nav-group__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-desktop .nav-group.is-active > .nav-group__link { color: #fff; background: rgba(255, 255, 255, 0.15); }
.nav-caret { font-size: 0.7em; opacity: 0.7; transition: transform 0.15s ease; }
.nav-group:hover .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  background: #14171c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 80;
}
/* Unsichtbare Brücke, damit der Hover beim Übergang nicht abreißt */
.nav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}
.nav-sub a { display: block; padding: 0.55rem 0.85rem; border-radius: 9px; white-space: nowrap; }

/* --- Mobiles Menü: Gruppen-Zwischenüberschriften --- */
.drawer-heading {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.mobile-drawer nav > ul { list-style: none; padding: 0; margin: 0; }

/* --- Top-Leiste über dem Header: Social Media + Online-Shop --- */
.topbar { background: #000000; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.topbar__inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--space-4);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.topbar a:hover { color: #ffffff; text-decoration: none; }
.topbar a svg { width: 16px; height: 16px; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.18); }

/* --- Eingerückte Filter-Links im Teams-Dropdown (Altersklassen) --- */
.nav-sub__indent a { padding-left: 1.7rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }
/* Trennlinie nach dem letzten Altersklassen-Link */
.nav-sub__indent + li:not(.nav-sub__indent) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.3rem;
  padding-top: 0.3rem;
}

/* --- Newsticker in der Top-Leiste --- */
.topbar__ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* weiche Kanten links/rechts */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.topbar__ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  padding-right: 1.4rem; /* gleicher Abstand am Nahtpunkt der Schleife */
  will-change: transform;
  animation: tickerMove 30s linear infinite;
}
.topbar__ticker-track a { color: rgba(255, 255, 255, 0.78); font-size: 0.82rem; font-weight: 600; }
.topbar__ticker-track a:hover { color: #ffffff; text-decoration: none; }
.topbar__tick-sep { color: rgba(255, 255, 255, 0.35); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.topbar__ticker:hover .topbar__ticker-track { animation-play-state: paused; }
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar__ticker-track { animation: none !important; }
}

/* =====================================================================
   Über-uns-Seite: Text + Zahlen-Karte nebeneinander, Vorstand kompakt
   ===================================================================== */
.about-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1.6fr 1fr; gap: var(--space-8); }
}
.about-facts {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5) var(--space-6);
}
.about-facts h3 { margin-bottom: var(--space-4); }
.about-facts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.about-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.about-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.about-facts strong { font-family: var(--font-heading); font-size: var(--fs-700); font-weight: 800; line-height: 1; }
.about-facts span { color: var(--color-text-muted); font-size: var(--fs-300); text-align: right; }

/* Vorstand: Kartengröße unabhängig von der Personenzahl */
.vorstand-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Sponsoren-Streifen: heller Hintergrund direkt unter dem Hero,
   damit die Logos gut lesbar sind */
.sponsor-strip {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-5);
}
.sponsor-strip__label { text-align: center; margin: 0 0 var(--space-3); }
.sponsor-strip__label a {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}
.sponsor-strip__label a:hover { color: var(--color-primary); text-decoration: none; }
