/* ═══════════════════════════════════════════════════════════════════════
   EDELWEISS CUP — Design System
   Blau-Gold, dunkel, alpin-elegant. Farben aus der bestehenden Farbwelt
   abgeleitet (Blau #1e88e5 / #0b3a82, Gold #d4af37) und veredelt.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* — Blautöne (dunkel → hell) — */
  --navy-950: #06111f;   /* tiefster Hintergrund */
  --navy-900: #0a1c33;   /* Standard-Seitenhintergrund */
  --navy-850: #0c2038;
  --navy-800: #0e2542;   /* alternierende Sektionen */
  --navy-700: #143154;
  --navy-600: #1b3f6b;
  --blue-500: #2f6fb0;   /* Akzentblau (aus #1e88e5 abgeleitet) */
  --blue-400: #4b8bce;

  /* — Gold (Akzent) — */
  --gold-600: #b8912b;
  --gold-500: #d4af37;   /* Kernfarbe aus bestehender Website */
  --gold-400: #e0c159;
  --gold-300: #ecd88a;
  --gold-glow: rgba(212, 175, 55, .35);

  /* — Neutral / Text (warm, редaktionell statt kühl-technisch) — */
  --white: #ffffff;
  --head: #f6f1e6;       /* Überschriften, warmes Elfenbein */
  --text: #dcd8cb;       /* Fliesstext, gedämpftes Elfenbein */
  --muted: #93a1b4;      /* ruhiges Blaugrau für Sekundäres */
  --beige: #e6dcc6;      /* warmer Kontrastton */

  /* — Linien / Flächen — */
  --line: rgba(230, 220, 198, .12);
  --line-gold: rgba(212, 175, 55, .3);
  --card: rgba(230, 220, 198, .028);
  --card-hover: rgba(230, 220, 198, .05);

  /* — Typografie — */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* — Layout — */
  --maxw: 1160px;
  --maxw-narrow: 800px;
  --radius: 3px;         /* scharfe, gedruckt-elegante Ecken statt SaaS-Rundungen */
  --radius-sm: 2px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ─────────────────────────── Reset / Basis ─────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Feine Papier-/Filmkorn-Textur: nimmt dem Dunkelblau das flache, „digitale"
   Verlaufs-Gefühl und macht die Flächen materiell. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; letter-spacing: .2px; color: var(--head); }

a { color: var(--gold-300); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-400); }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; 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;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--gold-500); color: var(--navy-950); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--navy-950); }

/* ─────────────────────────── Layout-Helfer ─────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--navy-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }

/* ─────────────────────────── Typo-Bausteine ─────────────────────────── */
/* Redaktioneller Serif-Kicker (kursiv) statt technischem Uppercase-Label. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-style: italic; font-size: 20px; font-weight: 500;
  letter-spacing: .01em; text-transform: none; color: var(--gold-300);
  margin: 0 0 16px;
}
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--gold-500); opacity: .8; }

.section-title {
  font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 24px; color: var(--head);
  font-weight: 500; letter-spacing: .4px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 62ch; margin: 0 0 40px; line-height: 1.75; }

/* ─────────── Buttons: klassisch-graviert statt SaaS-Pillen ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 38px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-sm { padding: 10px 20px; font-size: 11.5px; letter-spacing: .14em; }
.btn-gold {
  background: var(--gold-500); color: var(--navy-950);
  border-color: var(--gold-500);
}
.btn-gold:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--navy-950); }
.btn-ghost { border-color: var(--line-gold); color: var(--gold-300); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--head); background: rgba(212,175,55,.08); }

/* ─────────────────────────── Header / Nav ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--navy-950) 78%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line-gold); background: color-mix(in oklab, var(--navy-950) 94%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--head); }
.brand:hover { color: var(--head); }
.brand-mark { width: auto; height: 46px; flex: none; object-fit: contain; }
.brand-text { font-family: var(--font-display); font-size: 22px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .brand-text { display: none; } }
.brand-text b { font-weight: 600; }

.site-nav { display: flex; align-items: center; }
.menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.menu > li > a {
  color: var(--text); font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  letter-spacing: .04em; padding: 10px 14px; position: relative; transition: color .2s var(--ease);
}
.menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.menu > li > a:hover { color: var(--head); }
.menu > li > a:hover::after { transform: scaleX(1); }
.menu-cta { margin-left: 8px; }

.menu-btn {
  display: none; align-items: center; gap: 9px; background: transparent;
  border: 1px solid var(--line); color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 9px 15px; border-radius: var(--radius-sm); cursor: pointer;
}
.menu-btn-bars, .menu-btn-bars::before, .menu-btn-bars::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-btn-bars { position: relative; }
.menu-btn-bars::before { position: absolute; top: -6px; }
.menu-btn-bars::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .menu {
    position: absolute; top: 74px; right: 24px; left: 24px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-850); border: 1px solid var(--line-gold); border-radius: var(--radius);
    padding: 14px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .menu > li > a { display: block; padding: 12px 14px; font-size: 16px; }
  .menu > li > a::after { display: none; }
  .menu-cta { margin: 6px 0 0; }
  .menu-cta .btn { width: 100%; }
}

/* ─────────────────────────── Hero ─────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: min(94vh, 880px); display: flex; align-items: center;
  padding: 130px 0 100px;
  background:
    radial-gradient(120% 80% at 50% 120%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Dezenter, kühler Lichtschein oben — kein Gold-„Glow" mehr (das wirkte techy). */
.hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; max-width: 140vw;
  background: radial-gradient(ellipse, rgba(120,150,190,.14) 0%, transparent 60%);
}
.hero-ridge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, transparent, var(--navy-950) 94%);
}
.hero-flower {
  position: absolute; right: -70px; bottom: -50px; width: min(44vw, 440px); height: auto;
  color: var(--blue-500); opacity: .07;
  animation: floaty 16s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .eyebrow { justify-content: center; font-size: 21px; }

/* Offizielles Wappen als Hero-Zeichen. */
.hero-crest {
  width: auto; height: clamp(124px, 17vw, 172px); margin: 0 auto 24px;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.5));
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 68px); margin: 0 0 24px; color: var(--head);
  letter-spacing: 1.5px; font-weight: 500; line-height: 1.04;
}
.hero-lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--beige); max-width: 44ch; margin: 0 auto 40px; line-height: 1.65; font-weight: 400; }

/* Fakten als gravierte Tafel (scharfe Ecken, feine Goldlinien) statt Pille. */
.hero-facts {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
  margin-bottom: 42px;
}
.hero-fact { padding: 18px 40px; display: flex; flex-direction: column; gap: 7px; }
.hero-fact + .hero-fact { border-left: 1px solid var(--line-gold); }
.hero-fact-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.hero-fact-value { font-family: var(--font-display); font-size: 21px; color: var(--head); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.countdown {
  display: flex; justify-content: center; gap: 18px; margin-top: 44px; flex-wrap: wrap;
}
.countdown:empty { display: none; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; min-width: 74px; }
.countdown-num {
  font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); font-weight: 600; color: var(--gold-300);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Dezenter, statischer Hinweis nach unten (kein pulsierender „App"-Punkt). */
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1;
  width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--gold-500));
  display: block;
}
.hero-scroll span { display: none; }

@media (max-width: 560px) {
  .hero-facts { flex-direction: column; }
  .hero-fact + .hero-fact { border-left: 0; border-top: 1px solid var(--line-gold); }
}

/* ── Kurzvorstellung / Features: offen & redaktionell statt Karten-Grid ── */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; }
.feature {
  padding: 4px 34px; border-left: 1px solid var(--line);
  transition: none;
}
.feature:first-child { padding-left: 0; border-left: 0; }
.feature-index {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 30px; color: var(--gold-400); margin-bottom: 14px; line-height: 1;
}
.feature h3 { font-size: 24px; font-weight: 500; margin: 0 0 10px; color: var(--head); }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; gap: 0; }
  .feature { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature:first-child { padding-top: 0; border-top: 0; }
}

