/* fit4heat — Farben aus der onepage.me-Vorlage (https://fit4heat.onepage.me/hitzeschutz):
   Türkis #15b0bb (Marke), helles Türkis #e3fafb (Flächen), Gelb #f7c10b (Akzent), Dunkel #303036
   (nur Text). Die dunklen Sektionen sind wie in der Vorlage Türkis-Verläufe, kein Anthrazit
   (PLA-031-01: „dunkles und helleres Grün alternierend", keine Fremdfarbe).

   Kontrast (WCAG AA): Weiß auf #15b0bb hat nur 2,6:1 — das reicht nicht einmal für große
   Überschriften. Überall, wo Text auf Türkis steht, stehen deshalb die dunklen Stufen der Vorlage:
   --brand-dark #007a85 (Vorlage rgb(0 126 137), eine Spur dunkler: 5,1:1 auf Weiß, 4,7:1 auf
   #e3fafb) und der Verlauf der dunklen Sektionen von #007a85 nach #00616a (Weiß 5,1–7,2:1).
   #15b0bb bleibt für Flächen ohne Text: Linien, Rahmen, Hervorhebungen. */
:root {
  --brand: #15b0bb;
  --brand-dark: #007a85;
  --brand-deep: #006b74;
  --brand-deeper: #00616a;
  --tint: #e3fafb;
  --accent: #f7c10b;
  --footer: #00474d;
  --ink: #303036;
  --ink-soft: #5a5a63;
  --line: #e4e6e8;
  --bg: #ffffff;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--brand-dark); }
.nav__cta { color: #fff !important; }
.nav__btn { padding: 10px 20px; }
.nav .nav__btn { color: var(--brand-dark); }
/* Quick Check als gelber Knopf (PLA-031-22): die Visitenkarte führt per QR-Code dorthin. */
.nav .nav__qc, .nav .nav__qc:hover { color: var(--ink); }
/* Seit „Startseite" (PLA-031-14) sieben Einträge: zwischen Umbruchpunkt und voller Breite enger
 * setzen, statt Menüpunkte zweizeilig umbrechen zu lassen. */
.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav a { font-size: .9rem; }
  .nav .btn { padding: 10px 14px; }
}
.navtoggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .18s; }
.btn--primary { background: var(--brand-dark); color: #fff; }
.btn--primary:hover { background: var(--brand-deeper); }
.btn--ghost { border-color: var(--brand); color: var(--brand-dark); background: transparent; }
.btn--ghost:hover { background: var(--tint); }
/* Gelb der Vorlage mit dunkler Schrift (#303036 auf #f7c10b: 9:1). */
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #e5b000; }
/* Auf den dunklen Türkis-Flächen: hell gefüllt bzw. hell umrandet. */
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--tint); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 15px 30px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--tint) 0%, #fff 70%); padding: 64px 0 72px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .78rem;
  font-weight: 700; color: var(--brand-dark); margin-bottom: 14px; }
