/* Laerheide Treff – Stylesheet
   Farben: Vereinsrot und Schwarz (TSV Wachtendonk-Wankum 1910 e.V.)
   Schriften liegen lokal im Ordner /fonts (keine Verbindung zu Google). */

@font-face { font-family: "Heros Cn"; src: url("../fonts/heros-cn-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --rot: #c8102e;
  --rot-dunkel: #9a0c23;
  --schwarz: #000;
  --asche: #1c1c1e;
  --text: #1c1c1e;
  --grau: #5b5b60;
  --hell: #f2f2f0;
  --linie: #dcdcd8;
  --weiss: #fff;
  --display: "Heros Cn", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1160px;
  --rand: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--weiss); }
img { max-width: 100%; display: block; }
a { color: var(--rot); text-underline-offset: 3px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(3rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.7rem; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.2rem; line-height: 1.55; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--weiss); padding: 8px 12px; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--schwarz); color: var(--weiss); border-bottom: 4px solid var(--rot); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.marke { display: flex; align-items: center; gap: 12px; color: var(--weiss); text-decoration: none; }
.marke img { height: 46px; width: auto; }
.marke .wortmarke { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.marke .wortmarke small { display: block; font-family: var(--body); font-size: .72rem; font-weight: 400; color: #bdbdbd; margin-top: 3px; }
.marke.hat-logo .wortmarke { display: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--weiss); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 2px; }
.nav a:hover { background: #262626; color: var(--weiss); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--rot); }
.nav .nav-anruf { background: var(--rot); margin-left: 8px; }
.nav .nav-anruf:hover { background: var(--rot-dunkel); }
.menue-knopf { display: none; background: none; border: 2px solid #444; color: var(--weiss); font: 600 .95rem var(--body); padding: 8px 14px; border-radius: 2px; cursor: pointer; }

@media (max-width: 900px) {
  .menue-knopf { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--schwarz); border-bottom: 4px solid var(--rot); display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--rand) 16px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #222; }
  .nav .nav-anruf { margin: 12px 0 0; text-align: center; border: 0; }
}

/* ---------- Buttons ---------- */
.knopf { display: inline-block; padding: 14px 24px; font: 600 1rem var(--body); text-decoration: none; border-radius: 2px; border: 2px solid var(--rot); background: var(--rot); color: var(--weiss); cursor: pointer; }
.knopf:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: var(--weiss); }
.knopf.hohl { background: transparent; border-color: var(--weiss); color: var(--weiss); }
.knopf.hohl:hover { background: var(--weiss); color: var(--schwarz); }
.knopf.hohl-dunkel { background: transparent; border-color: var(--text); color: var(--text); }
.knopf.hohl-dunkel:hover { background: var(--text); color: var(--weiss); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero mit Spielfeldlinien ---------- */
.hero { position: relative; overflow: hidden; color: var(--weiss); background: var(--schwarz) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.45) 100%); }
.hero .feld { position: absolute; z-index: -1; right: -12%; top: 50%; transform: translateY(-50%); width: min(78vw, 900px); height: auto; opacity: .22; }
.hero .feld * { fill: none; stroke: var(--weiss); stroke-width: 3; }
.hero .feld .kreis { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: kreide 2.2s .3s ease-out forwards; }
@keyframes kreide { to { stroke-dashoffset: 0; } }
.hero .wrap { padding-top: clamp(80px, 14vw, 160px); padding-bottom: clamp(80px, 12vw, 140px); }
.hero h1 { max-width: 9ch; }
.hero .unterzeile { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34ch; color: #e6e6e6; }
.hero .verein { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: .95rem; color: #d0d0d0; }
.hero .verein::before { content: ""; width: 28px; height: 4px; background: var(--rot); }

.hero.klein .wrap { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero.klein h1 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 14ch; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 9vw, 112px) 0; }
.abschnitt.hell { background: var(--hell); }
.abschnitt.dunkel { background: var(--asche); color: var(--weiss); }
.abschnitt.dunkel p { color: #d6d6d6; }

/* Angebote: drei breite Bahnen statt Kacheln */
.bahn { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--linie); }
.bahn:first-of-type { border-top: 0; }
.bahn:nth-of-type(even) .bild { order: 2; }
.bahn h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.bahn .wann { font-weight: 600; color: var(--rot); margin-bottom: .6em; }
@media (max-width: 760px) { .bahn { grid-template-columns: 1fr; } .bahn:nth-of-type(even) .bild { order: 0; } }

.bild { position: relative; aspect-ratio: 4 / 3; background: var(--asche); overflow: hidden; border-radius: 2px; }
.bild img { width: 100%; height: 100%; object-fit: cover; }
/* Platzhalter, solange kein Foto hochgeladen ist */
.bild.leer { background: var(--asche) repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.035) 46px 92px); }
.bild.leer::after { content: attr(data-hinweis); position: absolute; left: 16px; bottom: 14px; color: #8a8a8a; font-size: .85rem; }

/* Anzeigetafel */
.tafel { background: var(--schwarz); color: var(--weiss); border-top: 4px solid var(--rot); }
.tafel .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.tafel div.feldwert { padding: 36px 20px; text-align: center; border-left: 1px solid #262626; }
.tafel div.feldwert:first-child { border-left: 0; }
.tafel strong { display: block; font-family: var(--display); font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; color: var(--rot); font-variant-numeric: tabular-nums; }
.tafel span { color: #cfcfcf; font-size: .95rem; }
@media (max-width: 640px) { .tafel .wrap { grid-template-columns: 1fr; } .tafel div.feldwert { border-left: 0; border-top: 1px solid #262626; padding: 24px; } .tafel div.feldwert:first-child { border-top: 0; } }

/* Verein */
.verein-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.vereinswappen { width: clamp(110px, 16vw, 170px); aspect-ratio: 1; display: grid; place-items: center; }
.vereinswappen img { width: 100%; height: 100%; object-fit: contain; }
.vereinswappen.leer { border-radius: 50%; background: var(--rot); color: var(--weiss); font-family: var(--display); font-size: 2.4rem; box-shadow: inset 0 0 0 6px var(--asche), inset 0 0 0 9px var(--weiss); }
@media (max-width: 640px) { .verein-block { grid-template-columns: 1fr; } }

/* Zweispaltig */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
@media (max-width: 800px) { .zwei { grid-template-columns: 1fr; } }

.liste { list-style: none; padding: 0; margin: 0 0 1.4em; }
.liste li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--linie); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 3px; background: var(--rot); }
.dunkel .liste li { border-color: #333; }

.hinweis { border-left: 4px solid var(--rot); background: var(--hell); padding: 18px 22px; margin: 0 0 1.4em; }
.hinweis p:last-child { margin: 0; }

/* Kontakt */
.kontakt-daten { display: grid; gap: 22px; margin: 0; }
.kontakt-daten dt { font-weight: 600; color: #a8a8a8; font-size: .9rem; }
.kontakt-daten dd { margin: 2px 0 0; font-size: 1.3rem; }
.kontakt-daten a { color: var(--weiss); text-decoration-color: var(--rot); }
.kontakt-daten a:hover { color: #ffb3bf; }

/* Formular (Anfrage per E-Mail) */
.formular { display: grid; gap: 16px; }
.formular .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .formular .zeile { grid-template-columns: 1fr; } }
.formular label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.formular input, .formular select, .formular textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid #b9b9b4; border-radius: 2px; background: var(--weiss); color: var(--text); width: 100%; }
.formular textarea { min-height: 130px; resize: vertical; }
.formular .klein { font-size: .88rem; color: var(--grau); margin: 0; }

/* Rechtstexte */
.recht { max-width: 760px; }
.recht h2 { font-size: 1.9rem; margin-top: 1.6em; }
.recht h3 { font-size: 1.35rem; margin-top: 1.4em; }
.recht ul { padding-left: 1.2em; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--schwarz); color: #cfcfcf; border-top: 4px solid var(--rot); padding: 56px 0 28px; font-size: .95rem; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss h4 { font-family: var(--display); font-size: 1.4rem; color: var(--weiss); margin: 0 0 12px; font-weight: 700; }
.fuss a { color: #e6e6e6; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fuss .unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #9a9a9a; }
@media (max-width: 760px) { .fuss .spalten { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .feld .kreis { animation: none; stroke-dashoffset: 0; }
}

figure { margin: 0; }
.vereinswappen.leer::after { content: "TSV"; }

/* Logo im Kopf */
.marke img { height: 52px; width: auto; }
@media (max-width: 1080px) {
  .menue-knopf { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--schwarz); border-bottom: 4px solid var(--rot); display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--rand) 16px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #222; }
  .nav .nav-anruf { margin: 12px 0 0; text-align: center; border: 0; }
}
.bahn .knopf { margin: 4px 8px 4px 0; }

/* Speisekarte */
.kartenwahl { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.kartenwahl a { padding: 10px 18px; border: 2px solid var(--text); color: var(--text); text-decoration: none; font-weight: 600; border-radius: 2px; }
.kartenwahl a:hover { background: var(--text); color: var(--weiss); }
.kartenwahl a:last-child { border-color: var(--rot); color: var(--rot); }
.kartenwahl a:last-child:hover { background: var(--rot); color: var(--weiss); }
.karte { columns: 2 380px; column-gap: clamp(32px, 6vw, 80px); }
.karte-abstand { margin-top: 1.4em; }
.kartenblock { break-inside: avoid; margin-bottom: 40px; }
.kartenblock h3 { font-size: 1.9rem; padding-bottom: 8px; border-bottom: 4px solid var(--rot); margin-bottom: 4px; }
.kartenhinweis { color: var(--grau); font-size: .95rem; margin: 8px 0 0; }
.posten { list-style: none; margin: 0; padding: 0; }
.posten li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.posten li.folge { padding-top: 0; border-top: 0; margin-top: -6px; }
.posten .name { font-weight: 600; }
.posten .detail { display: block; font-weight: 400; color: var(--grau); font-size: .92rem; }
.posten .menge { color: var(--grau); font-size: .95rem; white-space: nowrap; }
.posten .preis { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 4.6em; text-align: right; }
.posten li:has(+ li.folge) { border-bottom: 0; }
.kartenfuss { color: var(--grau); font-size: .95rem; margin-top: 16px; }

/* Grillpakete */
.pakete { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.paket { display: flex; flex-direction: column; background: var(--hell); border-top: 4px solid var(--rot); padding: 28px 24px 24px; scroll-margin-top: 96px; }
.paket h3 { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.paket-art { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rot); margin-bottom: .4em; }
.paket .liste { flex: 1; }
.paket .liste li { padding: 9px 0 9px 26px; }
.paket .liste li::before { top: 19px; }
.paket-preis { margin: 0; color: var(--grau); }
.paket-preis strong { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--text); margin-right: 6px; font-variant-numeric: tabular-nums; }
.paket-preis span { display: block; margin-top: 6px; font-weight: 600; color: var(--rot); }
.pakete-fuss { margin-top: 48px; align-items: center; }
.pakete-fuss .hinweis h3 { font-size: 1.5rem; }

/* Veranstaltungen */
.event-marke { display: inline-block; background: var(--rot); color: var(--weiss); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; margin-bottom: 18px; }
.event-termin { border-left: 4px solid var(--rot); padding-left: 16px; margin: 4px 0 24px; }
.event-termin strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1.1; }
.event-termin span { color: var(--grau); font-weight: 600; }
.bild.plakat { aspect-ratio: 1149 / 1611; max-width: 460px; margin-left: auto; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
@media (max-width: 800px) { .bild.plakat { margin: 0 auto; } }
.anlaesse { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.anlass { background: var(--weiss); border-top: 4px solid var(--rot); padding: 26px 24px 20px; }
.anlass h3 { font-size: 1.9rem; }
.anlass p { margin: 0; color: var(--grau); }
@media (max-width: 1220px) {
  .menue-knopf { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--schwarz); border-bottom: 4px solid var(--rot); display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--rand) 16px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #222; }
  .nav .nav-anruf { margin: 12px 0 0; text-align: center; border: 0; }
}
.bild.plakat a { display: block; height: 100%; }
.bild.plakat img { object-fit: contain; }
.event-unter { display: block; font-size: .55em; color: var(--rot); margin-top: .15em; }
.posten.tickets { max-width: 380px; margin-top: 8px; }
.tickets .preis { font-family: var(--display); font-size: 1.6rem; }
.hinweis.vvk { margin-top: 24px; }
.hinweis.vvk h3 { font-size: 1.4rem; }
.plakat-link { max-width: 460px; margin: 12px 0 0 auto; text-align: center; font-weight: 600; }
@media (max-width: 800px) { .plakat-link { margin: 12px auto 0; } }
/* Plakat immer vollständig zeigen, egal welches Format */
.bild.plakat:not(.leer) { aspect-ratio: auto; background: none; }
.bild.plakat:not(.leer) a { height: auto; }
.bild.plakat:not(.leer) img { width: 100%; height: auto; object-fit: initial; }
