/* ==========================================================================
   Wölfling Klima – Stylesheet
   Layout: linksbündiges Raster (max. 72.5rem), ruhige weiße Flächen,
   technische Schnittzeichnungen als einziges prägendes Gestaltungselement.
   Farben stammen aus dem Logo. Bewusst nur helles Farbschema, weil das Logo
   ausschließlich auf hellem Grund lesbar ist.
   ========================================================================== */

@font-face {
  font-family: "Carlito";
  src: url("fonts/carlito-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("fonts/carlito-italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("fonts/carlito-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Farben (aus dem Logo abgeleitet) */
  --navy: #25345d;       /* Schriftzug WÖLFLING */
  --blue: #0f5f9a;       /* Lüfter-Verlauf: Links, Schaltflächen */
  --blue-deep: #0b4a78;  /* Hover */
  --sky: #6ea9dc;        /* Schriftzug KLIMA: nur Grafik, nie Text */
  --sky-tint: #e3edf7;   /* Flächen in Zeichnungen */
  --paper: #ffffff;
  --mist: #f3f6f9;       /* abgesetzte Abschnitte */
  --rule: #d6dde6;       /* Linien */
  --text: #262c38;
  --muted: #5a6475;
  --on-navy: #ffffff;
  --on-navy-muted: #c9dcf0;

  /* Schrift */
  --font: "Carlito", Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-small: 0.9375rem;
  --fs-body: 1.1875rem;
  --fs-lead: clamp(1.25rem, 1.15rem + 0.45vw, 1.4375rem);
  --fs-h3: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
  --fs-h2: clamp(1.7rem, 1.35rem + 1.3vw, 2.375rem);
  --fs-h1: clamp(2.15rem, 1.5rem + 2.6vw, 3.4rem);

  /* Raster */
  --max: 72.5rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 6px;
  --header-h: 4.25rem;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0; }
p, li { text-wrap: pretty; }
strong { font-weight: 700; color: var(--navy); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.flow > * + * { margin-top: 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text); }
.muted { color: var(--muted); }
.measure { max-width: 40rem; }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; color: var(--on-navy); }

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: 11rem; height: auto; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"], .nav a.is-section {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
  text-decoration-color: var(--sky);
}

.header-contact { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone span { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--muted); line-height: 1.2; }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.menu-toggle .bars { display: grid; gap: 4px; width: 18px; }
.menu-toggle .bars span { display: block; height: 2px; background: var(--navy); border-radius: 1px; }

.mobile-nav { display: none; }

@media (min-width: 64rem) {
  .brand img { width: 15.5rem; }
}

@media (max-width: 63.99rem) {
  :root { --header-h: 4rem; }
  .nav, .header-contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    border-top: 1px solid var(--rule);
    background: var(--paper);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
  .mobile-nav li + li { border-top: 1px solid var(--rule); }
  .mobile-nav a {
    display: block;
    padding: 0.85rem 0;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1875rem;
  }
  .mobile-nav a[aria-current="page"] { color: var(--blue); }
  .mobile-nav .sub a { padding-left: 1rem; font-weight: 400; font-size: 1.0625rem; }
}

/* --------------------------------------------------------------------------
   Schaltflächen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--blue); color: var(--on-navy); }
.btn-primary:hover { background: var(--blue-deep); color: var(--on-navy); text-decoration: none; }
.btn-secondary { background: var(--paper); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--mist); color: var(--navy); text-decoration: none; }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--sky-tint); color: var(--navy); text-decoration: none; }
.btn-outline-light { background: transparent; color: var(--on-navy); border-color: var(--on-navy-muted); }
.btn-outline-light:hover { border-color: var(--on-navy); color: var(--on-navy); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn .num { font-variant-numeric: tabular-nums; }

.text-link { font-weight: 700; }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--space-section) * 0.6); }
.section-head { display: grid; gap: 0.85rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }

.breadcrumb { padding-top: 1.5rem; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }

.page-intro { padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-intro .wrap > * + * { margin-top: 1rem; }
.page-intro .lead { max-width: 44rem; }

/* --------------------------------------------------------------------------
   Startseite: Einstieg
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}
.hero-text { display: grid; gap: 1.5rem; min-width: 0; }
.hero-text .lead { max-width: 38rem; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.facts {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.6rem;
}
.facts li { position: relative; padding-left: 1.75rem; line-height: 1.4; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 0.3em;
  width: 0.45rem; height: 0.8rem;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
}
@media (min-width: 40rem) {
  .facts { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* --------------------------------------------------------------------------
   Technische Zeichnung ("Zeichnungsblatt")
   -------------------------------------------------------------------------- */