.eyebrow--light { color: var(--tint); }
.hl { color: var(--brand-dark); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34em; }
.kicker { font-weight: 600; color: var(--brand-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero__media { margin: 0; }
.hero__media img { border-radius: 22px; box-shadow: 0 24px 60px rgba(21,176,187,.22); object-fit: cover; }
/* Quick Check: über dem Bild am Handy, neben „Angebote ansehen" am Desktop (PLA-031-23/-27) — die
   gemeinsame Optik hier, welche der beiden Stellen zeigt, entscheiden die Breitenblöcke unten; als
   klebender Knopf nur am Handy. */
.hero__qc, .qc-sticky { display: none; }
.hero__qc { align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--accent); color: var(--ink); text-decoration: none; box-shadow: 0 10px 26px rgba(48,48,54,.14); }
.hero__qc-icon { flex: 0 0 auto; }
.hero__qc-text { flex: 1 1 auto; line-height: 1.3; }
.hero__qc-text strong { display: block; font-size: 1.04rem; }
.hero__qc-sub { font-size: .9rem; }
.hero__qc-arrow { font-size: 1.3rem; font-weight: 700; }
/* Am Desktop neben dem primären Knopf statt der eigenen Zeile am Handy — und schmaler, damit die
   Aktionsreihe nicht breiter wird als der Text daneben. */
@media (min-width: 901px) {
  .hero__qc--inline { display: flex; max-width: 360px; }
}

/* ---------- Sektionen ---------- */
.section { padding: 76px 0; }
.section--tint { background: var(--tint); }
/* Das „dunkle Grün": die Vorlage verläuft von rgb(100 229 240) über #15b0bb nach rgb(0 126 137).
   Weißer Fließtext hält nur auf dem dunklen Ende — hier läuft der Verlauf deshalb dort, und der
   helle Schimmer der Vorlage sitzt nur als Licht in der Ecke, wo höchstens eine Überschrift steht. */
.section--dark { color: #fff;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(21,176,187,.5), transparent),
    linear-gradient(160deg, var(--brand-dark) 0%, var(--brand-deep) 55%, var(--brand-deeper) 100%); }
.section--dark h2 { color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.section__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; margin-bottom: 40px; }
.section--dark .section__lead { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Kein Rahmen in Fremdfarbe mehr (PLA-031-02): die Karte ist hellgrün auf Weiß, die Überschrift grün. */
.fact { background: var(--tint); border-radius: var(--radius); padding: 26px; }
.fact h3 { color: var(--brand-dark); }
.fact p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Bildleiste über den Leistungen (PLA-031-09) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 8px 0 34px; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(48,48,54,.12); }
.gallery__item figcaption { margin-top: 10px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.svc__no { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .1em;
  color: var(--brand-dark); margin-bottom: 10px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Team ---------- */
.person { background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; }
.person__photo { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--tint); }
.person h3 { margin: 20px 22px 4px; }
.person__role { margin: 0 22px 12px; font-size: .87rem; color: var(--brand-dark); font-weight: 600; }
.person__link { display: inline-block; margin: 0 22px 12px; font-size: .87rem; font-weight: 600; color: var(--brand-dark); }
.person__more { margin: 0 22px 22px; }
.person__more summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); font-size: .93rem; }
.person__more p { font-size: .93rem; color: var(--ink-soft); margin-top: 12px; }
.person__skills { font-size: .9rem; color: var(--ink-soft); }
.person__skills li { margin-bottom: 4px; }

/* ---------- Fachwissen ----------
 * Die Liste kommt seit CNT-001-04 aus der Plattform (sites/_shared/content.js schreibt
 * .content-list/.content-item); .articles/.article bleiben für statische Listen. */
.articles, .content-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article a, .content-item a { display: block; background: var(--tint); border-radius: var(--radius); padding: 22px 24px;
  text-decoration: none; color: var(--ink); border-left: 4px solid var(--brand); transition: .18s; height: 100%; }