/* ── Turnierinfos als gravierte Faktentafel statt Dashboard-Kacheln ── */
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px;
  border: 1px solid var(--line-gold);
}
.info-card {
  position: relative; padding: 32px 30px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.info-card:nth-child(3n) { border-right: 0; }
.info-card:nth-last-child(-n+3) { border-bottom: 0; }
.info-card-label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; font-weight: 600; }
.info-card-value { display: block; font-family: var(--font-display); font-size: 25px; color: var(--head); line-height: 1.25; }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .info-card:nth-child(2n) { border-right: 0; }
  .info-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .info-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-card { border-right: 0 !important; }
  .info-card:not(:last-child) { border-bottom: 1px solid var(--line) !important; }
  .info-card:last-child { border-bottom: 0 !important; }
}

/* ─────────────────────────── Detail-Akkordeon ─────────────────────────── */
.detail-accordion { margin-top: 56px; }
.detail-heading { font-size: 26px; color: var(--head); margin: 0 0 20px; }

.accordion { border-bottom: 1px solid var(--line); }
.accordion:first-of-type { border-top: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  color: var(--head); font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: .3px;
  padding: 24px 4px; transition: color .2s var(--ease);
}
.accordion-trigger:hover { color: var(--gold-300); }
.accordion-icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion-icon::before, .accordion-icon::after {
  content: ""; position: absolute; background: var(--gold-400); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.accordion-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.accordion-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: scaleY(0); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::before { background: var(--gold-300); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-panel > * { margin-top: 0; }
.accordion-panel p, .accordion-panel ul { color: var(--muted); font-size: 16px; padding: 0 4px 24px; margin: 0; }
.accordion-panel ul { padding-left: 22px; }
.accordion-panel li { margin-bottom: 8px; }

/* ─────────────────────────── Zahlen & Fakten ─────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.stat { text-align: center; padding: 34px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(38px, 6vw, 58px); font-weight: 600; color: var(--gold-300); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────────────── Zeitplan / Timeline ─────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 108px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(180deg, var(--gold-500), var(--line-gold));
}
.timeline-item { display: grid; grid-template-columns: 108px 1fr; gap: 0; padding: 18px 0; position: relative; }
.timeline-time {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  text-align: right; padding: 2px 24px 0 0;
}
.t-day { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.t-date { font-family: var(--font-display); font-size: 19px; color: var(--gold-300); line-height: 1.05; white-space: nowrap; }
.timeline-body { position: relative; padding-left: 40px; }
.timeline-body::before {
  content: ""; position: absolute; left: -8px; top: 5px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--gold-500); box-shadow: 0 0 0 4px rgba(212,175,55,.12);
}
.timeline-body h3 { font-size: 21px; font-weight: 500; margin: 0 0 5px; color: var(--head); }
.timeline-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 560px) {
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-time { flex-direction: row; align-items: baseline; gap: 9px; text-align: left; padding: 0 0 2px 34px; }
  .timeline-body { padding-left: 34px; }
  .timeline-body::before { left: 0; top: 6px; }
}

/* ─────────────────────────── Cards / Formular ─────────────────────────── */
.card {
  border: 1px solid var(--line-gold); border-radius: var(--radius); background: var(--card);
  padding: 34px;
}
.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--beige); margin-bottom: 8px; }
.req { color: var(--gold-400); }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--head);
  background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #6f819c; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.form textarea { resize: vertical; min-height: 96px; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #e07a7a; box-shadow: 0 0 0 3px rgba(224,122,122,.15); }
