/* ============================================================
   DOSKV — Deutscher Online Skatverband
   Stylesheet · Design-System
   ============================================================ */

:root {
  /* Farben: Dunkelgrün */
  --green-900: #0d2b1f;
  --green-800: #143524;
  --green-700: #1a4a2e;
  --green-600: #225e3a;
  --green-felt: #15422c;

  /* Gold */
  --gold:        #c9a558;
  --gold-light:  #e3c483;
  --gold-dark:   #a68637;

  /* Hintergrund */
  --paper:      #f7f5ef;
  --paper-2:    #fdfbf5;
  --paper-card: #ffffff;

  /* Text */
  --ink:          #14201a;
  --ink-2:        #1f2a26;
  --ink-muted:    #5a665e;
  --on-dark:      #f1ede1;
  --on-dark-muted:#b9c4ba;

  /* Linien */
  --line:      #e4dfd1;
  --line-dark: rgba(227,196,131,0.22);

  /* Typografie */
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter Tight", system-ui, -apple-system, sans-serif;

  /* Akzent */
  --accent:       var(--gold);
  --accent-light: var(--gold-light);
  --accent-dark:  var(--gold-dark);

  /* Button-Farbe (emerald) */
  --btn-bg: #1e7a49;
  --btn-fg: #ffffff;
  --btn-bd: #1e7a49;

  /* Radius */
  --radius:    4px;
  --radius-lg: 6px;

  /* Layout */
  --section-pad: 92px;
  --gap:         28px;
  --container:   1240px;
  --header-h:    78px;   /* Höhe der sticky Header-Bar (für sticky Sub-Nav top) */

  --shadow-sm: 0 1px 2px rgba(13,43,31,0.06), 0 2px 8px rgba(13,43,31,0.05);
  --shadow-md: 0 4px 14px rgba(13,43,31,0.10), 0 12px 36px rgba(13,43,31,0.10);
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.serif { font-family: var(--serif); }
.eyebrow {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.045em;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
/* <button class="btn"> so hoch wie <a class="btn"> daneben: Browser setzen bei Buttons line-height „normal“ und einen Rand */
button.btn { line-height: inherit; margin: 0; }

.btn-gold {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bd);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { filter: brightness(1.07); box-shadow: var(--shadow-md); }
.btn-gold:active { filter: brightness(0.97); }

.btn-outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-700);
}
.btn-outline:hover { background: var(--green-900); color: var(--on-dark); }

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(241,237,225,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.10); border-color: var(--accent-dark); color: #fff; }

.btn-outline-dark {
  background: var(--paper-2);
  color: var(--green-900);
  border-color: rgba(241,237,225,0.45);
}
.btn-outline-dark:hover { border-color: var(--accent-dark);}


.btn-icon { padding: 10px 15px; gap: 0; }

.header .nav-cta.btn-icon .card-fan { transform: translateY(-4px) scale(1.22); }
.header .nav-cta.btn-icon {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.header .nav-cta.btn-icon:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
  filter: none;
}

