@charset "utf-8";
/* Kamiro Website - Basis-Stylesheet
   Tokens aus dem Kamiro Design System. Mobile first, keine Abhaengigkeiten.
   Schriften: Roboto / Roboto Slab, falls lokal vorhanden oder ueber
   assets/css/fonts.css selbst gehostet - sonst greift der System-Stack. */

/* ------------------------------------------------------------------ Tokens */
:root {
  --blue: #006eb4;
  --blue-light: #14a0dc;
  --blue-700: #005a93;
  --blue-800: #00497a;
  --blue-100: #e5f1f8;

  --ink: #000000;
  --text: #1a1a1a;
  --muted: #4d4d4d;
  --subtle: #6b6b6b;   /* 5.6:1 auf Weiss - AA fuer Text */
  --hint: #8a8a8a;      /* nur fuer Nichttext: Icons, Trennlinien */
  --line: #e6e6e6;
  --line-strong: #cccccc;
  --sunken: #fafafa;
  --surface: #ffffff;

  --ok: #2e8b57;
  --warn: #d9941e;
  --bad: #c0392b;

  --shadow-sm: 0 1px 3px rgba(16, 33, 48, .08), 0 1px 2px rgba(16, 33, 48, .06);
  --shadow-md: 0 4px 12px rgba(16, 33, 48, .08), 0 2px 4px rgba(16, 33, 48, .05);

  --radius: 10px;
  --radius-lg: 16px;

  --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Roboto Slab", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --sec-y: clamp(36px, 4.6vw, 60px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); letter-spacing: -.02em; line-height: 1.14; margin: 0; }
h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }

img, svg { max-width: 100%; }
img { height: auto; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0; font-weight: 500;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- Struktur */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec-y); }
.section--sunken { background: var(--sunken); }

.head { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin-bottom: 32px; }
.head--split { max-width: none; }
@media (min-width: 900px) {
  /* Grundlinie statt Unterkante: sonst schwebt eine vierzeilige Einleitung
     ueber einer einzeiligen Ueberschrift und wirkt wie danebengelegt. */
  .head--split { flex-direction: row; align-items: baseline; gap: 64px; }
  .head--split > div, .head--split > h2 { flex: 0 0 55%; max-width: 620px; }
  .head--split > .intro { flex: 1; }
}

.split { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 900px) {
  .split { flex-direction: row; gap: 64px; align-items: flex-start; }
  .split__head { flex: 0 0 34%; max-width: 400px; }
  .split > :not(.split__head) { flex: 1; min-width: 0; }
}
.split__head { display: flex; flex-direction: column; gap: 14px; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------- Textstile */
.eyebrow {
  font-size: 14px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin: 0;
}
.eyebrow--sm { font-size: 13px; letter-spacing: .06em; }
.eyebrow--icon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow__icon {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lead { font-size: clamp(17px, 2vw, 19px); font-weight: 500; font-style: italic; line-height: 1.55; color: var(--text); }
.body-text, .intro { font-weight: 400; color: var(--muted); }
.intro { font-size: 16px; line-height: 1.6; }
.caption { font-size: 15px; font-weight: 400; font-style: italic; line-height: 1.55; color: var(--muted); }

/* --------------------------------------------------------------- Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--invert { background: #fff; color: var(--blue); }
.btn--invert:hover { background: var(--blue-100); color: var(--blue-800); }

.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue); font-size: 12px; font-weight: 500;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.badge--solid { background: var(--blue); color: #fff; }

.icon--brand { color: var(--blue); }
.icon--muted { color: var(--subtle); }

/* ----------------------------------------------------------------- Kopf */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-logo img, .site-logo svg { height: 30px; width: auto; display: block; }
.site-logo b { font-family: var(--font-serif); font-size: 22px; letter-spacing: -.02em; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--line-strong); border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
}
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.navlist { display: flex; align-items: center; gap: 24px; }
.navitem { position: relative; display: flex; align-items: center; gap: 2px; }
.navitem__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; background: none; border: 0; border-radius: 4px;
  color: var(--muted); cursor: pointer;
}
.navitem__toggle:hover { color: var(--blue); }
.navitem__toggle svg { transition: transform .15s ease; }
.navitem__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.subnav {
  display: none; position: absolute; top: 100%; left: -16px; z-index: 50;
  min-width: 268px; padding: 8px; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.navitem--sub:hover > .subnav,
.navitem--sub:focus-within > .subnav,
.navitem__toggle[aria-expanded="true"] + .subnav { display: block; }
.subnav a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: 15px; font-weight: 400; color: var(--text); text-decoration: none; white-space: nowrap;
}
.subnav a:hover { background: var(--blue-100); color: var(--blue-800); }
.subnav__sep { height: 1px; margin: 7px 12px; background: var(--line); }
/* Der Menuepunkt "Module" hat keine eigene Seite und ist deshalb ein span.
   Er sieht aus wie die anderen, ist aber nicht anklickbar. */
