/* blv consult – statische Fassung, Stand 2026-10
   Farben, Schriften und Raster folgen der bisherigen Seite (OceanWP/Elementor).
   Geändert: Kontraste auf WCAG 2.2 AA, fließende Schriftgrößen, Flatterrand statt Blocksatz. */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/open-sans-latin-300-normal.woff2") format("woff2"); }

:root {
  --rot: #9c2032;          /* Markenfarbe aus Logo und Kopflinie */
  --rot-dunkel: #7a1827;
  --text: #000;
  --text-leise: #5c5c5c;   /* ersetzt #bfbfbf (1,8:1) für Funktionszeilen, jetzt 6,7:1 */
  --grund: #fff;
  --nacht: #000;           /* schwarze Abschnitte wie bisher */
  --nacht-text: #fff;
  --nacht-leise: #b3b3b3;  /* ersetzt #686868 auf Schwarz (3,7:1), jetzt 10:1 */
  --linie: #000;
  --fuss: #1b1b1b;
  --fuss-text: #b0b0b0;
  --breite: 75rem;
  --schmal: 46rem;
  --abstand: clamp(3rem, 8vw, 6.25rem);
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nav: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font: 300 1.0625rem/1.85 var(--sans);
  color: var(--text);
  background: var(--grund);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
strong, b { font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 .6em; text-wrap: balance; }

a { color: var(--rot); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot-dunkel); text-decoration-thickness: 2px; }

/* Fokus: zwei Ringe, damit er auf Weiß, Schwarz und auf Fotos sichtbar bleibt (2.4.7, 1.4.11) */
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; box-shadow: 0 0 0 6px #fff; }
.nacht :focus-visible, .fuss :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--rot); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprunglink {
  position: absolute; left: -9999px; top: .5rem; z-index: 10;
  background: #fff; color: var(--rot); padding: .75rem 1rem; border: 2px solid var(--rot); font-weight: 700;
}
.sprunglink:focus { left: .5rem; }

