/* PaarPilot · Stil der statischen SEO-Seiten (Ratgeber, Vergleiche, Vertrauensseiten)
   Einzige Quelle: /seiten.css an der Wurzel (Netlify veröffentlicht nur die Positivliste,
   scripts/public_allowlist.txt). Farben, Schriften, Radien und Hell/Dunkel kommen aus
   design-tokens.css, wie auf der Landingpage (Theme sunset fest, Modus über pp-mode).
   Keine Skripte außer dem Modus-Schalter im Seitenkopf.
   Kopf, Knopf und der Kastenstil stehen in bausteine.css (auch von der Startseite und den Rechtsseiten geladen). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  /* Fuß immer am unteren Rand (Dan 09.11.): auf kurzen Seiten (beta-bestaetigen, beta-abmelden) wächst der Hauptteil, der Fuß rutscht nach unten.
     Lange Seiten ändern sich nicht: dort ist der Hauptteil ohnehin höher als das Fenster. */
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .site-fuss { flex: none; }
img { max-width: 100%; height: auto; }
a { color: var(--color-accent-text); text-underline-offset: 3px; }
a:hover { color: var(--color-text-primary); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }

/* Inhalt */
main { padding-bottom: 3rem; }
.kopfbereich { padding-top: 2.2rem; }
.eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-text); margin: 0 0 0.6rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--color-text-primary); line-height: 1.18; letter-spacing: -0.01em; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.5rem, 4.2vw, 1.95rem); margin: 2.4rem 0 0.7rem; }
h3 { font-size: 1.3rem; margin: 1.6rem 0 0.4rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
.stand { font-size: 0.9rem; color: var(--color-text-secondary); margin: 0 0 1.4rem; }
.einstieg { font-size: 1.15rem; color: var(--color-text-secondary); }

/* Faktenblock: Fläche, Rand, Radius, Schatten und Innenabstand kommen aus dem Kastenstil (bausteine.css) */
.faktenblock { margin: 0 0 1.8rem; }
.faktenblock h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-text); margin: 0 0 0.6rem; }
.faktenblock ul { margin: 0 0 0.4rem; padding-left: 1.1rem; }
.faktenblock .stand { margin: 0.2rem 0 0; }

/* Hilfekasten (Pflicht auf Seiten zu Beziehung, Krise, Therapie, vor dem ersten Produkt-Link im Text) */
.hilfekasten { margin: 2rem 0; }  /* Kastenstil: bausteine.css */
.hilfekasten h2, .hilfekasten h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.hilfekasten ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.hilfekasten li { margin-bottom: 0.25rem; }
.hilfekasten a[href^="tel:"] { font-weight: 700; white-space: nowrap; }
.hilfekasten p:last-child { margin-bottom: 0; }

/* Tabellen: eigene Scrollfläche, die Seite scrollt nie seitlich */
.tabelle { overflow-x: auto; margin: 1.2rem 0 1.6rem; -webkit-overflow-scrolling: touch; }
.tabelle table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; background: var(--color-surface); }
.tabelle caption { text-align: left; font-size: 0.85rem; color: var(--color-text-secondary); padding-bottom: 0.4rem; caption-side: top; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border: 1px solid var(--color-border); }
.tabelle thead th { background: var(--color-secondary-tint); font-weight: 700; }
.tabelle tbody th { font-weight: 600; background: var(--color-surface-2); }

/* FAQ */
.faq h3 { margin-top: 1.4rem; }

/* CTA-Baustein */
.cta-box { margin: 2.4rem 0; text-align: center; }  /* Kastenstil: bausteine.css; der Knopf darin ist der normale Verlaufsknopf */
.cta-box p { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.25; }
/* Knopfzeile im CTA-Kasten: „Kostenlos ausprobieren“ und (mit Schalter) „Paarraum vorab testen“ nebeneinander, mobil untereinander.
   Der Einhängepunkt der Beta-Liste löst sich auf (display: contents), damit Knopf und aufgeklapptes Formular direkt Teil dieser Zeile sind. */
