/* Produktwebsite aufschlag. – Entwurf „aufschlag. Website“ (2026-10-22), Farben und Schriften der
   CI (docs/design/aufschlag-ci). Keine style-Attribute und keine fremden Hosts: Caddy liefert die
   Seite mit style-src/font-src/img-src 'self' aus (deploy/Caddyfile). */

@font-face { font-family: "Barlow"; src: url("fonts/Barlow-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --blau: #002f6c;
  --blau-hell: #1e4fa0;
  --blau-fokus: #2f5fae;
  --nacht: #071a3d;
  --tinte: #0b1a33;
  --gelb: #ffd100;
  --gelb-hell: #ffeb99;
  --grau: #5b6b82;
  --linie: #dde3ec;
  --flaeche: #f5f7fa;
  --icon-flaeche: #e8eef7;
  --hell-auf-dunkel: #dce6f5;
  --platzhalter: #fff8d6;
  --schmal: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--tinte); font: 400 16px/1.5 "Barlow", system-ui, sans-serif; }
h1, h2, h3, p, ul, ol, dl, address { margin: 0; }
h1, h2 { overflow-wrap: break-word; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blau-hell); text-underline-offset: 3px; }
a:hover { color: var(--blau); }
:focus-visible { outline: 2px solid var(--blau-fokus); outline-offset: 2px; }
.dunkel :focus-visible { outline-color: var(--gelb); }
[id] { scroll-margin-top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--grau); }
.lead { font-size: 18px; line-height: 28px; }
.nowrap { white-space: nowrap; }
.platzhalter { background: var(--platzhalter); border-radius: 2px; padding: 0 4px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-s { width: 20px; height: 20px; }

.sprunglink { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--gelb); color: var(--blau); padding: 12px 16px; border-radius: 4px; font-weight: 700; }
.sprunglink:focus { top: 16px; }