.form-error { display: block; color: #f0a3a3; font-size: 13px; margin-top: 6px; min-height: 1px; }

.form-consent .checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14.5px; cursor: pointer; }
.form-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--gold-500); }
.form .btn { margin-top: 6px; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1px; }
.form-status.ok { color: var(--gold-300); }
.form-status.err { color: #f0a3a3; }

/* ─────────────────────────── Notice / Hinweis-Karten ─────────────────────────── */
.notice { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 18px; padding: 28px 32px; border-left: 2px solid var(--gold-500); }
.notice-icon { display: none; }
.notice h3 { font-size: 21px; font-weight: 500; margin: 0 0 8px; color: var(--head); }
.notice p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ─────────────────────────── Hall of Fame ─────────────────────────── */
.hof-list { list-style: none; margin: 0; padding: 0; }
.hof-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.hof-year { font-family: var(--font-display); font-size: 34px; color: var(--gold-300); }
.hof-body h3 { font-size: 20px; margin: 0 0 4px; color: var(--head); }
.hof-body p { margin: 0; color: var(--muted); }

/* ─────────────────────────── Sponsoren ─────────────────────────── */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.sponsor {
  display: grid; place-items: center; min-height: 128px; padding: 28px;
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.sponsor img { max-height: 60px; width: auto; object-fit: contain; filter: saturate(0) brightness(1.6); opacity: .82; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.sponsor:hover img { filter: none; opacity: 1; }
a.sponsor:hover { border-color: var(--line-gold); background: var(--card-hover); }
.sponsor-empty span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #5f7290; }
.sponsor-cta { text-align: center; margin-top: 30px; color: var(--muted); }
@media (max-width: 780px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sponsor-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────── Abschluss-CTA ─────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--navy-950);
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
}
.cta-band-inner { position: relative; }
.cta-band-inner::before {
  content: "✦"; display: block; color: var(--gold-400); font-size: 16px; margin-bottom: 20px; opacity: .8;
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 500; color: var(--head); margin: 0 0 16px; }
.cta-band p { color: var(--beige); font-size: 18px; margin: 0 0 34px; }
.cta-band .hero-cta { justify-content: center; }

/* ─────────────────────────── Kontakt ─────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.contact-card h3 { font-size: 22px; margin: 0 0 14px; color: var(--head); }
.contact-card p { color: var(--muted); }
.contact-line { font-size: 16px; }
.contact-list { margin: 18px 0 0; padding: 0; }
.contact-list > div { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--gold-400); font-weight: 600; font-size: 14px; min-width: 150px; }
.contact-list dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } .contact-list > div { flex-direction: column; gap: 2px; } }

/* ─────────────────────────── Footer ─────────────────────────── */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--head); }
.footer-brand .brand-mark { width: auto; height: 40px; }
.footer-brand .brand-text { font-family: var(--font-display); font-size: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-legal { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; align-items: flex-start; } }

/* ─────────────────────────── Reveal-Animationen ─────────────────────────── */
/* Nur wenn JS aktiv ist, werden Inhalte zunächst versteckt (Progressive Enhancement).
   Ohne JS bleibt alles sichtbar. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ─────────────────────────── Foto-Hero ─────────────────────────── */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,17,31,.74) 0%, rgba(8,20,36,.68) 42%, rgba(6,17,31,.94) 100%),
    radial-gradient(130% 90% at 50% 24%, rgba(6,17,31,.28), rgba(6,17,31,.72));
}
.hero-photo-section .hero-lead { color: #f0ead9; }

/* ─────────────────────────── Plätze / Course-Cards ─────────────────────────── */
.courses { margin-top: 60px; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.course-card { border: 1px solid var(--line-gold); background: var(--card); overflow: hidden; }
.course-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-round {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold-500); color: var(--navy-950);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-sm);
}
.course-body { padding: 26px 28px 30px; }
.course-body h4 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin: 0 0 4px; color: var(--head); }
.course-sub { color: var(--gold-300); font-size: 14px; margin: 0 0 18px; letter-spacing: .02em; }
.course-specs { margin: 0; padding: 0; }
.course-specs > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.course-specs dt { color: var(--muted); font-size: 14px; }
.course-specs dd { margin: 0; color: var(--head); font-size: 14.5px; font-weight: 600; text-align: right; }
@media (max-width: 780px) { .course-grid { grid-template-columns: 1fr; } }

/* Platz-Übersichtsplan (helle Fläche, da die Karte für weissen Grund gestaltet ist) */
.course-map {
  margin-top: 22px; background: #f4f1ea; border: 1px solid var(--line-gold);
  border-radius: var(--radius); padding: clamp(16px, 3vw, 32px);
}
.course-map img { width: 100%; height: auto; display: block; }
.course-map figcaption {
  margin-top: 16px; text-align: center; font-family: var(--font-display);
  font-style: italic; font-size: 16px; color: #2b3f5c; letter-spacing: .02em;
}