.rahmen { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.schmal { width: min(100% - 2.5rem, var(--schmal)); margin-inline: auto; }

/* ---------- Kopf ---------- */
.kopf { border-bottom: 1px solid var(--rot); background: #fff; }
.kopf .rahmen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .25rem 2rem; min-height: 4.4rem; padding-block: .6rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { width: 232px; height: auto; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 .25rem; }
.hauptnav li { margin: 0; }
.hauptnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem;
  font: 300 .875rem/1 var(--nav); letter-spacing: .04em; text-transform: uppercase;
  color: #555; text-decoration: none; border-bottom: 2px solid transparent;
}
.hauptnav a:hover { color: var(--rot); border-bottom-color: currentColor; }
.hauptnav a[aria-current="page"] { color: var(--rot); border-bottom-color: var(--rot); }
@media (max-width: 52rem) {
  .kopf .rahmen { justify-content: center; padding-block: 1rem .25rem; }
  .hauptnav ul { justify-content: center; }
  .hauptnav a { padding: 0 .55rem; font-size: .8125rem; }
}

/* ---------- Bildbänder (bisher CSS-Hintergründe) ---------- */
.band { position: relative; height: clamp(7.5rem, 21vw, 19rem); overflow: hidden; background: #ddd; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.nacht { background: var(--nacht); color: var(--nacht-text); }
.nacht a { color: #fff; }
.nacht a:hover { color: #fff; text-decoration-thickness: 2px; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 0 auto; width: min(100% - 2.5rem, var(--breite)); }

.titel { font-size: clamp(2rem, 1.3rem + 2.6vw, 2.8125rem); text-align: center; line-height: 1.2; margin-bottom: .9em; }
.titel-gross { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.0625rem); }
.zentriert { text-align: center; }
.einleitung { font-size: 1.0625rem; }

.zweispaltig { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 48rem) {
  .zweispaltig { grid-template-columns: 1fr 1fr; }
  .zweispaltig.bild-rechts > .bild { order: 2; }
}
.bild img { width: 100%; }

/* Zitat mit Name und Funktion (Start, Wer wir sind) */
.stimme { margin: 0; }
.titel.links { text-align: left; }
@media (max-width: 47.99rem) { .titel.links { text-align: center; } }
.stimme .zeichen, .stimme-text .zeichen { width: 2.5rem; height: 2.5rem; color: #bfbfbf; margin-bottom: .75rem; }
.nacht .zeichen { color: #686868; }
.stimme blockquote { margin: 0; }
.name { display: block; font-weight: 900; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.2; margin-top: 1.25rem; }
.funktion {
  display: block; margin-top: .35rem; color: var(--text-leise);
  font-size: .875rem; letter-spacing: .14em; text-transform: uppercase;
}
.nacht .funktion { color: var(--nacht-leise); }
@media (max-width: 47.99rem) { .stimme, .stimme-text { text-align: center; } .zeichen { margin-inline: auto; } }
.bild .hochformat { max-width: 22rem; margin-inline: auto; }

/* Drei Säulen (Warum es uns gibt) */
.saeulen { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 48rem) { .saeulen { grid-template-columns: repeat(3, 1fr); } }
.saeulen li { text-align: center; margin: 0; }
.stichwort { display: block; font-weight: 700; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .4rem; }

/* Aktuelles */
.meldungen { display: grid; gap: 2.5rem 3rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .meldungen { grid-template-columns: 1fr 1fr; } }
.meldung h3 { font-size: 1.25rem; }
.meldung .text { font-size: 1rem; border-bottom: 1px solid var(--linie); padding-bottom: 1rem; margin-bottom: 2rem; }
.meldung a { overflow-wrap: anywhere; }

/* Kooperationen */
.partner { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .partner { grid-template-columns: repeat(3, 1fr); } }
.partner li { text-align: center; margin: 0; }
.partner a { display: inline-block; padding: .5rem; font-weight: 700; font-size: 1.125rem; text-transform: uppercase; color: var(--text); }
.partner a:hover { color: var(--rot); }

/* Aufklappbereiche: natives <details>, ohne JavaScript bedienbar (Enter und Leertaste) */
.akkordeon { display: grid; gap: 2rem; margin-top: 2.5rem; }
.fach { border: 1px solid #686868; box-shadow: 0 0 30px rgba(0,0,0,.12); }
.fach summary {
  display: flex; align-items: center; gap: 1rem; min-height: 44px; list-style: none;
  padding: 1.6rem 1.75rem; border-left: 4px solid transparent;
  color: #fff; font: 900 1rem/1.3 var(--sans); text-transform: uppercase; cursor: pointer;
}
.fach summary::-webkit-details-marker { display: none; }
.fach summary:hover, .fach[open] summary { border-left-color: var(--rot); }
.fach .pfeil { flex: none; width: 1rem; height: 1rem; transition: transform .2s; }
.fach[open] .pfeil { transform: rotate(90deg); }
.fach .inhalt { padding: 0 2rem 1.25rem 2.2rem; color: var(--nacht-leise); font-size: 1rem; line-height: 1.8; }
.fach .inhalt a { color: #fff; }

/* Kontakt: Schachbrett aus Schwarz und Weiß wie bisher */
.kontakt-zeile { display: grid; }
@media (min-width: 48rem) { .kontakt-zeile { grid-template-columns: 2fr 1fr; } .kontakt-zeile.gespiegelt { grid-template-columns: 1fr 2fr; } }
.kachel { padding: clamp(2.5rem, 7vw, 6.25rem) 1.25rem; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.kachel h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; margin-bottom: 1rem; }
.kachel .nummern { list-style: none; padding: 0; margin: 0; }
.kachel .nummern li { margin: 0 0 .5rem; }
.kachel .art { display: block; font-size: .8125rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }
.kachel .nummer { font-weight: 900; font-size: clamp(1.6rem, .6rem + 3.6vw, 3.4375rem); line-height: 1.2; text-decoration: none; color: inherit; white-space: nowrap; }
.kachel .nummer:hover { text-decoration: underline; }
.kachel h3 { font-size: 1.125rem; text-transform: uppercase; margin-bottom: .5rem; }
.kachel address { font-style: normal; }
@media (min-width: 48rem) { .kontakt-zeile.gespiegelt .ort { order: -1; } }

/* Rechtstexte */
.recht { text-align: left; }
.recht h2 { font-size: 1.25rem; margin-top: 2.5rem; letter-spacing: .02em; }
.recht h3 { font-size: 1rem; margin-top: 1.75rem; margin-bottom: .4em; text-transform: uppercase; letter-spacing: .04em; }
.recht a { overflow-wrap: anywhere; }

/* ---------- Fuß ---------- */
.fuss { background: var(--fuss); color: var(--fuss-text); font: 300 .8125rem/1.6 var(--nav); }
.fuss .rahmen { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; padding-block: 2.5rem; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.fuss li { margin: 0; }
.fuss li + li::before { content: "|"; color: #6f6f6f; padding: 0 .35rem; }
.fuss a { display: inline-block; padding: .7rem .15rem; color: #fff; text-decoration: none; }
.fuss a:hover, .fuss a[aria-current="page"] { text-decoration: underline; }
@media (max-width: 40rem) { .fuss .rahmen { justify-content: center; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .kopf nav, .band, .fuss ul, .sprunglink { display: none; }
  .nacht { background: #fff; color: #000; }
}

/* Lange Absätze auf schmalen Bildschirmen linksbündig: zentrierter Fließtext liest sich schlecht */
@media (max-width: 47.99rem) { .zentriert p, .stimme-text p:not(.funktion) { text-align: left; } }

/* Alleinstehende Links: Zielfläche mindestens 24 px hoch (2.5.8) */
.einzellink a { display: inline-block; padding-block: .3rem; }
/* Lange deutsche Komposita dürfen bei 320 px umbrechen (1.4.10) */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
