/* ==========================================================
   Petanque 1988 e.V. Groß-Zimmern
   Sportlicher Auftritt – große Schrift, hoher Kontrast
   ========================================================== */

:root {
  --navy: #0a1520;
  --navy-2: #122233;
  --navy-3: #1a3044;
  --teal: #0b7d78;
  --teal-hell: #16b3ac;
  --gold: #f2a93b;
  --text: #15191e;
  --text-leise: #3b4550;
  --hell: #f1f3f5;
  --weiss: #ffffff;
  --rand: #d5dbe1;
  --schatten: 0 8px 28px rgba(10, 21, 32, 0.14);
  --breite: 1200px;
  --header-h: 92px;
  --schnitt: 0px; /* schräge Abschnittskanten: 0 = gerade */
  font-size: 20px; /* Grundschrift: bewusst groß für gute Lesbarkeit */
}
html.schrift-gross { font-size: 23px; }
html.schrift-sehr-gross { font-size: 26px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--navy); }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: "Lexend", "Segoe UI", Arial, sans-serif;
  line-height: 1.1; color: var(--navy); margin: 0 0 0.5em;
}
h2 { font-size: 2.1rem; font-weight: 600; letter-spacing: 0; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Kopfzeile ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 4px solid var(--teal-hell);
  transition: background .3s, border-color .3s;
}
.header--transparent:not(.fest):not(.offen) { background: transparent; border-color: transparent; }
.header__inner {
  width: min(100% - 32px, 1440px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.marke {
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
  color: var(--weiss); text-decoration: none;
  font: 600 1.05rem/1.1 "Lexend", sans-serif;
}
.marke:hover { color: var(--weiss); }
.marke img { width: 64px; height: 64px; }
.marke small { display: block; margin-top: 4px; font: 600 0.85rem "Source Sans 3", sans-serif; letter-spacing: 0; color: var(--teal-hell); }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__liste { display: flex; align-items: center; gap: 2px; }
.nav__liste > li { position: relative; }
.nav a, .nav .nav__knopf {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  color: var(--weiss); text-decoration: none;
  font: 500 .85rem/1 "Lexend", sans-serif; letter-spacing: 0;
  padding: 14px 10px; background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav__liste > li > a::after, .nav__liste > li > .nav__knopf::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px;
  background: var(--teal-hell); transform: scaleX(0); transition: transform .2s;
}
.nav__liste > li > a:hover::after, .nav__liste > li > .nav__knopf:hover::after,
.nav a[aria-current="page"]::after, .nav .nav__knopf.aktiv::after { transform: scaleX(1); }
.nav a:hover, .nav .nav__knopf:hover { color: var(--weiss); }
.nav a[aria-current="page"], .nav .nav__knopf.aktiv { color: var(--teal-hell); }
.nav a.nav__cta {
  margin-left: 10px; background: var(--teal-hell); color: var(--navy); padding: 16px 22px;
}
.nav a.nav__cta > span { display: inline-block; }
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover, .nav a.nav__cta[aria-current="page"] { background: var(--gold); color: var(--navy); }
.pfeil { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; transition: transform .2s; }
.nav__knopf[aria-expanded="true"] .pfeil { transform: rotate(180deg); }

.untermenue {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--navy-2); border-top: 4px solid var(--teal-hell); padding: 8px;
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.untermenue.offen { display: block; }
.untermenue a { font-size: .9rem; padding: 14px 16px; }
.untermenue a:hover { background: rgba(255,255,255,.08); }

.menue-knopf {
  display: none; align-items: center; gap: 12px;
  background: var(--teal-hell); color: var(--navy);
  font: 600 1.1rem "Lexend", sans-serif; letter-spacing: 0;
  border: 0; padding: 12px 20px; cursor: pointer;
}
.balken, .balken::before, .balken::after {
  display: block; width: 22px; height: 3px; background: currentColor; position: relative;
}
.balken::before, .balken::after { content: ""; position: absolute; left: 0; }
.balken::before { top: -7px; } .balken::after { top: 7px; }

/* ---------- Schriftgröße ---------- */
.schriftwahl {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 6px;
  background: var(--weiss); border: 2px solid var(--navy); border-radius: 999px;
  padding: 6px 8px 6px 16px; box-shadow: var(--schatten);
  font-size: 0.8rem; font-weight: 700;
}
.schriftwahl button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--navy); background: var(--weiss); color: var(--navy);
  font: 800 1rem "Source Sans 3", sans-serif;
}
.schriftwahl button:nth-of-type(2) { font-size: 1.15rem; }
.schriftwahl button:nth-of-type(3) { font-size: 1.3rem; }
.schriftwahl button[aria-pressed="true"] { background: var(--navy); color: var(--weiss); }