/* ─────────────────────────── Menü-Karte (im Programm) ─────────────────────────── */
.menu-card { margin-top: 16px; border: 1px solid var(--line-gold); padding: 20px 22px; position: relative; }
.menu-eyebrow { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; }
.menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-card li { padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.menu-card li:first-child { border-top: 0; }
.menu-card li b { color: var(--head); font-weight: 600; font-family: var(--font-display); font-size: 17px; }
.menu-price { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-size: 22px; color: var(--gold-300); }

/* ─────────────────────────── Rückblick / Podium ─────────────────────────── */
.recap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; margin-top: 12px; }
.recap-media { margin: 0; }
.recap-media img { width: 100%; height: auto; border: 1px solid var(--line-gold); }
.recap-media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; text-align: center; }
.recap-body .lead { margin-bottom: 14px; }
.hof { margin-top: 34px; }
.hof h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--head); margin: 0 0 12px; }
.hof-item { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hof-item:first-child { border-top: 1px solid var(--line); }
.hof-year { font-family: var(--font-display); font-size: 32px; color: var(--gold-300); }
.hof-body h4 { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin: 0 0 2px; color: var(--head); }
.hof-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.hof-open { opacity: .72; }
.hof-open .hof-year, .hof-open .hof-body h4 { color: var(--muted); }
@media (max-width: 820px) { .recap { grid-template-columns: 1fr; gap: 28px; } .recap-media { max-width: 460px; } }

/* ─────────────────────────── Sponsoren ─────────────────────────── */
.sponsor-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 14px 0 48px; }
.sponsor-logos .sponsor {
  display: grid; place-items: center; min-height: 154px; padding: 26px; overflow: hidden;
  background: #f6f2ea; border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.sponsor-logos .sponsor img { max-height: 94px; max-width: 100%; width: auto; object-fit: contain; filter: none; opacity: 1; }
/* Foto-Kacheln (Marcus Knight, Volvo): bildfüllend statt freigestelltem Logo */
.sponsor-logos .sponsor--photo { padding: 0; }
.sponsor-logos .sponsor--photo img { max-height: none; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .sponsor-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .sponsor-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sponsor-logos .sponsor { min-height: 128px; padding: 18px; }
  .sponsor-logos .sponsor img { max-height: 76px; }
}

.sponsor-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sponsor-cat h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--gold-300); margin: 0 0 14px; letter-spacing: .3px; }
.sponsor-cat-more { margin-top: 28px !important; }
.sponsor-cat ul { list-style: none; margin: 0; padding: 0; }
.sponsor-cat li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--head); font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.sponsor-cat li span { color: var(--muted); font-size: 13px; letter-spacing: .02em; }
@media (max-width: 720px) { .sponsor-cats { grid-template-columns: 1fr; gap: 24px; } }

/* ─────────────────────────── Notice groß / Team ─────────────────────────── */
.notice-lg { border-left: 3px solid var(--gold-500); padding: 30px 34px; }
.notice-lg h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--head); margin: 0 0 10px; }
.notice-lg p { color: var(--muted); margin: 0 0 12px; }
.notice-lg p b { color: var(--head); font-weight: 600; }
.notice-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.team { list-style: none; margin: 0 0 20px; padding: 0; }
.team li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.team li:first-child { border-top: 0; }
.team li b { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--head); }
.team li span { color: var(--gold-300); font-size: 13px; letter-spacing: .04em; }

/* ─────────────────────── Live-Leaderboard (Squabbit-Embed) ─────────────────────── */
.hero-live { margin-top: 38px; }
.leaderboard-embed {
  width: 100%; height: min(86vh, 1180px); margin-top: 8px;
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.leaderboard-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.leaderboard-fallback { margin-top: 16px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 700px) { .leaderboard-embed { height: 80vh; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-flower, .hero-scroll span, .btn, .feature, .info-card, .sponsor, a.sponsor { animation: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}