.cta-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem 1rem; }
.cta-knoepfe .beta-mount { display: contents; }
.cta-knoepfe .beta-mount[hidden] { display: none; }
@media (max-width: 40rem) { .cta-knoepfe { flex-direction: column; } .cta-knoepfe .knopf, .cta-knoepfe .beta-knopf { width: 100%; max-width: 22rem; } }
.cta-box .weiter { font-family: var(--font-body); font-size: 1rem; line-height: 1.4; margin: 0.9rem 0 0; }
.cta-box .weiter a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.cta-box .klein { font-family: var(--font-body); font-size: 0.85rem; opacity: 0.9; margin: 0.9rem 0 0; }

/* Autor-Box */
.autorbox { display: flex; gap: 14px; align-items: center; margin: 2.4rem 0 1rem; }  /* Kastenstil: bausteine.css */
.autorbox p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.autorbox strong { font-weight: 700; }
.autorbox .stand { font-size: 0.85rem; margin: 0; }

/* Quellen, Hinweise */
.quellen { font-size: 0.9rem; color: var(--color-text-secondary); }
.quellen li { margin-bottom: 0.3rem; }
.hinweis-quelle { font-size: 0.9rem; color: var(--color-text-secondary); border-top: 1px solid var(--color-border); padding-top: 0.8rem; margin-top: 1.6rem; }

/* Porträt */
.portrait { float: right; width: 11rem; margin: 0.3rem 0 1rem 1.2rem; }
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); display: block; background: var(--color-secondary-tint); }
.portrait figcaption { font-size: 0.8rem; color: var(--color-text-secondary); margin-top: 0.3rem; }
@media (max-width: 30rem) { .portrait { float: none; width: 100%; max-width: 14rem; margin: 0 0 1.2rem; } }

/* Offene Fakten sind im Entwurf sichtbar, nie im Live-Stand */
.fakt-offen { background: var(--color-warning-bg); color: var(--color-warning-text); padding: 0 0.25rem; border-radius: 3px; }