.over { font-family: var(--schmal); font-size: 14px; line-height: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.h2 { font-family: var(--schmal); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 6vw, 48px); line-height: 1; color: var(--blau); }
.kopfblock { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 6px; border: 2px solid transparent; font-family: "Barlow", sans-serif; font-weight: 600; font-size: 18px; line-height: 20px; text-decoration: none; cursor: pointer; text-align: center; }
.btn-umriss { background: transparent; color: #fff; border-color: #fff; }
.btn-umriss:hover { background: #fff; color: var(--nacht); }
.btn-gross { min-height: 64px; padding: 0 40px; font-size: 20px; font-weight: 700; }
.btn-gelb { background: var(--gelb); color: var(--nacht); }
.btn-gelb:hover { background: var(--gelb-hell); color: var(--nacht); }
.btn-hell { background: transparent; color: #fff; border-color: var(--hell-auf-dunkel); }
.btn-hell:hover { background: #fff; color: var(--nacht); }
.btn-mail { min-height: 56px; padding: 0 32px; border-radius: 4px; background: var(--gelb); color: var(--blau); font-family: var(--schmal); font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.btn-mail:hover { background: var(--gelb-hell); color: var(--blau); }
.btn-mail .ico { width: 22px; height: 22px; }

/* Kopfzeile der Startseite (dunkel) */
.kopf-start { background: var(--nacht); }
.kopf-start .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.marke { display: inline-flex; padding: 4px 0; }
.marke img { width: 160px; }
.hnav { display: flex; align-items: center; gap: 8px 40px; flex-wrap: wrap; }
.hnav ul { list-style: none; padding: 0; display: flex; gap: 4px 40px; flex-wrap: wrap; }
.hnav ul a { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; min-height: 44px; display: inline-flex; align-items: center; }
.hnav ul a:hover { color: var(--gelb); }

/* Kopfzeile der Rechtsseiten (hell) */
.kopf-recht { border-bottom: 1px solid var(--linie); }
.kopf-recht .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.kopf-recht .marke img { width: 168px; }
.zurueck { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.zurueck:hover { text-decoration: underline; }

/* Hero. Ein Foto (Entwurf: Sprungaufschlag in der Halle, Ball oben rechts, linke Hälfte dunkel)
   kommt als Hintergrund dazu, sobald es mit Nutzungsrechten vorliegt. */
.hero { position: relative; overflow: hidden; min-height: 760px; display: flex; align-items: center; background: linear-gradient(160deg, var(--nacht) 0%, #0c2150 55%, #14295a 100%); color: #fff; }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 120px; }
.hero-inhalt { max-width: 820px; display: flex; flex-direction: column; gap: 32px; }
.hero-over { font-family: var(--schmal); font-weight: 800; text-transform: uppercase; color: var(--gelb); font-size: 18px; line-height: 22px; letter-spacing: .14em; }
.hero h1 { font-family: var(--schmal); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 8.4vw, 104px); line-height: .96; letter-spacing: -.005em; hyphens: manual; }
.hero-text { font-size: 24px; line-height: 36px; color: var(--hell-auf-dunkel); max-width: 640px; }
.knoepfe { display: flex; gap: 16px 20px; flex-wrap: wrap; padding-top: 8px; }

/* Band mit den Bereichen */
.band { background: var(--gelb); padding: 22px 0; }
.band ul { list-style: none; display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: center; align-items: center; }
.band li { font-family: var(--schmal); font-style: italic; font-weight: 900; font-size: 26px; line-height: 30px; text-transform: uppercase; color: var(--blau); display: inline-flex; align-items: center; gap: 28px; }
.band li + li::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--blau); display: inline-block; }

/* Abschnitte */
.abschnitt { padding: 96px 0; }
.abschnitt-grau { background: var(--flaeche); }
.abschnitt .stapel { display: flex; flex-direction: column; gap: 40px; }
.raster { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
/* Vier Einträge: 4 nebeneinander, sonst 2 × 2 oder untereinander, nie 3 + 1. */
.raster-4 { grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; }
@media (min-width: 600px) { .raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { background: #fff; border: 1px solid var(--linie); border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 47, 108, .10); }
.feat { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feat-i { width: 48px; height: 48px; border-radius: 4px; background: var(--icon-flaeche); color: var(--blau); display: flex; align-items: center; justify-content: center; }
.feat h3 { font-family: var(--schmal); font-weight: 800; font-size: 24px; line-height: 28px; color: var(--blau); }

/* Spielzug */
#spielzug .stapel { gap: 48px; }
.zug { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 6px; background: #fff; border: 1px solid var(--linie); }
.zug-n { font-family: var(--schmal); font-style: italic; font-weight: 900; font-size: 64px; line-height: 56px; color: var(--gelb); -webkit-text-stroke: 2px var(--blau); }
.zug-tag { font-family: var(--schmal); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--blau-hell); }
.zug h3 { font-family: var(--schmal); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 30px; color: var(--blau); }
.zug-punkt { background: var(--blau); border-color: var(--blau); color: var(--hell-auf-dunkel); }
.zug-punkt .zug-n { -webkit-text-stroke: 0; }
.zug-punkt .zug-tag { color: var(--gelb); }
.zug-punkt h3 { color: #fff; }

/* Für Vereine */
.zweispaltig { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.zweispaltig > * { flex: 1 1 420px; min-width: 0; }
.zweispaltig .kopfblock { gap: 16px; }
.chk-karte { padding: 32px; }
.chk { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.chk li { display: flex; gap: 12px; align-items: flex-start; }
.chk .ico { color: var(--blau); margin-top: 1px; }

/* Datenschutz */
.punkt { display: flex; flex-direction: column; gap: 8px; }
.punkt h3 { font-family: var(--schmal); font-weight: 800; font-size: 22px; line-height: 26px; color: var(--blau); }

/* Kontakt */
.kontakt { background: var(--blau); color: #fff; padding: 80px 0; }
.kontakt .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; }
.kontakt-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.kontakt h2 { font-family: var(--schmal); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 6vw, 56px); line-height: .96; }
.kontakt h2 span { color: var(--gelb); }
.kontakt p { color: var(--hell-auf-dunkel); max-width: 600px; }

/* Fußzeile */
.fuss { background: var(--tinte); color: var(--hell-auf-dunkel); }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.fuss img { width: 140px; }
.fuss nav { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.fuss a { color: var(--hell-auf-dunkel); min-height: 44px; display: inline-flex; align-items: center; }
.fuss a:hover { color: #fff; }
.fuss p { font-size: 14px; }

/* Rechtsseiten und 404 */
.recht { padding: 64px 16px 96px; }
.recht article { max-width: 760px; display: flex; flex-direction: column; gap: 40px; font-size: 17px; line-height: 1.6; }
.recht-kopf { display: flex; flex-direction: column; gap: 12px; }
.recht h1 { font-family: var(--schmal); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 7vw, 56px); line-height: 1; color: var(--blau); }
.recht-kopf p { font-size: 19px; line-height: 30px; }
.recht section { display: flex; flex-direction: column; gap: 12px; }
.recht section > h2 { font-family: var(--schmal); font-weight: 800; font-size: 26px; line-height: 30px; color: var(--blau); hyphens: manual; }
.recht ul { padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.inhalt { padding: 20px 24px; background: var(--flaeche); border-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.inhalt ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 4px 24px; }
.inhalt a { display: inline-flex; align-items: center; min-height: 36px; }
.kv { display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); gap: 6px 20px; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv dd { margin-bottom: 8px; } }
.kasten { padding: 16px 20px; border: 2px solid var(--blau); border-radius: 6px; display: flex; flex-direction: column; gap: 6px; }
.kasten h3 { font-weight: 700; font-size: 17px; }
.stand { padding-top: 24px; border-top: 1px solid var(--linie); }

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 72px; }
  .hero-text { font-size: 20px; line-height: 30px; }
  .abschnitt { padding: 64px 0; }
  .kontakt { padding: 56px 0; }
  .btn-gross { width: 100%; }
  .btn-mail { width: 100%; font-size: 18px; padding: 0 16px; }
}