.sheet {
  margin: 0;
  border: 1.5px solid var(--navy);
  background: var(--paper);
  min-width: 0;
}
.sheet-drawing { padding: clamp(0.5rem, 0.2rem + 1.5vw, 1.25rem); }
.sheet-drawing svg { display: block; width: 100%; height: auto; }
.titleblock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1.5px solid var(--navy);
  font-size: 0.875rem;
  line-height: 1.3;
}
.titleblock div { padding: 0.5rem 0.7rem; min-width: 0; }
.titleblock div + div { border-left: 1px solid var(--navy); }
.titleblock dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.02em; }
.titleblock dd { margin: 0.1rem 0 0; color: var(--navy); font-weight: 700; }
@media (max-width: 30rem) {
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--navy); }
}

/* Zeichnungselemente */
.drawing { font-family: var(--font); }
.drawing .ln { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.drawing .ln-thin { fill: none; stroke: var(--navy); stroke-width: 1; stroke-linecap: round; }
.drawing .ln-soft { fill: none; stroke: var(--muted); stroke-width: 1; stroke-linecap: round; }
.drawing .body { fill: var(--paper); }
.drawing .hidden-ln { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 5 3; }
.drawing .edge { stroke: var(--navy); stroke-width: 1.5; }
.drawing .edge-thin { stroke: var(--navy); stroke-width: 1; }
.drawing .tint { fill: var(--sky-tint); }
.drawing .tint-ln { fill: var(--sky-tint); stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.drawing .white-ln { fill: var(--paper); stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.drawing .goods { fill: var(--paper); stroke: var(--muted); stroke-width: 1; }
.drawing .hatch { stroke: var(--navy); stroke-width: 0.8; }
.drawing .hatch-soft { stroke: var(--muted); stroke-width: 0.6; }
.drawing .fin { fill: none; stroke: var(--sky); stroke-width: 1.2; }
.drawing .coil-out { fill: none; stroke: var(--navy); stroke-width: 22; stroke-linejoin: round; }
.drawing .coil-in { fill: none; stroke: var(--sky-tint); stroke-width: 19; stroke-linejoin: round; }
.drawing .coil-fin { fill: none; stroke: var(--sky); stroke-width: 19; stroke-dasharray: 1.4 4; stroke-linejoin: round; }
.drawing .filter { fill: none; stroke: var(--sky); stroke-width: 4; stroke-dasharray: 3 3; }
.drawing .air { fill: none; stroke: var(--sky); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; }
.drawing .arrowhead { fill: var(--sky); }
.drawing .drain { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 5 4; stroke-linecap: round; }
.drawing .ref { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.drawing .flap { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; }
.drawing .label { fill: var(--muted); font-size: 13px; }
.drawing .label-strong { fill: var(--navy); font-size: 13px; font-weight: 700; }
.drawing .co-line { fill: none; stroke: var(--navy); stroke-width: 1; }
.drawing .co-dot { fill: var(--navy); }
.drawing .co-circle { fill: var(--paper); stroke: var(--navy); stroke-width: 1.5; }
.drawing .co-num { fill: var(--navy); font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.drawing--thumb .callout { display: none; }

/* Legende zur Zeichnung */
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; counter-reset: none; }
.legend li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.6rem; align-items: baseline; line-height: 1.35; }
.pos {
  display: inline-grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transform: translateY(0.15rem);
}
.legend-head { font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.hero-figure { display: grid; gap: 1.25rem; min-width: 0; }
@media (min-width: 40rem) {
  .hero-figure .legend { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Leistungsübersicht
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 56rem) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}
.service {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
  min-width: 0;
}
.service-figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.75rem;
  aspect-ratio: 7 / 5;
  max-width: 100%;
  display: grid;
  place-items: center;
}
.service-figure svg { width: 100%; height: 100%; }
.section--mist .service-figure { border-color: var(--rule); }
.service h3 a { color: var(--navy); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; }
.scope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-small);
}
.scope li {
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--navy);
  background: var(--paper);
}

