/* KlinikMatch Patientenseite. Rollen der Farben (nicht vermischen):
   --ink       Text, Footer, einfarbiges Siegel
   --cta       nur Buttons (Beschriftung in Ink: Weiss auf Pink hat 2,8:1)
   --rose      nur Linien, Ringe
   --panel     nur Flaechen
   Verlauf     nur im Hero */
:root {
  --ink: #23234a;
  --text: #3d3d5c;
  --leise: #5c5c7a;
  --weiss: #fff;
  --cta: #f76ba5;
  --cta-hover: #ff85b5;
  --rose: #f48fb1;
  --panel: #fce4ec;
  --zart: #fff7fa;
  --linie: #f1dce5;
  --logo-navy: #2a3958;
  --logo-pink: #ff98c3;
  --kopf: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fliess: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-medien: 20px;
  --r-panel: 28px;
  --abstand: clamp(44px, 9vw, 128px);
  --rand: clamp(16px, 4vw, 40px);
  /* Abstand Ueberschrift -> Inhalt: eine Skala statt Einzelwerte je Abschnitt (Messung Runde 4). */
  --nach-titel: 12px;   /* Titel -> eigene Unterzeile (Ort, Rechtshinweis) */
  --nach-h1: 16px;
  --nach-h2: 22px;
  --nach-h3: 12px;      /* Zwischentitel -> Inhalt */
  --vor-h2: 40px;       /* h2 mitten im Textfluss */
}
@media (min-width: 900px) { :root { --nach-h1: 20px; --nach-h2: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
/* Der Kopf klebt oben: Anker aus Mails (#natuvitro) und Laender-Chips sollen nicht darunter verschwinden. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: var(--fliess); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
#inhalt { flex: 1 0 auto; display: flex; flex-direction: column; }
#inhalt > :last-child { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--kopf); color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1 { font-size: clamp(2rem, 4.2vw + 1rem, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 2.2vw + 1rem, 2.5rem); line-height: 1.14; letter-spacing: -0.025em; }
@media (min-width: 900px) { body { font-size: 17px; line-height: 1.65; } }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
p, li { text-wrap: pretty; }
.lead { text-wrap: balance; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--rose); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.wrap--schmal { max-width: 800px; }
.lead { font-size: clamp(1.0625rem, .5vw + .95rem, 1.25rem); line-height: 1.5; max-width: 62ch; margin-top: var(--nach-h1); }
@media (min-width: 900px) { .lead { line-height: 1.55; } }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--weiss); padding: 8px 14px; border-radius: 8px; z-index: 30; }
.sprung:focus { left: 8px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--linie); background: var(--weiss); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; }
.kopf__logo { flex: none; }
.kopf__logo img { width: clamp(112px, 32vw, 124px); height: auto; }
.kopf__rechts { display: flex; align-items: center; gap: 10px; }
.kopf__nav a { font-family: var(--kopf); font-weight: 500; font-size: 14px; text-decoration: none; color: var(--ink); padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.kopf__nav a:hover, .kopf__nav a[aria-current] { border-bottom-color: var(--rose); }
.sprachwahl { display: inline-flex; padding: 3px; border-radius: 9999px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie); }
.sprachwahl a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 9999px;
  font-family: var(--kopf); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: var(--leise); text-decoration: none; }
.sprachwahl a:hover { color: var(--ink); }
.sprachwahl a[aria-current] { background: var(--panel); color: var(--ink); }
/* Unter 360 px passen Logo, Navigation und Sprachwahl sonst nur mit gestauchtem Logo nebeneinander. */
@media (max-width: 359px) {
  .kopf__innen, .kopf__rechts { gap: 8px; }
  .kopf__logo img { width: 100px; }
  .kopf__nav a { font-size: 13px; }
  .sprachwahl a { min-width: 30px; padding: 0 6px; }
}
@media (min-width: 700px) {
  .kopf__innen { min-height: 72px; gap: 16px; }
  .kopf__logo img { width: 168px; }
  .kopf__rechts { gap: 24px; }
  .kopf__nav a { font-size: 15px; }
}

/* Knoepfe */
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: 9999px; background: var(--cta); color: var(--ink); font-family: var(--kopf); font-weight: 600;
  font-size: 16px; text-decoration: none; transition: background-color .2s ease;
}
.knopf:hover { background: var(--cta-hover); }
.knopf--rahmen { background: transparent; border: 1.5px solid var(--ink); min-height: 48px; padding: 0 22px; font-size: 15px; }
.knopf--rahmen:hover { background: var(--zart); }
.textlink { font-family: var(--kopf); font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Hero: einziger Ort fuer den Verlauf */
.held { background: linear-gradient(180deg, #fffcfd 0%, #fff6fa 60%, #fff0f6 100%); padding: clamp(32px, 7vw, 104px) 0 clamp(28px, 5vw, 56px); }
.held__raster { display: grid; gap: 32px; align-items: center; }
.held__raster > * { min-width: 0; }
.held__siegel { display: none; }
.held__siegel-gruppe { display: inline-flex; align-items: center; gap: 12px; }
.held__siegel-mobil { width: 48px; flex: none; }
@media (min-width: 900px) {
  .held__raster { grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: 56px; }
  .held__siegel { display: block; justify-self: end; width: min(100%, 300px); }
  .held__siegel-mobil { display: none; }
}
/* Logowand: nur die Logos, ohne Tafel, Linien und Orte (Konstantin, 27.09.). Einfarbig in Ruhe, Farbe erst bei
   Beruehrung; jedes Logo fuehrt aufs Profil. Zentrierte Reihen, damit eine unvollstaendige letzte Reihe mittig sitzt.
   --s ist die Wurzel des Seitenverhaeltnisses: gleiche Flaeche statt gleicher Hoehe. Deckend weisse Logo-Gruende stellt
   baue.py frei (weiss_freistellen); mix-blend-mode ginge unter der Scroll-Animation verloren. */
.logowand { margin-top: clamp(32px, 6vw, 72px); }
.logowand__titel { margin: 0 0 18px; font-size: 14px; color: var(--leise); }
.logowand__raster { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
.logowand__raster li { flex: 0 0 33.333%; min-width: 0; }
.logowand__zelle { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 4px 8px; text-decoration: none; border-radius: 12px; }
.logowand__marke { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; }
.logowand__marke img {
  width: calc(38px * var(--s, 1.7)); max-width: 92%; height: auto; max-height: 40px; object-fit: contain;
  filter: grayscale(1); transition: filter .25s;
}
.logowand__marke img.ist-hell { filter: grayscale(1) brightness(.45); }
/* Partner ohne Logo: Name als Schriftzug im Grauwert der Logos, nicht lauter als sie. */
.logowand__name { font-family: var(--kopf); font-weight: 600; font-size: 13px; line-height: 1.2; letter-spacing: .01em; color: var(--leise); text-align: center; }
/* Mobil gibt es kein Hover: beim Antippen (:active) wird das Logo farbig wie am Desktop beim Ueberfahren. */
.logowand__zelle:hover img, .logowand__zelle:focus-visible img, .logowand__zelle:active img { filter: none; }
.logowand__zelle:hover .logowand__name, .logowand__zelle:focus-visible .logowand__name, .logowand__zelle:active .logowand__name { color: var(--ink); }
@media (min-width: 700px) {
  .logowand__raster { row-gap: 28px; }
  .logowand__raster li { flex-basis: 20%; }
}
@media (min-width: 1000px) {
  .logowand__raster { row-gap: 32px; }
  .logowand__raster li { flex-basis: calc(100% / 7); }
  .logowand__marke { height: 56px; }
  .logowand__marke img { width: calc(58px * var(--s, 1.7)); max-width: 88%; max-height: 54px; }
  .logowand__name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .logowand__marke img { transition: none; } }
/* Beim Scrollen gleiten die Logos hoch und blenden ein, rein per CSS; ohne Scroll-Timeline oder bei reduzierter
   Bewegung stehen sie einfach da. Text (Schriftzug) nie mit Deckkraft 0: Kontrastpruefungen werten das als Fehler. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .logowand__raster li { animation: kachel-hoch linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .logowand__marke img { animation: marke-ein linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}
@keyframes kachel-hoch { from { transform: translateY(12px); } to { transform: none; } }
@keyframes marke-ein { from { opacity: 0; } to { opacity: 1; } }

/* Siegel */
.siegel { width: 100%; height: auto; overflow: visible; }
.siegel__text { font-family: var(--kopf); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; }
.siegel--pink .siegel__ring, .siegel--pink .siegel__linie { stroke: var(--rose); }
.siegel--pink .siegel__text { fill: var(--ink); }
.siegel--pink .siegel__marke-a { fill: var(--logo-pink); }
.siegel--pink .siegel__marke-b { fill: var(--logo-navy); }
.siegel--ink .siegel__ring, .siegel--ink .siegel__linie { stroke: var(--ink); }
.siegel--ink .siegel__text, .siegel--ink .siegel__marke-b { fill: var(--ink); }
.siegel--ink .siegel__marke-a { fill: var(--ink); opacity: .42; }
.siegel--weiss .siegel__ring, .siegel--weiss .siegel__linie { stroke: #fff; }
.siegel--weiss .siegel__text, .siegel--weiss .siegel__marke-b { fill: #fff; }
.siegel--weiss .siegel__marke-a { fill: #fff; opacity: .6; }
/* Der eine inszenierte Moment: der aeussere Ring zeichnet sich einmal. */
.siegel--zeichnen .siegel__ring { stroke-dasharray: 597; stroke-dashoffset: 597; animation: zeichnen .9s cubic-bezier(.22,.8,.32,1) .15s forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .siegel--zeichnen .siegel__ring { animation: none; stroke-dashoffset: 0; } }

.wortbild { display: inline-flex; align-items: center; gap: 10px; font-family: var(--kopf); font-weight: 500; font-size: 14px; color: var(--ink); text-wrap: balance; }
.wortbild .siegel { width: 30px; flex: none; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--zart { background: var(--zart); }
.abschnitt--linie { border-top: 1px solid var(--linie); }
@media (min-width: 900px) { .fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 64px; align-items: start; } .fragen-raster .fragen { margin-top: 0; } }
.abschnitt--eng { padding-top: clamp(40px, 5vw, 72px); }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.kopfzeile h2 { max-width: 24ch; }

/* Ziel, Mission, Vision */
.dreier { display: grid; gap: 20px; margin-top: var(--nach-h2); }
.dreier article { border-top: 1px solid var(--rose); padding-top: 16px; }
.dreier h3 { font-family: var(--fliess); font-size: 15px; font-weight: 600; color: var(--leise); letter-spacing: 0; }
.dreier .aussage { font-family: var(--kopf); font-weight: 500; color: var(--ink); font-size: clamp(1.125rem, 1vw + .9rem, 1.6rem); line-height: 1.3; letter-spacing: -0.015em; margin-top: 8px; text-wrap: balance; }
@media (min-width: 900px) { .dreier { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; } }

/* Laenderliste */
.laenderliste { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.laenderliste li { border-bottom: 1px solid var(--linie); }
/* Flaggen: rund mit Haarlinie, weil Zypern und Polen viel Weiss tragen. Dekorativ (alt=""), der Name steht daneben. */
.flagge { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie); flex: none; object-fit: cover; }
.flagge--klein { width: 18px; height: 18px; }
/* Beim Ueberfahren (mobil beim Antippen) fuellt sich die Zeile mit einem zarten Verlauf in den Flaggenfarben
   (--f1/--f2 aus laender.json); ohne color-mix entfaellt er ersatzlos. Tinte bleibt auf hoechstens 16 % Toenung lesbar. */
.laenderliste a {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto;
  align-items: baseline; gap: 2px 12px; padding: 12px 8px; text-decoration: none; color: var(--text);
}
.laenderliste a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(90deg, color-mix(in srgb, var(--f1) 16%, transparent), color-mix(in srgb, var(--f2) 12%, transparent) 45%, transparent 85%);
}
.laenderliste a:hover::before, .laenderliste a:focus-visible::before, .laenderliste a:active::before { opacity: 1; }
.laenderliste .flagge { grid-row: 1 / span 2; align-self: center; transition: transform .25s ease; }
.laenderliste a:hover .flagge, .laenderliste a:focus-visible .flagge { transform: scale(1.1); }
.laenderliste__land { font-family: var(--kopf); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
@media (min-width: 900px) { .laenderliste__land { font-size: 1.3rem; } }
.laenderliste__anzahl { font-size: 14px; color: var(--leise); }
/* Mobil nur Land und Anzahl: die Namen stehen im Logoband darueber und im Verzeichnis. */
.laenderliste__kliniken { display: none; grid-column: 2 / 4; font-size: 14px; line-height: 1.45; flex-wrap: wrap; gap: 0 .35em; }
@media (min-width: 700px) { .laenderliste__kliniken { display: flex; } }
/* Schmale Handys: neben Flagge und Pfeil reicht die Breite nicht fuer Land und Anzahl in einer Zeile. */
@media (max-width: 379px) { .laenderliste__anzahl { grid-column: 2 / 4; grid-row: 2; white-space: nowrap; } }
.laenderliste__kliniken span:not(:last-child)::after { content: ","; }
.laenderliste__pfeil { grid-column: 4; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; color: var(--ink); transition: transform .2s ease; }
.laenderliste a:hover .laenderliste__pfeil, .laenderliste a:focus-visible .laenderliste__pfeil { transform: translateX(4px); }
.laenderliste a:hover .laenderliste__land { text-decoration: underline; text-decoration-color: var(--rose); }
@media (min-width: 900px) {
  .laenderliste a { grid-template-columns: 28px minmax(0, 14rem) minmax(0, 8rem) minmax(0, 1fr) auto; padding: 26px 12px; }
  .laenderliste .flagge, .laenderliste__pfeil { grid-row: auto; }
  .laenderliste__anzahl, .laenderliste__kliniken { grid-column: auto; }
  .laenderliste__pfeil { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .laenderliste a::before, .laenderliste .flagge, .laenderliste__pfeil { transition: none; }
  .laenderliste a:hover .flagge, .laenderliste a:focus-visible .flagge { transform: none; }
}

/* Siegelblock */
.siegelblock { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; background: var(--panel); border-radius: var(--r-panel); padding: clamp(22px, 5vw, 64px); }
.siegelblock__bild { width: 88px; }
.siegelblock__text { display: contents; }
.siegelblock__text h2 { grid-column: 2; align-self: center; font-size: clamp(1.35rem, 2.2vw + 1rem, 2.5rem); }
.siegelblock__text > :not(h2) { grid-column: 1 / -1; }
.siegelblock__text p { max-width: 60ch; margin-top: 14px; }
.siegelblock__text h3 { margin-top: 22px; }
/* Auf dem Handy ist die Spalte neben dem 88-px-Siegel zu schmal fuer „KlinikMatch“ (Notbruch bei 320 px): Ueberschrift
   darunter. Ab 600 px reicht die Spalte fuer zwei ausgeglichene Zeilen. */
@media (max-width: 599px) {
  .siegelblock__text h2 { grid-column: 1 / -1; align-self: start; margin-top: 16px; font-size: clamp(1.5rem, 2.2vw + 1rem, 2.5rem); }
  .siegelblock__text h2 + p { margin-top: var(--nach-h2); }
}
@media (min-width: 900px) {
  .siegelblock { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 0 64px; align-items: start; }
  .siegelblock__bild { width: 100%; grid-row: 1 / span 6; }
  .siegelblock__text h2, .siegelblock__text > :not(h2) { grid-column: 2; }
}
.haken { list-style: none; margin: var(--nach-h3) 0 0; padding: 0; display: grid; gap: 6px; }
.haken li { position: relative; padding-left: 34px; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2323234a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: inset 0 0 0 1px var(--rose);
}
.bezahlt { font-size: 15px; line-height: 1.55; color: var(--leise); border-left: 2px solid var(--rose); padding-left: 14px; margin-top: 20px; max-width: 62ch; }

/* Fragen */
.fragen { margin-top: var(--nach-h2); border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--kopf); font-weight: 500; font-size: 1.05rem; line-height: 1.35; color: var(--ink); padding: 14px 2px; text-wrap: balance;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rose);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2323234a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 2px 22px; max-width: 62ch; }

/* Seitenkopf fuer Unterseiten */
.seitenkopf { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); background: linear-gradient(180deg, #fffcfd 0%, #fff7fa 100%); }
.seitenkopf .bezahlt { margin-top: 20px; }
.notiz { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; max-width: 64ch; border-radius: 16px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie); }
.notiz .siegel { width: 30px; flex: none; margin-top: 2px; }
/* Nie unter 14 px: Siegel-Einordnung und Bezahl-Hinweis muessen lesbar bleiben (Rechts-Review). */
.notiz p { font-size: 14px; line-height: 1.5; color: var(--leise); }
.notiz p + p { margin-top: 6px; }
.sprungleiste { position: relative; margin-top: 22px; }
/* position: relative macht die Liste zum Bezugsrahmen der .sr-Texte, sonst ragen sie aus der Wischzeile. */
.sprungleiste ul { position: relative; list-style: none; margin: 0; padding: 0 var(--rand) 2px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--rand); scrollbar-width: none; }
.sprungleiste ul::-webkit-scrollbar { display: none; }
.sprungleiste li { flex: none; scroll-snap-align: start; }
/* Verlauf am Rand zeigt, dass die Zeile weitergeht. */
.sprungleiste::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255, 247, 250, 0), #fff7fa); pointer-events: none; }
@media (min-width: 900px) {
  .sprungleiste ul { max-width: 1200px; margin: 0 auto; flex-wrap: wrap; overflow: visible; gap: 10px; }
  .sprungleiste::after { display: none; }
}
.sprungleiste a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 9999px;
  background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie); font-family: var(--kopf); font-weight: 500; font-size: 14px; text-decoration: none;
}
.sprungleiste a span { color: var(--leise); font-weight: 400; }
.sprungleiste a:hover { box-shadow: inset 0 0 0 1px var(--rose); }
/* Die Wischzeile schneidet oben und unten ab: Fokusring nach innen. */
.sprungleiste a:focus-visible { outline-offset: -3px; }

/* Verzeichnis */
.land { padding: clamp(40px, 5vw, 72px) 0 0; scroll-margin-top: 16px; }
.land:last-of-type { padding-bottom: var(--abstand); }
.land__kopf { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.land__kopf span { font-size: 14px; color: var(--leise); }
.land__kopf .flagge { align-self: center; }
/* Unter 360 px passt „Northern Cyprus“ mit Flagge und Anzahl nicht in eine Zeile: Anzahl darunter, buendig zum Namen. */
@media (max-width: 359px) { .land__kopf { flex-wrap: wrap; row-gap: 0; } .land__kopf span { flex-basis: 100%; padding-left: 44px; white-space: nowrap; } }
.land__hinweis { font-size: 15px; color: var(--leise); margin-top: 12px; }
.klinikliste { list-style: none; margin: 0; padding: 0; }
.klinikkarte { position: relative; display: grid; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 16px; }
.klinikkarte__text { min-width: 0; }
.klinikkarte__text h3 { font-size: 1.35rem; }
.klinikkarte__text > p { margin-top: 6px; max-width: 58ch; }
.klinikkarte .ort { font-size: 15px; color: var(--leise); margin-top: 2px; }
.klinikkarte .wortbild { margin-top: 14px; }
.gestreckt { text-decoration: none; }
.gestreckt::after { content: ""; position: absolute; inset: 0; }
.klinikkarte:hover h3 a { text-decoration: underline; text-decoration-color: var(--rose); }
.klinikkarte:has(.gestreckt:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
.klinikkarte .gestreckt:focus-visible { outline: none; }
@media (max-width: 699px) {
  .klinikkarte { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; }
  .klinikkarte .medien { aspect-ratio: 1; border-radius: 14px; }
  .klinikkarte .medien__plakette { display: none; }
  .klinikkarte .medien--logo .medien__logo { width: 78%; height: 78%; }
  .klinikkarte__fakt { display: none; }
  .klinikkarte__text h3 { font-size: 1.08rem; line-height: 1.3; }
  .klinikkarte .ort { font-size: 14px; }
  .klinikkarte .wortbild { margin-top: 6px; font-size: 13px; gap: 8px; }
  .klinikkarte .wortbild .siegel { width: 22px; }
}
@media (min-width: 700px) { .klinikkarte { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; align-items: center; } }

/* Medien: Foto mit Logo-Plakette oder Logo allein */
.medien { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-medien); overflow: hidden; background: var(--zart); box-shadow: inset 0 0 0 1px var(--linie); }
.medien--gross { aspect-ratio: 16 / 11; }
.medien__foto { width: 100%; height: 100%; object-fit: cover; }
.medien__plakette {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: flex; align-items: center;
  background: var(--weiss); border-radius: 12px; padding: 8px 12px; min-height: 44px;
}
.medien__plakette img { width: calc(44px * var(--s, 2)); max-width: 170px; height: auto; max-height: 40px; object-fit: contain; }
.medien--gross .medien__plakette { left: 16px; bottom: 16px; padding: 10px 16px; }
.medien--gross .medien__plakette img { width: calc(56px * var(--s, 2)); max-width: 220px; max-height: 52px; }
@media (max-width: 699px) { .medien--gross .medien__plakette img { width: calc(44px * var(--s, 2)); max-width: 150px; max-height: 36px; } }
.medien__plakette b { font-family: var(--kopf); font-weight: 600; font-size: 14px; color: var(--ink); }
.medien--logo { display: grid; place-items: center; background: var(--weiss); }
.medien__logo { width: 60%; height: 60%; object-fit: contain; }
/* Ohne Logo und Foto (ohne_bild): Monogramm statt geliehener Bilder, im Ring des Siegels. */
.medien--monogramm { display: grid; place-items: center; background: var(--panel); container-type: inline-size; }
.medien__monogramm {
  display: grid; place-items: center; height: min(62%, 220px); aspect-ratio: 1; border-radius: 50%;
  background: var(--weiss); box-shadow: 0 0 0 1px var(--rose), 0 0 0 7px var(--weiss), 0 0 0 8px var(--rose);
  font-family: var(--kopf); font-weight: 600; font-size: clamp(22px, 7cqi, 64px); letter-spacing: .04em; color: var(--ink);
}

/* Profil */
.brotkrumen { display: flex; gap: 10px; font-size: 14px; color: var(--leise); margin-bottom: 24px; }
.brotkrumen a { color: var(--leise); }
.profil__raster { display: grid; gap: 28px; align-items: center; }
.profil__text { min-width: 0; }
.profil__text h1 { font-size: clamp(2rem, 3vw + 1rem, 3.25rem); }
.profil__text .ort { color: var(--leise); margin-top: var(--nach-titel); }
.profil__text .wortbild { margin-top: 18px; }
.profil__text .rolle { font-size: 1.1rem; margin-top: 20px; max-width: 46ch; color: var(--ink); text-wrap: balance; }
/* Kurze Markennamen bleiben ganz („IVF-Life“ brach am eigenen Bindestrich). */
.rolle .name { white-space: nowrap; }
@media (max-width: 699px) {
  .medien--gross { aspect-ratio: 16 / 10; }
  .profil__text .rolle { font-size: 1rem; margin-top: 16px; }
  .profil__text .knopf { width: 100%; }
  .profil__urkunde .urkunde__rahmen { width: 80%; margin: 0 auto; }
  .fakten li { padding: 14px 0; }
}
.profil__text .siegelhinweis { font-size: 14px; color: var(--leise); margin: 10px 0 24px; max-width: 52ch; }
@media (min-width: 900px) { .profil__raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.profil__inhalt { display: grid; gap: var(--vor-h2); }
@media (min-width: 900px) { .profil__inhalt { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 72px; align-items: start; } }
.fakten { list-style: none; margin: var(--nach-h2) 0 0; padding: 0; border-top: 1px solid var(--linie); }
.fakten li { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.fakten .quelle { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--leise); }
/* Mobil wie jede h2, am Desktop kleiner, weil die Urkunde in der schmalen Seitenspalte steht. */
.profil__urkunde h2 { margin-bottom: var(--nach-h2); }
@media (min-width: 900px) { .profil__urkunde h2 { font-size: 1.3rem; margin-bottom: 16px; } }
.profil__urkunde .urkunde { box-shadow: 0 18px 44px -24px rgba(244, 143, 177, .7); border-radius: 6px; }
/* Mobil liegt das weisse Blatt auf weissem Grund: ohne Haarlinie schwebt die Ueberschrift darueber. */
@media (max-width: 899px) { .profil__urkunde .urkunde { box-shadow: 0 0 0 1px var(--linie), 0 18px 44px -24px rgba(244, 143, 177, .7); } }
.profil__urkunde > p { margin-top: 16px; }
.urkunde__kurz { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin: 18px 0 0; font-size: 14px; }
.urkunde__kurz dd { white-space: nowrap; }
.urkunde__kurz dt { color: var(--leise); }
.urkunde__kurz dd { margin: 2px 0 0; font-family: var(--kopf); font-weight: 500; color: var(--ink); }

/* Urkunde: in em gesetzt, skaliert ueber die Breite des Containers */
.urkunde { container-type: inline-size; background: var(--weiss); }
.urkunde__blatt {
  position: relative; aspect-ratio: 210 / 297; font-size: 2.2cqw; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5.4em 6em 5.2em;
}
.urkunde__blatt::before { content: ""; position: absolute; inset: 3.6em; border: .08em solid var(--ink); pointer-events: none; }
.urkunde__logo { width: 11em; height: auto; }
.urkunde__titel { font-family: var(--kopf); font-weight: 600; font-size: 1.6em; letter-spacing: -0.02em; margin-top: 1.1em; line-height: 1.15; }
.urkunde__titel-en { font-size: 1.05em; color: var(--leise); margin-top: .3em; }
.urkunde__siegel { width: 8.5em; margin: 1.2em 0 1em; }
.urkunde__name { font-family: var(--kopf); font-weight: 600; font-size: 2.5em; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.urkunde__name--lang { font-size: 2em; }
.urkunde__ort { font-size: 1.05em; color: var(--leise); margin-top: .4em; }
.urkunde__satz { font-size: 1.1em; margin-top: 1.1em; line-height: 1.45; text-wrap: balance; }
.urkunde__satz span, .urkunde__ort span { color: var(--leise); }
/* Eigener Block, sonst gleicht balance nur den deutschen Satz vor dem <br> aus. */
.urkunde__satz span[lang=en] { display: block; text-wrap: balance; }
.urkunde__name--lang ~ .urkunde__satz { font-size: 1em; }
.urkunde__daten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em 2em; margin: auto 0 0; width: 100%; text-align: left; border-top: .08em solid var(--linie); padding-top: 1.1em; }
.urkunde__daten dt { font-size: .8em; color: var(--leise); }
.urkunde__daten dt span::before { content: " · "; }
.urkunde__daten dd { margin: .15em 0 0; font-family: var(--kopf); font-weight: 500; font-size: 1em; }
.urkunde__pruefen { display: flex; align-items: center; gap: 1.2em; width: 100%; margin-top: 1.2em; text-align: left; font-size: .9em; }
.urkunde__qr { width: 4.8em; flex: none; }
.urkunde__qr svg { width: 100%; height: auto; }
.urkunde__hinweis { font-size: .78em; color: var(--leise); margin-top: 1.2em; line-height: 1.45; text-wrap: balance; }
/* Je Sprache ein eigener Block, sonst gleicht balance nur die erste Haelfte vor dem <br> aus. */
.urkunde__hinweis span { display: block; }
.urkunde__musterrahmen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.urkunde__muster {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-family: var(--kopf); font-weight: 600;
  font-size: 9em; letter-spacing: .12em; color: rgba(244, 143, 177, .28); pointer-events: none; white-space: nowrap;
}

/* Druckansicht der Urkunde (A4, randlos) */
@page { size: A4; margin: 0; }
body.druck { background: var(--weiss); margin: 0; display: block; }
body.druck .urkunde { width: 210mm; }
body.druck .urkunde__blatt { width: 210mm; height: 297mm; aspect-ratio: auto; outline: none; overflow: hidden; }
body.druck main { display: block; }
@media screen and (max-width: 820px) { body.druck .urkunde { width: 100%; } body.druck .urkunde__blatt { width: 100%; height: auto; aspect-ratio: 210 / 297; } }
@media print { * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Rechtstexte */
.recht h2 { font-size: 1.25rem; margin-top: var(--vor-h2); }
/* :where haelt die Spezifitaet niedrig, sonst ueberstimmt der Absatzabstand Lead, Hinweis und Stand-Zeile. */
:where(.recht) :is(p, ul) { margin-top: 10px; max-width: 68ch; }
.recht h2 + :is(p, ul) { margin-top: var(--nach-h3); }
.recht ul { padding-left: 20px; }
.offen { background: #fff3cd; color: #5c4400; padding: 0 4px; border-radius: 4px; font-size: .92em; }
.stand { font-size: 14px; color: var(--leise); margin-top: 32px; }

/* Fuss */
.fuss { background: var(--ink); color: #e4e4ef; padding: 36px 0 28px; }
@media (min-width: 900px) { .fuss { padding: 48px 0 36px; } }
.fuss__innen { display: grid; gap: 18px; }
.fuss__marke img { width: 160px; height: auto; }
.fuss__marke p { margin-top: 14px; font-size: 15px; max-width: 34ch; }
.fuss__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fuss__nav a { color: #fff; font-size: 15px; text-decoration: none; }
.fuss__nav a:hover { text-decoration: underline; text-decoration-color: var(--rose); }
.fuss__klein { font-size: 13px; color: #b9b9cc; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; }
/* Unter 360 px zwei Zeilen statt eines Trennpunkts allein am Zeilenende. */
@media (max-width: 359px) { .fuss__punkt { display: none; } .fuss__firma { display: block; } }
.fuss :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .fuss__innen { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .fuss__klein { grid-column: 1 / -1; } }

.recht__hinweis { font-size: 14px; color: var(--leise); margin-top: var(--nach-titel); }
