/* Budoclub JONEDO – Gestaltung der Website mit Redaktion.
   Grundlage: Entwurf A dunkel mit Logo-Start (entwuerfe/style.css, 06./07.10.2026).
   Schwarz traegt Kopf, Einstieg und dunkle Abschnitte, Rot nur als Akzent (Punkt, Linien, Knopf).
   Der Aufbau (welche Abschnitte, welche Felder) steht in instantpage-app src/custom-sites/jonedo/. */

:root {
  --sumi: #0e0e0f;
  --sumi-2: #1b1b1d;
  --hinomaru: #d71920;
  --hinomaru-dunkel: #b8141a;
  --washi: #ffffff;
  --tatami: #f2f2f2;
  --ink: #0e0e0f;
  --ink-muted: #55555b;
  --on-dark-muted: #b4b4b9;
  --line: #e2e2e2;
  --line-dark: #2c2c2f;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;

  --wrap: 1400px; /* Entwurf 3: breit (Inhalt 1320 px); aller Inhalt in dieser Spalte, nur Hintergruende laufen bis zum Rand */
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--hinomaru); outline-offset: 3px; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sprung { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--washi); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.sprung:focus { left: 12px; top: 12px; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 {
  font-weight: 800; font-stretch: 70%;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .95; letter-spacing: -.01em;
}
h2 {
  font-weight: 800; font-stretch: 70%;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1; letter-spacing: -.01em;
}
h3 { font-weight: 700; font-stretch: 85%; font-size: 21px; line-height: 1.2; }
.lead { font-size: 19px; color: var(--ink-muted); max-width: 52ch; }
.dark .lead { color: var(--on-dark-muted); }
.klein { font-size: 14.5px; color: var(--ink-muted); }
.dark .klein { color: var(--on-dark-muted); }
.absaetze { margin-top: 22px; }
.absaetze p { max-width: 68ch; }
.absaetze h3 { margin: 28px 0 10px; }

/* ---------- Kopf (Entwurf 3) ----------
   Zwei Zeilen: schmale Leiste (Kontakt, Galerie, Downloads, International, Facebook) scrollt weg,
   darunter bleibt die Hauptzeile mit Logo, Menue und rotem Knopf „Schnupperstunde“ stehen. */
.kopf { --leiste: 38px; background: var(--sumi); color: var(--washi); position: sticky; top: calc(-1 * var(--leiste) - 1px); z-index: 10; }
.kopf-haupt { border-bottom: 1px solid var(--line-dark); }
.kopf-haupt .wrap { display: flex; align-items: center; gap: 24px; height: 92px; }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.marke svg { width: 54px; height: 54px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1; }
.marke-text b { font: 700 33px/1 var(--display); font-stretch: 90%; letter-spacing: -.01em; }
.marke-text span { font: 600 11px/1 var(--display); letter-spacing: .43em; color: var(--on-dark-muted); margin-top: 6px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; font: 700 14.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #e4e4e7; padding: 10px 0 8px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--washi); border-bottom-color: var(--hinomaru); }
.kopf-knopf { flex: none; padding: 15px 20px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.menue { display: none; margin-left: auto; position: relative; }
.menue summary {
  list-style: none; cursor: pointer;
  border: 1px solid var(--line-dark); color: var(--washi);
  font: 600 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 14px; min-height: 44px; display: flex; align-items: center;
}
.menue summary::-webkit-details-marker { display: none; }
.menue[open] summary { border-color: var(--hinomaru); }
.menue nav {
  position: absolute; right: 0; top: calc(100% + 18px); width: min(86vw, 320px);
  background: var(--sumi); border: 1px solid var(--line-dark); padding: 8px 0 16px;
  display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.menue nav a { text-decoration: none; padding: 13px 20px; font: 600 17px/1.2 var(--display); color: var(--washi); }
.menue nav a[aria-current="page"] { color: var(--hinomaru); }
.menue nav .knopf { margin: 10px 20px 0; color: var(--washi); }

/* ---------- Knoepfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--hinomaru); color: var(--washi);
  font: 700 16px/1 var(--display); font-stretch: 90%; letter-spacing: .02em;
  padding: 16px 22px; min-height: 48px; text-decoration: none; border: 0; cursor: pointer;
}
.knopf:hover { background: var(--hinomaru-dunkel); }
.knopf.leise { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf.leise:hover { background: rgba(127,127,127,.12); }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
.mehr { display: inline-block; font: 600 15px/1.2 var(--display); letter-spacing: .03em; text-decoration: none; border-bottom: 2px solid var(--hinomaru); padding: 6px 0 4px; margin-top: 10px; }
.mehr:hover { color: var(--hinomaru); }
.dark .mehr:hover { color: var(--washi); }
.punkt { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--hinomaru); flex: none; }
.weiter { font: 600 14px/1 var(--display); letter-spacing: .06em; color: var(--hinomaru); margin-top: auto; padding-top: 14px; }

/* ---------- Einstieg (Startseite) ----------
   Wunsch Dorian 07.10.2026: grosses Logo links, rechts gross die Spirale (wie Entwurf 1). */
.hero-logo {
  color: var(--washi); position: relative; overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 80% 55%, #1d1d20 0%, var(--sumi) 70%);
}
.hero-logo .spirale { position: absolute; top: 50%; translate: 0 -50%; right: var(--gutter); height: min(84%, 40vw); width: auto; pointer-events: none; }
.hero-logo .wrap { position: relative; min-height: min(78vh, 700px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; }
.hero-logo h1 img { width: clamp(260px, 38vw, 520px); }
.hero-logo .lead { margin: 30px 0 34px; max-width: 34ch; color: #c9c9cd; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.schnupper { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; font-size: 16px; color: #d6d6d9; }

/* ---------- Kopf der Unterseiten ---------- */
.seitenkopf { background: var(--sumi); color: var(--washi); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; right: max(-60px, -4vw); top: 50%; width: clamp(120px, 18vw, 220px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: var(--hinomaru); opacity: .9; }
.seitenkopf .wrap { position: relative; z-index: 1; }
.seitenkopf .lead { margin: 18px 0 0; color: #c9c9cd; max-width: 46ch; }
.sprungleiste { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.sprungleiste a { text-decoration: none; font: 600 14px/1 var(--display); letter-spacing: .04em; color: #d6d6d9; border: 1px solid var(--line-dark); padding: 11px 14px; }
.sprungleiste a:hover { border-color: var(--hinomaru); color: var(--washi); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt.grau { background: var(--tatami); }
.abschnitt.dark { background: var(--sumi); color: var(--washi); }
.abschnitt.dark p { color: #d2d2d6; }
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 36px; flex-wrap: wrap; }
.kopfzeile .lead { margin: 14px 0 0; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.zweispaltig h3 { margin-top: 28px; }
.zweispaltig > div > h3:first-child { margin-top: 0; }

/* ---------- Trainingswoche ---------- */
.woche { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.tag { border-right: 1px solid var(--line); padding: 18px 16px 8px; }
.tag:last-child { border-right: 0; }
.tag-name { display: flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.tag-name .heute { display: none; font: 600 11px/1 var(--display); letter-spacing: .12em; color: var(--hinomaru); }
.tag.ist-heute .tag-name .heute { display: inline; }
.tag.ist-heute { background: linear-gradient(var(--hinomaru), var(--hinomaru)) top / 100% 3px no-repeat; }
.ort { font: 600 13.5px/1.35 var(--body); color: var(--ink-muted); margin: 0 0 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tag-name + .ort { border-top: 0; padding-top: 0; }
.einheit { margin: 0 0 16px; }
.zeit { font: 700 22px/1 var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.gruppe { font-size: 15.5px; line-height: 1.35; margin-top: 4px; }
.hinweis { font-size: 14px; color: var(--hinomaru-dunkel); margin-top: 3px; }
.info { font-size: 14px; color: var(--ink-muted); margin-top: 3px; }
.woche-fuss { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.woche-fuss p { max-width: 80ch; }

/* ---------- Trainingsorte ---------- */
.orte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ort-zeiten { margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.75; color: var(--ink-muted); }
.ort-zeiten:empty { display: none; }

/* ---------- Preise ---------- */
.preise { background: var(--washi); padding: 30px 30px 26px; border-top: 4px solid var(--sumi); }
.grau .preise, .abschnitt:not(.grau):not(.dark) .preise { box-shadow: 0 0 0 1px var(--line); }
.preise h3 { font-size: 26px; font-stretch: 75%; font-weight: 800; margin-bottom: 18px; }
.preise table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 8px 0 4px; }
.preise th, .preise td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; font-weight: 400; }
.preise thead th { font: 600 12px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.preise td.z { text-align: right; font: 700 19px/1.2 var(--display); font-stretch: 80%; white-space: nowrap; padding-left: 12px; }
.preise th.z { text-align: right; }
.preise .anmeldung td { font-size: 15px; padding-left: 12px; }
.preise .klein { margin-top: 16px; }
.preise .klein p { margin-bottom: 10px; }
.frage .preise { margin: 18px 0 22px; }

.pdf { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 16px; text-decoration: none; border-left: 3px solid var(--hinomaru); padding: 6px 0 6px 12px; }
.pdf span { font: 600 16px/1.25 var(--display); }
.pdf small { font-size: 13px; color: var(--ink-muted); }
.dark .pdf small { color: var(--on-dark-muted); }
a.pdf:hover span { color: var(--hinomaru); }
.pdf.ohne { border-left-color: var(--line); }

/* ---------- Club / Verein ---------- */
.club { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.club figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.club .absaetze p { max-width: 52ch; }
.logo-bild img { width: min(100%, 360px); margin: 0 auto; }

/* ---------- Trainerteam ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.person img, .person-leer { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--tatami); display: block; }
.person h3 { font-size: 19px; margin-top: 12px; }
.grad { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; }
.guertel { width: 26px; height: 6px; background: var(--sumi); flex: none; }
.guertel-braun { background: #6b4226; }
.rolle { font-size: 14.5px; margin-top: 4px; }
.mail { font-size: 14.5px; margin-top: 4px; }
.mail a { color: var(--ink-muted); }

/* ---------- Neuigkeiten ---------- */

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.archiv-hinweis { margin-top: 34px; }

.meldung-seite time { display: block; font: 600 14px/1 var(--display); letter-spacing: .1em; color: var(--ink-muted); margin: 18px 0 12px; }
.meldung-seite h1 { font-size: clamp(36px, 5.4vw, 62px); }
.titelbild { margin: 30px 0 8px; }
.titelbild img { width: 100%; }
.zurueck { margin: 0; }
.zurueck a { font: 600 14px/1 var(--display); letter-spacing: .06em; text-decoration: none; color: var(--ink-muted); }
.zurueck a::before { content: "← "; }
.zurueck a:hover { color: var(--hinomaru); }
.anhaenge { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 20px 0; }
.linkliste { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.fotoraster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 40px; }
.fotoraster img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.jahr { font-size: 30px; margin: 40px 0 12px; }
.jahr:first-child { margin-top: 0; }
.archiv { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.archiv li { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.archiv time { font: 600 14px/1.5 var(--display); letter-spacing: .04em; color: var(--ink-muted); }
.archiv a { font-weight: 600; text-decoration: none; }
.archiv a:hover { color: var(--hinomaru); }

/* ---------- Fotostreifen ---------- */

/* ---------- Galerie ---------- */
.alben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.album-leer { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.album-leer { background: var(--sumi) url("spirale.webp") no-repeat 50% 50% / auto 70%; opacity: .92; }

/* ---------- Downloads ---------- */
.download-gruppe + .download-gruppe { margin-top: 56px; }
.download-gruppe h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; border-top: 2px solid var(--ink); }
.downloads li { border-bottom: 1px solid var(--line); padding: 4px 0 16px; }

/* ---------- Fragen ---------- */
.fragen { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.frage { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.frage h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.frage p { max-width: 70ch; }

/* ---------- International ---------- */
.sprachen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sprache-karte { text-decoration: none; padding: 26px; border-top: 3px solid var(--sumi); background: var(--tatami); }
.sprache-karte h2 { font-size: 32px; text-transform: capitalize; }
.sprache-karte p { margin: 10px 0 0; color: var(--ink-muted); font-size: 15.5px; }
.sprache-karte:hover { border-top-color: var(--hinomaru); }

/* ---------- Links & Partner ---------- */
.link-gruppe + .link-gruppe { margin-top: 64px; }
.link-gruppe .lead { margin: 12px 0 24px; }
.link-karte { padding: 22px 22px 18px; background: var(--tatami); border-top: 3px solid var(--sumi); }
.link-karte h3 { font-size: 19px; margin-bottom: 8px; }
.link-karte p { font-size: 15.5px; }
.link-ziel { margin: 0; }
.link-ziel a { font-size: 14.5px; color: var(--hinomaru-dunkel); word-break: break-word; }

/* ---------- Kontakt ---------- */
.kontakt-block h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.kontakt-wege a { font: 700 22px/1.4 var(--display); font-stretch: 85%; text-decoration: none; border-bottom: 2px solid var(--hinomaru); }
.hinweise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.hinweise h3 { margin-bottom: 10px; }
.hinweise p { font-size: 16px; }

/* ---------- Drei Wege ---------- */
.wege { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px; }
.weg { padding: 30px 28px; border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 14px; }
.weg h3 { font-size: 24px; font-stretch: 78%; font-weight: 800; }
.weg p { margin: 0; color: var(--on-dark-muted); font-size: 16px; }
.feld { display: grid; gap: 10px; }
.feld label { display: grid; gap: 4px; font-size: 14px; color: var(--on-dark-muted); }
.feld input { font: 400 16px/1.2 var(--body); padding: 13px 14px; background: var(--sumi-2); border: 1px solid #45454a; color: var(--washi); min-height: 48px; }
.weg .knopf { align-self: start; margin-top: auto; }

/* ---------- Rechtliches ---------- */
.recht h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.recht h2 { font-size: 26px; margin: 34px 0 10px; }
.recht h3 { font-size: 19px; margin: 26px 0 8px; }
.recht p, .recht li { font-size: 16px; max-width: 74ch; }
.recht .stand { font-size: 13px; color: var(--ink-muted); margin-top: 26px; }

/* ---------- 404 ---------- */
.fehler { min-height: 50vh; display: flex; align-items: center; }
.fehler .hero-aktionen { margin-top: 30px; }

/* ---------- Fuss ---------- */
.fuss { background: var(--sumi); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 54px 0 34px; font-size: 15px; }
.fuss .reihe { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fuss b { color: var(--washi); font-weight: 600; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--washi); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.fuss .unten { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 980px) {
  .woche { grid-template-columns: 1fr; border-top: 0; }
  .tag { border-right: 0; border-top: 2px solid var(--ink); padding: 18px 0 6px; }
  .tag.ist-heute { background: none; border-top-color: var(--hinomaru); }
  .zweispaltig, .club, .wege, .orte, .hinweise, .fragen { grid-template-columns: 1fr; }
  .fuss .reihe { grid-template-columns: 1fr 1fr; }
  .fuss-kontakt { grid-column: 1 / -1; }
  .team, .fotoraster { grid-template-columns: repeat(2, 1fr); }
  .news, .alben, .sprachen, .downloads { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero-logo .spirale { height: 300px; top: 24px; translate: none; right: -70px; opacity: .35; }
  .hero-logo .wrap { min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .hero-aktionen .knopf { flex: 1 1 auto; }
  .seitenkopf::after { width: 110px; right: -40px; top: 28px; transform: none; opacity: .75; }
  .news, .alben, .sprachen, .downloads { grid-template-columns: 1fr; }
  .preise { padding: 24px 18px; }
  .preise td.z { font-size: 17px; }
  .archiv li { grid-template-columns: 1fr; gap: 2px; }
  .fuss .reihe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Platzhalter, solange ein Foto laedt (oder in Pruefbildern ohne Fotos) */
main img[srcset] { background-color: #2a2a2d; }

/* Lange Woerter („Schnupperstunden“) duerfen am Handy nicht aus dem Raster ragen */
.zweispaltig > *, .fragen > *, .club > *, .wege > *, .orte > *, .hinweise > * { min-width: 0; }
h1, h2 { hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Nachbesserung nach Pruefer Runde 1 ---------- */

/* Seitenkopf: Kennzeile und Spirale statt leerem Halbkreis */
.seitenkopf { background: radial-gradient(ellipse 50% 90% at 85% 50%, #1d1d20 0%, var(--sumi) 70%); }
.seitenkopf::after {
  background: url("spirale.webp") no-repeat 50% 50% / contain; border-radius: 0; opacity: .55;
  width: clamp(160px, 22vw, 300px); aspect-ratio: 864 / 1000; right: max(-40px, -2vw);
}
.kennzeile { display: flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 18px; }
.kennzeile::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hinomaru); }

/* Kontakt-Leiste am Seitenende */
.aufruf { background: var(--hinomaru); color: var(--washi); padding: clamp(32px, 5vw, 48px) 0; }
.aufruf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.aufruf-satz { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 clamp(20px, 2.4vw, 26px)/1.25 var(--display); font-stretch: 85%; max-width: 40ch; }
.aufruf-satz .punkt { background: var(--washi); }
.aufruf .knopf { background: var(--sumi); }
.aufruf .knopf:hover { background: #2a2a2d; }
.aufruf .knopf.leise { background: transparent; color: var(--washi); }
.aufruf-tel { font: 700 18px/1 var(--display); color: var(--washi); text-decoration: none; border-bottom: 2px solid var(--washi); padding-bottom: 3px; }

/* Deaktivierter Knopf: neutral statt kaputt */
.knopf[disabled] { background: transparent; color: var(--on-dark-muted); box-shadow: inset 0 0 0 1.5px #55555b; opacity: 1; }

/* Hinweise wie „! TS Eingang … !“ ohne einzelnes Zeichen in der letzten Zeile */
.hinweis, .gruppe { text-wrap: pretty; }

/* Kachel Trainingsorte mit den Orten */

/* Shop / Facebook: kein Loch ueber dem Knopf */
.weg .knopf { margin-top: 6px; }
.weg { justify-content: flex-start; }

/* Trainerteam auf der Startseite: kompakt in einer Reihe */
.team-start { grid-template-columns: repeat(8, 1fr); gap: 20px 14px; }
.team-start .person h3 { font-size: 15.5px; }
.team-start .grad { font-size: 13px; }

/* Judo fuer Erwachsene: am Computer zwei Spalten, Zwischenueberschriften */
.spalten { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.spalten h3 { break-after: avoid; color: var(--washi); margin-top: 0; }
.spalten p { break-inside: avoid; }

/* Meldung: Zwischenueberschriften im Text (zweiter Brief u. a.) */
.meldung-seite .absaetze h3 { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Fragen: Verzeichnis vollstaendig sichtbar, Andere Sprachen */
.andere-sprachen a { text-transform: capitalize; font-weight: 600; }
.galerie-hinweis { margin: 0 0 28px; }

@media (max-width: 980px) {
  .team-start { grid-template-columns: repeat(4, 1fr); }
  .spalten { columns: 1; }
  .logo-bild img { width: min(60%, 220px); }
  .aufruf .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .team-start { grid-template-columns: repeat(2, 1fr); }
  .seitenkopf::after { width: 130px; right: -30px; top: 20px; opacity: .35; }
  /* Preistabelle am Handy: je Zeile Name oben, darunter beide Betraege mit Beschriftung */
  .preise thead { display: none; }
  .preise tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .preise tbody th, .preise tbody td { border-bottom: 0; padding: 0; }
  .preise tbody th { grid-column: 1 / -1; font-weight: 600; margin-bottom: 4px; }
  .preise td.z { text-align: left; padding-left: 0; white-space: normal; }
  .preise td.z::before { content: attr(data-titel); display: block; font: 600 11px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
  .preise .anmeldung td { grid-column: 1 / -1; padding-left: 0; }
}

/* Training, Preise: Computer zwei Spalten (links Schnupperstunden und Hinweise), Handy Schnupperstunden, Tabelle, Hinweise */

/* ---------- Nachbesserung nach Pruefer Runde 2 ---------- */
.frage h2 { hyphens: manual; -webkit-hyphens: manual; }
.abschnitt.kurz { padding-top: 0; }
.ansprech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; }
.person-kurz { border-top: 3px solid var(--sumi); padding-top: 14px; }
.person-kurz p { font-size: 15.5px; margin: 6px 0 0; }
@media (max-width: 980px) {
  .ansprech { grid-template-columns: 1fr 1fr; }
  .alben { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
}

/* ---------- Fotos des Vereins, Fragen zum Aufklappen, Einbettungen erst auf Klick (22.10.) ---------- */

/* Seitenkopf mit Foto: Text links, Foto rechts; am Handy Foto unter dem Text */
.seitenkopf.mit-foto { padding-bottom: clamp(40px, 6vw, 72px); }
.seitenkopf.mit-foto::after { display: none; }

/* Fragen der Eltern: eine Spalte, jede Frage klappt auf */
.fragen-liste { max-width: 880px; }
.fragen-gruppe { font: 700 15px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--hinomaru-dunkel); margin: 44px 0 6px; }
.fragen-liste > .fragen-gruppe:first-child { margin-top: 0; }
.frage { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.fragen-gruppe + .frage { border-top: 2px solid var(--ink); }
.frage summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; min-height: 60px; font: 700 clamp(18px, 1.7vw, 21px)/1.3 var(--display); }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tatami); color: var(--hinomaru); font: 700 22px/1 var(--display); }
.frage[open] summary::after { content: "–"; background: var(--hinomaru); color: var(--washi); }
.frage summary:hover { color: var(--hinomaru); }
.frage summary:focus-visible { outline: 2px solid var(--hinomaru); outline-offset: 4px; }
.frage .antwort { padding: 0 0 22px; }
.frage .antwort p { max-width: 70ch; }
.andere-sprachen { margin-top: 8px; }

/* Platzhalter fuer Karte, Video und Shop (vor dem Klick laedt nichts von fremden Servern) */
.einbettung { position: relative; overflow: hidden; background: var(--sumi); color: var(--washi); aspect-ratio: 16 / 9; isolation: isolate; }
.einbettung::before { content: ""; position: absolute; right: -10%; top: -18%; width: 52%; aspect-ratio: 864 / 1000; background: url("spirale.webp") no-repeat 50% 50% / contain; opacity: .16; z-index: -1; }
.einbettung-schirm { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(20px, 4vw, 36px); }
.einbettung-art { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 12.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.einbettung-titel { margin: 0; font: 800 clamp(20px, 2.2vw, 26px)/1.15 var(--display); font-stretch: 85%; color: var(--washi); }
.einbettung-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: #c9c9cd; max-width: 52ch; }
.einbettung-text a { color: var(--washi); }
.einbettung-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 6px; }
.einbettung-aktionen .mehr { margin-top: 0; font-size: 14px; color: var(--washi); }
.einbettung iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--sumi); }
.einbettung.geladen::before { display: none; }

/* Trainingsorte: Text, darunter Karte und (falls da) Anfahrtsvideo */
.einbettung-maps { aspect-ratio: 4 / 3; }

/* Shop: volle Breite */
.shop-abschnitt { padding-left: 0; padding-right: 0; }
.shop-breite { width: 100%; }
.einbettung-spreadshirt { aspect-ratio: auto; min-height: 440px; }
.einbettung-spreadshirt .einbettung-schirm { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.einbettung-spreadshirt.geladen { background: var(--washi); color: var(--ink); min-height: 640px; overflow: visible; }

/* Logo mit Kalligraphie auf der Vereinsseite */
.logo-bild img[src$="logo-kalligraphie.jpg"] { width: min(100%, 482px); height: auto; }

@media (max-width: 980px) {
  .einbettung-maps { aspect-ratio: auto; }
  .einbettung-maps.geladen { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .einbettung { aspect-ratio: auto; }
  .einbettung.geladen { aspect-ratio: 4 / 3; }
  .einbettung-spreadshirt.geladen { aspect-ratio: auto; }
}

/* Karte vor dem Klick: schmale Leiste statt grosser Flaeche (vier Orte untereinander) */
.einbettung-maps:not(.geladen) { aspect-ratio: auto; }
.einbettung-maps:not(.geladen)::before { width: 120px; right: -30px; top: -30px; }
.einbettung-maps:not(.geladen) .einbettung-schirm { padding: 18px 20px; gap: 6px; }
.einbettung-maps:not(.geladen) .einbettung-titel { font-size: 18px; }
.einbettung-maps:not(.geladen) .einbettung-text { font-size: 13.5px; }

/* Shop: der Platzhalter schliesst ohne weisse Luecken an den Kopf an */
.shop-abschnitt { padding: 0; }
.einbettung-spreadshirt:not(.geladen) { border-top: 1px solid var(--line-dark); min-height: 360px; }
.einbettung-spreadshirt.geladen { padding: 24px 0 48px; }

/* ---------- Cookie-Hinweis „Inhalte von anderen Anbietern“ (einbettung.js, aus Entwurf 2, eckig wie Entwurf 1) ---------- */
.einwilligung {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 50; margin: 0 auto;
  background: var(--sumi); color: var(--washi); border: 1px solid var(--line-dark); border-top: 3px solid var(--hinomaru);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); padding: 16px; max-height: calc(100vh - 16px); overflow-y: auto;
}
.einwilligung h2 { font-size: 22px; margin: 0 0 6px; color: var(--washi); }
.einwilligung p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: #d2d2d6; }
.einwilligung a { color: var(--washi); }
.einwilligung-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.einwilligung-knoepfe .knopf { flex: 1 1 40%; min-height: 46px; padding: 12px 10px; font-size: 14px; justify-content: center; }
.knopf.hell { background: var(--washi); color: var(--ink); }
.knopf.hell:hover { background: #e9e9ea; }
.einwilligung-link { flex: 1 1 100%; background: none; border: 0; color: var(--washi); text-decoration: underline; cursor: pointer; padding: 4px; min-height: 44px; font-size: 15px; text-align: center; }
.einwilligung-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.einwilligung-liste label { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; background: var(--sumi-2); border: 1px solid var(--line-dark); padding: 12px 14px; cursor: pointer; }
.einwilligung-liste input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--hinomaru); grid-row: span 2; }
.einwilligung-liste b { font: 700 16px/1.2 var(--display); }
.einwilligung-liste span { font-size: 13.5px; color: var(--on-dark-muted); }
@media (min-width: 981px) {
  .einwilligung { left: auto; right: 24px; bottom: 24px; max-width: 460px; padding: 22px 24px; }
  .einwilligung h2 { font-size: 24px; }
  .einwilligung p { font-size: 14px; }
}
.fuss-knopf { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-align: left; }
.fuss-knopf:hover { color: var(--washi); text-decoration: underline; }

/* Videos (Startseite, Meldung): 16:9 */
.meldung-video .einbettung { max-width: 880px; }
.meldung-video { margin: 28px 0; }

/* Shop: ohne Seitenkopf, der Shop beginnt unter dem Menue ueber die volle Breite */
.shop-seite .shop-abschnitt { padding: 0; }
.shop-seite .einbettung-spreadshirt:not(.geladen) { border-top: 0; min-height: 300px; }
.shop-seite .einbettung-spreadshirt.geladen { padding: 0 0 48px; min-height: 80vh; }
.unsichtbar { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Ausgeblendete Teile des Hinweises bleiben aus (sonst setzt .knopf/.einwilligung-liste display) */
.einwilligung [hidden] { display: none !important; }
/* Kurze Seiten (Shop vor der Zustimmung): kein weisser Streifen unter dem Fuss */
html { background: var(--sumi); }
.shop-seite .einbettung-spreadshirt:not(.geladen) { min-height: 56vh; }

/* Shop sichtbar in unsere Seite eingebaut: flache Leiste, darunter der Shop im Kasten auf grauem Grund */
.shop-seite .shop-abschnitt { background: var(--tatami); padding: 0 0 clamp(32px, 5vw, 64px); }
.shop-leiste { background: var(--sumi); color: var(--washi); border-bottom: 1px solid var(--line-dark); }
.shop-leiste .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 18px; padding-bottom: 18px; }
.shop-leiste h1.kennzeile { margin: 0; font-size: 13.5px; color: var(--washi); }
.shop-leiste p { margin: 0; font-size: 14px; color: var(--on-dark-muted); }
.shop-seite .shop-breite { max-width: 1440px; margin: clamp(16px, 3vw, 32px) auto 0; padding: 0 clamp(8px, 2vw, 24px); }
.shop-seite .einbettung-spreadshirt { border-top: 4px solid var(--hinomaru); }
.shop-seite .einbettung-spreadshirt:not(.geladen) { min-height: 48vh; }
.shop-seite .einbettung-spreadshirt.geladen { background: var(--washi); box-shadow: 0 0 0 1px var(--line); padding: 0 0 24px; min-height: 70vh; }
.shop-laedt { margin: 0; padding: 64px 24px; text-align: center; font: 600 16px/1.4 var(--display); color: var(--ink-muted); }
/* Shop auf schwarzem Grund (Betreiber 22.10.) */
.shop-seite .shop-abschnitt { background: var(--sumi); }
.shop-seite .einbettung-spreadshirt.geladen { box-shadow: none; }
/* Shop nach dem Laden: der Kasten waechst mit (der Shop-Client arbeitet mit Floats), kein eigener weisser
   Grund und keine Mindesthoehe, Breite wie Menue und Inhalt (Bildschirmfoto Betreiber 22.10.) */
.shop-seite .shop-breite { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.shop-seite .einbettung-spreadshirt.geladen { display: flow-root; aspect-ratio: auto; height: auto; min-height: 0; padding: 0; background: transparent; overflow: visible; isolation: auto; border-top: 0; }
.shop-seite #myShop { display: flow-root; width: 100%; }
/* Der Shop-Client legt den Shop als absolut positioniertes iframe an (gemessen 22.10.: Container 0 px hoch,
   rote Leiste und Fuss lagen darunter). Im Fluss waechst unser Abschnitt mit der Hoehe, die der Client setzt. */
.shop-seite #myShop iframe { position: static !important; display: block; width: 100% !important; border: 0; }
/* Shop breiter als der Inhalt, sonst kuerzt er Produktnamen und Spalten */
.shop-seite .shop-breite { max-width: 1480px; padding: 0 clamp(8px, 2vw, 20px); }

/* ================= Entwurf 3: Startseite kraeftiger ueber Fotos und Ordnung ================= */

/* Kopf: Menue wird ab 1120 px zum Knopf, am Handy niedriger und ohne Leiste */
@media (max-width: 1240px) { .nav { gap: 18px; } .nav a { font-size: 14px; letter-spacing: .04em; } .kopf-haupt .wrap { gap: 20px; } }
@media (max-width: 1120px) {
  .nav { display: none; }
  .menue { display: block; }
  .kopf-knopf { margin-left: auto; }
  .menue { margin-left: 0; }
}
@media (max-width: 640px) {
  .kopf { --leiste: 0px; }
  .kopf-haupt .wrap { height: 72px; gap: 14px; }
  .marke svg { width: 40px; height: 40px; }
  .marke-text b { font-size: 25px; }
  .marke-text span { font-size: 9.5px; letter-spacing: .38em; margin-top: 4px; }
  .kopf-knopf { display: none; }
  .menue { margin-left: auto; }
  html { scroll-padding-top: 84px; }
}

/* Shop mit Foto */
.weg-shop { text-decoration: none; color: inherit; }
.weg-shop.mit-foto { padding: 0; gap: 0; }
.weg-shop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.weg-shop-text { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; flex: 1; }
.weg-shop-text .knopf { align-self: start; margin-top: 6px; }
.weg-shop:hover h3 { color: var(--hinomaru); }

/* Kurze Saetze ohne einzelnes Wort in der letzten Zeile */
.lead, .schnupper { text-wrap: balance; }

/* ================= Entwurf 3: der Faden durch alle Seiten =================
   Gleich bleibt: Ueberschrift links mit Link rechts (.kopfzeile), Abstaende (Abschnitt 64-112 px,
   Bloecke darin 56 px, Luecken 24 px), eckige Fotos, Rot nur als Linie, Punkt und Knopf.
   Wechseln darf die Form: Foto-Einstieg, Karten, Plan, Fotoband, Liste, Mosaik.
   Hintergruende je Kapitel: dunkel, hell, grau, dunkel, hell, dunkel. */
h2 { font-size: clamp(32px, 4vw, 50px); }
.abschnitt { padding: clamp(64px, 8vw, 112px) 0; }
.kopfzeile { margin-bottom: 40px; }
.block { margin-top: 56px; }

/* Karte: ein Baustein fuer Gruppen, Schnupperstunde, Orte, Preise */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.karten > * { min-width: 0; }
.karte { display: flex; flex-direction: column; background: var(--washi); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.grau .karte { box-shadow: none; }
.karte-foto { overflow: hidden; }
.karte-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
a.karte:hover .karte-foto img { transform: scale(1.03); }
.karte-inhalt { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; border-top: 4px solid var(--hinomaru); }
.karte h3 { font-size: 26px; font-stretch: 75%; font-weight: 800; margin-bottom: 12px; }
.karte-text { color: var(--ink-muted); font-size: 16px; }
.karte-text p:last-child { margin-bottom: 0; }
.karte .weiter { display: inline-block; margin-top: auto; padding-top: 18px; text-decoration: none; }
a.karte:hover h3, .karte a.weiter:hover { color: var(--hinomaru); }
/* Anfangen: Schnupperstunde und Orte links uebereinander, Preise rechts ueber beide Zeilen */
.karten-anfang { grid-template-columns: 1fr 1fr; }
.karten-anfang > #preisliste { grid-column: 2; grid-row: 1 / span 2; }
.karte .preise { background: none; padding: 0; border: 0; box-shadow: none; }
.karte .preise table { margin: 0; }
#gruppen + #woche .woche { background: var(--washi); }
.grau .woche { background: var(--washi); border-top-color: var(--ink); }
.grau .tag { padding-left: 18px; padding-right: 18px; }

/* Fotoband (Philosophie) in der Spalte, oben im dunklen Kapitel, darunter das Trainerteam */
.fotoband { position: relative; overflow: hidden; min-height: clamp(400px, 36vw, 520px); display: flex; align-items: center; padding: 64px clamp(24px, 5vw, 72px); background: var(--sumi-2); }
.fotoband-foto { position: absolute; inset: 0; margin: 0; }
.fotoband-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fotoband-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,15,.9) 0%, rgba(14,14,15,.7) 42%, rgba(14,14,15,.15) 100%); }
.fotoband-text { position: relative; z-index: 1; max-width: 540px; }
.fotoband p { color: #d2d2d6; max-width: 46ch; }
.fotoband .maxime { font: 700 clamp(28px, 3vw, 40px)/1.1 var(--display); font-stretch: 80%; color: var(--washi); margin: 22px 0 6px; padding-left: 18px; border-left: 4px solid var(--hinomaru); }
.fotoband .maxime-bedeutung { font-size: 19px; color: var(--washi); padding-left: 22px; margin-bottom: 22px; }
.fotoband h2 { margin-bottom: 18px; }
.block-unten { padding-top: 72px; }
.dark .person h3 { color: var(--washi); }
.dark .grad { color: var(--on-dark-muted); }
/* Schwarzgurt auf dunklem Grund: schwarz mit heller Kante, nicht weiss (weiss lesen Judoka als Anfaenger, Pruefer 23.10.2026) */
.dark .guertel-schwarz { background: #000; box-shadow: inset 0 0 0 1px var(--on-dark-muted); }
.dark .guertel-braun { background: #8a5a36; }
.dark .mehr:hover { color: var(--washi); }

/* Neuigkeiten als Liste */
.zeilen { border-top: 2px solid var(--ink); }
.zeile { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.zeile time { font: 600 13px/1.4 var(--display); letter-spacing: .1em; color: var(--ink-muted); }
.zeile .weiter { margin: 0; padding: 0; }
.zeile:hover b { color: var(--hinomaru); }

/* Fotos als Mosaik in der Spalte: das erste gross, vier daneben; weitere Reihen teilen sich die Breite */
.mosaik { display: grid; gap: 8px; }
.mosaik-oben { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(160px, 16vw, 250px)); gap: 8px; }
.mosaik-oben figure:first-child { grid-column: span 2; grid-row: span 2; }
.mosaik-reihe { display: flex; gap: 8px; height: clamp(160px, 16vw, 250px); }
.mosaik-reihe figure { flex: 1; min-width: 0; }
.mosaik figure { position: relative; overflow: hidden; margin: 0; }
.mosaik img { width: 100%; height: 100%; object-fit: cover; }
.mosaik figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: var(--washi); font: 600 13.5px/1.25 var(--display); background: linear-gradient(0deg, rgba(14,14,15,.85), rgba(14,14,15,0)); }

/* Video mit Text daneben */
.video-reihe { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 40px; align-items: center; }
.video-reihe > * { min-width: 0; }
.video-text h3 { font-size: 26px; font-stretch: 75%; font-weight: 800; margin-bottom: 12px; }
.video-text p { color: var(--ink-muted); }

@media (max-width: 980px) {
  .karten, .video-reihe { grid-template-columns: 1fr; }
  .karte-foto img { aspect-ratio: 16 / 10; }
  .zeile { grid-template-columns: 1fr; }
  .karten-anfang > #preisliste { grid-column: auto; grid-row: auto; }
  .mosaik-oben { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 40vw; }
  .mosaik-oben figure:first-child { grid-row: span 1; }
  .mosaik-reihe { height: auto; flex-wrap: wrap; }
  .mosaik-reihe figure { flex: 1 1 calc(50% - 4px); height: 40vw; }
}
@media (max-width: 640px) {
  .fotoband-foto::after { background: rgba(14,14,15,.74); }
  .fotoband { min-height: 0; padding: 48px 22px; }
  .block { margin-top: 40px; }
}
@media (max-width: 980px) { .video-text { order: -1; } }

/* Breite Spalte: Textzeilen bleiben so lang wie vorher */
.woche-fuss p { max-width: 80ch; }

/* ================= Entwurf 3: Startseite, Nachbesserungen ================= */
/* Unterueberschrift in einem Kapitel (Videos): wie .kopfzeile, nur kleiner */
.kopfzeile.unterkopf { margin-bottom: 24px; align-items: center; }
.unterkopf h3 { font-size: 26px; font-stretch: 75%; font-weight: 800; }
/* Schluss: Shop als Kasten, Facebook/YouTube als Zeile darunter */
.wege { grid-template-columns: 1fr 1fr; gap: 24px; }
.wege-1 { grid-template-columns: 1fr; }
.weg-shop.mit-foto { display: grid; grid-template-columns: 1fr 1fr; }
.weg-shop.mit-foto img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.wege-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; padding: 20px 28px; border: 1px solid var(--line-dark); }
.wege-zeile span { font: 800 22px/1.2 var(--display); font-stretch: 78%; margin-right: auto; }
/* Trainerteam: vier je Reihe */
.team-start { grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.team-start .person h3 { font-size: 19px; }
.team-start .grad { font-size: 14.5px; }
@media (max-width: 980px) { .wege { grid-template-columns: 1fr; } }
/* Ohne Newsletter (04.11.2026) steht der Shop allein: Foto quer und schmaler, Text mittig daneben. */
.wege-1 .weg-shop.mit-foto { grid-template-columns: 2fr 3fr; align-items: center; }
.wege-1 .weg-shop.mit-foto img { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.wege-1 .weg-shop-text { padding-left: clamp(8px, 3vw, 40px); }
@media (max-width: 640px) { .wege-1 .weg-shop.mit-foto { grid-template-columns: 1fr; } .wege-1 .weg-shop-text { padding-left: 28px; } }
@media (max-width: 640px) { .weg-shop.mit-foto { grid-template-columns: 1fr; } .weg-shop.mit-foto img { min-height: 0; aspect-ratio: 4 / 3; } .team-start { grid-template-columns: repeat(2, 1fr); } }

/* ================= Entwurf 3: Unterseiten im selben Faden =================
   Jede Seite beginnt mit dem dunklen Seitenkopf (auch Meldung, Album, Sprache), danach Kapitel mit
   .kopfzeile, Karten und denselben Abstaenden. Alles in derselben Spalte; lange Texte begrenzt. */
.seitenkopf h1 { font-size: clamp(38px, 5vw, 64px); }
.seitenkopf::after { display: none; }
.seitenkopf:not(.mit-foto) .wrap::after {
  content: ""; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: -1;
  width: clamp(140px, 18vw, 250px); aspect-ratio: 864 / 1000; background: url("spirale.webp") no-repeat 50% 50% / contain; opacity: .55;
}
.seitenkopf .kennzeile a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hinomaru); }
.seitenkopf .kennzeile a:hover { color: var(--washi); }
.text-spalte .absaetze, .text-spalte .anhaenge, .text-spalte .linkliste, .text-spalte .meldung-video { max-width: 820px; }
.text-spalte .absaetze { margin-top: 0; }

/* Karten-Rahmen fuer Bausteine mit eigenem Aufbau (Trainingsorte) */
.orte { gap: 24px; }
/* Preise auf der Trainingsseite: Einleitung und PDF in der Karte */
.karte .pdf { margin-top: auto; padding-top: 6px; }
.karte .karte-text + .pdf { margin-top: 18px; }

/* Galerie: Alben als Karten */
.karte-foto .album-leer { display: block; width: 100%; aspect-ratio: 4 / 3; }

/* Downloads: je Gruppe Ueberschrift wie ein Kapitel, Dateien als Karten */
.download-gruppe + .download-gruppe { margin-top: 72px; }
.download-gruppe .kopfzeile h2 { font-size: clamp(32px, 4vw, 50px); margin: 0; }
.downloads { gap: 24px; border-top: 0; }
.downloads li { background: var(--washi); box-shadow: 0 0 0 1px var(--line); border-top: 4px solid var(--hinomaru); border-bottom: 0; padding: 20px 22px 22px; display: flex; }
.downloads .pdf { border-left: 0; padding: 0; margin: 0; }
.downloads .pdf span { font-size: 19px; }

/* International und Links: Karten */
.sprache-karte { padding: 0; background: var(--washi); border-top: 0; }
.sprache-karte h3 { text-transform: capitalize; }
.link-gruppe + .link-gruppe { margin-top: 0; }
.link-gruppe .kopfzeile .lead { margin: 14px 0 0; }
.link-karte { padding: 0; background: var(--washi); border-top: 0; }
.link-karte h3 { font-size: 24px; }
.link-ziel { margin-top: auto; padding-top: 14px; }

/* Kontakt: Ansprechpartner als Karten */
.ansprech { gap: 24px; margin-top: 0; }
.person-kurz { border-top: 0; padding-top: 0; }
.person-kurz h3 { font-size: 22px; margin-bottom: 4px; }

/* Fragen der Eltern: ueber die ganze Spalte, Antworten begrenzt */
.fragen-liste { max-width: none; }
.frage .antwort { max-width: 820px; }

@media (max-width: 980px) {
  .downloads { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .seitenkopf:not(.mit-foto) .wrap::after { width: 110px; top: -20px; transform: none; right: -10px; opacity: .3; }
  .downloads { grid-template-columns: 1fr; }
}
.ansprech > * { min-width: 0; }
.person-kurz a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .ansprech { grid-template-columns: 1fr; } }
.abschnitt:not(.grau):not(.dark) .karte .preise { box-shadow: none; }

/* ================= Entwurf 3, Runde 3: Qualitaet (Betreiber 22.10.: „mehr Qualitaet, professionell“) ================= */
/* Ruhigere Kapitelueberschriften */
h2 { font-size: clamp(30px, 3.4vw, 44px); }
.kopfzeile { margin-bottom: 36px; }

/* Karten: rote Linie nur unter Bild oder Logo; reine Textkarten mit feinem Rahmen */
.karte-inhalt { border-top: 0; }
.karte-foto + .karte-inhalt, .karte-logo + .karte-inhalt { border-top: 4px solid var(--hinomaru); }
.grau .karte { box-shadow: none; }
a.karte { transition: box-shadow .2s ease; }
a.karte:hover { box-shadow: 0 0 0 1px var(--ink); }
.karte-logo { display: flex; align-items: center; justify-content: center; height: 128px; padding: 20px 28px; background: var(--washi); border-bottom: 1px solid var(--line); }
.karte-logo img { width: auto; height: auto; max-width: 100%; max-height: 84px; object-fit: contain; background: none !important; }
.downloads li { border-top: 0; }

/* Video auf der Startseite: kleiner, Text daneben */
.video-reihe { grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 24px 48px; }
.video-text p { max-width: 36ch; }

/* Trainingsorte kompakt: alle vier gleich, Karte und Video klappen auf */
.orte { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trainingsort { display: flex; flex-direction: column; background: var(--washi); padding: 26px 28px 8px; min-width: 0; }
.trainingsort h3 { font-size: 26px; font-stretch: 75%; font-weight: 800; }
.ort-adresse { margin: 4px 0 0; color: var(--ink-muted); font-size: 16px; }
.ort-adresse:empty { display: none; }
.trainingsort .hinweis { margin: 8px 0 0; }
.trainingsort .ort-zeiten { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.85; color: var(--ink); }
.ort-mehr { margin-top: auto; padding-top: 18px; }
.aufklapp { border-top: 1px solid var(--line); }
.aufklapp summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; min-height: 48px; font: 600 15.5px/1.2 var(--display); }
.aufklapp summary::-webkit-details-marker { display: none; }
.aufklapp summary::after { content: "+"; color: var(--hinomaru); font-size: 22px; line-height: 1; }
.aufklapp[open] summary::after { content: "–"; }
.aufklapp summary:hover { color: var(--hinomaru); }
.aufklapp .einbettung { margin: 0 0 18px; }
.aufklapp-link { display: block; border-top: 1px solid var(--line); padding: 14px 0; font: 600 15.5px/1.2 var(--display); text-decoration: none; }

/* Fragen der Eltern: Verzeichnis links (laeuft mit), rechts Begruessung, drei Karten, Fragen */
.fragen { grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.gruss h2 { margin-bottom: 14px; }
.gruss .absaetze { margin-top: 0; }
.fragen-liste .fragen-gruppe { margin-top: 48px; }
.fragen-liste > .frage:first-child { border-top: 2px solid var(--ink); }
@media (max-width: 980px) {
  .fragen { grid-template-columns: 1fr; }
  .orte, .video-reihe { grid-template-columns: 1fr; }
}

/* Galerie: Alben ohne Fotos als Liste */
.alben-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; border-top: 2px solid var(--ink); }
.alben-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.alben-liste a { font-weight: 600; text-decoration: none; }
.alben-liste a:hover { color: var(--hinomaru); }
.alben-liste span { font-size: 14px; color: var(--ink-muted); white-space: nowrap; }
@media (max-width: 980px) { .alben-liste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .alben-liste { grid-template-columns: 1fr; } }

/* Fragen der Eltern, Runde 4 (Betreiber: „ueberladen“): links die Begruessung (laeuft mit), rechts die Fragen */
.fragen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.gruss { position: sticky; top: 120px; }
.gruss .absaetze p { max-width: 52ch; }
@media (max-width: 980px) { .fragen { grid-template-columns: 1fr; } .gruss { position: static; } }

/* Seitenkopf der Unterseiten, Runde 4 (Betreiber: Titel groesser und breiter, Bild darunter) */
.seitenkopf { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.seitenkopf h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .95; max-width: 20ch; }
.seitenkopf .lead { max-width: 60ch; font-size: 20px; margin-top: 22px; }
.seitenkopf .sprungleiste { margin-top: 32px; }
.seitenkopf.mit-foto { padding-bottom: clamp(32px, 4vw, 56px); }

/* Runde 4b (Betreiber: Foto nicht im Kopf, sondern unten im Inhalt): Kopf nur Titel; Fotos neben passendem Text */
.seiten-foto { margin: 0; }
.seiten-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gruss .seiten-foto { margin-top: 32px; }
.zweispaltig > div > .seiten-foto:first-child { margin-bottom: 28px; }
.kontakt-block + .kontakt-block { margin-top: 40px; }
.foto-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.foto-text .seiten-foto { position: sticky; top: 120px; }
.foto-text .absaetze { margin-top: 0; }
.foto-text .absaetze h3:first-child { margin-top: 0; }
.dark .foto-text .absaetze h3 { color: var(--washi); }
.meldung-seite .titelbild { margin: 0 0 32px; }
@media (max-width: 980px) { .foto-text { grid-template-columns: 1fr; } .foto-text .seiten-foto { position: static; } }

/* Runde 4c (Betreiber: „Logo bei der Ueberschrift sieht bloed aus“): keine Spirale im Seitenkopf */
.seitenkopf:not(.mit-foto) .wrap::after, .seitenkopf::after { display: none; }

/* Neuigkeiten als Bildkarten (Runde 5): Datum ueber dem Titel, Bild oben (Plakate und Briefe zeigen ihren Kopf) */
.karte-zeile { display: block; font: 600 12.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
#neuigkeiten .karte-foto img, #news .karte-foto img { object-position: 50% 20%; }
.meldung-seite .titelbild img { width: auto; max-width: 100%; max-height: 72vh; }

/* Kontaktformular (Runde 5): links Kontakt, Bank, Foto; rechts das Formular als Karte */
.kontakt-raster { align-items: start; }
.kontaktformular { background: var(--washi); box-shadow: 0 0 0 1px var(--line); border-top: 4px solid var(--hinomaru); padding: clamp(24px, 3vw, 36px); }
.kontaktformular h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 22px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.feld { display: block; margin-bottom: 16px; }
.feld span { display: block; font: 600 13px/1.2 var(--display); letter-spacing: .06em; margin-bottom: 6px; color: var(--ink); }
.feld input, .feld textarea { width: 100%; font: 400 17px/1.5 var(--body); color: var(--ink); background: var(--washi); border: 1px solid #c9c9cd; padding: 11px 13px; border-radius: 0; }
.feld textarea { resize: vertical; min-height: 160px; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--hinomaru); outline-offset: 0; border-color: var(--hinomaru); }
.formular-pruefung { min-height: 0; margin: 4px 0 16px; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.formular-fuss .klein { margin: 0; flex: 1 1 260px; }
.formular-meldung { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--ink); background: var(--tatami); }
.formular-meldung.gut { border-left-color: #2f7d32; }
.formular-meldung.schlecht { border-left-color: var(--hinomaru); }
.formular-meldung b { display: block; font: 700 17px/1.3 var(--display); margin-bottom: 4px; }
.formular-meldung span { font-size: 15.5px; }
@media (max-width: 640px) { .feld-reihe { grid-template-columns: 1fr; } }

/* Neuigkeiten, Runde 5b (Betreiber: Formulare sehen in den Karten bloed aus, Meldung „lange Wurst, rechts viel weiss“) */
.foto-rahmen { display: block; }
.foto-rahmen.hoch { background: var(--tatami); padding: 16px; }
.foto-rahmen.hoch img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; object-position: 50% 50%; box-shadow: 0 2px 10px rgba(0,0,0,.12); background: var(--washi); }
.karte-foto .foto-rahmen.hoch img { transform: none !important; }
.meldung-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.meldung-text .absaetze { margin-top: 0; }
.meldung-text .absaetze p { max-width: 70ch; }
.meldung-seite-spalte { position: sticky; top: 120px; display: grid; gap: 24px; }
.meldung-seite .titelbild { margin: 0; }
.meldung-seite .titelbild img { width: 100%; max-height: none; }
.meldung-seite .titelbild.hoch { background: var(--tatami); padding: 20px; }
.meldung-seite .titelbild.hoch img { width: auto; max-width: 100%; max-height: 70vh; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,0,0,.14); }
.meldung-seite-spalte .fotoraster { grid-template-columns: repeat(3, 1fr); margin: 0; gap: 6px; }
.meldung-seite-spalte .anhaenge { margin: 0; }
.weitere { border-top: 2px solid var(--ink); padding-top: 14px; }
.weitere h2 { font-size: 22px; margin-bottom: 8px; }
.weitere ul { list-style: none; margin: 0; padding: 0; }
.weitere li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.weitere time { display: block; font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.weitere span { font: 700 17px/1.25 var(--display); font-stretch: 85%; }
.weitere a:hover span { color: var(--hinomaru); }
@media (max-width: 980px) { .meldung-raster { grid-template-columns: minmax(0, 1fr); } .meldung-seite-spalte { position: static; } }
.absaetze a { overflow-wrap: anywhere; }
.meldung-seite-spalte .fotoraster { display: none; }

/* Trainerteam einheitlich schwarz-weiss: die neuen Portraets von Dorian sind s/w, die alten farbig (22.10.2026) */
.person img { filter: grayscale(1); }

/* Maxime als Schriftzeichen (Grafik der alten Vereinsseite, weiss gesetzt) */
.maxime-zeichen { display: block; width: min(100%, 340px); height: auto; margin: 24px 0 4px; opacity: .92; }

/* Nachbesserung nach design-review (22.10.2026): Zugaenglichkeit und Handy */
/* Fokusring im roten Aufruf-Band nicht im selben Rot */
.aufruf :focus-visible { outline-color: var(--washi); }
/* Aktive Seite im Menue nicht nur ueber die Farbe (Rot auf Schwarz 3,7:1) */
.menue nav a[aria-current="page"] { color: var(--washi); box-shadow: inset 3px 0 0 var(--hinomaru); }
/* Feldgrenzen im Kontaktformular mit 3:1 */
.kontaktformular .feld input, .kontaktformular .feld textarea { border-color: var(--ink-muted); }
/* Klebende Spalten nur, wenn sie auf den Bildschirm passen */
@media (max-height: 959px) {
  .gruss, .meldung-seite-spalte { position: static; }
}
/* Tippflaechen am Handy mindestens 44 px */
@media (pointer: coarse) {
  .fuss a, .fuss-knopf, .mehr, .weiter, .aufruf-tel { display: inline-block; padding-block: 12px; }
}
/* Titelbild eines Albums: Hochformat eher oben anschneiden (Koepfe) */
.karte-foto img { object-position: 50% 25%; }

/* Spirale auf der Startseite dreht sich langsam um den roten Punkt (Betreiber 22.10.2026).
   Drehpunkt = Mitte des roten Punkts im Bild (494/864, 476/1000). Zentriert wird mit `translate`
   (nicht `transform`), sonst laege der Drehpunkt um die Verschiebung daneben. Bei „Bewegung reduzieren“ steht sie still. */
@keyframes spirale-drehen { to { rotate: 360deg; } }
.hero-logo .spirale { transform-origin: 57.2% 47.6%; animation: spirale-drehen 40s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-logo .spirale { animation: none; }
}

/* Ein Menue in einer Zeile (Betreiber 22.10.2026): keine Leiste mehr darueber */
.kopf { top: 0; }
.nav-gruppe { position: relative; display: flex; }
.nav-unter {
  display: none; position: absolute; left: -18px; top: 100%; min-width: 210px; padding: 10px 0;
  background: var(--sumi); border: 1px solid var(--line-dark); box-shadow: 0 16px 40px rgba(0,0,0,.4); z-index: 11;
}
.nav-gruppe:hover .nav-unter, .nav-gruppe:focus-within .nav-unter { display: flex; flex-direction: column; }
.nav .nav-unter a { padding: 12px 18px; border-bottom: 0; text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 600; }
.nav .nav-unter a:hover, .nav .nav-unter a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--hinomaru); }
.kopf-sozial { display: flex; gap: 2px; flex: none; margin-left: -8px; }
.kopf-sozial a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--on-dark-muted); }
.kopf-sozial a:hover { color: var(--washi); }
@media (max-width: 640px) { .kopf-sozial { display: none; } }
/* Eine Zeile braucht mehr Platz: enger ab 1360 px, Menue-Knopf ab 1280 px (gemessen 22.10.2026, mit Pfeil bei „Verein“) */
@media (max-width: 1360px) { .nav { gap: 18px; } .nav a { font-size: 14px; letter-spacing: .04em; } .kopf-haupt .wrap { gap: 20px; } }
@media (max-width: 1280px) {
  .nav { display: none; }
  .menue { display: block; margin-left: 0; }
  .kopf-knopf { margin-left: auto; }
}
@media (max-width: 640px) { .menue { margin-left: auto; } }
.tag-name .heute { font-size: 12px; }
.weg .feld { display: grid; gap: 14px; margin-bottom: 0; }
/* Sprachseiten: Zwischentitel sind h2 (kein Sprung unter h1), sehen aus wie die h3 im Fliesstext */
.absaetze h2 { font-weight: 700; font-stretch: 85%; font-size: 21px; line-height: 1.2; margin: 28px 0 10px; }

/* Menue mit Unterseiten: Pfeil neben dem Namen (wie bei Mega-Menues), dreht beim Aufklappen;
   im Menue-Knopf stehen die Unterseiten eingerueckt unter ihrem Punkt. */
.nav-gruppe > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-gruppe > a::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -2px; transition: rotate .2s ease, translate .2s ease;
}
.nav-gruppe:hover > a::after, .nav-gruppe:focus-within > a::after { rotate: 225deg; translate: 0 2px; }
.menue nav a.unterpunkt { padding-left: 40px; font-size: 15.5px; font-weight: 500; color: var(--on-dark-muted); }
.menue nav a.unterpunkt[aria-current="page"] { color: var(--washi); }
@media (prefers-reduced-motion: reduce) { .nav-gruppe > a::after { transition: none; } }
.nav-gruppe.im-bereich > a { color: var(--washi); border-bottom-color: var(--hinomaru); }

/* Startseite endete in einer langen schwarzen Flaeche (Kapitel „Wege“ + Fuss): der Fuss bekommt
   den tieferen Ton der frueheren Kopfleiste und eine rote Linie oben, damit beide sich trennen. */
.fuss { background: #050506; border-top: 3px solid var(--hinomaru); }
.album-zurueck { margin: 36px 0 0; }

/* Handy (Betreiber 22.10.2026): Spirale nicht blass hinter dem Text, sondern in voller Staerke unten
   rechts unter den Knoepfen; sie dreht sich weiter um den roten Punkt. */
@media (max-width: 640px) {
  .hero-logo .spirale { top: auto; bottom: -64px; right: -56px; height: 300px; opacity: 1; }
  .hero-logo .wrap { padding-bottom: 250px; }
}

/* Menue-Knopf: das Menue deckt den Bildschirm unter dem Kopf ganz ab (statt einer Karte rechts). */
.kopf { --kopf-h: 93px; }
@media (max-width: 640px) { .kopf { --kopf-h: 73px; } }
.menue nav {
  position: fixed; left: 0; right: 0; top: var(--kopf-h); bottom: 0; width: auto;
  border: 0; border-top: 1px solid var(--line-dark); box-shadow: none;
  padding: 8px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
}
.menue nav a { padding: 17px 0; font-size: 21px; border-bottom: 1px solid var(--line-dark); }
.menue nav a.unterpunkt { padding: 13px 0 13px 22px; font-size: 17px; }
.menue nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--hinomaru); padding-left: 14px; }
.menue nav a.unterpunkt[aria-current="page"] { padding-left: 22px; }
.menue nav .knopf { margin: 28px 0 0; border-bottom: 0; padding: 18px 20px; font-size: 17px; text-align: center; }
.menue[open] summary { font-size: 0; }
.menue[open] summary::after { content: "Schließen"; font-size: 13px; }
/* „Schließen“ ist breiter als „Menü“ und ragte am Handy rechts aus dem Bild (Kontrolle 03.11.2026): offen ein
   Kreuz in derselben Breite, Vorleseprogramme hoeren weiter „Schließen“. Bis 400 px die Kopfzeile etwas
   enger, damit der Knopf auch geschlossen den Rand einhaelt. */
.menue summary { min-width: 64px; justify-content: center; }
.menue[open] summary::after { content: "✕" / "Schließen"; font-size: 20px; letter-spacing: 0; }
html:lang(en) .menue[open] summary::after { content: "✕" / "Close"; }
@media (max-width: 400px) {
  .kopf-haupt .wrap { gap: 8px; }
  .menue summary { padding: 12px 10px; letter-spacing: .08em; }
  .sprachwahl a { min-width: 40px; padding: 0 6px; }
}

/* FAQ: Hinweis auf die Infos in anderen Sprachen im Seitenkopf; Downloads: Verweis darauf */
.sprachen-hinweis { margin: 18px 0 0; color: var(--on-dark-muted); font-size: 16px; }
.sprachen-hinweis a { color: var(--washi); text-underline-offset: 4px; }
.downloads-hinweis { margin: 36px 0 0; color: var(--ink-muted); }

/* Schalter Deutsch/Englisch im Kopf: immer sichtbar, am Handy neben dem Menue-Knopf */
.sprachwahl { display: flex; flex: none; border: 1px solid var(--line-dark); }
.sprachwahl a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; font: 700 13px/1 var(--display); letter-spacing: .08em; text-decoration: none; color: var(--on-dark-muted); }
.sprachwahl a:hover { color: var(--washi); }
.sprachwahl a[aria-current="true"] { color: var(--washi); box-shadow: inset 0 -3px 0 var(--hinomaru); }
/* Touch-Geraete (Menue-Knopf-Breiten): Tippflaechen 44 px wie der Menue-Knopf */
@media (max-width: 1120px) { .sprachwahl a { min-width: 44px; height: 44px; } }
@media (max-width: 640px) {
  .sprachwahl { margin-left: auto; }
  .sprachwahl + .menue { margin-left: 0; }
}
/* Schmale Breiten: Facebook/Instagram stehen im Menue-Knopf (als Text), der Kopf braucht den Platz */
@media (max-width: 760px) { .kopf-sozial { display: none; } }
/* Sehr schmale Handys: nur der Weg in die andere Sprache */
@media (max-width: 359px) { .sprachwahl a[aria-current="true"] { display: none; } }
/* Spirale hat eine zweite Bildgroesse (srcset): kein grauer Foto-Platzhalter dahinter (Pruefer 23.10.2026) */
.hero-logo .spirale { background-color: transparent; }
/* Grosse Seitentitel ohne Silbentrennung („Wintersemes-ter“, Pruefer 23.10.2026); nur ein Wort, das gar nicht passt, bricht um */
.seitenkopf h1 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }

/* Betreiber 23.10.2026: Ersatzkachel fuer Briefe/Plakate in Meldungskarten, FAQ-Foto laeuft mit, Platzhalter fuer fehlende Porträts */
.person-leer { display: grid; place-items: center; font-size: 14px; letter-spacing: .04em; color: var(--ink-muted); }
.karte-foto .meldung-ersatz { background-size: auto 62%; }
@media (min-width: 981px) {
  .fragen { align-items: stretch; }
  .gruss { position: static; }
  .gruss .seiten-foto { position: sticky; top: 120px; }
}
/* Verein: alle Texte links, rechts nur das Foto (laeuft mit), damit keine Spalte leer steht */
@media (min-width: 981px) { .club-raster .seiten-foto { position: sticky; top: 120px; } }
/* Archiv: Titel als Links erkennbar (Endkontrolle 23.10.2026) */
.archiv a { text-decoration: underline; text-decoration-color: var(--hinomaru); text-underline-offset: 4px; }
/* Zu kleine Fotos (Vorlage: class="klein") nie ueber Originalgroesse aufziehen: in der Kachel ganz
   und unbeschnitten auf ruhigem Grund, als Titelbild in eigener Groesse (kontrolle 23.10.2026) */
.fotoraster img.klein { object-fit: scale-down; background: var(--tatami); }
.meldung-seite .titelbild img.klein { display: block; width: auto; max-width: 100%; margin: 0; }
.meldung-seite .titelbild.hoch:has(img.klein) { background: none; padding: 0; }
.meldung-seite .titelbild.hoch:has(img.klein) img { margin: 0; box-shadow: none; }
/* Raster aus lauter kleinen Fotos: Reihe in Originalgroesse statt grosser leerer Kacheln (Betreiber 23.10.2026) */
.fotoraster.klein { display: flex; flex-wrap: wrap; gap: 8px; }
.fotoraster.klein img.klein { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; background: none; }
.fotoraster.klein.neben { margin-top: 0; }

/* ---------- Judogi-Stoff statt Schwarz (Rueckmeldung Dorian 26.10.2026) ----------
   Dunkle Flaechen tragen den blauen Judogi-Stoff als Foto (Vorlage von Dorian, quer gedreht, je Flaeche
   „cover“). Ein dunkelblauer Schleier haelt weisse Schrift lesbar und gibt das tiefe Blau seines
   Beispielbilds; Rot bleibt Akzent. Schwarz bleibt nur fuer Schrift, Linien und den schwarzen Guertel. */
:root {
  --sumi: #131d58;
  --sumi-2: #1a2568;
  --line-dark: rgba(255, 255, 255, .16);
  --on-dark-muted: #c2c8e2;
  --stoff: url("stoff-foto.webp") 50% 50% / cover no-repeat;
  --schleier: rgba(8, 14, 52, .5);
}
html, .kopf, .abschnitt.dark, .fuss, .shop-leiste, .shop-seite .shop-abschnitt {
  background: linear-gradient(var(--schleier), var(--schleier)), var(--stoff), var(--sumi);
}
.hero-logo {
  background: radial-gradient(ellipse 60% 70% at 80% 55%, rgba(8, 14, 52, .2) 0%, rgba(8, 14, 52, .62) 75%),
    var(--stoff), var(--sumi);
}
.seitenkopf {
  background: radial-gradient(ellipse 50% 90% at 85% 50%, rgba(8, 14, 52, .3) 0%, rgba(8, 14, 52, .6) 75%),
    var(--stoff), var(--sumi);
}
.kopf-haupt { border-bottom-color: rgba(255, 255, 255, .1); }
.feld input { border-color: rgba(255, 255, 255, .28); }
.aufruf .knopf:hover { background: #24317c; }
.fotoband-foto::after { background: linear-gradient(90deg, rgba(12, 19, 62, .9) 0%, rgba(12, 19, 62, .7) 42%, rgba(12, 19, 62, .15) 100%); }
@media (max-width: 640px) { .fotoband-foto::after { background: rgba(12, 19, 62, .74); } }
.guertel { background: #0e0e0f; }
/* Ein Stoff, ein Blau: Kopf und Seitenkopf liegen auf demselben durchgehenden Stoff (gleiche
   Groesse, der Seitenkopf um die Kopfhoehe nach oben versetzt, also keine Kante an der Naht; der
   Einstieg der Startseite hat seit 02.11. ein eigenes Foto, siehe Dateiende),
   ueberall derselbe Schleier. Die uebrigen Flaechen zeigen je einen anderen Ausschnitt. */
:root { --schleier: rgba(8, 14, 52, .55); --kopf-h: 93px; --stoff-mass: max(1440px, 100vw) auto; }
@media (max-width: 640px) { :root { --kopf-h: 73px; } }
.kopf, .shop-leiste {
  background: linear-gradient(var(--schleier), var(--schleier)),
    url("stoff-foto.webp") 50% 0 / var(--stoff-mass) no-repeat, var(--sumi);
}
.hero-logo, .seitenkopf {
  background: linear-gradient(var(--schleier), var(--schleier)),
    url("stoff-foto.webp") 50% calc(-1 * var(--kopf-h)) / var(--stoff-mass) no-repeat, var(--sumi);
}
.abschnitt.dark { background-position: 0 0, 22% 78%; }
.fuss { background-position: 0 0, 85% 30%; }
/* Wunsch Dorian 29.10.2026 (Sprachnachricht, Beispielbild vom 26.10.): Menueleiste dunkler hinterlegt,
   der Stoff schimmert nur noch durch; Schriftzug und Spirale im Einstieg mit Schatten, damit sie sich
   vom Stoff abheben. Die Spirale dreht sich, daher Schatten ohne Versatz (er wandert sonst mit). */
.kopf {
  background: linear-gradient(rgba(4, 7, 28, .82), rgba(4, 7, 28, .82)),
    url("stoff-foto.webp") 50% 0 / var(--stoff-mass) no-repeat, var(--sumi);
  box-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}
.hero-logo h1 img { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .6)) drop-shadow(0 14px 34px rgba(0, 0, 0, .6)); }
.hero-logo .spirale { filter: drop-shadow(0 0 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 46px rgba(0, 0, 0, .7)); }
/* Betreiber 29.10.2026: Der Stoff ist die Buehne oben (Kopf, Einstieg, Seitenkopf); der Einstieg fuellt
   den ganzen ersten Bildschirm. Weiter unten waere das Foto auf Abschnittshoehe aufgeblasen (grobes
   Gewebe, Naht quer durch Inhalte), dort deshalb ruhiges Judogi-Blau ohne Foto. */
.hero-logo .wrap { min-height: calc(100vh - var(--kopf-h)); min-height: calc(100svh - var(--kopf-h)); }
/* Der Einstieg ist so hoch wie der Bildschirm; ohne Obergrenze wuechse die Spirale auf grossen
   Bildschirmen (oder bei 50 % Zoom) in den Schriftzug. */
@media (min-width: 641px) { .hero-logo .spirale { height: min(84%, 40vw, 640px); } }
html, .abschnitt.dark, .fuss, .shop-leiste, .shop-seite .shop-abschnitt { background: var(--tiefblau); }
:root { --tiefblau: #14216a; }
.menue nav { background: var(--tiefblau); }
/* Betreiber 29.10.2026, schoen und schlicht: unter dem Einstieg kein Blau und Rot gemischt. Die
   Abschnitte sind nur noch hell und grau (Vorlage), die Kontakt-Leiste am Seitenende hell statt rot,
   der Fuss ein ruhiges dunkles Blau ohne rote Linie. */
.fuss { background: #121a4a; border-top: 0; }
.aufruf { background: var(--washi); color: var(--ink); border-top: 1px solid var(--line); }
.aufruf-satz .punkt { background: var(--hinomaru); }
.aufruf .knopf { background: var(--hinomaru); }
.aufruf .knopf:hover { background: var(--hinomaru-dunkel); }
.aufruf .knopf.leise { background: transparent; color: var(--ink); }
.aufruf-tel { color: var(--ink); border-bottom-color: var(--ink); }
.aufruf :focus-visible { outline-color: var(--ink); }
/* Was bisher fuer dunklen Grund gefaerbt war, jetzt auf hellem Grund; das Fotoband bleibt dunkel (Foto). */
.weg, .wege-zeile { border-color: var(--line); }
.weg p, .weg .feld span, .feld label { color: var(--ink-muted); }
.feld input { background: var(--washi); border-color: #c9c9cd; color: var(--ink); }
.knopf[disabled] { color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px #c9c9cd; }
.fotoband, .fotoband .mehr { color: var(--washi); }
/* Einstieg: Satz unter dem Logo heller (29.10.2026); Groesse und Schatten am Dateiende. */
.hero-logo .lead { color: #e8ebf5; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
/* Das Stoff-Foto ist 4:3; so breit, dass es Kopf plus Seitenkopf auch hochkant (Tablet) ganz deckt. */
:root { --stoff-mass: max(1440px, 100vw, calc(100vh * 1.34)) auto; }
/* Wunsch Dorian 02.11.2026: Im Einstieg statt des Stoffs das Foto der Hand am Judogi-Kragen
   (Adobe Stock 2071187252), wie Dorians Vorbild: ungespiegelt, Hand schwarz-weiss, Anzug tiefes
   Koenigsblau (#062CB0, Dorians Stoff). Eingefaerbt mit ChatGPT (Betreiber 02.11.), weil das Stockfoto
   ueberbelichtete Stellen ohne Gewebe hat; das Ergebnis ist 1679 px breit, deshalb gross 1920 px
   (mehr bringt keine Details), am Handy 1600 px. Kopf und Seitenkoepfe behalten den Stoff.
   Der Schleier ist neutral schwarz, damit die Hand grau bleibt, und liegt nur links. */
.hero-logo {
  background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, 0) 55%),
    url("einstieg-hand.webp") 50% 50% / cover no-repeat, var(--sumi);
}
/* Auf dem hellen, unruhigen Foto geht der Schatten vom Stoff unter (gemessen 12 statt 20 % dunkler):
   dichter und breiter, damit Schriftzug und Spirale wieder sichtbar abheben. */
.hero-logo h1 img { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .75)) drop-shadow(0 16px 44px rgba(0, 0, 0, .85)); }
.hero-logo .spirale {
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, .8)) drop-shadow(0 0 60px rgba(0, 0, 0, .9))
    drop-shadow(0 0 120px rgba(0, 0, 0, .55));
}
/* Der Satz sagt in fuenf Sekunden, worum es geht: groesser und kraeftiger als die anderen .lead,
   mit Schatten, weil er zum Teil auf der Hand liegt (Pruefer 02.11.). */
.hero-logo .lead {
  font-size: 21px; font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 18px rgba(0, 0, 0, .75);
}
/* Tablet: Spirale kleiner, sonst liegt sie auf den Knoecheln (Design-Review 02.11.). */
@media (min-width: 641px) and (max-width: 1100px) { .hero-logo .spirale { height: min(84%, 30vw); } }
/* Fokus-Rahmen hell, der rote verschwindet auf der grauen Hand. */
.hero-logo :focus-visible { outline-color: var(--washi); }
/* Handy: Ausschnitt auf Knoechel und Finger am Kragen, sonst bleibt von der Faust nur eine graue
   Flaeche. Hinter Schriftzug, Satz und Knopf dunkler, darunter klar. Die Spirale ganz im Bild, auch
   beim Drehen (40 px Rand), und mit Abstand zum Knopf auch auf kleinen Handys (iPhone SE). */
@media (max-width: 640px) {
  .hero-logo {
    background: linear-gradient(rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 58%,
      rgba(0, 0, 0, .12) 78%),
      url("einstieg-hand-1600.webp") 56% 50% / cover no-repeat, var(--sumi);
  }
  .hero-logo .lead { font-size: 19px; }
  .hero-logo .spirale { bottom: 32px; right: 40px; height: min(62vw, 260px); }
  .hero-logo .wrap { padding-bottom: calc(min(62vw, 260px) + 56px); }
}
/* Wunsch Dorian 03.11.2026: Menueleiste und Seitenkoepfe zeigen dasselbe Foto wie der Einstieg statt
   des alten Stoffs. Kopf und Seitenkopf liegen auf einem durchgehenden Bild (Seitenkopf um die
   Kopfhoehe nach oben versetzt, keine Kante an der Naht), Ausschnitt ab 22 % der Bildhoehe: das Band
   mit den Knoecheln am Kragen, statt einer unten abgeschnittenen Faust. Links dunkler fuer den Titel.
   Die Leiste bleibt dunkel hinterlegt (Wunsch 29.10.), das Foto schimmert nur durch. Der Einstieg der
   Startseite bleibt unveraendert (abgenommen 02.11.). */
:root {
  --unter-mass: max(1440px, 100vw) auto;
  --unter-y: calc(max(1440px, 100vw) * -.123);
}
.kopf {
  background: linear-gradient(rgba(4, 7, 28, .82), rgba(4, 7, 28, .82)),
    url("einstieg-hand.webp") 50% var(--unter-y) / var(--unter-mass) no-repeat, var(--sumi);
}
.seitenkopf {
  background: linear-gradient(90deg, rgba(4, 7, 28, .7) 0%, rgba(4, 7, 28, .5) 45%, rgba(4, 7, 28, .3) 100%),
    url("einstieg-hand.webp") 50% calc(var(--unter-y) - var(--kopf-h)) / var(--unter-mass) no-repeat, var(--sumi);
}
@media (max-width: 640px) {
  .kopf {
    background: linear-gradient(rgba(4, 7, 28, .82), rgba(4, 7, 28, .82)),
      url("einstieg-hand-1600.webp") 50% 0 / cover no-repeat, var(--sumi);
  }
  .seitenkopf {
    background: linear-gradient(rgba(4, 7, 28, .6), rgba(4, 7, 28, .6)),
      url("einstieg-hand-1600.webp") 45% 40% / cover no-repeat, var(--sumi);
  }
}
/* Funktion im Verein auch auf der Startseite unter dem Grad (Wunsch Dorian 03.11.2026). */
.team-start .rolle { font-size: 13px; color: var(--ink-muted); }
/* Links & Partner: „Unterstuetzt von“ ganz oben, nur Logos in einer Reihe (Wunsch Dorian 03.11.2026). */
.logo-reihe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.logo-reihe li { flex: none; }
.logo-reihe a { display: block; }
.logo-reihe img { display: block; width: auto; height: auto; max-width: 240px; max-height: 72px; background: none; }
.logo-reihe span { font-weight: 600; }
@media (max-width: 640px) { .logo-reihe { gap: 20px 32px; } .logo-reihe img { max-width: 180px; max-height: 56px; } }
/* Fuss: Hinweis klein wie auf allen Custom-Sites. */
.fuss .unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fuss .unten .gestaltung { color: var(--on-dark-muted); opacity: .75; font-size: 12.5px; }
.fuss .unten .gestaltung:hover { color: var(--washi); opacity: 1; }
/* Betreiber 03.11.2026: Menue oben durchsichtig, das Foto (Einstieg bzw. Seitenkopf) laeuft bis an den
   oberen Rand. Nur auf Seiten, die mit Foto beginnen (sonst stuende weisse Schrift auf Weiss), und nur,
   solange ganz oben (seite.js setzt .oben). Beim Scrollen wieder dunkel hinterlegt wie von Dorian
   gewuenscht (29.10.). Hinter dem Menue dunkler Verlauf (Betreiber: „Menue dunkler“), darunter klar. Ohne
   Skript bleibt die Leiste dunkel. Einstieg: das Foto deckt jetzt den ganzen ersten Bildschirm. */
main > .hero-logo:first-child, main > .seitenkopf:first-child { margin-top: calc(-1 * var(--kopf-h)); }
main > .hero-logo:first-child { padding-top: var(--kopf-h); }
main > .seitenkopf:first-child { padding-top: calc(clamp(56px, 7vw, 96px) + var(--kopf-h)); }
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben {
  background: transparent; box-shadow: none;
}
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben .kopf-haupt {
  border-bottom-color: transparent;
}
main > .seitenkopf:first-child {
  background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 230px),
    linear-gradient(90deg, rgba(4, 7, 28, .7) 0%, rgba(4, 7, 28, .5) 45%, rgba(4, 7, 28, .3) 100%),
    url("einstieg-hand.webp") 50% var(--unter-y) / var(--unter-mass) no-repeat, var(--sumi);
}
@media (min-width: 641px) {
  main > .hero-logo:first-child {
    background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 230px),
      linear-gradient(90deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, 0) 55%),
      url("einstieg-hand.webp") 50% 50% / cover no-repeat, var(--sumi);
  }
}
@media (max-width: 640px) {
  main > .seitenkopf:first-child {
    background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 170px),
      linear-gradient(rgba(4, 7, 28, .6), rgba(4, 7, 28, .6)),
      url("einstieg-hand-1600.webp") 45% 40% / cover no-repeat, var(--sumi);
  }
  main > .hero-logo:first-child {
    background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 170px),
      linear-gradient(rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .12) 78%),
      url("einstieg-hand-1600.webp") 56% 50% / cover no-repeat, var(--sumi);
  }
}
/* Offenes Handy-Menue: Kopfzeile dunkel wie das Menue darunter, nicht hell auf dem Foto. */
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben:has(details.menue[open]) {
  background: var(--tiefblau);
}
/* Wunsch Dorian 03.11.2026: Einstieg mit dem Gruppenfoto (Feld „Foto im Einstieg“) statt der Hand, wie in
   der ersten Ansicht: Foto ueber die ganze Breite, abgedunkelt, grosses Logo links, Spirale rechts (Aufbau
   wie oben). Die Menueleiste zeigt dasselbe Foto. Die Seitenkoepfe der Unterseiten zeigen wieder die Faust
   (Regeln weiter oben; Betreiber 04.11., am 03.11. kurz nur Blau). Das Foto kommt aus der Redaktion (Personenfoto, nie im Repo), deshalb als Bild im
   HTML statt im CSS. Ohne Einstiegsfoto bleibt die Hand (oben). */
.hero-logo.mit-foto, main > .hero-logo.mit-foto:first-child { position: relative; background: var(--sumi); overflow: hidden; }
.hero-foto, .kopf-bild { position: absolute; inset: 0; }
.hero-foto img, .kopf-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-foto img { object-position: 50% 62%; }
/* Ausschnitt Hallendecke: in der schmalen Leiste sonst angeschnittene Koepfe. */
.kopf-bild img { object-position: 50% 0; }
.hero-foto::after, .kopf-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-foto::after {
  background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 230px),
    linear-gradient(90deg, rgba(4, 7, 28, .82) 0%, rgba(4, 7, 28, .55) 45%, rgba(4, 7, 28, .4) 100%);
}
.kopf-bild::after { background: rgba(4, 7, 28, .82); }
.hero-logo.mit-foto .wrap { position: relative; z-index: 1; }
.kopf:has(.kopf-bild) { background: var(--sumi); }
.kopf-bild { overflow: hidden; }
.kopf-bild ~ .kopf-haupt { position: relative; z-index: 1; }
/* Ganz oben ueber dem Foto ist die Leiste durchsichtig (siehe oben), dort also ohne eigenes Bild. */
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben .kopf-bild { display: none; }
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben:has(.kopf-bild) { background: transparent; }
body:has(main > .hero-logo:first-child, main > .seitenkopf:first-child) .kopf.oben:has(details.menue[open]) { background: var(--tiefblau); }
@media (max-width: 640px) {
  .hero-foto img { object-position: 50% 50%; }
  .hero-foto::after {
    background: linear-gradient(rgba(4, 7, 28, .78) 0, rgba(4, 7, 28, .55) var(--kopf-h), rgba(4, 7, 28, 0) 170px),
      linear-gradient(rgba(4, 7, 28, .35) 0%, rgba(4, 7, 28, .7) 25%, rgba(4, 7, 28, .7) 60%, rgba(4, 7, 28, .35) 85%);
  }
}
/* Partner-Logos etwas groesser (Betreiber 03.11.). */
.logo-reihe { gap: 32px 64px; }
.logo-reihe img { max-width: 320px; max-height: 104px; }
@media (max-width: 640px) { .logo-reihe { gap: 24px 36px; } .logo-reihe img { max-width: 240px; max-height: 80px; } }
/* Shop mit Seitenkopf (Betreiber 06.11.): der Abschnitt haelt den Abstand des Kastens selbst, sonst
   rutscht der Rand nach aussen und zwischen Seitenkopf und Shop steht ein weisser Streifen. */
.shop-seite .shop-abschnitt { display: flow-root; }