/* Zielgruppen */
.audience-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .audience-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  border-top: 1px solid var(--rule);
}
.audience li {
  padding: 0.7rem 0.25rem 0.7rem 0;
  line-height: 1.3;
  border-bottom: 1px solid var(--rule);
  color: var(--navy);
  font-weight: 700;
}

/* Gründe */
.reasons { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.reasons > div { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.reasons h3 { font-size: 1.3125rem; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: step;
}
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; } }
.steps li { display: grid; gap: 0.5rem; align-content: start; counter-increment: step; min-width: 0; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.3125rem; }

/* Person */
.person { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 52rem) { .person { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.person-text { display: grid; gap: 1.1rem; min-width: 0; max-width: 46rem; }

.photo-slot {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 1.5px dashed var(--muted);
  background: var(--mist);
  color: var(--muted);
  text-align: center;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.photo-slot strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.section--mist .photo-slot { background: var(--paper); }
.photo-slot--wide { aspect-ratio: 3 / 2; }

.quals { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.quals div { display: grid; gap: 0.15rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 36rem) { .quals div { grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; } }
.quals dt { color: var(--muted); }
.quals dd { margin: 0; color: var(--navy); font-weight: 700; }

/* Region */
.region-line { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .region-line { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }
.places { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.places div { display: grid; gap: 0.1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 36rem) { .places div { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; } }
.places dt { color: var(--muted); }
.places dd { margin: 0; color: var(--navy); font-weight: 700; }

/* Kontaktband */
.cta-band { background: var(--navy); color: var(--on-navy); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.cta-band h2 { color: var(--on-navy); }
.cta-band p { color: var(--on-navy-muted); }
.cta-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 56rem) { .cta-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.cta-grid .flow { max-width: 40rem; }
.cta-direct { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 1.0625rem; }
.cta-direct a { color: var(--on-navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.cta-direct span { color: var(--on-navy-muted); }

/* --------------------------------------------------------------------------
   Leistungsseiten
   -------------------------------------------------------------------------- */
.service-top { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .service-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; } }

.levels { display: grid; gap: 2.75rem; }
@media (min-width: 56rem) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
.level { display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.level-tag {
  justify-self: start;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--blue);
}
.level dl { margin: 0; display: grid; gap: 0.9rem; }
.level dt { font-weight: 700; color: var(--navy); }
.level dd { margin: 0.2rem 0 0; }

.extra { display: grid; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
@media (min-width: 56rem) { .extra { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3.5rem; } }
.extra .flow { max-width: 44rem; }

/* Leistungsumfang als Protokoll */
.protocol-wrap { max-width: 54rem; position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--navy); background: var(--paper); }
.protocol { width: 100%; border-collapse: collapse; font-size: 1.0625rem; min-width: 30rem; }
.protocol caption { text-align: left; padding: 0.85rem 1rem; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--navy); font-size: 1.125rem; }
.protocol th, .protocol td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; line-height: 1.35; }
.protocol thead th { font-size: 0.875rem; color: var(--muted); font-weight: 700; background: var(--mist); border-bottom: 1px solid var(--navy); }
.protocol tbody tr:last-child th, .protocol tbody tr:last-child td { border-bottom: 0; }
.protocol .c-pos { width: 3.25rem; text-align: center; }
.protocol .c-lvl { width: 8.5rem; }
.protocol tbody th { font-weight: 400; color: var(--text); }
.protocol .yes { color: var(--blue); font-weight: 700; }
.protocol .no { color: var(--muted); }
.protocol .yes small, .protocol .no small { display: block; font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.protocol .group th { background: var(--mist); font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
@media (max-width: 40rem) {
  .protocol { min-width: 0; font-size: 1rem; }
  .protocol th, .protocol td { padding: 0.55rem 0.5rem; }
  .protocol caption { padding: 0.75rem 0.6rem; }
  .protocol .c-pos { width: 2.25rem; }
  .protocol .c-lvl { width: 5.4rem; }
  .protocol .yes small, .protocol .no small { font-size: 0.8125rem; }
}
.protocol-note { margin-top: 0.75rem; font-size: var(--fs-small); color: var(--muted); max-width: 54rem; }

.note {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  background: var(--paper);
  max-width: 46rem;
}
.note strong { color: var(--navy); }
.notes { display: grid; gap: 1.5rem; }
.notes .note { max-width: none; }
@media (min-width: 56rem) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.related { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.related a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 2px solid var(--navy);
  text-decoration: none;
  color: var(--text);
}
.related a strong { font-size: var(--fs-h3); }
.related a:hover strong { text-decoration: underline; }

/* Vergleich Standard / Intensiv auf der Übersichtsseite */
.compare { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
.compare > div { display: grid; gap: 0.75rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--navy); }

.service-rows { display: grid; gap: 3rem; }
.service-row { display: grid; gap: 1.5rem; padding-top: 2rem; border-top: 2px solid var(--navy); }
@media (min-width: 52rem) { .service-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; } }
.service-row .flow { max-width: 38rem; }
.service-row h2 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.contact-direct { display: grid; gap: 1.75rem; }
.contact-item { display: grid; gap: 0.2rem; }
.contact-item .k { color: var(--muted); font-size: var(--fs-small); }
.contact-item .v { font-size: 1.5rem; font-weight: 700; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.contact-item a.v:hover { text-decoration: underline; }
.hint { padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--muted); }

.form { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 0.75rem + 2vw, 2rem); border: 1.5px solid var(--navy); background: var(--paper); }
.form h2 { font-size: var(--fs-h3); }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 36rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 700; color: var(--navy); font-size: 1.0625rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid #9aa6b6;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--sky-tint); outline-offset: 0; }
.field .err { display: none; color: #a3261f; font-size: var(--fs-small); }
.field.invalid input, .field.invalid textarea { border-color: #a3261f; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.form-status { padding: 0.9rem 1rem; border: 1.5px solid var(--blue); background: var(--sky-tint); color: var(--navy); border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.1875rem; margin-top: 1.5rem; }
.legal p, .legal ul, .legal address { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; }
.legal address { font-style: normal; }
.draft-flag {
  max-width: 46rem;
  padding: 1rem 1.25rem;
  border: 1.5px dashed #a3261f;
  color: #7d1d17;
  background: #fbf3f2;
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.draft-flag strong { color: #7d1d17; }

/* --------------------------------------------------------------------------
   Fußbereich
   -------------------------------------------------------------------------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--rule); padding-block: 3.5rem 2rem; font-size: 1.0625rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 2rem; } }
.footer-brand img { width: 13rem; }
.footer-brand p { margin-top: 1rem; color: var(--muted); max-width: 22rem; }
.site-footer h2 { font-size: 1rem; color: var(--navy); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--muted);
  font-size: var(--fs-small);
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom a { color: var(--muted); }

/* Schnellkontakt auf dem Smartphone */
.quickbar { display: none; }
@media (max-width: 47.99rem) {
  .quickbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-top: 1px solid var(--rule);
  }
  .quickbar .btn { min-height: 2.875rem; padding-inline: 0.75rem; }
  body.has-quickbar { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
}

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

@media print {
  .site-header, .quickbar, .cta-band, .menu-toggle { display: none !important; }
  body { padding: 0 !important; }
}

/* Startseite: Einstieg auf Blaupausen-Grund */
.hero--blueprint {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: var(--on-navy);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.hero--blueprint h1 { color: var(--on-navy); font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); }
.hero--blueprint .lead { color: var(--on-navy-muted); }
.hero--blueprint .hero-grid { align-items: center; }
.hero--blueprint .sheet { border-color: var(--paper); box-shadow: 0 18px 40px rgba(8, 18, 40, 0.35); }
.hero-note { font-size: var(--fs-small); color: var(--on-navy-muted); }
.hero-note a { color: var(--on-navy); font-weight: 700; }
.hero-note a:hover { color: var(--on-navy); }
.hero--blueprint :focus-visible { outline-color: var(--paper); }

.trust { border-bottom: 1px solid var(--rule); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.trust-grid > div { display: grid; gap: 0.2rem; align-content: start; padding: 1.1rem 1.25rem 1.1rem 2.6rem; position: relative; }
.trust-grid > div::before {
  content: ""; position: absolute; left: 0.9rem; top: 1.35rem;
  width: 0.45rem; height: 0.85rem;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
}
.trust-grid strong { font-size: 1.125rem; }
.trust-grid span { color: var(--muted); line-height: 1.35; font-size: 1.0625rem; }
@media (min-width: 64rem) { .trust-grid > div + div { border-left: 1px solid var(--rule); } }
@media (max-width: 63.99rem) { .trust-grid > div { border-bottom: 1px solid var(--rule); } .trust-grid > div:last-child { border-bottom: 0; } }

/* Leistungskarten insgesamt anklickbar */
.service { position: relative; transition: border-color .15s ease; }
.service .card-link::after { content: ""; position: absolute; inset: 0; }
.service:hover { border-top-color: var(--blue); }
.service:hover .service-figure { border-color: var(--sky); }
.service:hover h3 a { text-decoration: underline; }

.hero-panel {
  background: var(--paper); color: var(--text);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(8, 18, 40, 0.35);
  display: grid; gap: 1rem; min-width: 0;
}
.hero-panel-title { font-size: var(--fs-h3); font-weight: 700; color: var(--navy); }
.hero-contact { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.hero-contact div { display: grid; gap: 0.1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.hero-contact dt { color: var(--muted); font-size: var(--fs-small); }
.hero-contact dd { margin: 0; }
.hero-contact a { font-size: 1.375rem; font-weight: 700; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hero-contact a:hover { text-decoration: underline; }
.hero-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-small); }
.hero-areas a { display: block; padding: 0.2rem 0.65rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--navy); text-decoration: none; }
.hero-areas a:hover { border-color: var(--blue); }
.hero-panel .btn { justify-self: start; }
@media (min-width: 60rem) { .hero--blueprint .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
@media (max-width: 59.99rem) { .hero-panel { display: none; } }

/* Startseite: ruhiger Einstieg */
.intro { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.intro-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: end; }
@media (min-width: 60rem) { .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.intro-text { display: grid; gap: 1.5rem; max-width: 44rem; }
.intro h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); }
.intro-facts { margin: 0; display: grid; border-top: 2px solid var(--navy); }
.intro-facts div { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.intro-facts dt { font-size: var(--fs-small); color: var(--muted); }
.intro-facts dd { margin: 0.1rem 0 0; color: var(--navy); font-weight: 700; line-height: 1.35; }

.home-h2 { margin-bottom: 1.75rem; }
.home-services { display: grid; gap: 0; border-top: 2px solid var(--navy); }
@media (min-width: 56rem) { .home-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-service { display: grid; gap: 0.6rem; align-content: start; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); color: var(--text); text-decoration: none; }
@media (min-width: 56rem) {
  .home-service { padding: 1.5rem 2rem 1.75rem 0; border-bottom: 0; }
  .home-service + .home-service { padding-left: 2rem; border-left: 1px solid var(--rule); }
}
.home-service h3 { font-size: 1.375rem; }
.home-service .more { color: var(--blue); font-weight: 700; }
.home-service:hover h3, .home-service:hover .more { text-decoration: underline; }
.home-service:hover { color: var(--text); }
.home-note { margin-top: 1.5rem; color: var(--muted); max-width: 44rem; }

.home-two { display: grid; gap: 0.5rem 3rem; }
@media (min-width: 56rem) { .home-two { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } .home-two .home-h2 { margin: 0; } }
.home-two .flow { max-width: 44rem; }
.home-steps { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.75rem; max-width: 44rem; }
.home-steps li::marker { color: var(--navy); font-weight: 700; }

/* Startseite: aufgeräumter Einstieg */
.intro2 { background: var(--mist); padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem); }
.intro2-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .intro2-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }
.intro2 h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); }
.intro2-facts {
  margin: 0; display: grid; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.5rem 1.5rem;
}
.intro2-facts div { padding: 1rem 0; }
.intro2-facts div + div { border-top: 1px solid var(--rule); }
.intro2-facts dt { font-size: var(--fs-small); color: var(--muted); }
.intro2-facts dd { margin: 0.15rem 0 0; color: var(--navy); font-weight: 700; font-size: 1.1875rem; line-height: 1.35; }

.head2 { display: grid; gap: 0.6rem; max-width: 44rem; margin-bottom: 2rem; }
.head2 p { color: var(--muted); }
.cards2 { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .cards2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.card2 {
  display: grid; grid-template-rows: auto 1fr auto; gap: 0.75rem;
  padding: 1.75rem 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); color: var(--text); text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.card2 h3 { font-size: 1.4375rem; }
.card2 .more { color: var(--blue); font-weight: 700; }
.card2:hover { border-color: var(--blue); color: var(--text); background: #fbfcfe; }
.card2:hover .more { text-decoration: underline; }