/* Kartenfächer */
.card-fan { position: relative; display: inline-block; width: 36px; height: 25px; flex: none; transform: translateY(-3px); }
.card-fan .fc {
  position: absolute; bottom: 0; left: 50%; margin-left: -8px;
  width: 16px; height: 22px;
  background: #fdfbf5; color: #14201a;
  border: 1px solid rgba(13,43,31,0.35);
  border-radius: 3px;
  display: grid; place-items: center;
  font-family: Georgia, serif; font-size: 12px; line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.22);
  transform-origin: bottom center;
  transition: transform .22s cubic-bezier(.34,1.4,.5,1);
}
.card-fan .fc.red { color: #b3322f; }
.card-fan .fc:nth-child(1) { z-index: 1; }
.card-fan .fc:nth-child(2) { z-index: 2; }
.card-fan .fc:nth-child(3) { z-index: 3; }
.card-fan .fc:nth-child(4) { z-index: 4; }

[data-fan="3"] .card-fan .fc:nth-child(4) { display: none; }
[data-fan="3"] .card-fan .fc:nth-child(1) { transform: rotate(-24deg) translateX(-3px); }
[data-fan="3"] .card-fan .fc:nth-child(2) { transform: rotate(0deg); }
[data-fan="3"] .card-fan .fc:nth-child(3) { transform: rotate(24deg) translateX(3px); }
[data-fan="3"] .btn:hover .card-fan .fc:nth-child(1) { transform: rotate(-34deg) translateX(-5px); }
[data-fan="3"] .btn:hover .card-fan .fc:nth-child(3) { transform: rotate(34deg) translateX(5px); }

/* ============================================================
   Top-Bar
   ============================================================ */
.topbar {
  background: var(--green-900);
  color: var(--on-dark-muted);
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.topbar-links a {
  padding: 6px 12px; border-radius: var(--radius);
  letter-spacing: 0.04em; font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.topbar-links a:hover { color: var(--accent-light); background: rgba(255,255,255,0.04); }
.topbar-links .sep { opacity: 0.3; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { transition: color .15s ease; }
.topbar-right a:hover { color: var(--accent-light); }
.login-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.login-link svg { width: 15px; height: 15px; }

/* ============================================================
   Header / Hauptnav
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,245,239,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.crest {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--green-700), var(--green-900));
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent-light);
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  box-shadow: inset 0 0 0 3px rgba(13,43,31,0.6), var(--shadow-sm);
}
.crest .suit { font-size: 19px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--green-900); letter-spacing: 0.01em; }
.brand-text .sub { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }

.brand-logo {
  width: 210px; height: 54px; flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
}
.drawer .brand-logo { width: 170px; height: 46px; }
.footer .brand-logo { width: 210px; height: 54px; }
.header .brand-logo { background: transparent; }

.mainnav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mainnav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 500; font-size: 15.5px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.mainnav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.mainnav a:hover { color: var(--green-900); }
.mainnav a:hover::after,
.mainnav a.active::after { transform: scaleX(1); }
.mainnav a.active { color: var(--green-900); font-weight: 600; }

.nav-cta { margin-left: 14px; }
.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1.5px solid var(--line);
  background: var(--paper-card); border-radius: var(--radius);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 22px; height: 2px; background: var(--green-900); transition: transform .25s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(13,43,31,0.5); z-index: 180;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(360px, 86vw);
  background: var(--green-900); color: var(--on-dark);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 26px 24px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-close { background: none; border: none; color: var(--on-dark); font-size: 28px; line-height: 1; padding: 4px 8px; }
.drawer-section-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin: 18px 0 6px; }
.drawer a {
  display: block; padding: 13px 12px; font-size: 17px; font-weight: 500;
  border-radius: var(--radius); border-bottom: 1px solid var(--line-dark);
}
.drawer a:hover { background: rgba(255,255,255,0.05); color: var(--accent-light); }
.drawer .btn-gold { margin-top: 22px; justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--green-700), var(--green-900) 60%),
    var(--green-felt);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04), transparent 40%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 5px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-dark));
}
.hero .container { position: relative; z-index: 2; }

.hero-suits { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-suits span {
  position: absolute; font-size: 220px; color: rgba(227,196,131,0.05); line-height: 1;
  font-family: Georgia, serif;
}
.hero-suits span:nth-child(1) { top: -30px; left: -20px; }
.hero-suits span:nth-child(2) { bottom: -60px; right: 4%; font-size: 300px; }

.hero-tisch .container { padding-top: 48px; padding-bottom: 56px; text-align: center; max-width: 980px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 28px;
}
.hero-kicker .rule { width: 36px; height: 1px; background: var(--accent); opacity: 0.6; }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); color: #fff; letter-spacing: -0.02em; }
.hero h1 .gold { color: var(--accent-light); font-style: italic; }
.hero-lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark-muted); max-width: 620px; margin: 26px auto 0; }
.hero-tisch .hero-lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-tisch .hero-actions { justify-content: center; }

.hero-trust {
  margin-top: 56px; display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}
.hero-tisch .hero-trust { justify-content: center; }
.hero-trust .item { padding: 0 34px; border-right: 1px solid var(--line-dark); text-align: center; }
.hero-trust .item:last-child { border-right: none; }
.hero-trust .num { font-family: var(--serif); font-size: 34px; color: var(--accent-light); line-height: 1; }
.hero-trust .lbl { font-size: 13px; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-top: 8px; text-transform: uppercase; }

/* ============================================================
   Platzhalter-Bild
   ============================================================ */
.ph {
  position: relative;
  background-color: #1d3d2c;
  background-image: repeating-linear-gradient(135deg, rgba(227,196,131,0.10) 0 8px, transparent 8px 16px);
  border: 1px dashed rgba(227,196,131,0.4);
  display: grid; place-items: center;
  color: rgba(227,196,131,0.75);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.ph.light {
  background-color: #efe9da;
  background-image: repeating-linear-gradient(135deg, rgba(166,134,55,0.14) 0 8px, transparent 8px 16px);
  border-color: rgba(166,134,55,0.4);
  color: rgba(120,95,40,0.85);
}
.ph .ph-code { padding: 4px 9px; border: 1px solid currentColor; border-radius: 3px; }

/* ============================================================
   Section base
   ============================================================ */
.section { padding: var(--section-pad) 0; }
.section-paper2 { background: var(--paper-2); }
.section-dark { background: var(--green-900); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--green-900); margin-top: 14px; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-muted); font-size: 18px; margin-top: 16px; }
.section-dark .section-head p { color: var(--on-dark-muted); }

/* ============================================================
   Großmeister-Laufband
   ============================================================ */
.gm-strip { border-top: 1px solid var(--line); background: var(--paper-2); }
.gm-strip-inner { display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.gm-strip .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; white-space: nowrap; }
.gm-marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gm-track { display: flex; gap: 36px; width: max-content; animation: gm-scroll 38s linear infinite; }
.gm-strip:hover .gm-track { animation-play-state: paused; }
.gm-track span { font-family: var(--serif); font-size: 18px; color: var(--green-800); white-space: nowrap; display: inline-flex; align-items: center; gap: 36px; }
.gm-track span::after { content: "♣"; color: var(--accent); font-size: 12px; }
@keyframes gm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Partner
   ============================================================ */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.partners:has(> .partner-card:only-child) { grid-template-columns: 1fr; }
.partner-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .2s ease, box-shadow .2s ease;
}
.partner-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.partner-logo {
  width: 120px;
  aspect-ratio: 120 / 72;   /* Default — pro Card via inline-style überschreibbar */
  height: auto;             /* damit aspect-ratio greift */
  flex-shrink: 1;           /* darf mit der Card schrumpfen */
  min-width: 60px;
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.partner-info h4 { font-family: var(--serif); font-size: 22px; color: var(--green-900); }
.partner-info .url { font-size: 14px; color: var(--accent-dark); font-weight: 600; letter-spacing: 0.02em; }
.partner-info p { font-size: 15px; color: var(--ink-muted); margin-top: 8px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--green-900); color: var(--on-dark-muted); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer .brand .name { color: #fff; }
.footer .brand .sub { color: var(--on-dark-muted); }
.footer-about { font-size: 15px; line-height: 1.7; margin-top: 18px; max-width: 320px; }
.footer-col h5 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent-light); }
.footer-nl p { font-size: 15px; margin: 0 0 12px; }
.footer-nl-reihe { display: flex; gap: 8px; max-width: 380px; }
.footer-nl-reihe input { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.footer-nl-reihe input::placeholder { color: var(--on-dark-muted); opacity: 1; }
.footer-nl-reihe input:focus { outline: none; border-color: var(--accent-light); }
.footer-nl-reihe .btn { flex: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .mainnav, .header .nav-cta { display: none; }
  .burger { display: flex; }
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .topbar { display: none; }
  .hero-trust .item { padding: 10px 18px; border-right: none; border-bottom: 1px solid var(--line-dark); flex: 1 1 40%; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Startseite — Sektionen
   ============================================================ */

/* Hero: Skat in Zahlen */
.hero-stats-label {
  margin-top: 52px; font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-light); opacity: 0.85;
}
.hero-tisch .hero-stats-label { text-align: center; }
.hero-stats-label + .hero-trust { margin-top: 16px; border-top: none; padding-top: 14px; }
.hero-trust .num .plus { font-size: 0.6em; color: var(--accent); vertical-align: baseline; }

/* Section-Head mit Aktions-Link */
.section-head.has-link {
  max-width: var(--container); display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}
.section-head.has-link > div { max-width: 720px; }
.section-head .head-link { margin-bottom: 6px; white-space: nowrap; }
.link-more {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; color: var(--green-700);
}
.link-more::after { content: "→"; color: var(--accent-dark); transition: transform .15s ease; }
.link-more:hover { color: var(--green-900); }
.link-more:hover::after { transform: translateX(4px); }
.section-dark .link-more { color: var(--accent-light); }
.section-dark .link-more:hover { color: #fff; }
.section-dark .link-more::after { color: var(--accent); }
.section-dark .eyebrow { color: var(--accent-light); }

/* Titelträger-Karten */
.titel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.titel-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.titel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.titel-card .topline {
  position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.titel-card:hover .topline { transform: scaleX(1); }
.titel-card .ph { aspect-ratio: 3/2.5; border-radius: 0; border: none; min-height: 0; overflow: hidden; }
.titel-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.titel-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.titel-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark);
}
.titel-eyebrow .medal { color: var(--accent); }
.titel-name { font-family: var(--serif); font-size: 28px; color: var(--green-900); line-height: 1.05; margin-top: 6px; }
.titel-sub { font-size: 14px; color: var(--ink-muted); }
.titel-link {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--green-700); font-weight: 600; letter-spacing: 0.02em;
}
.titel-link i { color: var(--accent-dark); font-style: normal; transition: transform .15s ease; }
.titel-card:hover .titel-link { color: var(--green-900); }
.titel-card:hover .titel-link i { transform: translateX(4px); }

/* Regelwerk */
.regel-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.regel-text h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--green-900); margin-top: 14px; }
.regel-text > p { color: var(--ink-muted); font-size: 18px; margin-top: 16px; }
.regel-list { list-style: none; padding: 0; margin: 28px 0 30px; }
.regel-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.regel-list li:last-child { border-bottom: none; }
.regel-suit { color: var(--accent-dark); font-family: Georgia, serif; font-size: 22px; line-height: 1.2; flex: none; }
.regel-list b { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--green-900); margin-bottom: 3px; }
.regel-list span { font-size: 15px; color: var(--ink-muted); line-height: 1.55; }
.regel-img { aspect-ratio: 4/5; box-shadow: var(--shadow-md); border-radius: var(--radius-lg); overflow: hidden; }

