/* =====================================================================
   Freiwillige Feuerwehr Drögennindorf – Designsystem
   Farben: Signalrot der Fahrzeuge, Nachtblau der Einsatzjacke,
   Warngelb nur in der Warnmarkierung. Schrift: Barlow (Condensed für
   Überschriften, wie Fahrzeugbeschriftung).
   ===================================================================== */

:root {
  --rot: #C8102E;
  --rot-dunkel: #9A0C23;
  --nacht: #141A26;
  --nacht-hell: #1F2838;
  --gelb: #F2D23A;
  --hell: #F4F4F1;
  --weiss: #FFFFFF;
  --tinte: #1B1F27;
  --grau: #5C6370;
  --grau-hell: #9AA0AA;
  --linie: #D8D9D3;
  --fokus: #0B57D0;

  --schrift: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-kopf: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --breite: 1160px;
  --rand: clamp(24px, 5vw, 48px);
  --radius: 6px;
  --abstand: clamp(56px, 8vw, 112px);
  --kopf-hoehe: 75px; /* .kopf-innen min-height + Linie */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--tinte);
  background: var(--hell);
}

img, svg, iframe { max-width: 100%; display: block; }

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

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--schrift-kopf);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

.container { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--nacht); color: #fff; padding: 10px 14px; border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Platzhalter – alles, was später durch echte Inhalte ersetzt wird
   --------------------------------------------------------------------- */
.ph {
  position: relative;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 26, 38, 0.05) 14px 28px),
    #E8E9E4;
  border: 1.5px dashed #B8BBB3;
  border-radius: var(--radius);
  color: var(--grau);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
  min-height: 160px;
}
.ph--bild { aspect-ratio: 4 / 3; }
.ph--breit { aspect-ratio: 16 / 9; }
.ph--hoch { aspect-ratio: 3 / 4; }
.ph--portrait { aspect-ratio: 1; border-radius: 50%; min-height: 0; width: 120px; padding: 8px; font-size: 0.75rem; }
.ph--logo { aspect-ratio: 1; min-height: 0; width: 48px; height: 48px; padding: 0; border-radius: var(--radius); font-size: 0.75rem; }
.ph span { max-width: 26ch; }
.ph::before {
  content: "Platzhalter";
  position: absolute; top: 8px; left: 10px;
  font-size: 0.75rem; letter-spacing: 0.04em; color: var(--grau-hell);
}
.ph--portrait::before, .ph--logo::before { display: none; }