/* ---------- Knöpfe (schräg, sportlich) ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 62px; padding: 0 36px;
  border: 3px solid transparent; cursor: pointer; text-decoration: none;
  font: 600 1.15rem "Lexend", sans-serif; letter-spacing: 0;
  transition: background .2s, color .2s, box-shadow .2s, translate .15s;
}
.knopf > span { display: inline-block; }
.knopf:hover { translate: 0 -2px; }
.knopf--voll { background: var(--teal-hell); color: var(--navy); box-shadow: 0 10px 30px rgba(22,179,172,.4); }
.knopf--voll:hover { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(242,169,59,.4); }
.knopf--rand { border-color: var(--weiss); color: var(--weiss); }
.knopf--rand:hover { background: var(--weiss); color: var(--navy); }
.knopf--dunkel { background: var(--navy); color: var(--weiss); }
.knopf--dunkel:hover { background: var(--teal); color: var(--weiss); }
.knopf--klein { min-height: 50px; padding: 0 24px; font-size: 1rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Startseiten-Titel (16:9) ---------- */
.hero {
  position: relative; isolation: isolate;
  /* 16:9-Bühne, wächst aber mit, falls der Inhalt (z. B. bei großer Schrift) mehr Platz braucht */
  min-height: max(680px, min(56.25vw, 100vh)); width: 100%;
  display: grid; place-items: center; text-align: center; color: var(--weiss);
  padding: calc(var(--header-h) + 30px) 16px calc(var(--schnitt) + 40px);
  background: var(--navy) url("../assets/hero.jpg") center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--schnitt)), 0 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,11,18,.72) 0%, rgba(5,11,18,.4) 45%, rgba(5,11,18,.75) 100%);
}
.hero__logo {
  width: clamp(130px, 14vw, 200px); margin: 0 auto 18px;
  filter: drop-shadow(0 0 26px rgba(22,179,172,.8));
}
.hero__dach {
  display: inline-block; margin-bottom: 14px; padding: 6px 18px;
  background: var(--teal-hell); color: var(--navy);
  font: 600 1rem "Lexend", sans-serif; letter-spacing: 0;
}
.hero__dach > span { display: inline-block; }
.hero h1 {
  color: var(--weiss); margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em;
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
}
.hero h1 span { display: block; font-size: .6em; font-weight: 500; margin-top: 8px; color: var(--teal-hell); letter-spacing: 0; }
.hero__claim { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin: 22px 0 34px; color: #e3e9ef; font-weight: 500; }
.hero .knopfreihe { justify-content: center; }

/* ---------- Unterseiten-Titel ---------- */
.seitenkopf {
  position: relative; isolation: isolate; color: var(--weiss);
  padding: calc(var(--header-h) + 70px) 0 calc(var(--schnitt) + 56px);
  background: var(--navy) url("../assets/hero.jpg") center 70% / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--schnitt)), 0 100%);
}
.seitenkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(5,11,18,.94) 0%, rgba(5,11,18,.75) 55%, rgba(5,11,18,.4) 100%);
}
.seitenkopf h1 {
  color: var(--weiss); margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1;
}
.seitenkopf p { max-width: 720px; margin: 18px 0 0; font-size: 1.2rem; color: #d7e0e8; }
.brotkrumen { font-size: .9rem; margin-bottom: 14px; color: #b7c4cf; }
.brotkrumen a { color: var(--teal-hell); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 90px 0; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--dunkel { background: var(--navy); color: #dfe6ec; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: var(--weiss); }
.abschnitt--dunkel a:not(.knopf) { color: var(--teal-hell); }
.seitenkopf + .abschnitt { padding-top: 60px; }
.kopf { max-width: 780px; margin-bottom: 44px; }
.kopf--mitte { margin-inline: auto; text-align: center; }
.kopf--zeile { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.kopf--zeile h2 { margin: 0; }
.oberzeile {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px;
  background: var(--navy); color: var(--teal-hell);
  font: 600 0.85rem "Lexend", sans-serif; letter-spacing: 0;
}
.oberzeile > span { display: inline-block; }
.abschnitt--dunkel .oberzeile { background: var(--teal-hell); color: var(--navy); }
.einleitung { font-size: 1.2rem; color: var(--text-leise); }
.abschnitt--dunkel .einleitung { color: #c3cfd9; }

.zwei-spalten { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

.bildrahmen {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy-3), var(--navy)); box-shadow: var(--schatten);
}
.bildrahmen img { width: 100%; height: 100%; object-fit: cover; }
.bildrahmen--platzhalter { display: grid; place-items: center; text-align: center; color: #9fb0bf; font-weight: 600; padding: 24px; }
.bildrahmen--platzhalter::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-60deg, transparent 0 28px, rgba(22,179,172,.08) 28px 34px);
}
.bildrahmen--akzent { border-left: 10px solid var(--teal-hell); }

/* ---------- Anzeigetafel (Zahlen) ---------- */
.anzeige { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); }
.anzeige div { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); color: #c3cfd9; }
.anzeige div:last-child { border-right: 0; }
.anzeige strong { display: block; color: var(--weiss); font: 700 2.72rem/1 "Lexend", sans-serif; }
.anzeige strong em { color: var(--teal-hell); }

/* ---------- Nächster Termin (Leiste) ---------- */
.naechstes { background: var(--teal-hell); color: var(--navy); }
.naechstes .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; }
.naechstes__label {
  background: var(--navy); color: var(--weiss); padding: 6px 16px;
  font: 600 1rem "Lexend", sans-serif; letter-spacing: 0;
}
.naechstes__label > span { display: inline-block; }
.naechstes__text { font-weight: 700; font-size: 1.1rem; flex: 1; min-width: 240px; }
.naechstes a { color: var(--navy); }

/* ---------- Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.kachel {
  position: relative; display: block; overflow: hidden;
  background: var(--navy); color: var(--weiss); text-decoration: none;
  padding: 30px 28px 70px 36px; min-height: 200px;
  transition: transform .2s;
}
.kachel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--teal-hell); transition: width .25s; }
.kachel:hover { transform: translateY(-4px); color: var(--weiss); }
.kachel:hover::before { width: 14px; }
.kachel strong { display: block; font: 600 1.44rem/1.05 "Lexend", sans-serif; margin-bottom: 8px; }
.kachel span { color: #c3cfd9; font-weight: 500; }
.kachel::after {
  content: "→"; position: absolute; right: 26px; bottom: 18px;
  font: 600 1.44rem "Lexend", sans-serif; color: var(--teal-hell); transition: transform .2s;
}
.kachel:hover::after { transform: translateX(6px); }

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.karte { background: var(--weiss); padding: 32px; box-shadow: var(--schatten); border-top: 6px solid var(--teal-hell); }
.karte__nr {
  display: inline-grid; place-items: center; width: 60px; height: 52px; margin-bottom: 16px;
  background: var(--navy); color: var(--teal-hell);
  font: 700 1.44rem "Lexend", sans-serif;
}

/* ---------- Trainingszeiten ---------- */
.zeiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.zeit { background: var(--weiss); box-shadow: var(--schatten); overflow: hidden; }
.zeit__tag {
  background: var(--navy); color: var(--weiss); padding: 18px 28px; border-bottom: 5px solid var(--teal-hell);
  font: 600 1.52rem "Lexend", sans-serif;
}
.zeit__inhalt { padding: 24px 28px 26px; }
.zeit__uhr { font: 600 1.68rem "Lexend", sans-serif; color: var(--teal); line-height: 1.1; margin-bottom: 8px; }
.hinweis { margin-top: 36px; padding: 24px 28px; background: #fff6e3; border-left: 8px solid var(--gold); }

/* ---------- Tabellen / Reiter ---------- */
.reiter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.reiter button {
  min-height: 56px; padding: 0 28px; cursor: pointer;
  border: 3px solid var(--navy); background: var(--weiss); color: var(--navy);
  font: 600 1.1rem "Lexend", sans-serif; letter-spacing: 0;
}
.reiter button > span { display: inline-block; }
.reiter button[aria-selected="true"] { background: var(--navy); color: var(--weiss); }
.tafel { overflow-x: auto; background: var(--weiss); box-shadow: var(--schatten); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--rand); }
th { background: var(--navy); color: var(--weiss); font: 600 1rem "Lexend", sans-serif; letter-spacing: 0; }
tbody tr:nth-child(even) td { background: #f7f9fa; }
tr.wir td { background: #dff5f3 !important; font-weight: 800; }
tr.wir td:first-child { box-shadow: inset 6px 0 0 var(--teal-hell); }
.r { text-align: right; }
.platz { font: 700 1.04rem "Lexend", sans-serif; }
.ergebnis { display: inline-block; min-width: 76px; text-align: center; padding: 4px 10px; font: 600 1.15rem "Lexend", sans-serif; color: var(--weiss); background: var(--navy); }
.ergebnis--sieg { background: var(--teal); }
.ergebnis--niederlage { background: #9a3b3b; }

/* ---------- Mitglied ---------- */
.mitglied { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.haken { list-style: none; padding: 0; margin: 0 0 30px; }
.haken li { padding-left: 46px; position: relative; margin-bottom: 14px; }
.haken li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 32px; height: 28px;
  background: var(--teal-hell); color: var(--navy);
  display: grid; place-items: center; font-weight: 900; font-size: .85rem;
}
.beitrag { background: var(--weiss); color: var(--text); padding: 34px; border-top: 8px solid var(--teal-hell); box-shadow: var(--schatten); }
.beitrag h3 { color: var(--navy); font-size: 1.5rem; }
.beitrag dl { margin: 0 0 24px; }
.beitrag .zeile { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rand); }
.beitrag dt { font-weight: 600; }
.beitrag dd { margin: 0; font: 600 1.08rem "Lexend", sans-serif; color: var(--teal); white-space: nowrap; }
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.schritte li { counter-increment: schritt; position: relative; padding: 22px 24px 22px 96px; background: var(--weiss); box-shadow: var(--schatten); }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 24px; top: 50%; translate: 0 -50%;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--navy); color: var(--teal-hell);
  font: 700 1.36rem "Lexend", sans-serif;
}
.schritte strong { display: block; font: 600 1.04rem "Lexend", sans-serif; color: var(--navy); }

/* ---------- Aktuelles ---------- */
.news-werkzeug { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; }
.filter button {
  min-height: 50px; padding: 0 22px; cursor: pointer;
  border: 2px solid var(--navy); background: var(--weiss); color: var(--navy);
  font: 600 1rem "Lexend", sans-serif; letter-spacing: 0;
}
.filter button > span { display: inline-block; }
.filter button[aria-pressed="true"] { background: var(--navy); color: var(--weiss); }
.filter button:hover { border-color: var(--teal); }
.suche { position: relative; flex: 0 1 340px; }
.suche input {
  width: 100%; min-height: 54px; padding: 0 18px 0 50px;
  border: 2px solid var(--rand); background: var(--weiss); font: inherit; color: var(--text);
}
.suche input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(22,179,172,.3); }
.suche svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; stroke: var(--text-leise); fill: none; stroke-width: 2.4; }

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }

.aufmacher {
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--navy); color: #dfe6ec;
  margin-bottom: 32px; box-shadow: var(--schatten); text-decoration: none; font-weight: 400;
}
.aufmacher .news__bild { aspect-ratio: auto; min-height: 320px; }
.aufmacher__text { padding: 38px 36px; display: flex; flex-direction: column; justify-content: center; }
.aufmacher h3 { color: var(--weiss); font: 600 1.84rem/1.05 "Lexend", sans-serif; transition: color .2s; }
.aufmacher p { color: #c3cfd9; }
.aufmacher .news__meta, .aufmacher .weiter { color: var(--teal-hell); }
.aufmacher:hover { color: #dfe6ec; }
.aufmacher:hover h3 { color: var(--teal-hell); }

.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.news__karte {
  display: flex; flex-direction: column; background: var(--weiss); color: var(--text);
  box-shadow: var(--schatten); text-decoration: none; font-weight: 400;
  transition: transform .2s, box-shadow .2s;
}
.news__karte:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(10,21,32,.2); color: var(--text); }
.news__karte:hover h3 { color: var(--teal); }
.news__bild {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  display: grid; place-items: center;
}
.news__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news__karte:hover .news__bild img, .aufmacher:hover .news__bild img { transform: scale(1.05); }
.news__bild--leer img { width: auto; height: 55%; object-fit: contain; opacity: .25; }
.news__bild--leer::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-60deg, transparent 0 30px, rgba(22,179,172,.1) 30px 38px);
}
.marke-kat {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  padding: 5px 14px;
  background: var(--teal-hell); color: var(--navy);
  font: 600 0.85rem "Lexend", sans-serif; letter-spacing: 0;
}
.marke-kat > span { display: inline-block; }
.marke-kat[data-kat="Turniere"] { background: var(--gold); }
.marke-kat[data-kat="Liga"] { background: #7fd1ff; }
.marke-kat[data-kat="Verein"] { background: #c7e36b; }
.marke-kat[data-kat="Jugend"] { background: #ffb8cc; }
.marke-kat[data-kat="Boule-AG"] { background: #cdbcff; }
.news__text { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news__meta { font-weight: 700; color: var(--teal); font-size: .9rem; margin-bottom: 6px; letter-spacing: 0; }
.news__text h3 { transition: color .2s; }
.news__text p { color: var(--text-leise); }
.weiter { margin-top: auto; font: 600 1.05rem "Lexend", sans-serif; letter-spacing: 0; color: var(--teal); }
.news-leer { padding: 40px; background: var(--hell); text-align: center; font-weight: 600; }
.mehr-laden { text-align: center; margin-top: 40px; }

.seitenleiste { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.box { background: var(--weiss); box-shadow: var(--schatten); }
.box__kopf {
  background: var(--navy); color: var(--weiss); padding: 16px 22px; margin: 0;
  font: 600 1.12rem "Lexend", sans-serif;
  border-bottom: 4px solid var(--teal-hell);
}
.box__inhalt { padding: 8px 22px 20px; }
.box__fuss { padding: 0 22px 22px; }
.termin { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rand); align-items: center; }
.termin:last-child { border-bottom: 0; }
.termin__datum {
  background: var(--teal-hell); color: var(--navy); text-align: center; padding: 6px 0; line-height: 1;
  font: 700 1.28rem "Lexend", sans-serif;
}
.termin__datum small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: 0; margin-top: 3px; }
.termin strong { display: block; line-height: 1.25; }
.termin span { font-size: .85rem; color: var(--text-leise); }
.kurzergebnis { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rand); font-size: .92rem; font-weight: 600; }
.kurzergebnis:last-child { border-bottom: 0; }

/* Artikelseite */
.artikel { max-width: 820px; }
.artikel__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; font-weight: 700; color: var(--text-leise); }
.artikel__meta .marke-kat { position: static; display: inline-block; }
.artikel__bild { margin: 0 0 34px; }
.artikel__text { font-size: 1.1rem; }
.artikel__text h2 { font-size: 1.6rem; margin-top: 1.4em; }
.artikel__text ul { padding-left: 1.2em; }
.artikel__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 3px solid var(--navy); }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.galerie figure { margin: 0; }
.galerie .bildrahmen { aspect-ratio: 4 / 3; }
.galerie figcaption { margin-top: 10px; font: 600 1.15rem "Lexend", sans-serif; letter-spacing: 0; }

/* ---------- Vorstand ---------- */
.vorstand { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.person { background: var(--weiss); box-shadow: var(--schatten); text-align: center; overflow: hidden; }
.person__bild {
  aspect-ratio: 1; background: linear-gradient(160deg, var(--navy-3), var(--navy));
  display: grid; place-items: center; color: var(--teal-hell);
  font: 700 2.56rem "Lexend", sans-serif;
}
.person__text { padding: 22px 20px 26px; border-top: 6px solid var(--teal-hell); }
.person h3 { margin-bottom: 4px; }
.person p { margin: 0; color: var(--teal); font-weight: 700; letter-spacing: 0; font-size: .9rem; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.produkt { background: var(--weiss); box-shadow: var(--schatten); display: flex; flex-direction: column; }
.produkt__bild { aspect-ratio: 1; background: var(--hell); display: grid; place-items: center; }
.produkt__bild svg { width: 46%; }
.produkt__text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.preis { font: 700 1.52rem "Lexend", sans-serif; color: var(--teal); margin-bottom: 14px; }
.produkt .knopf { margin-top: auto; align-self: flex-start; }

/* ---------- Links ---------- */
.linkliste { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.linkliste a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 28px; background: var(--weiss); box-shadow: var(--schatten);
  border-left: 8px solid var(--teal-hell); text-decoration: none; color: var(--navy);
  font: 600 1.08rem "Lexend", sans-serif;
}
.linkliste a small { display: block; font: 400 .95rem "Source Sans 3", sans-serif; color: var(--text-leise); }
.linkliste a::after { content: "↗"; font-size: 1.6rem; color: var(--teal); }
.linkliste a:hover { border-color: var(--gold); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.kontakt__eintrag { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; }
.kontakt__symbol { flex: none; width: 58px; height: 58px; display: grid; place-items: center; background: var(--teal-hell); }
.kontakt__symbol svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2.2; }
.kontakt__eintrag strong { display: block; font: 600 1.04rem "Lexend", sans-serif; color: var(--navy); }
.karte-box {
  min-height: 380px; padding: 34px; display: grid; place-items: center; text-align: center;
  background: var(--navy) url("../assets/hero.jpg") center / cover; position: relative; isolation: isolate; color: #dfe6ec;
}
.karte-box::before { content: ""; position: absolute; inset: 0; background: rgba(5,11,18,.8); z-index: -1; }
.karte-box h3 { color: var(--weiss); font-size: 1.6rem; }

/* ---------- Mitmach-Band ---------- */
.aufruf { background: linear-gradient(100deg, var(--teal) 0%, var(--teal-hell) 100%); color: var(--navy); padding: 70px 0; }
.aufruf .container { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
.aufruf h2 { color: var(--navy); margin: 0; }
.aufruf p { margin: 8px 0 0; font-size: 1.2rem; font-weight: 600; color: #06302e; }

/* ---------- Fußzeile ---------- */
.fuss { background: #050b12; color: #b3c0cb; padding: 70px 0 34px; font-size: .95rem; border-top: 6px solid var(--teal-hell); }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.fuss h3 { color: var(--weiss); font-size: 1.3rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { color: #dfe6ec; font-weight: 500; }
.fuss a:hover { color: var(--teal-hell); }
.fuss__unten { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 860px; }
.rechtstext h2 { font-size: 1.45rem; margin-top: 1.6em; }

/* ---------- Einblenden ---------- */
.js .einblenden { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .einblenden { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 1360px) and (min-width: 1241px) {
  .header .marke > span { display: none; } /* nur Wappen, damit das Menü in eine Zeile passt */
}
@media (max-width: 1240px) {
  .menue-knopf { display: inline-flex; }
  .nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--navy); overflow-y: auto; padding: 16px 16px 120px;
  }
  .nav.offen { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav .nav__knopf {
    width: 100%; justify-content: space-between; font-size: 1.15rem; padding: 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__liste > li > a::after, .nav__liste > li > .nav__knopf::after { left: 0; right: auto; top: 0; bottom: 0; width: 5px; height: auto; transform: scaleY(0); }
  .nav__liste > li > a:hover::after, .nav a[aria-current="page"]::after, .nav .nav__knopf.aktiv::after { transform: scaleY(1); }
  .nav a.nav__cta { margin: 18px 8px 0; width: auto; justify-content: center; }
  .untermenue { position: static; box-shadow: none; border-top: 0; background: rgba(255,255,255,.04); }
  .untermenue a { padding-left: 34px; font-size: 1.05rem; }
}
@media (max-width: 1000px) {
  .news-layout { grid-template-columns: 1fr; }
  .seitenleiste { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .aufmacher { grid-template-columns: 1fr; }
  .aufmacher .news__bild { aspect-ratio: 16 / 9; min-height: 0; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .anzeige { grid-template-columns: 1fr 1fr; }
  .anzeige div:nth-child(2) { border-right: 0; }
  .anzeige div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 860px) {
  :root { --header-h: 78px; }
  .marke img { width: 52px; height: 52px; }
  .marke { font-size: 1.2rem; }
  .abschnitt { padding: 64px 0; }
  h2 { font-size: 1.75rem; }
  .hero { min-height: 100svh; }
  .zwei-spalten, .mitglied, .kontakt { grid-template-columns: 1fr; gap: 36px; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .schriftwahl { right: 10px; bottom: 10px; padding-left: 10px; }
  .schriftwahl__text { display: none; }
  .aufmacher__text { padding: 28px 24px; }
  .aufmacher h3 { font-size: 1.5rem; }
}
@media (max-width: 520px) {
  .marke small { display: none; }
  .marke { font-size: .8rem; gap: 10px; }
  .marke img { width: 46px; height: 46px; }
  .zeit__uhr { font-size: 1.35rem; }
  .menue-knopf .menue-text { display: none; }
  .galerie, .fuss__raster { grid-template-columns: 1fr; }
  .linkliste { grid-template-columns: 1fr; }
  .knopf { padding: 0 26px; }
  .schritte li { padding-left: 88px; }
}

/* ---------- Ruhigere, runde Formen ---------- */
.knopf, .nav a.nav__cta, .menue-knopf, .reiter button, .filter button,
.hero__dach, .oberzeile, .naechstes__label, .marke-kat { border-radius: 999px; }
.karte__nr, .kontakt__symbol, .schritte li::before { border-radius: 50%; }
.haken li::before { border-radius: 50%; }
.karte, .zeit, .kachel, .news__karte, .aufmacher, .box, .person, .produkt, .beitrag,
.bildrahmen, .tafel, .schritte li, .linkliste a, .karte-box, .hinweis, .suche input, .termin__datum, .untermenue { border-radius: 12px; }
.news__karte, .aufmacher, .box, .zeit, .person, .produkt, .kachel, .bildrahmen, .tafel { overflow: hidden; }
.oberzeile { padding: 5px 16px; font-size: .8rem; }
.knopf { font-size: 1rem; font-weight: 600; }
.reiter button, .filter button { font-size: .9rem; }
.menue-knopf { font-size: .95rem; }
th { font-size: .85rem; }
.ergebnis, .galerie figcaption { font-size: 1rem; }
.weiter { font-size: .95rem; }
.aufmacher h3, .kachel strong { line-height: 1.2; }
.seitenkopf h1, .hero h1 { text-wrap: balance; }

/* ---------- Häufige Fragen ---------- */
.fragen { display: grid; gap: 14px; max-width: 900px; }
.fragen details { background: var(--weiss); border-radius: 12px; box-shadow: var(--schatten); border-left: 6px solid var(--teal-hell); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; position: relative;
  font: 600 1.1rem "Lexend", sans-serif; color: var(--navy);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--weiss); font-size: 1.3rem; line-height: 1;
}
.fragen details[open] summary::after { content: "–"; background: var(--teal); }
.fragen details > div { padding: 0 26px 22px; color: var(--text-leise); }

/* ---------- Erfolge / Downloads ---------- */
.erfolge { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.erfolg { background: var(--weiss); border-radius: 12px; box-shadow: var(--schatten); padding: 26px; border-top: 6px solid var(--gold); }
.erfolg__datum { font-weight: 700; color: var(--teal); font-size: .9rem; }
.erfolg h3 { margin: 6px 0 8px; }
.erfolg p { margin: 0; color: var(--text-leise); }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.downloads a {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 12px;
  background: var(--hell); color: var(--navy); text-decoration: none;
}
.downloads a:hover { background: #e2f4f3; }
.downloads a::before {
  content: "PDF"; flex: none; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); color: var(--weiss); font: 700 .8rem "Lexend", sans-serif;
}
.downloads small { display: block; font-weight: 400; color: var(--text-leise); }
.fliesstext { max-width: 820px; font-size: 1.1rem; }
.fliesstext h2 { font-size: 1.7rem; margin-top: 1.4em; }
.fliesstext h2:first-child { margin-top: 0; }

/* Vorstandsfotos */
.person__bild { aspect-ratio: 4 / 5; }
.person__bild--foto { background: var(--hell); }
.person__bild--foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Fotos in Beiträgen: Hochformat-Bilder oben ausrichten, damit Köpfe sichtbar bleiben */
.news__bild img { object-position: center 25%; }
.artikel__bild { aspect-ratio: auto; background: var(--navy); display: grid; place-items: center; }
.artikel__bild img { width: auto; max-width: 100%; max-height: 640px; height: auto; object-fit: contain; }

/* Erfolge mit Foto */
.erfolg--foto { padding: 0; overflow: hidden; }
.erfolg__bild { aspect-ratio: 4 / 3; background: var(--navy); }
.erfolg__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.erfolg__text { padding: 22px 26px 26px; }

/* ---------- Shop ---------- */
.shop-kopf { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.shop-kopf h2 { margin: 0; }
.shop-hinweis { font-size: .9rem; color: var(--text-leise); margin-top: 26px; }
.artikelraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-bottom: 70px; }
.artikelkarte {
  display: flex; flex-direction: column; background: var(--weiss); border-radius: 12px; overflow: hidden;
  box-shadow: var(--schatten); text-decoration: none; color: var(--text); font-weight: 400;
  transition: transform .2s, box-shadow .2s;
}
.artikelkarte:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,21,32,.18); color: var(--text); }
.artikelkarte__bild { aspect-ratio: 1; background: #f4f5f6; display: grid; place-items: center; padding: 14px; }
.artikelkarte__bild img { width: 100%; height: 100%; object-fit: contain; }
.artikelkarte__text { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.artikelkarte h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 10px; }
.artikelkarte__preis { margin-top: auto; font: 600 1.15rem "Lexend", sans-serif; color: var(--teal); }
.artikelkarte__link { font-size: .9rem; font-weight: 700; color: var(--teal); margin-top: 6px; }
.shop-sprung { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.shop-sprung a { padding: 12px 22px; border-radius: 999px; background: var(--weiss); border: 2px solid var(--navy); color: var(--navy); text-decoration: none; }
.shop-sprung a:hover { background: var(--navy); color: var(--weiss); }

/* Vorschaubilder fest in den 16:9-Rahmen einpassen (sonst wirkt der Bildausschnitt nicht) */
.news__bild:not(.news__bild--leer) img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Startseite: echtes Foto vom Bouleplatz als Hintergrund (Ausschnitt auf die Spieler) */
.hero { background-image: url("../assets/bilder/bouleplatz-fruehling.jpg"); background-position: center 58%; }

/* Hintergrundfoto leicht weichzeichnen – nur das Foto, nicht Text und Wappen */
.hero { background: var(--navy); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/bilder/bouleplatz-fruehling.jpg") center 58% / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.06); /* verhindert helle Ränder durch das Weichzeichnen */
}

/* ---------- Karte (OpenStreetMap, lädt erst nach Klick) ---------- */
.karte-osm { display: grid; gap: 16px; }
.karte-osm__rahmen {
  position: relative; min-height: 380px; border-radius: 12px; overflow: hidden;
  background: var(--navy) url("../assets/hero.jpg") center / cover; isolation: isolate;
}
.karte-osm__rahmen::before { content: ""; position: absolute; inset: 0; background: rgba(5,11,18,.82); z-index: -1; }
.karte-osm__rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-osm__rahmen.geladen::before { display: none; }
.karte-osm__hinweis { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 30px; color: #dfe6ec; }
.karte-osm__hinweis h3 { color: var(--weiss); font-size: 1.5rem; }
.karte-osm__hinweis .knopf { justify-self: center; }
.karte-osm__links { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ---------- Liga (automatisch vom Verband) ---------- */
.liga { background: var(--weiss); border-radius: 16px; box-shadow: var(--schatten); padding: 34px; margin-bottom: 36px; }
.liga__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; }
.liga__kopf h2 { margin: 0 0 6px; }
.liga__kopf h2 small { font-size: .55em; font-weight: 500; color: var(--text-leise); }
.liga__status { margin: 0; color: var(--text-leise); }
.liga__platz {
  flex: none; min-width: 130px; text-align: center; padding: 14px 20px; border-radius: 14px;
  background: var(--navy); color: #c3cfd9; font-size: .85rem;
}
.liga__platz strong { display: block; font: 700 2.6rem/1 "Lexend", sans-serif; color: var(--teal-hell); }
.liga__zahlen { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.liga__zahlen li { background: var(--hell); border-radius: 12px; padding: 14px; text-align: center; font-size: .85rem; color: var(--text-leise); }
.liga__zahlen strong { display: block; font: 600 1.4rem "Lexend", sans-serif; color: var(--navy); }
.liga__spalten { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
.liga__spalten h3 { margin-bottom: 14px; }
.liga-tabelle { min-width: 0; font-size: .9rem; }
.liga-tabelle th, .liga-tabelle td { padding: 11px 12px; }
.liga__quelle { margin: 26px 0 0; font-size: .9rem; }
.liga-stand { font-size: .85rem; color: var(--text-leise); }
.liga-jugend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--hell); border-radius: 12px; padding: 20px 24px; }
.liga-jugend p { margin: 0; }
.spieltag { margin-bottom: 20px; }
.spieltag h4 { font: 600 .85rem "Lexend", sans-serif; color: var(--teal); margin: 0 0 8px; }
.spiele { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spiel { background: var(--hell); border-radius: 10px; border-left: 5px solid var(--rand); }
.spiel--sieg { border-left-color: var(--teal); }
.spiel--niederlage { border-left-color: #9a3b3b; }
.spiel__zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.spiel__gegner { font-weight: 600; }
.ergebnis--offen { background: var(--text-leise); }
.spiel__details { padding: 0 14px 10px; font-size: .88rem; }
.spiel__details summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.spiel__details table { min-width: 0; margin-top: 6px; }
.spiel__details td { padding: 6px 8px; border-bottom: 1px solid var(--rand); background: transparent !important; }
.spiel__details td.gewonnen { color: var(--teal); font-weight: 700; }
.spiel__details .summe td { font-weight: 700; border-bottom: 0; }
@media (max-width: 1000px) { .liga__spalten { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .liga { padding: 22px 18px; }
  .liga__zahlen { grid-template-columns: repeat(2, 1fr); }
  .nur-breit { display: none; }
}

/* Tabellen haben immer weißen Grund – deshalb auch in dunklen Abschnitten dunkle Schrift */
.tafel { color: var(--text); }
.tafel td strong { color: var(--navy); }

/* ---------- Beiträge (Preisübersicht) ---------- */
.preiskarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.preiskarte { background: var(--weiss); border-radius: 16px; padding: 30px 28px; box-shadow: var(--schatten); border-top: 6px solid var(--rand); }
.preiskarte--hervor { border-top-color: var(--teal-hell); }
.preiskarte h3 { margin-bottom: 10px; }
.preiskarte__preis { font: 700 2.2rem/1.1 "Lexend", sans-serif; color: var(--teal); margin: 0 0 12px; }
.preiskarte__preis small { font-size: .8rem; font-weight: 500; color: var(--text-leise); }
.preiskarte p:last-child { margin: 0; color: var(--text-leise); }
.lizenzhinweis {
  margin-top: 22px; padding: 28px; border-radius: 16px; background: var(--navy); color: #dfe6ec;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center;
}
.lizenzhinweis h3 { color: var(--weiss); }
.lizenzhinweis p { margin: 0; }
.lizenzhinweis dl { margin: 0; display: grid; gap: 10px; }
.lizenzhinweis dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-radius: 10px; background: rgba(255,255,255,.07); }
.lizenzhinweis dd { margin: 0; font: 600 1.15rem "Lexend", sans-serif; color: var(--teal-hell); white-space: nowrap; }

/* ---------- Formulare ---------- */
.formular__raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.formular--schmal { max-width: 860px; }
.formteil { border: 0; margin: 0 0 26px; padding: 30px; background: var(--weiss); border-radius: 16px; box-shadow: var(--schatten); }
.formteil legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; font: 600 1.35rem "Lexend", sans-serif; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.formteil legend + * { clear: both; }
.formteil__nr { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-hell); color: var(--navy); font-size: 1.05rem; flex: none; }
.feld { margin-bottom: 18px; }
.feld label { display: block; font-weight: 700; margin-bottom: 6px; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; color: var(--text);
  background: var(--weiss); border: 2px solid #aab6c1; border-radius: 10px;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,179,172,.25); }
.feld [aria-invalid="true"], .familie__person [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.feld__fehler { margin: 6px 0 0; color: #b3261e; font-weight: 700; font-size: .92rem; }
.feld__fehler:empty { display: none; }
.pflicht { color: #b3261e; }
.optional { font-weight: 400; color: var(--text-leise); font-size: .9rem; }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.felder-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.felder-plz { display: grid; grid-template-columns: 150px 1fr; gap: 0 18px; }
.haken-feld { display: flex; gap: 14px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.haken-feld input { flex: none; width: 28px; height: 28px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.feld--haken { padding: 14px 16px; border-radius: 10px; background: var(--hell); }
.hinweis-klein { color: var(--text-leise); font-size: .95rem; }
.minderjaehrig { border-left: 5px solid var(--gold); padding-left: 18px; margin-top: 10px; }

.wahlkarten { display: grid; gap: 12px; }
.wahlkarte { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border: 2px solid #aab6c1; border-radius: 12px; cursor: pointer; }
.wahlkarte input { width: 26px; height: 26px; accent-color: var(--teal); flex: none; }
.wahlkarte:has(input:checked) { border-color: var(--teal); background: #e7f7f6; box-shadow: 0 0 0 3px rgba(22,179,172,.2); }
.wahlkarte__inhalt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; flex: 1; }
.wahlkarte__preis { font: 600 1.05rem "Lexend", sans-serif; color: var(--teal); }

.familie__person { padding: 18px; border-radius: 12px; background: var(--hell); margin-bottom: 14px; }
.familie__person .feld { margin-bottom: 10px; }
.familie__fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.familie__entfernen { background: none; border: 0; color: #b3261e; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }
.lizenzpreis { color: var(--text-leise); }

.mandat { padding: 18px 20px; border-radius: 12px; background: var(--hell); font-size: .92rem; margin-bottom: 20px; }
.mandat p:last-child { margin-bottom: 0; }

.beitragsbox { position: sticky; top: calc(var(--header-h) + 20px); background: var(--navy); color: #dfe6ec; border-radius: 16px; padding: 26px; box-shadow: var(--schatten); }
.beitragsbox h3 { color: var(--weiss); }
.beitragsbox__posten { list-style: none; margin: 0 0 12px; padding: 0; }
.beitragsbox__posten li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.beitragsbox__summe { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; }
.beitragsbox__summe strong { font: 700 1.8rem "Lexend", sans-serif; color: var(--teal-hell); }
.beitragsbox__hinweis { font-size: .85rem; color: #b3c0cb; }
.beitragsbox .formular__senden { width: 100%; margin-top: 8px; }
.beitragsbox .feld__fehler { color: #ffb4ab; }
.formular__senden[disabled] { opacity: .7; cursor: wait; }
.formular .formular__senden { margin-top: 6px; }

.formular-danke { padding: 34px; border-radius: 16px; background: #e7f7f6; border-left: 8px solid var(--teal); }
.formular-danke h3 { font-size: 1.6rem; }

@media (max-width: 1000px) {
  .formular__raster { grid-template-columns: 1fr; }
  .beitragsbox { position: static; }
  .lizenzhinweis { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .formteil { padding: 22px 16px; }
  .felder-2, .felder-3, .felder-plz { grid-template-columns: 1fr; }
}
.feld .haken-feld { display: flex; margin: 0; }

/* Ausgeblendete Elemente bleiben ausgeblendet, auch wenn sie z. B. als Knopf gestaltet sind */
[hidden] { display: none !important; }
.news-leer { grid-column: 1 / -1; }