/* Wettbewerbe */
.wett-split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); align-items: stretch; }
.wett-split.gleich { grid-template-columns: 1fr 1fr; }   /* zwei gleich breite Karten (Verband: Über uns) */
.wett-list-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.wett-list-title { font-family: var(--serif); font-size: 22px; color: var(--green-900); margin-bottom: 6px; }
.wett-list { display: flex; flex-direction: column; }
.wett-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 19px; color: var(--green-900);
  transition: color .15s ease;
}
.wett-row > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.wett-suit { color: var(--accent-dark); font-size: 17px; width: 18px; text-align: center; }
.wett-row .arr { color: var(--accent-dark); font-family: var(--sans); transition: transform .15s ease; }
.wett-row:hover { color: var(--green-700); }
.wett-row:hover .arr { transform: translateX(4px); }
.wett-all { margin-top: 22px; }

/* ----------------------------------------------------------------
   Split-Layout — Hauptinhalt + optionale, schmalere Side-Card.
   Analog zu .wett-split, aber: die .split-card hat eine begrenzte Breite
   und wird auf engen Viewports komplett ausgeblendet (kein Stacking,
   die andere Karte bekommt dann 100 % Breite).
   ---------------------------------------------------------------- */
.split-layout { display: flex; gap: var(--gap); align-items: stretch; }
.split-layout > * { flex: 1 1 0; min-width: 0; }
.split-layout > .split-card {
  flex: 0 1 320px;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
@media (max-width: 860px) {
  .split-layout > .split-card { display: none; }
}

/* Nächster Wettbewerb */
.next-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 85% 0%, var(--green-700), var(--green-900));
  border: 1px solid var(--green-700); color: var(--on-dark);
  box-shadow: var(--shadow-md);
}
.next-glow { position: absolute; right: -40px; bottom: -70px; font-size: 300px; line-height: 1; color: rgba(227,196,131,0.06); font-family: Georgia, serif; pointer-events: none; }
.next-body { position: relative; z-index: 2; padding: clamp(30px, 4vw, 48px); }
.next-card h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); color: #fff; margin-top: 0px !important; }
.next-card h3 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); color: #fff; margin-top: 16px; }
.next-card p { color: var(--on-dark-muted); font-size: 17px; margin-top: 14px; max-width: 560px; }
.next-meta { display: flex; gap: 14px; margin-top: 28px; max-width: 460px; }
.next-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.wm-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); }
.wm-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(227,196,131,0.2); animation: pulse 2s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(227,196,131,0); } }