.article a:hover, .content-item a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,176,187,.18); }
.article__title, .content-item__title { display: block; font-weight: 700; }
.article__sub, .content-item__sub { display: block; font-size: .93rem; color: var(--ink-soft); margin-top: 4px; }
.content-item__teaser { display: block; font-size: .93rem; color: var(--ink-soft); margin-top: 8px; }
.content-item__meta { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
/* Kompakte Liste (PLA-031-15, data-compact="true"): Titel + Untertitel; Teaser und Datum erst bei
 * Hover (nur mit Maus — am Handy gibt es kein Überfahren) oder Tastaturfokus. Sichtbar versteckt
 * statt display:none, damit Vorlesesoftware sie weiter als Teil des Links liest. */
.content-list--compact .content-item a { position: relative; }
.content-list--compact .content-item__teaser,
.content-list--compact .content-item__meta {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.content-list--compact .content-item a:focus-visible .content-item__teaser,
.content-list--compact .content-item a:focus-visible .content-item__meta {
  position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
.content-list--compact .content-item a:focus-visible .content-item__teaser { margin-top: 8px; }
.content-list--compact .content-item a:focus-visible .content-item__meta { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) {
  .content-list--compact .content-item a:hover .content-item__teaser,
  .content-list--compact .content-item a:hover .content-item__meta {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
  .content-list--compact .content-item a:hover .content-item__teaser { margin-top: 8px; }
  .content-list--compact .content-item a:hover .content-item__meta { margin-top: 10px; }
}
.content-fallback, .content-empty { color: var(--ink-soft); }
.content-block[aria-busy="true"] .content-fallback { visibility: hidden; }

/* ---------- Quick Check ---------- */
.qc { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.qc__item { background: rgba(0,0,0,.14); border-radius: var(--radius); }
.qc summary { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px;
  cursor: pointer; font-weight: 600; list-style: none; }
.qc summary::-webkit-details-marker { display: none; }
.qc__no { color: var(--tint); font-weight: 800; flex: 0 0 auto; }
.qc__body { padding: 0 24px 22px 64px; color: #fff; font-size: .96rem; }
.qc__body strong { color: #fff; }
.qc__cta { color: #fff; font-weight: 700; }

/* ---------- Quick Check als Quiz (quickcheck.js, PLA-031-17) ----------
 * Zielgruppe sind Ärzt:innen und Pflegeleitungen: spielerisch im Ablauf (Fortschritt, Tastatur,
 * animierter Score), aber ruhig im Bild — Markenfarben, weiße Fläche, kein Konfetti. Nur der
 * Tacho verläuft von „heiß" (warmes Rot/Gelb) nach „fit" (Türkis). */
.qc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px; }
.qc-head h2 { margin-bottom: 0; }
.qc-head__start { box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.qc-head__start:hover { transform: translateY(-1px); }

html.quiz-open { overflow: hidden; }
.quiz { --quiz-track: #e7eef0;
  width: min(640px, calc(100vw - 32px)); max-height: min(860px, calc(100dvh - max(16px, 8vh) - 16px));
  padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,40,45,.35); overflow: hidden; display: none; flex-direction: column;
  /* Oben verankert statt zentriert — sonst springt der Dialog bei jeder Frage mit ihrer Länge auf und ab. */
  margin: max(16px, 8vh) auto auto; }
.quiz[open] { display: flex; animation: quiz-pop .28s cubic-bezier(.2,.8,.2,1); }
.quiz::backdrop { background: rgba(0,50,55,.55); backdrop-filter: blur(3px); }
@keyframes quiz-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.quiz__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 10px 28px; }
.quiz__eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 700;
  color: var(--brand-dark); }
.quiz__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-soft);
  display: grid; place-items: center; cursor: pointer; transition: .15s; }
.quiz__close:hover { background: var(--tint); color: var(--brand-dark); }
.quiz__progress { height: 4px; background: var(--quiz-track); margin: 0 28px; border-radius: 2px; overflow: hidden; }
.quiz__progressbar { display: block; height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark)); transition: width .4s ease; }

.quiz__stage { padding: 26px 28px 28px; overflow-y: auto; }
.quiz__stage--in > * { animation: quiz-in .32s ease both; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.quiz__h { font-size: clamp(1.3rem, 3.4vw, 1.6rem); margin: 0 0 14px; outline: none; }
.quiz__h--q { font-size: clamp(1.12rem, 3vw, 1.32rem); line-height: 1.4; margin-bottom: 22px; }
.quiz__lead { color: var(--ink-soft); }
.quiz__note { font-size: .84rem; color: var(--ink-soft); margin: 16px 0 0; }
.quiz__note--box { background: var(--tint); border-radius: 12px; padding: 12px 16px; color: var(--ink); }

/* Einstieg */
.quiz__intro { text-align: center; padding: 6px 4px 0; }
.quiz__badge { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  color: var(--brand-dark); background: radial-gradient(circle at 30% 30%, #fff, var(--tint)); box-shadow: inset 0 0 0 2px rgba(21,176,187,.35); }
.quiz__facts { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.quiz__facts li { background: var(--tint); border-radius: 999px; padding: 6px 16px; font-size: .9rem; color: var(--ink-soft); }
.quiz__facts strong { color: var(--brand-dark); }
.quiz__go { min-width: 240px; }

/* Frage */
.quiz__count { font-size: .85rem; color: var(--ink-soft); margin: 0 0 8px; font-weight: 600; }
.quiz__no { color: var(--brand-dark); font-weight: 800; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s; }
.quiz__opt:hover { border-color: var(--brand); background: #f7fdfd; }
.quiz__opt:focus-visible { outline: 3px solid rgba(21,176,187,.45); outline-offset: 2px; }
.quiz__opt:active { transform: scale(.99); }
.quiz__opt.is-on { border-color: var(--brand-dark); background: var(--tint); }
.quiz__key { flex: 0 0 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .82rem; font-weight: 700;
  color: var(--brand-dark); background: var(--tint); }
.quiz__opt.is-on .quiz__key { background: var(--brand-dark); color: #fff; }
.quiz__optlabel { flex: 1; font-weight: 600; line-height: 1.35; }
.quiz__optlabel small { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-soft); }
.quiz__tick { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: .15s; }
.quiz__opt.is-on .quiz__tick { border-color: var(--brand-dark); background: var(--brand-dark); }
.quiz__opt.is-on .quiz__tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.quiz__info { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.quiz__info summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); font-size: .92rem; }
.quiz__infobody { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.quiz__infobody p { margin-bottom: .7em; }
.quiz__infobody strong { color: var(--ink); }
.quiz__infobody .qc__cta { color: var(--brand-dark); font-weight: 600; }

.quiz__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.quiz__back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font: inherit; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; padding: 8px 10px 8px 4px; border-radius: 8px; }
.quiz__back:hover { color: var(--brand-dark); background: var(--tint); }
.quiz__keys { font-size: .78rem; color: #8a8f96; }

/* Ergebnis */
.quiz__result { text-align: center; }
.quiz__gauge { position: relative; width: min(280px, 80%); margin: 0 auto; }
.quiz__gauge svg { display: block; width: 100%; height: auto; }
.quiz__arc { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.quiz__score { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; align-items: baseline; gap: 2px; }
.quiz__num { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.quiz__of { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.quiz__level { display: inline-block; margin: 14px 0 10px; padding: 6px 18px; border-radius: 999px; font-weight: 700; outline: none;
  background: var(--tint); color: var(--brand-dark); }
.quiz__result--gaps .quiz__level { background: #fff4d1; color: #7a5600; }
.quiz__result--urgent .quiz__level { background: #fde7df; color: #9a3412; }
.quiz__result .quiz__lead { max-width: 46ch; margin: 0 auto 8px; }
.quiz__sub { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 26px 0 12px; }
.quiz__bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; }
.quiz__barlabel { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.quiz__barlabel span:last-child { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.quiz__bar { display: block; height: 8px; border-radius: 4px; background: var(--quiz-track); overflow: hidden; }
.quiz__barfill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transition: width .8s cubic-bezier(.2,.8,.2,1); }
/* Gleiche Skala wie der Tacho: niedrig warm, mittel gelb, hoch Türkis. Ein Rest von 3 % zeigt auch die 0. */
.quiz__barfill--mid { background: linear-gradient(90deg, #f7c10b, #8fbf5a); }
.quiz__barfill--low { background: #d9582b; }
.quiz__recs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.quiz__recs li { border-left: 4px solid var(--accent); background: #fffbea; border-radius: 0 12px 12px 0; padding: 12px 16px; }
.quiz__recs strong { display: block; }
.quiz__recs span { font-size: .9rem; color: var(--ink-soft); }
.quiz__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.quiz__restart { margin-top: 14px; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--brand-dark);
  text-decoration: underline; cursor: pointer; }

@media (max-width: 600px) {
  .qc-head__start { width: 100%; }
  .quiz { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .quiz__top { padding: 14px 12px 8px 16px; }
  .quiz__progress { margin: 0 16px; }
  .quiz__stage { padding: 22px 16px 28px; }
  .quiz__actions .btn { width: 100%; }
  .quiz__keys { display: none; }
}
@media (hover: none) { .quiz__keys { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .quiz[open], .quiz__stage--in > * { animation: none; }
}

/* ---------- Fortbildungen (aus der Plattform, sites/_shared/courses.js — PLA-031-04) ----------
 * Steht auf der dunklen Sektion: Karten weiß, Zielgruppen-Auswahl als helle Chips. */
.course-block[aria-busy="true"] .course-fallback { visibility: hidden; }
.course-fallback, .course-empty { max-width: 62ch; }
.course-groups { margin: 0 0 32px; }
.course-groups__intro { font-weight: 600; margin-bottom: 12px; }
.course-groups__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.course-groups__chip { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 2px solid #fff;
  color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: .18s;
  background: transparent; font-family: inherit; line-height: inherit; cursor: pointer; }
.course-groups__chip:hover { background: #fff; color: var(--brand-dark) !important; }
/* Filter auf der Seite (PLA-031-11): der gedrückte Chip ist gefüllt, der Fokus bleibt sichtbar. */
.course-groups__chip[aria-pressed="true"] { background: #fff; color: var(--brand-dark); }
.course-groups__chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.course-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.course-item { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px 28px;
  display: flex; flex-direction: column; align-items: flex-start; }
.course-item[hidden] { display: none; }   /* Filter auf der Seite (PLA-031-11): flex würde hidden überstimmen */
.course-item__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: .8rem; }
.course-item__meta span { padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--brand-dark); font-weight: 600; }
.course-item__meta .course-item__type { background: var(--brand-dark); color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.course-item__title { margin-bottom: 8px; }
.course-item__teaser { color: var(--ink-soft); font-size: .95rem; }
/* Inhalte ausklappbar (PLA-031-11): natives <details>, zu bis jemand klickt. */
.course-item__details { width: 100%; margin-top: 4px; }
.course-item__details summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); font-size: .93rem; }
.course-item__details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.course-item__body { font-size: .93rem; color: var(--ink-soft); margin-top: 10px; }
.course-item__body p, .course-item__body ul, .course-item__body ol { margin: 0 0 10px; }
.course-item__body ul, .course-item__body ol { padding-left: 20px; list-style: disc; }
.course-item__body ol { list-style: decimal; }
.course-item__body li { margin-bottom: 4px; }
.course-item__heading strong { color: var(--ink); }
.course-item > :nth-last-child(2) { margin-bottom: 20px; }
/* Knopf unten bündig, auch wenn der Nachbar in der Zeile einen längeren Teaser hat. */
.course-item__action { margin-top: auto; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__person { display: flex; align-items: center; gap: 14px; }
.contact__person img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.contact__form { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.contact__lead { color: var(--ink-soft); }
.contact__form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.contact__form input[type=text], .contact__form input[type=email], .contact__form input[type=tel], .contact__form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
/* Kontaktweg (CB-040-23): drei Optionen in einer Zeile, umbrechend auf schmalen Bildschirmen. */
.contact__way { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.contact__way legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; width: 100%; }
.contact__form .contact__way .choice { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 0; }
.contact__form select { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
/* `label { display: block }` schlüge sonst das hidden-Attribut. */
.contact__form [hidden] { display: none !important; }
.contact__form .optional { font-weight: 400; color: var(--ink-soft); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .87rem !important; }
.check input { margin-top: 4px; }
.formstatus { margin: 12px 0 0; font-size: .92rem; min-height: 1.4em; }
.formstatus[data-state="error"] { color: #b3261e; }
.formstatus[data-state="ok"] { color: var(--brand-dark); }

/* ---------- Fußzeile ---------- */
.footer { background: var(--footer); color: #d6f3f5; padding: 56px 0 40px; font-size: .93rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 900px) {
  .hero__inner, .contact, .grid--3, .grid--4, .course-list, .articles, .content-list, .footer__inner { grid-template-columns: 1fr; }
  /* Schmal: die Bildleiste wird eine wischbare Spur wie das Team (sonst drei Bildschirmhöhen Bilder
     vor den Leistungen). Anders als dort rastet sie ein — sie rolliert nicht von selbst. */
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 420px);
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin: 8px -2px 26px;
    scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
  .gallery__item { scroll-snap-align: start; }
  .gallery::-webkit-scrollbar { height: 6px; }
  .gallery::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }
  .hero__media { order: -1; }
  .navtoggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta, .nav__btn { margin-top: 14px; border-bottom: 0 !important; }
  .nav__btn + .nav__btn, .nav__btn + .nav__cta { margin-top: 10px; }
  /* Der Ghost-Knopf behält seinen Rahmen rundum — die Trennlinie der Menüpunkte nahm ihm unten die Kante. */
  .nav .btn--ghost { border-bottom: 2px solid var(--brand) !important; }
  .qc__body { padding-left: 24px; }

  /* Quick Check auf dem Handy (PLA-031-23): der Aufruf steht über dem Bild statt unter dem Falz. */
  .hero { padding-top: 28px; }
  .hero__inner { gap: 24px; }
  .hero__qc--standalone { order: -2; display: flex; }
  .qc-sticky:not([hidden]) { display: inline-flex; position: fixed; z-index: 40; left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
    padding: 12px 22px; white-space: nowrap; box-shadow: 0 10px 28px rgba(48,48,54,.3); }
}
/* Einmal dezent pulsieren, kurz nach dem Laden — egal ob der Handy- oder der Desktop-Knopf gerade
   sichtbar ist (display:none läuft keine Animation, daher reicht eine Regel für beide, PLA-031-27).
   Der klebende Knopf gleitet nur am Handy herein. Nur ohne Bewegungsverzicht. */
@media (prefers-reduced-motion: no-preference) {
  .hero__qc { animation: qc-pulse 1.4s ease-out .9s 1; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .qc-sticky:not([hidden]) { animation: qc-rise .28s ease-out; }
}
@keyframes qc-pulse {
  0% { box-shadow: 0 10px 26px rgba(48,48,54,.14), 0 0 0 0 rgba(247,193,11,.65); transform: scale(1); }
  35% { transform: scale(1.025); }
  100% { box-shadow: 0 10px 26px rgba(48,48,54,.14), 0 0 0 16px rgba(247,193,11,0); transform: scale(1); }
}
@keyframes qc-rise {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Fachartikel (/fachwissen/) ---------- */
.wrap--narrow { max-width: 760px; }
.fachnav { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; }
.fachnav li { margin-bottom: 10px; break-inside: avoid; }
.fachnav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.fachnav a:hover { color: var(--brand-dark); text-decoration: underline; }
.fachartikel { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.fachartikel:last-of-type { border-bottom: 0; }
.fachartikel h2 { scroll-margin-top: 90px; }
.fachartikel__sub { font-size: 1.08rem; color: var(--brand-dark); font-weight: 600; margin-top: -.3em; }
.fachartikel p { color: var(--ink-soft); }
.fachartikel ul { color: var(--ink-soft); }
/* Der Schlusssatz jedes Artikels ist die eigentliche Botschaft — er darf nicht wie Fließtext aussehen. */
.fachartikel__cta { border-left: 4px solid var(--brand); background: var(--tint);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink) !important; }
.fachartikel__top { font-size: .88rem; }
.fachartikel__top a { text-decoration: none; }
.fachartikel__literatur { text-align: center; font-weight: 600; }
@media (max-width: 700px) { .fachnav { columns: 1; } }
/* Ein Fachartikel auf seiner eigenen Seite (/fachwissen/artikel/<slug>, CNT-001-04) — dieselbe Optik
   wie die frühere Sammelseite; der abgesetzte Schlusssatz ist im Markdown ein Zitat (> …). */
.content-post__back { font-size: .88rem; }
.content-post__back a { text-decoration: none; }
.content-post__image { width: 100%; height: auto; border-radius: var(--radius); margin: 8px 0 16px; }
.content-post__sub { font-size: 1.08rem; color: var(--brand-dark); font-weight: 600; margin-top: -.3em; }
.content-post__meta { font-size: .88rem; color: var(--ink-soft); }
.content-post__body p, .content-post__body ul, .content-post__body ol { color: var(--ink-soft); }
.content-post__body blockquote { margin: 1.2em 0; border-left: 4px solid var(--brand); background: var(--tint);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.content-post__body blockquote p { color: var(--ink); margin: 0; }
.content-post__external { font-weight: 600; }
/* Impressum und Datenschutz aus der Plattform (LEG-006-03, _shared/legal.js). Der Text bringt seine eigenen
   Überschriften mit; h2/h3 hier kleiner als auf der Startseite, ein Rechtstext ist zum Nachlesen. */
.legal-block[aria-busy="true"] .legal-fallback { visibility: hidden; }
.legal-fallback { background: var(--tint); border-left: 4px solid var(--brand); padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0; }
.legal-fallback p:last-child { margin-bottom: 0; }
.legal-text h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal-text h3 { font-size: 1.12rem; margin-top: 1.3em; }
.legal-text__body p, .legal-text__body ul, .legal-text__body ol,
.legal-text__addendum p, .legal-text__addendum ul, .legal-text__addendum ol { color: var(--ink-soft); }
.legal-text blockquote { margin: 1.2em 0; border-left: 4px solid var(--brand); background: var(--tint);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.legal-text blockquote p { color: var(--ink); margin: 0; }
.legal-text table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.legal-text th, .legal-text td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.legal-text a { overflow-wrap: anywhere; }
/* Plattform-Anhang (D.43): gehört dazu, ist aber nicht Text des Vereins — abgesetzt darunter. */
.legal-text__addendum { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: .95rem; }
.legal-text__meta { margin-top: 2em; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Bild-/Text-Abschnitte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media { margin: 0; }
.split__media img { border-radius: 22px; box-shadow: 0 18px 44px rgba(48,48,54,.16);
  object-fit: cover; width: 100%; max-height: 460px; }
.split__text .section__lead { margin-bottom: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}
/* Das echte Logo trägt seinen Namen selbst — die Wortmarke daneben wäre doppelt. */
.brand img { height: 46px; width: auto; }
.footer img { height: 52px; width: auto; }

/* ---------- Team als Spur statt Liste ---------- */
.teamhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.teamnav { display: flex; gap: 10px; flex: 0 0 auto; margin-bottom: 40px; }
.teamnav__btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brand);
  background: #fff; color: var(--brand-dark); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: .18s; }
.teamnav__btn:hover:not(:disabled) { background: var(--brand); color: #fff; }
.teamnav__btn:disabled { opacity: .35; cursor: default; }
.teamnav__btn--pause { font-size: .95rem; letter-spacing: -1px; }
.teamnav__btn[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* Die Spur scrollt waagrecht und rastet je Karte ein. `scroll-padding` sorgt dafür, dass die
   erste Karte nicht am Rand klebt, wenn man zurückblättert. */
.teamtrack {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px);
  gap: 26px; overflow-x: auto; padding: 4px 2px 22px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: var(--brand) transparent;
}
/* Kein `scroll-snap`: Einrasten und stetiges Rollieren schließen einander aus — die Spur
   würde bei jedem Bildaufbau in die nächste Karte gezogen und ruckelte statt zu fließen.
   `scroll-behavior: smooth` steht aus demselben Grund nur an den Pfeilen (scrollBy). */
.teamtrack::-webkit-scrollbar { height: 8px; }
.teamtrack::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.teamtrack::-webkit-scrollbar-track { background: rgba(48,48,54,.08); border-radius: 4px; }
/* Eine Karte in der Spur wächst nicht mit dem Text: sonst wären sieben Karten sieben Höhen. */
.teamtrack .person__more[open] { max-height: 340px; overflow-y: auto; }

@media (max-width: 700px) {
  .teamhead { flex-direction: column; align-items: stretch; }
  .teamnav { margin-bottom: 24px; }
  .teamtrack { grid-auto-columns: 82%; }
}
/* Wer Bewegung abgeschaltet hat, bekommt die Rollierung gar nicht erst (das Skript prüft
   dieselbe Einstellung) — hier bleibt nur die Spur, die man selbst bewegt. */
