@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B0B0C;
  --white: #FFFFFF;
  --salbei: #5E8C6A;
  --salbei-dunkel: #4A7356;
  --salbei-hell: #9CC2A6;
  --grau-text: #4A5A4E;
  --flaeche: #F5F7F5;
  --linie: #E4E8E5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--salbei-dunkel); }
a:focus-visible { outline: 3px solid var(--salbei); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.schraeg { display: inline-block; transform: skewX(-8deg); }

/* Header */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.kopf .logo img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; }

.knopf { display: inline-block; text-decoration: none; padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 17px; }
.knopf-schwarz { background: var(--ink); color: var(--white); }
.knopf-schwarz:hover { background: var(--salbei-dunkel); color: var(--white); }
.knopf-salbei { background: var(--salbei-dunkel); color: var(--white); }
.knopf-salbei:hover { background: var(--ink); color: var(--white); }
.knopf-rand { border: 1.5px solid var(--ink); padding: 12.5px 24.5px; }
.nav .knopf { font-size: 16px; padding: 12px 22px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ort { font-size: 17px; font-weight: 500; color: var(--salbei-dunkel); }
.hero h1 { margin: 0; font-size: clamp(64px, 9vw, 104px); line-height: 0.95; font-weight: 600; letter-spacing: -1px; }
.hero p { margin: 0; max-width: 520px; font-size: 22px; line-height: 1.45; font-weight: 300; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-bild { flex: 1 1 380px; min-width: 0; height: 600px; object-fit: cover; object-position: center 40%; border-radius: 24px; }

/* Sektionen */
.sektion { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.grau { background: var(--flaeche); }
h2 { margin: 0; font-size: clamp(36px, 5vw, 48px); font-weight: 600; }

.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fakt { background: var(--white); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.fakt dt { font-size: 15px; color: var(--grau-text); }
.fakt dd { margin: 0; font-size: 28px; font-weight: 500; }
.fakt-dunkel { background: var(--ink); color: var(--white); }
.fakt-dunkel dt { color: #B9CDBF; }

/* Tabelle */
.tabelle-box { overflow-x: auto; border: 1px solid var(--linie); border-radius: 18px; }
table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 17px; }
th { white-space: nowrap; background: var(--flaeche); text-align: left; font-weight: 500; padding: 18px 16px; }
td { padding: 20px 16px; border-top: 1px solid var(--linie); }
.zeit { font-weight: 600; }
.notiz { display: inline-block; padding-top: 4px; font-size: 14px; color: var(--grau-text); }

/* Rennkalender */
.rennen { background: var(--white); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.monat { font-size: 40px; font-weight: 600; color: var(--salbei-dunkel); }
.rennen-name { font-size: 24px; font-weight: 500; }
.rennen-info { font-size: 16px; color: var(--grau-text); }
.mehr { border: 1.5px dashed #9FB3A5; border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mehr-titel { font-size: 28px; font-weight: 500; }

/* Partner */
.partner { background: var(--ink); color: var(--white); }
.partner .wrap { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.partner-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.partner-kopf { font-size: 17px; font-weight: 500; color: var(--salbei-hell); }
.partner .gross { margin: 0; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; font-weight: 500; }
.partner .klein { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 300; color: #D7DED9; }
.partner .knopf { font-size: 18px; padding: 18px 32px; }

/* Footer */
.fuss { background: var(--ink); border-top: 1px solid #26292A; }
.fuss .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; font-size: 15px; }
.fuss img { height: 36px; width: auto; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss a { color: #C9D1CC; }
.fuss a:hover { color: var(--white); }

/* Rechtsseiten */
.recht { max-width: 760px; padding-top: 64px; padding-bottom: 88px; line-height: 1.6; font-size: 18px; }
.recht h1 { font-size: 44px; margin: 0 0 24px; }
.recht h2 { font-size: 26px; margin: 36px 0 8px; }
.hinweis { background: #FFF4D6; border-radius: 12px; padding: 16px 20px; font-size: 16px; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero-bild { height: 460px; }
  .sektion { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .nav { gap: 18px; }
  .partner .wrap { padding-top: 64px; padding-bottom: 64px; }
}
td:nth-child(2) { min-width: 220px; }

/* Sprachumschalter */
.sprachen { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.sprachen a { text-decoration: none; padding: 6px 8px; border-radius: 6px; color: var(--grau-text); }
.sprachen a:hover { color: var(--ink); background: var(--flaeche); }
.sprachen a[aria-current="page"] { color: var(--ink); background: var(--flaeche); }
sup { font-size: 0.7em; }
.uebersetzung { font-size: 15px; color: var(--grau-text); background: var(--flaeche); border-radius: 12px; padding: 14px 18px; }

/* Hero-Bild im <picture> */
.hero picture { flex: 1 1 380px; min-width: 0; display: block; }
.hero picture .hero-bild { width: 100%; }