/* Fußzeile */
.site-fuss { border-top: 1px solid var(--color-border); background: var(--color-surface); padding: 2rem 0 calc(2.4rem + env(safe-area-inset-bottom)); font-size: 0.9rem; color: var(--color-text-secondary); }
.site-fuss .ki-hinweis { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--color-text-primary); margin: 0 0 0.8rem; }
.site-fuss nav ul { list-style: none; padding: 0; margin: 0 0 0.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.site-fuss nav li { margin: 0; }
.site-fuss .lesen { margin: 0 0 0.8rem; }
.site-fuss .lesen strong { color: var(--color-text-primary); margin-right: 0.4rem; }
.site-fuss p { margin: 0 0 0.5rem; }

/* Nur für Screenreader und Suchmaschinen: gleicher Inhalt wie die Grafik als Text */
.sr-nur { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* FAQ zum Aufklappen (details) */
.faq details { border-bottom: 1px solid var(--color-border); padding: 0.2rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; padding: 0.7rem 1.6rem 0.7rem 0; list-style: none; position: relative; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.55rem; font-size: 1.5rem; line-height: 1; color: var(--color-accent-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: 0.1rem; }
.faq details p:last-child { margin-bottom: 1rem; }

/* Zahlen als Grafik (SVG), Quelle und Jahr darunter */
.zahlen { margin: 1.4rem 0 1.8rem; }
/* Das SVG hat 360 Einheiten Breite; ohne Grenze streckte es sich auf die Spalte, Werte wurden am Desktop fast doppelt so groß (Dan 08.11.) */
.zahlen svg { display: block; width: 100%; max-width: 26rem; height: auto; }
.zahlen .balken-grund { fill: var(--color-secondary-tint); }
[data-mode="light"] .zahlen .balken-grund { stroke: var(--color-border); stroke-width: 1; } /* hell: Rahmen wie .faktenblock (Dan 08.11.) */
.zahlen .balken { fill: var(--color-accent); }
.zahlen .balken-vorsicht { fill: var(--color-text-secondary); }
.zahlen text { fill: var(--color-text-primary); font-family: var(--font-body); }
.zahlen .wert { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.zahlen .beschriftung { font-size: 13.5px; }
.zahlen .quelle-zeile { font-size: 11.5px; fill: var(--color-text-secondary); }
.zahlen .gruppe-titel { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--color-accent-text); }
.zahlen figcaption { font-size: 0.85rem; color: var(--color-text-secondary); margin-top: 0.5rem; }

/* Hilfe: schlicht, kontrastreich, große Schrift */
/* Grundgröße 1,125 rem (war 1,25), Überschriften wie auf den anderen Seiten; die Nummern bleiben das Größte (Dan 08.11.) */
.hilfe-seite { font-size: 1.125rem; line-height: 1.6; }
.hilfe-seite a { color: var(--color-text-primary); text-decoration-thickness: 2px; font-weight: 600; }
.hilfe-seite .nummern { list-style: none; padding: 0; margin: 0 0 1rem; }
.hilfe-seite .nummern li { padding: 0.9rem 0; border-top: 1px solid var(--color-border); margin: 0; }
.hilfe-seite .nummern li:last-child { border-bottom: 1px solid var(--color-border); }
.hilfe-seite .nummer { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.hilfe-seite .nummer a { text-decoration: none; }
.hilfe-seite .name { display: block; font-weight: 600; }
.hilfe-seite .zeiten { display: block; color: var(--color-text-secondary); font-size: 0.95rem; }
.hilfe-seite .notruf { margin: 1.4rem 0; }  /* Kastenstil: bausteine.css (bisher schwarzer Rahmen, Dan 09.11.) */
.hilfe-seite .notruf h2 { margin-top: 0; }
.hilfe-seite .zur-start { margin-top: 2.4rem; }

/* Qualitätsseite (#383). Eine Formensprache für alle Elemente: Fläche var(--color-surface) mit Rand, Radius md,
   genau ein Akzent (.q-akzent = das, was zählt). Die Schichtengrafik behält ihre festen Farbtöne. */
main h2[id] { scroll-margin-top: 1rem; }
/* Die Grafik steht im Kopfbereich (Dan 08.11., R1 c): Hinweiszeile darunter als Bildunterschrift */
.ringe-hinweis { color: var(--color-text-secondary); font-size: 0.95rem; margin: -1.2rem 0 1.8rem; }
.ringe { margin: 1.2rem 0 2rem; font-family: var(--font-body); color: var(--violet-900); }
.ringe .r { border-radius: 14px; padding: 0 12px 11px; border: 1px solid rgba(255,255,255,.85); }
.ringe .lb { display: block; padding: 9px 4px 8px; font-size: 0.95rem; line-height: 1.35; color: var(--violet-900); text-decoration: none; }
.ringe a.lb:hover, .ringe a.lb:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.ringe a.lb:focus-visible { outline: 2px solid var(--violet-900); outline-offset: 2px; border-radius: 6px; }
.ringe .lb b { font-weight: 700; }
/* .92 statt .85: auf der innersten hellen Stufe (r5) lag der Nebentext sonst bei 4,1:1, jetzt 4,6:1 (Review 08.11.) */
.ringe .lb span { opacity: .92; }
.ringe .r1 { background: #F3E4E8; }
.ringe .r2 { background: #EBD2DA; }
.ringe .r3 { background: #E2BDCA; }
.ringe .r4 { background: #D8A8BA; }
.ringe .r5 { background: #CB93AB; }
.ringe .r0 { background: var(--accent-gradient); border: 0; padding: 0 12px 12px; box-shadow: 0 2px 10px rgba(58,39,70,.3); }
.ringe .lb0 { display: flex; align-items: center; gap: 10px; color: #fff; padding: 12px 4px 11px; }
.ringe .lb0 img { width: 30px; height: 30px; border-radius: 8px; }
.ringe .lb0 .kt { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1; color: #fff; }
.ringe .r6 { background: #BF819D; padding: 0 12px 0; color: #241230; }
.ringe .r6 .lb { color: #241230; }
.ringe .r6 .kk { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; background: var(--violet-900); color: #fff; border-radius: 999px; padding: 2px 8px; margin: 0 2px; opacity: 1; vertical-align: 0.1em; }
@media (max-width: 30rem) { .ringe .r { padding: 0 7px 8px; border-radius: 12px; } .ringe .lb { font-size: 0.88rem; } }

.q-karte.q-akzent, .zwei > div.q-akzent, .stufen li.q-akzent { background: var(--color-accent-tint); border-color: var(--color-accent); }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.fluss { display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; align-items: center; gap: 8px; margin: 1.2rem 0 1.4rem; }
.fluss .pfeil { color: var(--color-accent-text); font-size: 1.2rem; text-align: center; }
.fluss .zweig { display: grid; gap: 8px; }
.q-karte { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font-size: 0.9rem; line-height: 1.35; color: var(--color-text-primary); }
.q-karte .ic { color: var(--color-accent-text); }
.q-karte b { display: block; font-weight: 700; }
.q-karte small { color: var(--color-text-secondary); font-size: 0.82rem; }
.fluss .gabel { display: none; }
@media (max-width: 40rem) {
  .fluss { grid-template-columns: 1fr; }
  .fluss .pfeil { transform: rotate(90deg); line-height: 1; }
  /* senkrecht: zwei Pfade nebeneinander, Gabelung statt Pfeil (kein Schritt 3 und 4) */
  .fluss .pfeil-gabel { display: none; }
  .fluss .zweig { grid-template-columns: 1fr 1fr; column-gap: 8px; row-gap: 0; align-items: stretch; }
  .fluss .gabel { display: block; grid-column: 1 / -1; position: relative; height: 34px; color: var(--color-accent-text); }
  .fluss .gabel svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
  .fluss .gabel svg path { vector-effect: non-scaling-stroke; }
  .fluss .gabel .spitze { position: absolute; bottom: 0; left: 25%; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid currentColor; }
  .fluss .gabel .spitze + .spitze { left: 75%; }
  .fluss .zweig .q-karte { flex-direction: column; justify-content: flex-start; text-align: center; padding: 10px 8px; min-width: 0; overflow-wrap: anywhere; }
}

.zwei { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; margin: 1.2rem 0 1.6rem; }
.zwei > div { padding: 12px 14px 6px; }
.zwei h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; margin: 0 0 6px; }
.zwei ul { margin: 0 0 6px; padding-left: 1.1rem; font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 34rem) { .zwei { grid-template-columns: 1fr; } }

.stufen { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: st; }
.stufen li { position: relative; counter-increment: st; margin: 0; padding: 40px 10px 12px; font-size: 0.88rem; line-height: 1.4; color: var(--color-text-secondary); }
.stufen li::before { content: counter(st); position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.stufen li b { display: block; color: var(--color-text-primary); font-size: 0.93rem; margin-bottom: 2px; }
@media (max-width: 40rem) { .stufen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 26rem) { .stufen { grid-template-columns: 1fr; } }

/* Haltung (Review 08.11., Vorschlag 16): fünf Gründe als Karten, die vier Stufen als Leiter in den Stufenfarben.
   Die Karten nutzen .q-karte wie auf Qualität. Die Stufenfarben kommen aus design-tokens.css (green, amber, red; die App
   zeigt bisher nur ROT, als --color-danger). Orange gibt es nicht als Rampe: Mischung aus amber und red, je Modus.
   Farbe ist nie das einzige Merkmal: Titel, Farbstreifen links und Farbpunkt. Fläche 9 % der Farbe auf surface,
   Text darauf hell 6,1–6,2:1 (Zweitfarbe) bzw. 17:1 (Titel), dunkel 5,6–5,7:1 bzw. 11,4:1. */
.gruende { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gruende li { margin: 0; }
.gruende .q-karte { height: 100%; align-items: flex-start; }
.gruende .q-karte .ic { margin-top: 1px; }
@media (max-width: 34rem) { .gruende { grid-template-columns: 1fr; } }
.stufen.ampel li { border: 1px solid var(--color-border); border-left: 4px solid var(--stufe); border-radius: var(--radius-md); background: color-mix(in srgb, var(--stufe) 9%, var(--color-surface)); padding-top: 38px; }
.stufen.ampel li::before { content: ""; width: 12px; height: 12px; top: 14px; left: 12px; background: var(--stufe); }
.stufen.ampel .s-gruen { --stufe: var(--green-600); }
.stufen.ampel .s-gelb { --stufe: var(--amber-500); }
.stufen.ampel .s-orange { --stufe: color-mix(in srgb, var(--amber-500) 45%, var(--red-500)); }
.stufen.ampel .s-rot { --stufe: var(--red-600); }
[data-mode="dark"] .stufen.ampel .s-gruen { --stufe: var(--green-400); }
[data-mode="dark"] .stufen.ampel .s-gelb { --stufe: var(--amber-400); }
[data-mode="dark"] .stufen.ampel .s-orange { --stufe: color-mix(in srgb, var(--amber-400) 45%, var(--red-400)); }
[data-mode="dark"] .stufen.ampel .s-rot { --stufe: var(--red-400); }

/* Haltung: Stichpunkte mit Symbol (Dan 09.11.), gestaltet wie die Liste im Paarraum-Abschnitt der Startseite: Linien-Symbol, Strichstärke 1,8,
   runde Fläche aus der Akzentfarbe, Text daneben. Die Startseite lädt seiten.css nicht und hat ihre eigene Regel (.paarraum .punkte). */
.punkte { list-style: none; display: grid; gap: 0.85rem; padding: 0; margin: 1.2rem 0 1.4rem; }
.punkte li { display: flex; align-items: center; gap: 0.85rem; margin: 0; font-size: 1rem; line-height: 1.4; color: var(--color-text-primary); }
.punkte svg { flex: none; box-sizing: content-box; width: 24px; height: 24px; padding: 0.55rem; border-radius: 50%; color: var(--color-accent-text);
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface)); }

.portrait-zeile::after { content: ""; display: block; clear: both; }

/* Pressebereich (#384) */
.kurzfakten { margin: 0 0 1.6rem; }
.kurzfakten dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-text); margin: 1.1rem 0 0.15rem; }
.kurzfakten dd { margin: 0; }
.sperrfrist { background: var(--color-warning-bg); color: var(--color-warning-text); border-radius: var(--radius-md); padding: 0.9rem 1.1rem; margin: 0 0 1.4rem; }
.mitteilung h3 { margin-top: 0.4rem; }
.mitteilung .lead { color: var(--color-text-secondary); }
.zitat-text, .zitat blockquote { margin: 0 0 1.2rem; padding-left: 1rem; border-left: 3px solid var(--color-border-strong); }
.zitat-text p, .zitat blockquote p { margin: 0; }
.zitat { margin: 0 0 1.6rem; }
.zitat figcaption { font-size: 0.9rem; color: var(--color-text-secondary); margin-top: 0.4rem; padding-left: 1rem; }
.bilderliste { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.bilderliste li { margin: 0; }
.bilderliste figure { margin: 0; }
.bilderliste img { display: block; width: 100%; border-radius: var(--radius-md); background: var(--color-secondary-tint); }
.bilderliste figcaption { font-size: 0.85rem; color: var(--color-text-secondary); margin-top: 0.4rem; }
/* Kasten „Bildmaterial“ oben auf /presse (Dan 24.11. 17:00): kleine Vorschau, eine Reihe, die nicht umbricht; schmal einspaltig. Farben nur über Tokens (hell und dunkel). */
.bildkasten { margin: 1.4rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-secondary-tint); }
.bildkasten-titel { margin: 0 0 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-text); }
.bildkasten ul { list-style: none; padding: 0; margin: 0 0 0.8rem; display: grid; gap: 0.8rem; grid-template-columns: repeat(4, 1fr); }
.bildkasten li { margin: 0; min-width: 0; }
.bildkasten figure { margin: 0; }
.bildkasten img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-surface); }
.bildkasten img[src="/dan-448.webp"] { object-position: 50% 10%; }   /* quadratisches Foto in der 4:3-Kachel: Mütze nicht abschneiden */
.bildkasten figcaption { font-size: 0.78rem; line-height: 1.35; color: var(--color-text-secondary); margin-top: 0.3rem; }
.bildkasten p.bildkasten-link { margin: 0; font-size: 0.95rem; }
@media (max-width: 40rem) {
  .bildkasten ul { grid-template-columns: 1fr; gap: 0.6rem; }
  .bildkasten li figure { display: flex; align-items: center; gap: 0.8rem; }
  .bildkasten img { width: 5rem; flex: none; }
  .bildkasten figcaption { margin-top: 0; }
}
.kontaktzeile { margin-top: 1.2rem; }