.navlist > .navitem > a,
.navlist > .navitem > .navitem__label {
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding-block: 4px;
}
.navlist > .navitem > a:hover { color: var(--blue); }
.navlist > .navitem > .navitem__label { cursor: default; }
.navitem--sub:hover > .navitem__label { color: var(--blue); }
.navlist > .navitem > a[aria-current="page"],
.navlist > .navitem > .navitem__label[aria-current="page"] {
  color: var(--blue); border-bottom: 2px solid var(--blue);
}
@media (max-width: 899px) {
  .site-nav[data-open="true"] .navlist > .navitem > .navitem__label { display: block; flex: 1; padding: 14px 0; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
}
@media (max-width: 899px) {
  .site-nav[data-open="true"] { display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .site-nav[data-open="true"] .navlist { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--pad) 16px; }
  .site-nav[data-open="true"] .navitem { flex-wrap: wrap; justify-content: space-between; }
  .site-nav[data-open="true"] .navlist > .navitem + .navitem { border-top: 1px solid var(--line); }
  .site-nav[data-open="true"] .navlist > .navitem > a { display: block; flex: 1; padding: 14px 0; }
  .site-nav[data-open="true"] .navitem__toggle { width: 44px; height: 44px; }
  .site-nav[data-open="true"] .subnav {
    position: static; display: none; width: 100%; min-width: 0; margin: 0 0 12px;
    padding: 4px 0 4px 14px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none;
  }
  .site-nav[data-open="true"] .navitem__toggle[aria-expanded="true"] + .subnav { display: block; }
  .site-nav[data-open="true"] .navitem--sub:hover > .subnav,
  .site-nav[data-open="true"] .navitem--sub:focus-within > .subnav { display: none; }
  .site-nav[data-open="true"] .navitem__toggle[aria-expanded="true"] + .subnav { display: block; }
  .site-nav[data-open="true"] .subnav a { padding: 11px 10px; white-space: normal; }
  .site-header { position: sticky; top: 0; }
}
.site-header .actions { margin: 0; }
@media (max-width: 639px) { .site-header .actions { display: none; } }
@media (min-width: 640px) and (max-width: 1099px) {
  .site-header .btn { padding: 0 16px; font-size: 14px; min-height: 42px; }
}
.site-nav__cta { display: none; }
@media (max-width: 899px) {
  .site-nav[data-open="true"] .site-nav__cta { display: block; padding: 16px 0 4px; }
  .site-nav[data-open="true"] .site-nav__cta .btn { width: 100%; }
}

/* --------------------------------------------------------- Brotkrumen */
.breadcrumb { margin-bottom: 28px; font-size: 14px; font-weight: 400; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); margin-right: 8px; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* -------------------------------------------------------------- Hero */
.hero { padding-block: clamp(28px, 4vw, 40px) var(--sec-y); }
.hero__grid { display: flex; flex-direction: column; gap: 40px; }
.hero__text { display: flex; flex-direction: column; gap: 18px; }
.hero__text--wide { max-width: 900px; }

/* Kopf ohne Bild: Titel links, Erklaertext rechts. Sonst steht die halbe
   Seitenbreite leer, und der Kopf wirkt wie ein angefangener Satz.
   Unter 900 px wieder eine Spalte in der Lesereihenfolge des Quelltexts. */
@media (min-width: 900px) {
  .hero__text.hero__text--wide {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    column-gap: 64px;
    row-gap: 18px;
    align-items: start;
    grid-template-areas:
      "eyebrow eyebrow"
      "title   text"
      "actions text";
  }
  .hero__text.hero__text--wide > .eyebrow    { grid-area: eyebrow; }
  .hero__text.hero__text--wide > h1          { grid-area: title; }
  .hero__text.hero__text--wide > .hero__lead { grid-area: text; }
  .hero__text.hero__text--wide > .actions    { grid-area: actions; margin-top: 14px; }
}
.hero__media { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero__lead { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) {
  .hero__grid { flex-direction: row; align-items: center; gap: 64px; }
  .hero__text { flex: 0 0 46%; max-width: 580px; }
  .hero__media { flex: 1; min-width: 0; }
}

/* ------------------------------------------------------------ Bilder */
.shot { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.shot img { display: block; width: 100%; }
.shot--placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 24px;
  background: #f2f2f2; border: 1px dashed var(--line-strong); box-shadow: none; text-align: center;
}
.shot--placeholder span { font-size: 14px; font-weight: 500; color: var(--muted); }

.shots { display: flex; flex-direction: column; gap: 48px; }
.shotrow { display: flex; flex-direction: column; gap: 20px; }
.shotrow__text { display: flex; flex-direction: column; gap: 8px; font-weight: 400; color: var(--muted); }
@media (min-width: 900px) {
  .shotrow { flex-direction: row; gap: 48px; align-items: flex-start; }
  .shotrow > .shot { flex: 0 0 62%; min-width: 0; }
  .shotrow__text { flex: 1; padding-top: 6px; }
  .shotrow--flip { flex-direction: row-reverse; }
}

/* ------------------------------------------------------------ Grafiken */
.diagram { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.diagram__frame {
  padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.diagram__frame svg { display: block; width: 100%; min-width: 760px; height: auto; }
.diagram__hint { display: none; }
@media (max-width: 860px) {
  .diagram__hint {
    display: block; font-size: 13px; color: var(--subtle);
  }
  .diagram__hint::before { content: "\2194\00a0"; }
  .diagram__frame { border-color: var(--line-strong); }
}
.diagram figcaption { font-size: 14px; font-weight: 400; font-style: italic; line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------- Bildbetrachter */
/* Screenshots und Grafiken sind klickbar. Ohne JavaScript bleibt das Bild
   ein Bild: der Knopf entsteht erst im Browser. */

/* ---------------------------------------------------- Impressum, Datenschutz */
/* Ein Rechtstext wird gelesen, nicht überflogen: eine linksbündige Spalte,
   die unter der Überschrift beginnt, und kleinere Zwischenüberschriften als
   im übrigen Seitenaufbau. */
.rechtsseite { padding-block: clamp(28px, 4vw, 40px) var(--sec-y); }
.rechtstext { max-width: 720px; }
.rechtstext h1 { margin-bottom: 10px; }
.rechtstext > .lead { margin-bottom: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rechtstext h2 {
  margin: 34px 0 8px; font-family: var(--font-sans); font-size: 19px; font-weight: 700;
  letter-spacing: 0; line-height: 1.35; color: var(--ink);
}
.rechtstext p { margin: 0 0 12px; font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--muted); }
.rechtstext p:last-child { margin-bottom: 0; }
.rechtstext .caption { margin-top: 24px; }

.badge--link { text-decoration: none; cursor: pointer; }
.badge--link:hover { filter: brightness(1.12); text-decoration: underline; }
.badge--link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }


.lupe {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none;
  cursor: zoom-in; position: relative; color: inherit; font: inherit; text-align: left;
}
.lupe::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 120ms ease;
}
/* Auf dem Telefon gibt es keinen Mauszeiger. Ohne Symbol findet dort
   niemand, dass sich das Bild vergroessern laesst. */
.lupe::before {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px;
  border-radius: 8px; background: rgba(16, 33, 48, 0.72) no-repeat center;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1;
}
.lupe:hover::before { background-color: var(--blue); }
.diagram__frame .lupe::before { right: 14px; bottom: 14px; }
.lupe:hover::after { box-shadow: inset 0 0 0 2px var(--blue); }
.lupe:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.diagram__frame .lupe { cursor: zoom-in; }

.viewer {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px); background: rgba(10, 18, 26, 0.92);
}
.viewer[hidden] { display: none; }
.viewer__box {
  max-width: min(1600px, 96vw); max-height: 92vh; display: flex; flex-direction: column; gap: 14px;
}
.viewer__inhalt {
  min-height: 0; overflow: auto; background: #ffffff; border-radius: 12px; padding: 0;
}
.viewer__inhalt img { display: block; width: 100%; height: auto; border-radius: 12px; }
.viewer__inhalt svg { display: block; width: 100%; min-width: 1100px; height: auto; padding: 24px; box-sizing: border-box; }
.viewer__titel {
  margin: 0; flex-shrink: 0; max-width: 900px; font-size: 15px; line-height: 1.55; color: #e8edf2;
}
.viewer__titel[hidden] { display: none; }
.viewer__zu {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center; border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, 0.14); color: #ffffff; cursor: pointer;
}
.viewer__zu:hover { background: rgba(255, 255, 255, 0.26); }
.viewer__zu:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }


/* ------------------------------------------------------- Problem/Loesung */
.problems__legend { display: none; }
@media (min-width: 900px) {
  .problems__legend {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
    padding-bottom: 10px;
  }
  .problems__legend span + span { color: var(--blue); }
}
.problems__list { display: flex; flex-direction: column; }
.problem { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.problem__is, .problem__to { display: flex; gap: 14px; align-items: flex-start; padding-block: 20px; }
.problem__label {
  display: block; margin-bottom: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.problem__to .problem__label { color: var(--blue); }
@media (min-width: 900px) { .problem__label { display: none; } }
.problem__is { color: var(--muted); font-weight: 400; }
.problem__to { color: var(--text); padding-top: 0; }
.problem svg { flex-shrink: 0; margin-top: 4px; }
@media (min-width: 900px) {
  .problem { grid-template-columns: 1fr 1fr; gap: 32px; }
  .problem__is { padding-right: 32px; }
  .problem__to { padding-top: 20px; padding-left: 32px; border-left: 1px solid var(--line); margin-left: -32px; }
}

/* ------------------------------------------------------------- Karten */
.card, .minicard, .fact, .panel, .quelle {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.card p, .minicard p { font-size: 16px; font-weight: 400; color: var(--muted); }
.minicard { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.fact { padding: 18px 20px; border-left: 3px solid var(--blue); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; }
.fact h3 { font-size: 15px; }
a.fact {
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
a.fact:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
a.fact h3 { font-size: 17px; color: var(--blue); }
a.fact .fact__more { margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--blue); }
.fact p { font-size: 15px; line-height: 1.6; }

.modulcard {
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease;
}
.modulcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.modulcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modulcard p { font-size: 16px; font-weight: 400; color: var(--muted); }
.modulcard__more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 500; color: var(--blue); }

/* -------------------------------------------------------------- Listen */
.deflist { margin: 0; }
.deflist__row { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); }
.deflist__row:last-child { border-bottom: 1px solid var(--line); }
.deflist dt { font-size: 17px; font-weight: 700; color: var(--ink); }
.deflist dd { margin: 0; font-size: 16px; font-weight: 400; color: var(--muted); }
@media (min-width: 720px) {
  .deflist__row { flex-direction: row; gap: 32px; }
  .deflist dt { flex: 0 0 220px; }
  .deflist dd { flex: 1; }
}

.interlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.interrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 16px; font-weight: 400; color: var(--muted);
}
.interrow--soon { background: var(--sunken); border-style: dashed; border-color: var(--line-strong); }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding-block: 22px; border-top: 1px solid var(--line); }
.step__no {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.steps p { font-size: 16px; font-weight: 400; color: var(--muted); }

.listrows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.listrow {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: space-between;
  padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.listrow h3 { font-size: 20px; font-weight: 900; margin-block: 6px 6px; }
.listrow p:last-child { font-size: 16px; font-weight: 400; color: var(--muted); }
.listrow__more { font-size: 14px; font-weight: 500; color: var(--blue); white-space: nowrap; }

.panel { padding: clamp(20px, 3vw, 34px); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 18px; }
.tagrow { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; }
.tagrow + .tagrow { border-top: 1px solid #f2f2f2; padding-top: 18px; }
.tagrow__head h3 { font-size: 16px; }
.tagrow__head p { font-size: 14px; font-weight: 400; color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 12px; border-radius: 999px; background: #f2f2f2; color: var(--muted);
  font-size: 13px; font-weight: 400;
}
.tag--on { background: var(--blue-100); color: var(--blue-800); font-weight: 500; }
.tag--on::before { content: "\2713\00a0"; font-weight: 700; }
.tag--off::before { content: "\2013\00a0"; color: var(--subtle); }
.tags__legend {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px;
  font-size: 13px; color: var(--muted);
}
.tags__legend span { display: inline-flex; align-items: center; gap: 6px; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; font-size: 16px; font-weight: 400; color: var(--muted); }
/* Der Haken ist ein Hintergrundbild, kein <svg> im Text: So bleibt jeder
   Punkt reiner Text und laesst sich im Editor bearbeiten. */
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006eb4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}

div.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
div.prose p { font-weight: 400; color: var(--muted); }

.quelle { padding: 22px 26px; border-left: 3px solid var(--blue); border-radius: 8px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.quelle blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.quelle figcaption { font-size: 13px; line-height: 1.55; color: var(--subtle); }

/* ------------------------------------------------------------ Kontakt */
.kontaktwege { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .kontaktwege { grid-template-columns: 1fr 1fr; } }
.kontaktweg {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  padding: 18px 20px; background: #fff; color: var(--text); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kontaktweg:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.kontaktweg:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.kontaktweg svg { flex-shrink: 0; margin-top: 2px; }
.kontaktweg__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kontaktweg__art { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.kontaktweg__wert { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.kontaktweg:hover .kontaktweg__wert { color: var(--blue); }
.kontaktweg__zusatz { font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.kontakt__vorbereitung { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.kontakt__titel { font-size: 15px; font-weight: 500; color: var(--text); }
.kontakt__liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 400; color: var(--muted); }
.split--kontakt .split__aside { display: flex; flex-direction: column; gap: 18px; }
/* Telefonnummern nicht mitten in der Nummer umbrechen. Erst, wenn kontakt.js
   die Nummer eingesetzt hat - der Platzhalter davor darf umbrechen. */
.kontakt-klar:not([data-k*="|"]) { white-space: nowrap; }
@media (min-width: 900px) { .split--kontakt .split__aside { flex: 0 0 340px; } }

/* --------------------------------------------------------------- CTA */
.cta { background: var(--blue); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.cta h2 { color: #fff; }
.cta p { color: #eaf4fb; font-weight: 400; margin-top: 12px; font-size: 17px; }
.cta__inner { display: flex; flex-direction: column; gap: 28px; }
.cta__inner > div { max-width: 660px; }
.cta__link { color: #fff; font-size: 15px; font-weight: 500; }
@media (min-width: 900px) {
  .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .cta .actions { flex-shrink: 0; margin: 0; gap: 20px; }
}

/* ------------------------------------------------------------- Fusszeile */
.site-footer { background: #0f1720; color: #dbe3ea; padding-block: clamp(40px, 6vw, 72px) 28px; font-size: 15px; }
.site-footer h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #a7b6c3; }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: #dbe3ea; text-decoration: none; font-weight: 400; display: inline-block; padding-block: 3px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__cols { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__meta {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #22303c;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; line-height: 2;
  font-size: 14px; font-weight: 400; color: #b9c6d1;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.site-footer__brand b { font-family: var(--font-serif); font-size: 20px; color: #fff; }
.site-footer__brand p { font-weight: 400; max-width: 460px; }

/* ------------------------------------------------------------ Druck */
@media print {
  .site-header, .site-footer, .cta, .skip { display: none; }
  body { font-size: 11pt; color: #000; }
  .section { padding-block: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
