@font-face { font-family: 'Unbounded'; src: url('assets/fonts/Unbounded-var-latin.woff2') format('woff2'); font-weight: 500 900; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-var-latin.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --blau: #14338f;
  --blau-hell: #1d4bd6;
  --nacht: #0b1946;
  --gelb: #ffe21f;
  --filz: #f1dc2a;
  --sand: #b4502d;
  --sand-dunkel: #7e3419;
  --kreide: #f6f3ea;
  --gruen: #27493a;
  --text: #14214f;
  --kopf: 'Unbounded', 'Arial Black', Arial, sans-serif;
  --fliess: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --kopfhoehe: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopfhoehe) + 12px); }
body { margin: 0; font-family: var(--fliess); font-size: 1.0625rem; line-height: 1.55; color: var(--text); background: var(--nacht); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; height: var(--kopfhoehe); display: flex; align-items: center; gap: 24px; padding: 0 clamp(14px, 3vw, 40px); background: var(--blau); color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { border-radius: 50%; background: var(--gelb); }
.marke-text { font-family: var(--kopf); font-weight: 700; font-size: 0.82rem; line-height: 1.12; }
.nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--gelb); }
.anruf { background: var(--gelb); color: var(--blau); font-weight: 800; text-decoration: none; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.anruf-kurz { display: none; }

/* ---------- Held (Sandplatz mit Linien, echtes Luftbild) ---------- */
.held { position: relative; background-color: var(--sand); color: #fff; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 56px); min-height: calc(100svh - var(--kopfhoehe)); overflow: hidden; }
.held::before { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.8; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.1  0 0 0 0 0.05  0 0 0 0.55 -0.12'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
.held::after { content: ''; position: absolute; inset: clamp(10px, 1.6vw, 22px); border: 6px solid var(--kreide); pointer-events: none; }
.held-flaeche, .held-foto { position: relative; z-index: 1; }
.held-flaeche { padding: clamp(8px, 2vw, 28px) 0 clamp(8px, 2vw, 28px) clamp(8px, 2vw, 28px); }
.held h1 { font-size: clamp(1.9rem, 4.1vw, 3.9rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 15em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 38em; margin: 22px 0 0; }
.felder { list-style: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1.35fr; border-top: 5px solid var(--kreide); border-bottom: 5px solid var(--kreide); }
.felder li { padding: 16px 18px 16px 0; display: flex; flex-direction: column; gap: 6px; line-height: 1.35; font-size: 0.98rem; }
.felder li + li { border-left: 5px solid var(--kreide); padding-left: 18px; }
.feld-zahl { font-family: var(--kopf); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.05; color: var(--gelb); white-space: nowrap; }
.feld-tel { font-size: clamp(1.15rem, 2vw, 1.8rem); }
.feld-tel a { text-decoration: none; color: inherit; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.held-foto { margin: 0; align-self: center; }
.held-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border: 8px solid var(--kreide); box-shadow: 0 12px 0 rgba(60,20,8,0.38); }
.held-foto figcaption { margin-top: 18px; font-size: 0.88rem; }

.knopf { display: inline-block; font-weight: 800; font-size: 1rem; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 3px solid transparent; cursor: pointer; font-family: var(--fliess); }
.knopf-gelb { background: var(--gelb); color: var(--blau); box-shadow: 0 4px 0 #b59d00; }
.knopf-gelb:hover { transform: translateY(1px); box-shadow: 0 3px 0 #b59d00; }
.knopf-linie { border-color: #fff; color: #fff; }
.knopf-linie:hover { background: rgba(255,255,255,0.12); }


/* ---------- Verein (Sand mit Linien) ---------- */
.verein { background-color: var(--sand); color: #fff; position: relative; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 56px); overflow: hidden; }
.verein::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.1  0 0 0 0 0.05  0 0 0 0.55 -0.12'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); mix-blend-mode: multiply; opacity: 0.8; }
.verein-rahmen { position: relative; max-width: 1240px; margin: 0 auto; border: 6px solid #f3efe6; padding: clamp(22px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); grid-template-areas: 'kopf foto' 'liste liste'; }
.verein-rahmen::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 6px solid #f3efe6; display: none; }
.verein-kopf { grid-area: kopf; align-self: center; }
.verein-kopf h2 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); margin-bottom: 18px; }
.verein-kopf p { font-size: 1.15rem; }
.foto { margin: 0; }
.foto img { width: 100%; border: 8px solid #f3efe6; box-shadow: 0 10px 0 rgba(60,20,8,0.35); }
.foto figcaption { margin-top: 14px; font-size: 0.88rem; opacity: 0.92; }
.foto-gross { grid-area: foto; transform: rotate(1.2deg); }
/* durchlaufende Liste, getrennt durch Platzlinien */
.verein-liste { grid-area: liste; border-top: 6px solid #f3efe6; }
.tafel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 8px clamp(20px, 4vw, 56px); align-items: baseline; padding: 22px 0 8px; border-bottom: 6px solid #f3efe6; }
.tafel h3 { font-size: clamp(1.1rem, 1.9vw, 1.6rem); }
.tafel p { font-size: 1.05rem; margin: 0 0 14px; }

/* ---------- Probe (Tennisfilz) ---------- */
.probe { background-color: var(--filz); color: var(--blau); position: relative; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 56px); }
.probe::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.5  0 0 0 0 0  0 0 0 0.6 -0.2'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); mix-blend-mode: multiply; opacity: 0.7; }
.probe-innen { position: relative; max-width: 1240px; margin: 0 auto; }
.probe-kopf { max-width: 760px; margin-bottom: 32px; }
.probe-kopf h2 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); margin-bottom: 14px; }
.probe-kopf p { font-size: 1.12rem; }
.rechner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.rechner-eingabe { background: var(--kreide); border-radius: 4px; padding: 24px clamp(18px, 2.5vw, 32px); box-shadow: 0 8px 0 rgba(90,80,0,0.35); border-top: 10px solid var(--blau); }
.modell { border: 0; padding: 0; margin: 0 0 18px; }
.modell legend { font-family: var(--kopf); font-weight: 600; font-size: 0.82rem; margin-bottom: 10px; padding: 0; }
.modell-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.modell-knoepfe button { font-family: var(--fliess); font-weight: 800; font-size: 1rem; padding: 10px 18px; border-radius: 999px; border: 3px solid var(--blau); background: transparent; color: var(--blau); cursor: pointer; }
.modell-knoepfe button[aria-pressed="true"] { background: var(--blau); color: #fff; }
.zaehler { list-style: none; margin: 0; padding: 0; }
.zaehler li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 3px dotted rgba(20,51,143,0.3); }
.zaehler li.aus { opacity: 0.4; }
.zaehler-name { font-weight: 700; line-height: 1.25; }
.zaehler-ctl { display: flex; align-items: center; gap: 4px; flex: none; }
.zaehler-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--blau); background: #fff; color: var(--blau); font-size: 1.5rem; font-weight: 800; line-height: 1; cursor: pointer; font-family: var(--fliess); }
.zaehler-ctl button:hover:not(:disabled) { background: var(--gelb); }
.zaehler-ctl button:disabled { opacity: 0.35; cursor: not-allowed; }
.zaehler-ctl output { min-width: 2.2ch; text-align: center; font-family: var(--kopf); font-weight: 700; font-size: 1.3rem; }
.rechner-notiz { margin: 14px 0 0; font-size: 0.94rem; min-height: 2.8em; }
.anzeigetafel { background: var(--nacht); color: #fff; border-radius: 6px; padding: 26px clamp(18px, 2.5vw, 34px); box-shadow: 0 8px 0 rgba(0,0,0,0.38); border: 8px solid #243b8f; display: flex; flex-direction: column; }
.tafel-titel { font-family: var(--kopf); font-weight: 600; font-size: 0.85rem; color: var(--gelb); margin-bottom: 14px; }
.ziffern { display: flex; gap: 8px; align-items: stretch; flex-wrap: nowrap; }
.ziffer { flex: 1 1 0; max-width: 86px; display: grid; place-items: center; background: linear-gradient(#1c2d74 0 49.3%, #050d2c 49.3% 50.7%, #15246a 50.7% 100%); border-radius: 6px; font-family: var(--kopf); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.4; padding: 0 4px; font-variant-numeric: tabular-nums; }
.ziffer.neu { animation: klapp 0.28s ease-out; }
@keyframes klapp { from { transform: rotateX(80deg); } to { transform: rotateX(0); } }
.euro { align-self: center; font-family: var(--kopf); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--gelb); margin-left: 4px; }
.tafel-zeilen { margin: 20px 0 0; font-size: 1rem; line-height: 1.6; color: #d4dcff; }
.tafel-pfand { margin: auto 0 0; padding-top: 18px; font-size: 0.92rem; color: #b8c4f5; border-top: 2px dashed rgba(255,255,255,0.25); }
.stand { margin: 18px 0 0; font-size: 0.9rem; max-width: 70ch; }
.weg { list-style: none; counter-reset: s; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 5px solid var(--blau); border-bottom: 5px solid var(--blau); }
.weg li { counter-increment: s; padding: 18px 18px 20px 0; font-size: 0.98rem; line-height: 1.45; }
.weg li + li { border-left: 5px solid var(--blau); padding-left: 18px; }
.weg li::before { content: counter(s); display: block; font-family: var(--kopf); font-weight: 700; font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }
.weg strong { display: block; font-family: var(--kopf); font-size: 0.95rem; margin-bottom: 6px; }

/* ---------- Termine (Aushang) ---------- */
.termine { background: #3a2a1e; position: relative; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 56px); color: #fff; }
.termine-innen { max-width: 1100px; margin: 0 auto; }
.termine-kopf { max-width: 700px; margin-bottom: 30px; }
.termine-kopf h2 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); margin-bottom: 14px; }
.aushang { position: relative; background-color: var(--gruen); border: 16px solid #8a5d36; border-radius: 6px; padding: clamp(20px, 3.5vw, 44px); box-shadow: 0 10px 0 rgba(0,0,0,0.4), inset 0 0 40px rgba(0,0,0,0.35); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.12 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>"); display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
.zettel { position: relative; background: var(--kreide); color: var(--text); padding: 18px 20px 16px; box-shadow: 0 4px 0 rgba(0,0,0,0.28); display: grid; grid-template-columns: 5.4rem 1fr; gap: 4px 16px; align-items: baseline; }
.zettel:nth-child(odd) { transform: rotate(-0.6deg); }
.zettel:nth-child(even) { transform: rotate(0.5deg); }
.zettel::before { content: ''; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: #c8321f; box-shadow: 0 3px 0 rgba(0,0,0,0.3); }
.z-datum { font-family: var(--kopf); font-weight: 700; font-size: 1rem; color: var(--blau-hell); line-height: 1.25; }
.z-text { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.z-zeit { grid-column: 2; font-size: 0.92rem; color: #4a5680; font-weight: 600; }
.zettel.vorbei { opacity: 0.5; filter: saturate(0.5); }
.zettel.naechste { background: var(--gelb); }
.zettel.naechste .z-datum { color: var(--blau); }
.z-marke { grid-column: 1 / -1; font-family: var(--kopf); font-size: 0.72rem; font-weight: 700; color: var(--blau); }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--nacht); color: #fff; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 56px); }
.kontakt-innen { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); grid-template-areas: 'text foto' 'personen anfrage'; align-items: start; }
.kontakt-text { grid-area: text; }
.kontakt-text h2 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); margin-bottom: 20px; }
address { font-style: normal; }
.adr-gross { font-family: var(--kopf); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; margin-bottom: 14px; }
.kontakt a:not(.knopf) { color: var(--gelb); font-weight: 700; }
.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.koord { font-size: 0.88rem; color: #aab6ea; }
.foto-weg { grid-area: foto; }
.foto-weg img { border-color: var(--kreide); box-shadow: 0 8px 0 rgba(0,0,0,0.4); }
.personen { grid-area: personen; }
.personen h3, .anfrage h3 { font-size: 1.2rem; margin-bottom: 14px; }
.personen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.personen li { padding: 12px 16px; background: #14265f; border-left: 6px solid var(--gelb); line-height: 1.4; }
.anfrage { grid-area: anfrage; background: var(--kreide); color: var(--text); padding: 26px clamp(18px, 2.5vw, 32px); border-radius: 4px; display: grid; gap: 14px; border-top: 10px solid var(--gelb); box-shadow: 0 8px 0 rgba(0,0,0,0.4); }
.anfrage label { display: grid; gap: 5px; font-weight: 700; font-size: 0.95rem; }
.anfrage input, .anfrage select, .anfrage textarea { font: inherit; font-weight: 500; padding: 11px 12px; border: 2px solid #8d98c6; border-radius: 4px; background: #fff; color: var(--text); width: 100%; }
.anfrage input:focus-visible, .anfrage select:focus-visible, .anfrage textarea:focus-visible { outline: 3px solid var(--blau-hell); outline-offset: 1px; }
.demo-hinweis { margin: 0; font-size: 0.85rem; color: #4a5680; }
.anfrage .knopf { justify-self: start; border: 0; }

/* ---------- Fuss ---------- */
.fuss { background: #060d2b; color: #b4bfe8; padding: 28px clamp(16px, 4vw, 56px) 36px; font-size: 0.9rem; }
.fuss-innen { max-width: 1240px; margin: 0 auto; }
.fuss p { max-width: 90ch; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.fuss strong { color: #fff; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  .held { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .held-foto img { aspect-ratio: 16 / 10; object-position: 50% 55%; }
  .verein-rahmen { grid-template-columns: 1fr; grid-template-areas: 'kopf' 'foto' 'liste'; }
  .rechner { grid-template-columns: 1fr; }
  .kontakt-innen { grid-template-columns: 1fr; grid-template-areas: 'text' 'foto' 'personen' 'anfrage'; }
  .weg { grid-template-columns: 1fr 1fr; }
  .weg li:nth-child(3) { border-left: 0; padding-left: 0; }
  .weg li:nth-child(n+3) { border-top: 5px solid var(--blau); }
}
@media (max-width: 760px) {
  :root { --kopfhoehe: 56px; }
  .held { padding: 22px 14px 26px; }
  .held::after { border-width: 4px; inset: 8px; }
  .held { gap: 16px; }
  .held-flaeche { display: contents; }
  .held h1 { order: 1; padding: 4px 4px 0; }
  .held-foto { order: 2; }
  .held .lead { order: 3; margin: 0; padding: 0 4px; font-size: 1rem; }
  .felder { order: 4; }
  .held-knoepfe { order: 5; padding: 0 4px; }
  .held h1 { font-size: 1.7rem; }
  .felder { grid-template-columns: 1fr 1fr; margin: 20px 0; }
  .felder li:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 5px solid var(--kreide); }
  .felder li { font-size: 0.9rem; }
  .held-foto img { aspect-ratio: 16 / 6; border-width: 5px; box-shadow: 0 6px 0 rgba(60,20,8,0.38); }
  .held-foto figcaption { display: none; }
  .nav { display: none; }
  .anruf { margin-left: auto; padding: 9px 16px; }
  .anruf-lang { display: none; }
  .anruf-kurz { display: inline; }
  .verein-rahmen { border-width: 4px; padding: 20px 16px; }
  .aushang { grid-template-columns: 1fr; border-width: 10px; }
  .weg { grid-template-columns: 1fr; }
  .weg li, .weg li + li { border-left: 0; padding-left: 0; }
  .weg li + li { border-top: 5px solid var(--blau); }
  .tafel { grid-template-columns: 1fr; }
  .zaehler-name { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ziffer.neu { animation: none; }
}