.cd-box { background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 8px; text-align: center; flex: 1; }
.cd-box .n { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); color: var(--accent-light); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box .u { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 10px; }

/* Warum Mitglied werden */
.why-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 6vw, 80px); align-items: start; }
.why-intro h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--green-900); margin-top: 14px; }
.why-intro > p { color: var(--ink-muted); font-size: 18px; margin-top: 16px; max-width: 420px; }
.why-intro .btn { margin-top: 28px; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-list li:first-child { padding-top: 0; }
.why-list li:last-child { border-bottom: none; padding-bottom: 0; }
.why-num {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--accent-dark);
  min-width: 54px; border-right: 1px solid var(--accent); padding-right: 18px; line-height: 1.5;
}
.why-text h4 { margin: 0 0 6px; font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--green-900); }
.why-text p { margin: 0; font-size: 15.5px; color: var(--ink-muted); line-height: 1.6; }

/* Landkarte */
.map-split { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: stretch; }
.map-canvas { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-ph { width: 100%; height: 100%; min-height: 420px; aspect-ratio: auto; border-radius: var(--radius-lg); }
.map-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--paper-2);
  box-shadow: 0 0 0 4px rgba(201,165,88,0.25), 0 2px 6px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
}
.map-pin.lg { width: 20px; height: 20px; background: var(--accent-dark); animation: pin-pulse 2.4s ease infinite; }
@keyframes pin-pulse { 50% { box-shadow: 0 0 0 9px rgba(166,134,55,0); } }
.map-legend {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(13,43,31,0.86); color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 9px 14px; font-size: 13px; letter-spacing: 0.02em; backdrop-filter: blur(4px);
  display: inline-flex; align-items: center;
}
.map-legend .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 9px; }
.map-legend b { color: var(--accent-light); }
.map-side { display: flex; flex-direction: column; gap: 14px; }
.map-stat { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.map-stat .num { font-family: var(--serif); font-size: 38px; color: var(--green-900); line-height: 1; }
.map-stat .lbl { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }
.region-list { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px 22px; }
.region-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--green-900); transition: color .15s ease; }
.region-row:last-child { border-bottom: none; }
.region-row:hover { color: var(--accent-dark); }
.region-row .cnt { font-family: var(--serif); font-weight: 700; color: var(--accent-dark); }
.map-side .btn { margin-top: auto; justify-content: center; }

