/* ESV München – Karate + Kobudo
   Farben nach ESV-Logo 2024 (Blau #133161, Mint #8aae9e) */
:root {
  --blau: #133161;          /* ESV-Blau aus dem Logo */
  --blau-hell: #2b4f86;     /* Links, Hover */
  --blau-zart: #eef1f6;
  --mint: #8aae9e;          /* ESV-Mint aus dem Logo */
  --mint-dunkel: #476f5f;   /* Mint als Textfarbe auf Weiß (ausreichender Kontrast) */
  --mint-hell: #e9f1ed;
  --text: #1c2433;
  --grau: #5a6474;
  --linie: #d8dee6;
  --breite: 1100px;
  --rund: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: #fff;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--blau-hell); text-underline-offset: 2px; }
a:hover { color: var(--blau); }
h1, h2, h3 { line-height: 1.25; color: var(--blau); }
h1 { font-size: 2rem; margin: .2em 0 .6em; }
h2 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* Kopf */
.kopf { background: var(--blau); color: #fff; border-bottom: 5px solid var(--mint); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; margin-right: auto; }
.marke img { width: 58px; height: 72px; display: block; background: #fff; border-radius: 8px; padding: 4px 5px; box-sizing: border-box; }
.marke strong { display: block; font-size: 1.3rem; letter-spacing: .01em; line-height: 1.15; }
.marke small { display: block; font-size: .85rem; color: #c9d6e6; line-height: 1.3; }
.marke small.verein { color: var(--mint); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.marke:hover { color: #fff; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; }
.hauptmenue > ul { display: flex; gap: .25rem; }
.hauptmenue li { position: relative; }
.hauptmenue a { display: block; color: #fff; text-decoration: none; padding: .5rem .8rem; border-radius: var(--rund); font-weight: 600; }
.hauptmenue > ul > li > a { border-bottom: 3px solid transparent; border-radius: 0; }
.hauptmenue > ul > li > a:hover { border-bottom-color: rgba(138,174,158,.6); }
.hauptmenue > ul > .aktiv > a { border-bottom-color: var(--mint); }
.hauptmenue li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 13rem; background: #fff; box-shadow: 0 6px 18px rgba(19,49,97,.18); border-radius: var(--rund); padding: .3rem; z-index: 5; }
.hauptmenue li ul a { color: var(--text); font-weight: 400; }
.hauptmenue li ul a:hover { background: var(--mint-hell); color: var(--blau); }
.hauptmenue li:hover > ul, .hauptmenue li:focus-within > ul { display: block; }
.menue-knopf { display: none; }

@media (max-width: 760px) {
  .menue-knopf { display: block; background: transparent; color: #fff; border: 2px solid var(--mint); border-radius: var(--rund); padding: .4rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
  .hauptmenue { display: none; width: 100%; }
  .hauptmenue.offen { display: block; }
  .hauptmenue > ul { flex-direction: column; }
  .hauptmenue > ul > li > a { border-bottom: 0; border-left: 3px solid transparent; }
  .hauptmenue > ul > .aktiv > a { border-left-color: var(--mint); }
  .hauptmenue li ul { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 0 1rem; }
  .hauptmenue li ul a { color: #dfe7f1; }
  .hauptmenue li ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
  h1 { font-size: 1.6rem; }
}

/* Inhalt */
.inhalt { max-width: var(--breite); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.text { max-width: 46rem; }
.text img, .text figure img { display: block; margin: 1rem 0; border-radius: var(--rund); }
figure { margin: 1rem 0; }
figcaption { color: var(--grau); font-size: .9rem; }
.stand, .meta, .brotkrumen { color: var(--grau); font-size: .95rem; }
.brotkrumen { margin: 0; }
.hinweis { background: #fff4d6; border-left: 4px solid #e0a800; padding: .6rem 1rem; }
.bildreihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 1rem 0; }
.bildreihe img { margin: 0; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--rund); }

/* Startseite */
.held {
  display: flex; align-items: center; gap: 2rem;
  margin: 0 0 1.5rem; padding: 2rem 2.2rem; border-radius: var(--rund);
  background: linear-gradient(120deg, var(--blau) 0%, #1d4378 100%); color: #fff;
}
.held-logo { order: 2; width: 170px; height: auto; flex: none; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.held-text { flex: 1; }
.held-text h1 { margin-top: 0; color: #fff; }
.held-text p { color: #dfe7f1; max-width: 38rem; }
.knopf { display: inline-block; background: var(--mint); color: var(--blau); text-decoration: none; padding: .6rem 1.1rem; border-radius: var(--rund); font-weight: 700; margin: .2rem .4rem .2rem 0; border: 2px solid var(--mint); }
.knopf:hover { background: #a3c2b4; border-color: #a3c2b4; color: var(--blau); }
.knopf.zweit { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.knopf.zweit:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) {
  .spalten { grid-template-columns: 1fr; gap: 0; }
  .held { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.2rem; gap: 1rem; }
  .held-logo { order: 0; width: 100px; padding: 8px 10px; }
}

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.karte { border: 1px solid var(--linie); border-top: 4px solid var(--mint); border-radius: var(--rund); overflow: hidden; background: #fff; }
.karte img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.karte > div { padding: .8rem 1rem 1rem; }
.karte h2, .karte h3 { font-size: 1.1rem; margin: .2rem 0 .4rem; }
.karte h2 a, .karte h3 a { color: var(--blau); }
.karte p { margin: .3rem 0; }
.karte time, .beitrag-kurz time { color: var(--grau); font-size: .9rem; }
.rolle { color: var(--mint-dunkel); font-weight: 600; }
.trainerkarten .karte img { aspect-ratio: 3/2; object-position: center 25%; }

/* Personen */
.person { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 2rem; align-items: start; }
.person img { border-radius: var(--rund); }
.person h1 { margin-bottom: 0; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }

/* Trainingsplan */
.plan { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.plan th, .plan td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--linie); }
.plan thead th { background: var(--blau); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
.plan tbody th { color: var(--blau); }
.plan tr.neuer-tag th, .plan tr.neuer-tag td { border-top: 2px solid var(--mint); }
.plan td:nth-child(2) { white-space: nowrap; }
.plan small { color: var(--grau); }
@media (max-width: 600px) {
  .plan thead { display: none; }
  .plan, .plan tbody, .plan tr, .plan th, .plan td { display: block; width: 100%; }
  .plan tr { padding: .5rem 0; border-bottom: 1px solid var(--linie); }
  .plan th, .plan td { border: 0; padding: .1rem 0; }
  .plan th:empty { display: none; }
}
.hinweisbox { background: var(--mint-hell); border-left: 5px solid var(--mint); border-radius: var(--rund); padding: .2rem 1.2rem .6rem; margin-top: 2rem; }
.hinweisbox h2 { margin-top: 1rem; }

/* Termine */
.terminliste { list-style: none; padding: 0; }
.terminliste li { padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.terminliste .datum { display: block; font-weight: 600; color: var(--mint-dunkel); font-size: .95rem; }
.terminliste .ort { color: var(--grau); }
.terminliste .ort::before { content: "· "; }
.terminliste.gross .ort::before { content: ""; }
.kat { font-size: .8rem; background: var(--mint-hell); color: var(--mint-dunkel); padding: .1rem .5rem; border-radius: 99px; font-weight: 600; }
details { border: 1px solid var(--linie); border-radius: var(--rund); padding: .4rem 1rem; margin: .5rem 0; }
details[open] { border-left: 4px solid var(--mint); }
summary { cursor: pointer; font-weight: 600; color: var(--blau); }

/* Beiträge */
.kategorien { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.kategorien a { text-decoration: none; border: 1px solid var(--linie); border-radius: 99px; padding: .15rem .7rem; font-size: .9rem; color: var(--blau); }
.kategorien a:hover { border-color: var(--mint); background: var(--mint-hell); }
.kategorien a[aria-current] { background: var(--blau); border-color: var(--blau); color: #fff; }
.beitrag-kurz { display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.beitrag-kurz:not(:has(img)) { grid-template-columns: 1fr; }
.beitrag-kurz img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--rund); }
.beitrag-kurz h2 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.beitrag-kurz h2 a { color: var(--blau); }
.beitrag-kurz p { margin: 0; }
@media (max-width: 600px) { .beitrag-kurz { grid-template-columns: 1fr; } }
.beitrag .titelbild { border-radius: var(--rund); max-height: 480px; object-fit: cover; }
.autor { color: var(--grau); font-style: italic; }
.blaettern { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.ort-block { border-bottom: 1px solid var(--linie); padding-bottom: .5rem; }

/* Fuß */
.fuss { background: var(--blau); color: #dfe7f1; border-top: 5px solid var(--mint); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 1.5rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.fuss h2 { font-size: .85rem; margin: 0 0 .4rem; color: var(--mint); text-transform: uppercase; letter-spacing: .08em; }
.fuss p { margin: 0; }
.fuss a { color: #fff; }

/* Termin-Detailseite */
.eckdaten { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: 1rem 0 1.5rem; padding: 1rem 1.2rem; background: var(--mint-hell); border-left: 5px solid var(--mint); border-radius: var(--rund); }
.eckdaten dt { font-weight: 600; color: var(--blau); }
.eckdaten dd { margin: 0; }
.ablauf { max-width: 40rem; }
.ablauf th { width: 5rem; }
.termin h3 { font-size: 1.05rem; margin: .6rem 0 .2rem; }
.dokumente a::before { content: "📄 "; }
@media (max-width: 600px) { .eckdaten { grid-template-columns: 1fr; } .eckdaten dd { margin-bottom: .4rem; } }

/* Termine: Startseite (Highlight + Kurzliste) */
.termine-start > h2 { margin-top: 0; }
.naechster { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: linear-gradient(120deg, var(--mint) 0%, #a8c6b8 100%); border-radius: 10px; padding: 1.4rem 1.6rem; color: var(--blau); }
.naechster .gross { font-size: 3.4rem; font-weight: 800; line-height: 1; text-align: center; }
.naechster .gross small { display: block; font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.naechster .kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.naechster h3 { margin: .15rem 0 .3rem; font-size: 1.35rem; }
.naechster h3 a { color: var(--blau); text-decoration: none; }
.naechster h3 a:hover { text-decoration: underline; }
.naechster .meta { font-size: .95rem; color: var(--blau); }
.naechster .aktion { margin: .7rem 0 0; }
.knopf.blau { background: var(--blau); border-color: var(--blau); color: #fff; }
.knopf.blau:hover { background: var(--blau-hell); border-color: var(--blau-hell); color: #fff; }
.countdown { text-align: center; background: var(--blau); color: #fff; border-radius: 8px; padding: .55rem 1rem; line-height: 1.15; min-width: 5.5rem; }
.countdown b { display: block; font-size: 1.8rem; }
.countdown span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mint); }
.kurzliste { list-style: none; padding: 0; margin: 1rem 0 .5rem; }
.kurzliste li { display: grid; grid-template-columns: 9rem 1fr auto; gap: 1rem; padding: .6rem .2rem; border-bottom: 1px solid var(--linie); align-items: baseline; }
.kurzliste .d { font-weight: 700; color: var(--blau); }
.kurzliste a { color: var(--blau); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kurzliste a:hover { text-decoration: underline; }
.kurzliste .o { color: var(--grau); font-size: .9rem; }
.mitmachen { margin-top: 2rem; }
@media (max-width: 700px) {
  .naechster { grid-template-columns: auto 1fr; padding: 1.1rem; gap: 1rem; }
  .naechster .gross { font-size: 2.6rem; }
  .naechster .countdown { grid-column: 1 / -1; display: flex; gap: .4rem; align-items: baseline; justify-content: center; padding: .4rem; }
  .naechster .countdown b { font-size: 1.2rem; display: inline; }
  .naechster .countdown span { display: inline; }
  .kurzliste li { grid-template-columns: 1fr; gap: 0; }
}

/* Termine: Terminliste (Kalenderblatt) */
.kalenderliste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.termin-karte { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; border: 1px solid var(--linie); border-radius: 8px; padding: .7rem .9rem .7rem .7rem; background: #fff; }
.termin-karte:hover { border-color: var(--mint); box-shadow: 0 2px 8px rgba(19,49,97,.08); }
.kal { display: flex; flex-direction: column; background: var(--blau); color: #fff; border-radius: 6px; text-align: center; padding: .35rem 0 .45rem; line-height: 1.1; border-bottom: 5px solid var(--mint); }
.kal .wt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); }
.kal .tag { font-size: 1.9rem; font-weight: 800; }
.kal .mon { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.termin-karte h3 { margin: 0 0 .15rem; font-size: 1.08rem; }
.termin-karte h3 a { color: var(--blau); text-decoration: none; }
.termin-karte h3 a:hover { text-decoration: underline; }
.termin-karte .meta { color: var(--grau); font-size: .92rem; }
.termin-karte .rechts { display: flex; align-items: center; gap: .4rem; }
.frist { font-size: .82rem; font-weight: 700; color: #8a4b00; background: #fff1dc; border-radius: 99px; padding: .25rem .7rem; white-space: nowrap; }
.pfeil { color: var(--blau); font-weight: 700; text-decoration: none; font-size: 1.4rem; padding: 0 .4rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .termin-karte { grid-template-columns: 64px 1fr; }
  .termin-karte .rechts { grid-column: 2; justify-content: space-between; }
  .kal .tag { font-size: 1.6rem; }
}
.naechster > div { min-width: 0; }
.naechster h3, .termin-karte h3 { overflow-wrap: break-word; hyphens: auto; }
.einleitung { color: var(--grau); margin-top: -.3rem; }

/* Termin-Einzelseite (v2) */
.termin-kopf { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: center; margin: .6rem 0 1.2rem; }
.kal.gross { width: 96px; padding: .45rem 0 .55rem; }
.kal.gross .tag { font-size: 2.6rem; }
.kal.gross .mon { font-size: .72rem; }
.termin-kopf h1 { margin: .3rem 0 .3rem; }
.termin-unterzeile { margin: 0; color: var(--grau); }
.termin-unterzeile strong { color: var(--mint-dunkel); }
.aktionsleiste { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1.8rem; padding: 1rem; background: var(--blau-zart); border-radius: 10px; }
.gross-knopf { display: inline-flex; align-items: center; gap: .7rem; margin: 0; padding: .6rem 1.1rem .6rem .7rem; line-height: 1.2; text-align: left; }
.gross-knopf small { display: block; font-weight: 400; font-size: .78rem; opacity: .85; }
.gross-knopf .icon { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 6px; background: rgba(255,255,255,.18); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.knopf.mintknopf { background: var(--mint); border-color: var(--mint); color: var(--blau); }
.knopf.mintknopf .icon { background: rgba(19,49,97,.12); font-size: 1.1rem; }
.knopf.rand { background: #fff; border-color: var(--linie); color: var(--blau); }
.knopf.rand:hover { border-color: var(--mint); background: #fff; }
.knopf.rand .icon { background: var(--mint-hell); font-size: 1.2rem; }
.termin-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.termin-haupt > .text:first-child p:first-child, .termin-haupt > h2:first-child { margin-top: 0; }
.termin-seite { position: sticky; top: 1rem; background: var(--mint-hell); border-top: 5px solid var(--mint); border-radius: 8px; padding: .4rem 1.2rem 1rem; font-size: .95rem; }
.termin-seite h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-dunkel); margin: 1rem 0 .4rem; }
.termin-seite .eckdaten { display: block; background: none; border: 0; padding: 0; margin: 0; }
.termin-seite .eckdaten dt { font-size: .85rem; color: var(--grau); font-weight: 600; margin-top: .55rem; }
.termin-seite .eckdaten dd ul { margin: 0; padding-left: 1.1rem; }
.zeitleiste { list-style: none; padding: 0; margin: .5rem 0; border-left: 3px solid var(--mint); }
.zeitleiste li { display: grid; grid-template-columns: 4.2rem 1fr; gap: .8rem; padding: .35rem 0 .35rem 1rem; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: -7px; top: .75rem; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--blau); }
.zeitleiste .zeit { font-weight: 700; color: var(--blau); }
.mitbringen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.mitbringen > div { border: 1px solid var(--linie); border-radius: 8px; padding: .3rem 1rem .6rem; }
.haken { list-style: none; padding: 0; margin: .3rem 0 0; }
.haken li { padding-left: 1.5rem; position: relative; margin: .2rem 0; }
.haken li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dunkel); font-weight: 800; }
@media (max-width: 860px) {
  .termin-raster { grid-template-columns: 1fr; }
  .termin-seite { position: static; order: -1; }
}
@media (max-width: 600px) {
  .termin-kopf { grid-template-columns: 72px 1fr; gap: .9rem; }
  .kal.gross { width: 72px; } .kal.gross .tag { font-size: 1.9rem; }
  .gross-knopf { width: 100%; }
}
.termin-kopf > div { min-width: 0; }
.termin-kopf h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 860px) { .termin-seite { order: 0; } }

/* Barrierefreiheit: Fokusrahmen auf Mint-Flächen in Blau statt Mint (sonst unsichtbar) */
.naechster :focus-visible, .hinweisbox :focus-visible, .termin-seite :focus-visible, .eckdaten :focus-visible,
.knopf.mintknopf:focus-visible, .knopf:not(.zweit):not(.blau):not(.rand):focus-visible { outline-color: var(--blau); }

/* ===== Einheitlicher Seitenkopf ===== */
.seitenkopf { margin: .3rem 0 1.4rem; }
.seitenkopf .kicker, p.kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-dunkel); margin: 0 0 .2rem; }
.seitenkopf h1 { margin: 0 0 .3rem; overflow-wrap: break-word; hyphens: auto; }
.seitenkopf .einleitung { color: var(--grau); margin: 0; max-width: 48rem; }
.kats { margin: .3rem 0; display: flex; flex-wrap: wrap; gap: .3rem; }
a.kat { text-decoration: none; }
a.kat:hover { background: var(--mint); color: var(--blau); }

/* ===== Berichte ===== */
.platzhalter { display: grid; place-items: center; background: var(--blau-zart); }
.platzhalter img { width: 34%; max-width: 110px; height: auto; opacity: .55; aspect-ratio: auto !important; object-fit: contain !important; }
.bildlink { display: block; }
.bericht-gross { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 10px; overflow: hidden; background: var(--blau); color: #fff; margin-bottom: 1.6rem; }
.bericht-gross .bild { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.bericht-gross .platzhalter { background: #1d4378; }
.bericht-gross .inhalt-gross { padding: 1.6rem 1.8rem; }
.bericht-gross .kicker { color: var(--mint); }
.bericht-gross h2 { margin: .2rem 0 .6rem; font-size: 1.5rem; }
.bericht-gross h2 a { color: #fff; text-decoration: none; }
.bericht-gross h2 a:hover { text-decoration: underline; }
.bericht-gross p { color: #dfe7f1; }
.bericht-gross .kat { background: rgba(255,255,255,.12); color: #fff; }
.bericht-gross .knopf.blau { background: var(--mint); border-color: var(--mint); color: var(--blau); }
.berichtraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.bericht-karte { display: flex; flex-direction: column; }
.bericht-karte .bild { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.bericht-karte > div { padding: .8rem 1rem 1rem; }
.bericht-karte h3 { font-size: 1.05rem; margin: .2rem 0 .4rem; overflow-wrap: break-word; hyphens: auto; }
.bericht-karte h3 a { color: var(--blau); text-decoration: none; }
.bericht-karte h3 a:hover { text-decoration: underline; }
.bericht-karte p { margin: .3rem 0; font-size: .95rem; }
.bericht-text { font-size: 1.05rem; }
.bericht-text img { width: 100%; height: auto; }
.bericht-text figure img { margin-bottom: .3rem; }
.beitrag .titelbild { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; margin-bottom: 1rem; }
.weitere { margin-top: 3rem; padding-top: 1.5rem; border-top: 5px solid var(--mint); }
.weitere h2 { margin-top: 0; }
.blaettern { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 2rem; }
.blaettern > :last-child { justify-self: end; }
.seitenzahl { color: var(--grau); }

/* ===== Training ===== */
.trainingsgruppe h2 { margin-top: 1.4rem; }
.tagesraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.tageskarte { border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; background: #fff; }
.tageskopf { background: var(--blau); color: #fff; padding: .5rem .9rem; font-weight: 700; border-bottom: 4px solid var(--mint); display: flex; align-items: center; gap: .6rem; }
.tagkurz { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 6px; background: var(--mint); color: var(--blau); font-size: .85rem; font-weight: 800; }
.tageskarte ul { list-style: none; margin: 0; padding: 0; }
.tageskarte li { padding: .65rem .9rem; border-bottom: 1px solid var(--linie); display: grid; gap: .1rem; }
.tageskarte li:last-child { border-bottom: 0; }
.tageskarte .zeit { font-weight: 800; color: var(--mint-dunkel); font-size: .95rem; }
.tageskarte strong { color: var(--blau); }
.tageskarte .details, .tageskarte .hinweistext { font-size: .9rem; color: var(--grau); }
.tageskarte .hinweistext { font-style: italic; }

/* ===== Trainer ===== */
.trainerraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.trainerkarte img, .trainerkarte .platzhalter { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 25%; display: block; }
.trainerkarte > div { padding: .8rem 1rem 1rem; }
.trainerkarte .rolle { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.trainerkarte h2 { font-size: 1.2rem; margin: .1rem 0 .3rem; }
.trainerkarte h2 a { color: var(--blau); text-decoration: none; }
.trainerkarte h2 a:hover { text-decoration: underline; }
.trainerkarte .grad { margin: 0 0 .4rem; color: var(--grau); font-size: .95rem; }
.personbild { width: 100%; max-width: 560px; border-radius: 10px; margin-bottom: .5rem; }
.kurz-einheiten { list-style: none; padding: 0; margin: 0; }
.kurz-einheiten li { padding: .45rem 0; border-bottom: 1px solid rgba(19,49,97,.1); font-size: .93rem; }

/* ===== Orte ===== */
.ortraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.ortkarte > div { padding: 1rem 1.1rem; }
.ortkarte h2 { font-size: 1.15rem; margin: .1rem 0 .4rem; }
.ortkarte h2 a { color: var(--blau); text-decoration: none; }

/* ===== Textseiten ===== */
.textseite h2 { margin-top: 1.4em; }
.textseite-dojo-regeln ol, .textseite-dojokun ol { list-style: none; counter-reset: nr; padding: 0; }
.textseite-dojo-regeln ol li, .textseite-dojokun ol li { counter-increment: nr; position: relative; padding: .6rem .8rem .6rem 3.2rem; margin: .5rem 0; background: var(--blau-zart); border-radius: 8px; }
.textseite-dojo-regeln ol li::before, .textseite-dojokun ol li::before { content: counter(nr); position: absolute; left: .7rem; top: .55rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.textseite-dojokun ol li { font-size: 1.1rem; font-weight: 600; color: var(--blau); }
.textseite-dojokun ol li span[lang], .textseite-dojokun ol li em { font-size: .9rem; font-weight: 400; color: var(--grau); }
.textseite-dojo-regeln > p:last-child strong { display: block; text-align: center; font-size: 1.2rem; color: var(--blau); padding: 1rem; border-top: 3px solid var(--mint); border-bottom: 3px solid var(--mint); margin-top: 1.5rem; }
.textseite + .aktionsleiste { margin-top: 1.5rem; }

@media (max-width: 760px) {
  .bericht-gross { grid-template-columns: 1fr; }
  .bericht-gross .bild { min-height: 0; aspect-ratio: 16/10; }
  .bericht-gross .inhalt-gross { padding: 1.1rem; }
  .tagesraster { grid-template-columns: 1fr; }
  .blaettern { grid-template-columns: 1fr 1fr; gap: .5rem; } .seitenzahl { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}
.bericht-gross .bild { height: 380px; min-height: 0; }
.berichtraster { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tagesraster { align-items: start; }
@media (max-width: 760px) { .bericht-gross .bild { height: auto; } }
.bericht-gross .bildlink { position: relative; min-height: 340px; }
.bericht-gross .bildlink > .bild { position: absolute; inset: 0; width: 100%; height: 100%; }
.termin-seite .kat { background: #fff; }
@media (max-width: 760px) { .bericht-gross .bildlink { min-height: 0; aspect-ratio: 16/10; } }

/* ===== Trainingszeiten als Wochentabelle ===== */
.legende { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0 0 .8rem; font-size: .9rem; }
.leg::before { content: ""; display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; vertical-align: -.1rem; margin-right: .35rem; }
.leg.g0::before { background: var(--blau); }
.leg.g1::before { background: var(--mint); }
.wochenplan { display: grid; grid-template-columns: repeat(var(--tage), minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.5rem; }
.wochentag { background: var(--blau-zart); border-radius: 8px; padding: 0 .5rem .5rem; }
.wochentag h2 { font-size: .95rem; margin: 0 -.5rem .5rem; padding: .55rem .5rem; background: var(--blau); color: #fff; border-radius: 8px 8px 0 0; text-align: center; border-bottom: 4px solid var(--mint); }
.einheit { background: #fff; border-radius: 6px; padding: .5rem .6rem; margin-bottom: .5rem; border-left: 5px solid var(--blau); display: grid; gap: .1rem; font-size: .88rem; line-height: 1.35; }
.einheit.g1 { border-left-color: var(--mint); }
.einheit .zeit { font-weight: 800; color: var(--blau); }
.einheit strong { color: var(--text); font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
.einheit .details { color: var(--grau); font-size: .82rem; }
.einheit .hinweistext { color: var(--grau); font-size: .8rem; font-style: italic; }
@media (max-width: 900px) {
  .wochenplan { grid-template-columns: 1fr; }
  .wochentag h2 { text-align: left; }
}

/* Filter Wochentabelle */
.planfilter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.filterknopf { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: .4rem .9rem; border-radius: 99px; border: 2px solid var(--linie); background: #fff; color: var(--blau); }
.filterknopf:hover { border-color: var(--mint); }
.filterknopf[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }
.filterknopf.leg::before { margin-right: .4rem; }
.filterknopf.g0[aria-pressed="true"]::before { background: #fff; }
.einheit[hidden], .wochentag[hidden] { display: none; }

/* Bericht-Detail: Datum dezent am Ende */
.bericht-kopf .kats { margin-bottom: .4rem; }

/* Logo-Platzhalter mittig (überschreibt display:block der Bildklassen) */
.bericht-karte .platzhalter, .trainerkarte .platzhalter { display: flex; align-items: center; justify-content: center; }
.bericht-karte .platzhalter img, .trainerkarte .platzhalter img { width: 30%; max-width: 100px; aspect-ratio: auto; margin: 0; }

/* Blättern: beide Knöpfe gleich groß, nicht gestreckt */
.blaettern > :first-child { justify-self: start; }
.blaettern .knopf { min-width: 9rem; text-align: center; margin: 0; }

/* Bericht-Einzelseite ruhiger: eine gemeinsame Spaltenbreite für Titel, Bilder und Text */
.beitrag { max-width: 46rem; margin: 0 auto; }
.beitrag .text { max-width: none; }
.beitrag .titelbild, .bericht-text img, .bericht-text figure { width: 100%; max-height: none; margin-left: 0; margin-right: 0; }
.bericht-text img { border-radius: 8px; }
.weitere { max-width: none; margin-top: 3rem; padding: 1.4rem 1.4rem 1rem; border-top: 0; background: var(--blau-zart); border-radius: 10px; }
.weitere .karte { background: #fff; }

/* ===== Rückblick vergangener Termine ===== */
.rueckblickliste { list-style: none; padding: 0; margin: .6rem 0 .4rem; display: grid; gap: .5rem; }
.rueckblick-karte { display: grid; grid-template-columns: 52px 1fr auto; gap: .9rem; align-items: center; padding: .45rem .6rem .45rem .45rem; border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
.kal.klein { background: var(--blau-zart); color: var(--blau); border-bottom: 3px solid var(--linie); padding: .25rem 0 .3rem; border-radius: 6px; }
.kal.klein .tag { font-size: 1.25rem; font-weight: 800; }
.kal.klein .mon { font-size: .68rem; color: var(--grau); }
.rueckblick-karte .titel { font-weight: 600; color: var(--text); }
.rueckblick-karte .titel a { color: var(--blau); }
.rueckblick-karte .meta { font-size: .85rem; color: var(--grau); }
.berichtlink { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--blau); white-space: nowrap; padding: .2rem .5rem .2rem .2rem; border-radius: 6px; }
.berichtlink:hover { background: var(--mint-hell); }
.berichtlink img { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; }
details .rueckblickliste { margin-bottom: .8rem; }
.vorbei-hinweis { background: var(--blau-zart); border-left: 4px solid var(--blau); padding: .6rem 1rem; border-radius: 6px; }
@media (max-width: 600px) {
  .rueckblick-karte { grid-template-columns: 48px 1fr; }
  .berichtlink { grid-column: 2; justify-self: start; padding-left: 0; }
}

/* ===== Konsistenz-Feinschliff ===== */
/* Zusatzzeile in Knöpfen voll deckend (Kontrast) */
.gross-knopf small { opacity: 1; }
/* Bericht-Einzelseite linksbündig wie alle anderen Seiten, gleiche Lesebreite wie Textseiten */
.beitrag { margin: 0; }
/* Filter-Knöpfe (Training) wie Kategorie-Plaketten (Berichte) */
.filterknopf { border-width: 1px; padding: .2rem .8rem; font-size: .9rem; }
.kategorien a { padding: .2rem .8rem; }
/* Linkliste in Kästen */
.linkliste { margin: .3rem 0 .4rem; }
.termine-ende { margin-top: 2rem; }
/* Trennstrich nur zwischen Einträgen, nicht nach dem letzten */
.kurz-einheiten li:last-child { border-bottom: 0; padding-bottom: 0; }
.kurzliste li:last-child, .terminliste li:last-child { border-bottom: 0; }
/* Filter Trainingszeiten: nicht gewählte Gruppe abschwächen statt ausblenden */
.einheit { transition: opacity .2s, filter .2s; }
.einheit.gedimmt { opacity: .3; filter: grayscale(1); }

/* ===== Navigation ohne Aufklapp-Untermenüs ===== */
.hauptmenue li ul { display: none !important; }
/* Reiterleiste des Bereichs: helles Band direkt unter dem Kopf (zweite Menüebene) */
.unterband { background: var(--blau-zart); border-bottom: 1px solid var(--linie); }
.reiter { max-width: var(--breite); margin: 0 auto; padding: 0 1rem; }
.reiter ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: .2rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reiter ul::-webkit-scrollbar { display: none; }
.reiter a { display: block; white-space: nowrap; padding: .55rem 1rem; text-decoration: none; color: var(--blau); font-weight: 600; border-bottom: 3px solid transparent; }
.reiter a:hover { border-bottom-color: rgba(138,174,158,.55); }
.reiter a[aria-current="page"] { border-bottom-color: var(--mint); }
@media (max-width: 760px) {
  .hauptmenue a { padding: .75rem .8rem; font-size: 1.05rem; }
  .reiter { padding: 0 .4rem; }
  .reiter ul { justify-content: flex-start; }
  .reiter a { padding: .6rem .8rem; }
  /* weiche Kanten zeigen: hier kann man wischen */
  .reiter ul { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%); padding: 0 1rem; }
}

/* ===== Icon-Set (Variante 3: schlichte Linien-Icons ohne Kachel) ===== */
.ic { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.klein { width: 18px; height: 18px; stroke-width: 2; }
.gross-knopf { padding-left: 1rem; gap: .75rem; }
.knopf.mit-icon { display: inline-flex; align-items: center; gap: .45rem; }

/* Berichtkarten: Kategorie-Markierungen immer am unteren Rand (gleiche Höhe je Zeile) */
.bericht-karte { height: 100%; }
.bericht-karte > div { flex: 1; display: flex; flex-direction: column; }
.bericht-karte > div > .kats { margin-top: auto; padding-top: .5rem; }
.bildreihe figure { margin: 0; }
.bildreihe figcaption { margin-top: .3rem; }

/* Bilder in Berichten: Großansicht beim Antippen */
.bericht-text img:not(a img) { cursor: zoom-in; transition: opacity .15s; }
.bericht-text img:not(a img):hover { opacity: .88; }
.bericht-text img:not(a img):focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.gross-ansicht { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(10, 20, 35, .94); color: #fff; }
.gross-ansicht::backdrop { background: rgba(10, 20, 35, .94); }
.gross-ansicht figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 4rem 3.5rem; box-sizing: border-box; }
.gross-ansicht img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; margin: 0; }
.gross-ansicht figcaption { color: #dfe7f1; margin-top: .6rem; text-align: center; font-size: .95rem; }
.gross-ansicht button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 2.8rem; height: 2.8rem; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gross-ansicht button:hover, .gross-ansicht button:focus-visible { background: var(--mint); color: var(--blau); }
.gross-ansicht .ga-zu { top: .8rem; right: .8rem; }
.gross-ansicht .ga-zurueck { left: .8rem; top: 50%; transform: translateY(-50%); }
.gross-ansicht .ga-weiter { right: .8rem; top: 50%; transform: translateY(-50%); }
.gross-ansicht.einzeln .ga-zurueck, .gross-ansicht.einzeln .ga-weiter { display: none; }
.gross-ansicht .ga-zahl { position: absolute; bottom: .6rem; left: 0; right: 0; margin: 0; text-align: center; color: #c9d6e6; font-size: .85rem; }
@media (max-width: 600px) {
  .gross-ansicht figure { padding: 3.5rem .5rem 3rem; }
  .gross-ansicht .ga-zurueck, .gross-ansicht .ga-weiter { top: auto; bottom: .4rem; transform: none; }
}

/* Bericht: Datum (und ggf. Autor) als Metazeile unter dem Titel */
.bericht-meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; color: var(--grau); font-size: .95rem; margin: .1rem 0 0; }
.bericht-meta .ic { color: var(--mint-dunkel); }

/* ===== Kennzeichnung über der Überschrift =====
   Nur auf Seiten, die nicht selbst im Menü stehen (Einzeltermin, Einzelbericht, Kategorie,
   Trainerprofil, Ort): klickbar, führt eine Ebene zurück. Menüseiten haben keine. */
.brotkrumen { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .2rem; color: var(--mint-dunkel); }
.brotkrumen a { color: var(--mint-dunkel); text-decoration: none; }
.brotkrumen a:hover { color: var(--blau); text-decoration: underline; }
/* Zusatzangaben direkt unter der Überschrift (Datum, Kategorie, Funktion …) */
.seitenkopf .unterzeile { color: var(--grau); font-size: .95rem; margin: .1rem 0 .4rem; }
.termin-unterzeile .kat { margin-left: .4rem; vertical-align: .08em; }
.bericht-meta .trenner { color: var(--linie); }
.bericht-meta .kats { margin: 0; }