.ph-text { background: rgba(242, 210, 58, 0.28); border-bottom: 1px dotted #A98E1A; padding: 0 2px; }

/* ---------------------------------------------------------------------
   Kopfzeile
   --------------------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 244, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 74px;
}
.marke {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--tinte);
}
.marke-text { font-family: var(--schrift-kopf); line-height: 1.05; }
.marke-text strong { display: block; font-size: 1.25rem; font-weight: 700; }
.marke-text span { display: block; font-size: 0.9rem; color: var(--grau); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: var(--radius);
  text-decoration: none; color: var(--tinte); font-weight: 500; font-size: 1rem;
}
.nav a:hover { background: rgba(20, 26, 38, 0.06); color: var(--tinte); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--rot); border-radius: var(--radius) var(--radius) 0 0; }

.notruf-klein {
  display: none;
  align-items: center; gap: 6px;
  background: var(--rot); color: #fff; text-decoration: none;
  font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.15rem;
  padding: 8px 12px; border-radius: var(--radius);
}
.notruf-klein:hover { background: var(--rot-dunkel); color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--radius);
}
.burger span { width: 24px; height: 2px; background: var(--tinte); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobil-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--linie);
  background: var(--hell);
  padding: 8px var(--rand) 16px;
}
.mobil-nav[data-offen="true"] { display: flex; }
.mobil-nav a { padding: 12px 6px; text-decoration: none; color: var(--tinte); font-weight: 500; border-bottom: 1px solid var(--linie); }
.mobil-nav a[aria-current="page"] { color: var(--rot-dunkel); }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .notruf-klein { display: inline-flex; }
}

/* ---------------------------------------------------------------------
   Warnmarkierung – die rot-gelbe Schräge vom Fahrzeugheck
   --------------------------------------------------------------------- */
.warnband {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--rot) 0 22px,
    var(--gelb) 22px 44px
  );
}
.warnband--duenn { height: 6px; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  background: var(--nacht);
  color: #fff;
  /* volle Bildschirmhöhe abzüglich der klebenden Kopfzeile; wächst bei viel Inhalt */
  min-height: calc(100svh - var(--kopf-hoehe));
  display: flex; align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero > .container { flex: 0 0 auto; }  /* nicht dehnen, sonst verschwindet der Seitenrand */
.hero-innen {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero p { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; max-width: 52ch; }
.hero .ph { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.05) 14px 28px), var(--nacht-hell); border-color: #44506A; color: #AEB6C6; }
.hero .ph::before { color: #7B869B; }
.hero-zeile { font-family: var(--schrift-kopf); font-size: 1.1rem; color: var(--gelb); font-weight: 600; margin-bottom: 14px; }
.hero--kompakt .hero-innen { grid-template-columns: 1fr; }
.hero--kompakt h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

.hero-weiter {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
}
.hero-weiter::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hero-weiter:hover { color: #fff; }
.hero { position: relative; }
@media (max-width: 820px) {
  .hero-innen { grid-template-columns: 1fr; }
  .hero .ph--bild { aspect-ratio: 16 / 9; min-height: 0; }
  .hero-weiter { display: none; }
}

/* ---------------------------------------------------------------------
   Knöpfe
   --------------------------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--schrift-kopf); font-size: 1.15rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rot:hover { background: var(--rot-dunkel); color: #fff; }
.knopf--hell { background: #fff; color: var(--nacht); }
.knopf--hell:hover { background: #E9EAE5; color: var(--nacht); }
.knopf--rahmen { border-color: currentColor; color: var(--nacht); background: transparent; }
.knopf--rahmen:hover { background: var(--nacht); color: #fff; }
.hero .knopf--rahmen, .abschnitt--dunkel .knopf--rahmen { color: #fff; }
.hero .knopf--rahmen:hover, .abschnitt--dunkel .knopf--rahmen:hover { background: #fff; color: var(--nacht); }
.abschnitt--dunkel .knopf--hell { color: var(--nacht); }
.abschnitt--dunkel .knopf--hell:hover { color: var(--nacht); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------------
   Abschnitte
   --------------------------------------------------------------------- */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--dunkel { background: var(--nacht); color: #fff; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--dunkel p { color: rgba(255,255,255,0.85); }
.abschnitt--dunkel a { color: #fff; }
.abschnitt--weiss { background: #fff; }
.abschnitt--anschluss { padding-top: 0; }

.kopfzeile { max-width: 68ch; margin-bottom: clamp(28px, 4vw, 48px); }
.kopfzeile p { font-size: 1.15rem; color: var(--grau); }
.abschnitt--dunkel .kopfzeile p { color: rgba(255,255,255,0.8); }

.zweispaltig {
  display: grid; gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.zweispaltig--mitte { align-items: center; }
@media (max-width: 820px) { .zweispaltig { grid-template-columns: 1fr; } }

.raster { display: grid; gap: 24px; }
.raster > *, .zweispaltig > * { min-width: 0; }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .raster--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; } }

/* Eckdaten – schlichte Liste, kein Zahlensalat */
.eckdaten {
  display: grid; gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
  margin: 0; padding: 0;
}
.eckdaten > div { padding: 22px 18px 22px 0; border-right: 1px solid var(--linie); margin-right: 18px; }
.eckdaten > div:last-child { border-right: 0; margin-right: 0; }
.eckdaten dt { font-size: 0.95rem; color: var(--grau); margin-bottom: 4px; }
.eckdaten dd { margin: 0; font-family: var(--schrift-kopf); font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
@media (max-width: 820px) {
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eckdaten > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 480px) {
  .eckdaten { grid-template-columns: 1fr; }
  .eckdaten > div { border-right: 0; border-bottom: 1px solid var(--linie); margin-right: 0; }
  .eckdaten > div:last-child { border-bottom: 0; }
}

/* Personen */
.person { display: flex; gap: 18px; align-items: center; min-width: 0; }
.person > div { min-width: 0; }
.person-kontakt, .person-name { overflow-wrap: anywhere; }
.person-name { font-family: var(--schrift-kopf); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.person-rolle { color: var(--grau); margin-top: 2px; }
.person-rolle, .person-kontakt { font-size: 0.98rem; }
.person-kontakt { margin-top: 6px; }

/* Karten nur dort, wo Inhalte wirklich gleichrangig sind (Fahrzeuge, Gruppen) */
.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.abschnitt--weiss .karte { background: var(--hell); }
.karte .ph { border-radius: 0; border-width: 0 0 1.5px; }
.karte-inhalt { padding: 20px 22px 24px; }
.karte-inhalt h3 { margin-bottom: 0.25em; }
.karte-meta { color: var(--grau); font-size: 0.95rem; margin-bottom: 10px; }
.karte-inhalt ul { margin: 10px 0 0; padding-left: 1.1em; font-size: 0.98rem; }

/* Zeitstrahl für Erfolge und Geschichte – echte Reihenfolge, deshalb Linie */
.zeitstrahl { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rot); }
.zeitstrahl li { position: relative; padding: 0 0 28px 28px; margin: 0; }
.zeitstrahl li:last-child { padding-bottom: 0; }
.zeitstrahl li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--rot); border: 2px solid var(--hell);
}
.abschnitt--weiss .zeitstrahl li::before { border-color: #fff; }
.zeitstrahl time { display: block; font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.3rem; }
.zeitstrahl p { margin: 2px 0 0; }

/* Übungszeiten als Tabelle */
.zeiten { width: 100%; border-collapse: collapse; font-size: 1rem; }
.zeiten th, .zeiten td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-family: var(--schrift-kopf); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.zeiten tr:last-child td, .zeiten tr:last-child th { border-bottom: 0; }

/* Hinweiskasten */
.hinweis {
  border-left: 4px solid var(--rot); background: #fff;
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
}
.hinweis p:last-child { margin-bottom: 0; }

/* Definitionsliste für Kontaktdaten */
.kontaktliste { margin: 0; display: grid; gap: 14px 24px; grid-template-columns: max-content 1fr; }
.kontaktliste dt { color: var(--grau); }
.kontaktliste dd { margin: 0; }
@media (max-width: 480px) { .kontaktliste { grid-template-columns: 1fr; gap: 2px; } .kontaktliste dd { margin-bottom: 12px; } }

/* ---------------------------------------------------------------------
   Formulare
   --------------------------------------------------------------------- */
.formular { display: grid; gap: 18px; }
.formular-reihe { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .formular-reihe { grid-template-columns: 1fr; } }
.feld label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.98rem; }
.feld .hilfe { display: block; color: var(--grau); font-weight: 400; font-size: 0.9rem; margin-top: 2px; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--tinte);
  padding: 12px 14px; border: 1.5px solid #B9BCB4; border-radius: var(--radius); background: #fff;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--nacht); outline: 3px solid rgba(11, 87, 208, 0.25); outline-offset: 0; }
.feld textarea { min-height: 140px; resize: vertical; }
.feld--check { display: flex; gap: 12px; align-items: flex-start; }
.feld--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.feld--check label { font-weight: 400; margin: 0; }
.formular-hinweis { font-size: 0.92rem; color: var(--grau); }
.formular-status { display: none; }
.formular-status[data-sichtbar="true"] { display: block; }
.pflicht { color: var(--rot); }

/* Karte (Standort) */
.standortkarte {
  position: relative; height: clamp(320px, 48vw, 520px);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie);
  background: #E8E9E4;
}
.standortkarte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.standortkarte-vorschalt {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 26, 38, 0.05) 14px 28px),
    #E8E9E4;
}
.standortkarte-vorschalt p { max-width: 42ch; margin-bottom: 16px; color: var(--grau); }
.standortkarte[data-geladen="true"] .standortkarte-vorschalt { display: none; }

/* ---------------------------------------------------------------------
   Fußzeile
   --------------------------------------------------------------------- */
.fuss { background: var(--nacht); color: rgba(255,255,255,0.82); padding: 56px 0 32px; }
.fuss-innen { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 820px) { .fuss-innen { grid-template-columns: 1fr; } }
.fuss h4 { color: #fff; margin-bottom: 12px; }
.fuss a { color: #fff; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 8px; }
.fuss p { color: rgba(255,255,255,0.75); font-size: 0.98rem; }
.fuss-unten {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.92rem;
}
.fuss .fuss-notruf { font-family: var(--schrift-kopf); font-size: 1.6rem; font-weight: 700; color: #fff; }
.fuss-notruf small { display: block; font-family: var(--schrift); font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------------
   Notruf-Tab – steht am rechten Rand, fährt beim Hover heraus
   --------------------------------------------------------------------- */
.notruf {
  position: fixed; right: 0; top: 50%; z-index: 50;
  display: none;
  align-items: stretch;
  background: var(--rot); color: #fff; text-decoration: none;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: 0 10px 30px rgba(20, 26, 38, 0.28);
  transform: translate(calc(100% - 72px), -50%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), background .15s;
  will-change: transform;
}
.notruf:hover, .notruf:focus-visible {
  transform: translate(0, -50%);
  background: var(--rot-dunkel);
  color: #fff;
  outline-offset: -3px;
}
.notruf-zahl {
  width: 72px; flex: none;
  display: grid; place-items: center;
  font-family: var(--schrift-kopf); font-size: 1.9rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 18px 0;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.notruf-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 22px 12px 18px; white-space: nowrap;
  font-family: var(--schrift-kopf); font-size: 1.25rem; font-weight: 600; line-height: 1.15;
}
.notruf-text small { font-family: var(--schrift); font-size: 0.85rem; font-weight: 400; opacity: 0.9; margin-top: 2px; }
.notruf::before {
  /* schmaler gelber Streifen wie die Kante der Warnmarkierung */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--gelb); border-radius: var(--radius) 0 0 var(--radius);
}
@media (min-width: 901px) and (hover: hover) { .notruf { display: flex; } }
@media (min-width: 901px) and (hover: none) { .notruf { display: flex; transform: translate(0, -50%); } }

/* Bilder aus der Datenbank ersetzen den Platzhalter im selben Rahmen */
.ph.hat-bild { border: 0; background: none; padding: 0; overflow: hidden; }
.ph.hat-bild::before { display: none; }
.bild { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph--portrait.hat-bild .bild { border-radius: 50%; }
.karte .ph.hat-bild { border-radius: 0; }

/* ---------------------------------------------------------------------
   Handy: mehr Rand, weniger Höhe, ruhigere Abfolge
   --------------------------------------------------------------------- */
@media (max-width: 820px) {
  :root { --rand: 28px; --abstand: 48px; }
  body { font-size: 1rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  h3 { font-size: 1.3rem; }
  .kopfzeile { margin-bottom: 24px; }
  .kopfzeile p, .hero p { font-size: 1.05rem; }

  /* Hero: Bild unter dem Text, flach gehalten, Knöpfe in voller Breite */
  .hero { padding: 40px 0 44px; }
  .hero-innen { gap: 28px; }
  .hero .ph--bild { aspect-ratio: 16 / 9; max-height: 220px; min-height: 0; }
  .hero-zeile { font-size: 1rem; margin-bottom: 10px; }
  .knopfreihe { margin-top: 22px; gap: 10px; }
  .knopfreihe .knopf { width: 100%; justify-content: center; }

  /* Eckdaten als zweispaltiges Raster mit ruhigen Linien */
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .eckdaten > div { padding: 16px 0; border-right: 0; margin-right: 0; border-bottom: 1px solid var(--linie); }
  .eckdaten > div:nth-last-child(-n+2) { border-bottom: 0; }
  .eckdaten dd { font-size: 1.5rem; }

  /* Bildplätze flacher, damit die Seite nicht endlos wird */
  .ph--bild, .ph--breit { aspect-ratio: 3 / 2; max-height: 240px; min-height: 140px; }
  .ph--portrait { width: 88px; }
  .person { gap: 14px; }
  .person-name { font-size: 1.2rem; }
  .raster, .raster--2, .raster--3, .raster--4 { gap: 18px; }
  .zweispaltig { gap: 32px; }

  /* Teaser-Karten (Mehr über uns) als Zeilen: Bild links, Text rechts */
  a.karte { flex-direction: row; align-items: stretch; }
  a.karte .ph { width: 110px; flex: none; aspect-ratio: auto; max-height: none; min-height: 0; border-width: 0 1.5px 0 0; font-size: 0; }
  a.karte .ph::before { display: none; }
  a.karte .karte-inhalt { padding: 14px 16px; }
  a.karte .karte-inhalt h3 { font-size: 1.15rem; }
  a.karte .karte-inhalt p { font-size: 0.95rem; margin: 0; }

  /* Tabellen und Zeitstrahl */
  .zeiten th { font-size: 1.05rem; }
  .zeiten th, .zeiten td { padding: 12px 10px 12px 0; }
  .zeitstrahl li { padding-bottom: 20px; padding-left: 22px; }
  .zeitstrahl time { font-size: 1.15rem; }

  /* Formular: weniger Höhe, Status-Hinweis gut sichtbar */
  .feld textarea { min-height: 110px; }
  .formular { gap: 14px; }
  .formular-reihe { gap: 14px; }

  /* Kontaktliste und Hinweis */
  .kontaktliste { grid-template-columns: 1fr; gap: 2px; }
  .kontaktliste dd { margin-bottom: 12px; }
  .hinweis { padding: 14px 16px; }

  /* Fuß kompakter */
  .fuss { padding: 40px 0 24px; }
  .fuss-innen { gap: 24px; }
  .fuss-unten { margin-top: 28px; flex-direction: column; gap: 8px; }

  /* Kopfzeile: Wortmarke kleiner, damit 112 und Menü Platz haben */
  .marke-text strong { font-size: 1.1rem; }
  .marke-text span { font-size: 0.85rem; }
}
@media (max-width: 380px) {
  :root { --rand: 22px; }
  .eckdaten { grid-template-columns: 1fr; }
  .eckdaten > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .eckdaten > div:last-child { border-bottom: 0; }
}