/* Terminkalender */
.termine {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 130% at 85% -10%, var(--green-700), var(--green-900) 62%),
    var(--green-felt);
}
.termine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(ellipse at 92% 45%, rgba(201,165,88,0.12), transparent 60%);
}
.termine .container { position: relative; z-index: 2; }

.cal-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  appearance: none; border: 1.5px solid var(--line-dark); background: rgba(255,255,255,0.05);
  color: var(--on-dark-muted); border-radius: 999px; padding: 9px 18px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.active { background: var(--accent); color: var(--green-900); border-color: var(--accent); }

.table-wrap {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); overflow: hidden;
}
.termine-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.termine-table thead { background: rgba(13,43,31,0.5); }
.termine-table th {
  text-align: left; padding: 16px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-light); border-bottom: 1px solid var(--line-dark); white-space: nowrap;
}
.termine-table th.col-action { text-align: right; }
.termine-table td { padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--on-dark); vertical-align: middle; }
.termine-table tbody tr:last-child td { border-bottom: none; }
.termine-table tbody tr { transition: background .15s ease; }
.termine-table tbody tr:hover td { background: rgba(255,255,255,0.04); }
.te-name { font-family: var(--serif); font-size: 19px; color: #fff; line-height: 1.2; }
.te-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--on-dark-muted); margin-top: 3px; }
.termine-table td.te-date { font-variant-numeric: tabular-nums; color: var(--accent-light); font-weight: 600; white-space: nowrap; }
.te-info { color: var(--on-dark-muted); font-size: 14.5px; }
.te-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.te-tag.meister { background: rgba(201,165,88,0.20); color: var(--accent-light); border: 1px solid var(--accent); }
.te-tag.pokal { background: rgba(255,255,255,0.08); color: var(--on-dark); }
.te-tag.verband { background: rgba(255,255,255,0.05); color: var(--on-dark-muted); border: 1px solid var(--line-dark); }
.te-action { text-align: right; }
.te-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-light); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s ease; }
.te-link::after { content: "→"; transition: transform .15s ease; }
.te-link:hover { color: #fff; }
.te-link:hover::after { transform: translateX(3px); }


doskv-logo-kreis {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  background-image: url('../images/logoDOSKV_165x165.png');
  background-size: cover;
  background-position: center;
}

/* Responsive — Startseite */
@media (max-width: 1080px) {
  .wett-split, .wett-split.gleich { grid-template-columns: 1fr; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .map-split { grid-template-columns: 1fr; }
  .map-ph { min-height: 360px; }
}
@media (max-width: 960px) {
  .titel-grid { grid-template-columns: 1fr; }
  /* einspaltig als Querkarte: Foto links mit fester Breite, sonst würde es fensterbreit und höher als der Bildschirm */
  .titel-card { flex-direction: row; }
  .titel-card .ph { flex: none; width: clamp(160px, 28vw, 240px); aspect-ratio: 4/5; }
  .regel-split { grid-template-columns: 1fr; gap: 32px; }
  .regel-media { order: -1; }
  .regel-img { aspect-ratio: 16/10; }
}
@media (max-width: 680px) {
  .section-head.has-link { flex-direction: column; align-items: flex-start; }
  .next-meta { flex-wrap: wrap; }
  .termine-table th, .termine-table td { padding: 14px 14px; }
  .termine-table .col-info, .termine-table .te-info { display: none; }
}
@media (max-width: 960px) and (max-height: 560px) {
  /* Handy quer: unter der festen Kopfleiste bleibt wenig Höhe, Foto höchstens 200 px hoch */
  .titel-card .ph { width: 160px; }
}
@media (max-width: 560px) {
  .titel-card { flex-direction: column; }
  .titel-card .ph { width: auto; aspect-ratio: auto; height: min(340px, 85vw); }
  .titel-body { padding: 20px 22px 22px; }
}


.abstand {
  margin-top: 24px;
}
.abstand-unten {
  margin-bottom: 24px;
}