/* ==========================================================================
   Kleinfeldt GmbH – Designsystem „Befund und Protokoll“
   ========================================================================== */

/* ---------- Fonts (lokal, Inter Variable) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --blue-700: #01568f;
  --blue-800: #0b4a78;
  --blue-50: #eaf2f8;
  --red-600: #da2b26;
  --red-700: #bf221e;
  --ink: #141617;
  --ink-2: #3b4349;
  --ink-3: #5b6670;
  --dark: #182027;
  --dark-2: #212326;
  --white: #ffffff;
  --grey-50: #f6f7f8;
  --grey-100: #eef1f3;
  --line: #d8dde1;
  --tint: #f1f6fa;
  --tint-2: #e4eef6;
  --tint-line: #d3e1ec;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.125rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.5vw, 2.625rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-caption: 0.875rem;
  --fs-label: 0.8125rem;

  --container: 1280px;
  --gutter: 32px;
  --pad: 40px;
  --section: 120px;
  --section-tight: 96px;

  --r-btn: 5px;
  --r-img: 4px;
  --r-card: 10px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}
@media (max-width: 1199px) {
  :root { --gutter: 24px; --pad: 28px; --section: 96px; --section-tight: 80px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --pad: 20px; --section: 72px; --section-tight: 64px; --header-h: 64px; }
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-blue :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 1199px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--grey { background: var(--grey-50); }
.measure { max-width: 66ch; }

/* Abschnitts-Index: Linie + Label */
.index {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.index__no { color: var(--ink); }
.index__code { margin-left: auto; letter-spacing: 0.1em; }
.on-dark .index { border-top-color: var(--line-dark); color: rgba(255, 255, 255, 0.62); }
.on-dark .index__no { color: var(--white); }
.index--fire .index__no::before {
  content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red-600);
  margin-right: 10px; vertical-align: 1px;
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.eyebrow { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.04em; color: var(--ink-3); margin-bottom: 20px; }
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Links & Buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--fs-small); color: var(--blue-700); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size 160ms var(--ease), color 160ms;
}
.link:hover { background-size: 100% 1px; color: var(--blue-800); }
.link .arrow { transition: transform 160ms var(--ease); }
.link:hover .arrow { transform: translateX(3px); }
.on-dark .link { color: var(--white); }

.prose a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-800); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color 140ms, border-color 140ms, color 140ms;
}
.btn .arrow { transition: transform 140ms var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
.btn--primary { background: var(--red-600); color: var(--white); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue-700); }
.btn--white:hover { background: var(--grey-100); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-small); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--white);
  transition: box-shadow 200ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 22, 23, 0.04); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height 200ms var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 60px; }
.brand { flex: none; display: block; }
.brand img { width: 168px; height: auto; transition: width 200ms var(--ease); }
.site-header.is-scrolled .brand img { width: 144px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer; border-radius: var(--r-btn);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--blue-700); }
.nav__link svg { transition: transform 160ms; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -220px; width: 860px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 24px 48px rgba(20, 22, 23, 0.08);
  padding: 32px; display: none; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: 28px;
}
.mega.is-open { display: grid; }
/* unsichtbare Brücke über den Abstand zwischen Menüpunkt und Panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega__col h3 { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega__col a { display: block; text-decoration: none; padding: 6px 0; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); }
.mega__col a:hover { color: var(--blue-700); }
.mega__col a.is-main { font-weight: 600; color: var(--ink); }
.mega__col--aside { border-left: 1px solid var(--line); padding-left: 28px; }

.header-contact { display: flex; align-items: center; gap: 20px; }
.phone { text-decoration: none; line-height: 1.25; text-align: right; }
.phone small { display: block; font-size: 12px; color: var(--ink-3); }
.phone strong { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.phone:hover strong { color: var(--blue-700); }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 200ms, opacity 200ms; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

@media (max-width: 1199px) {
  .nav, .header-contact .phone { display: none; }
  .header-contact { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 49;
    overflow-y: auto; padding: 24px var(--pad) 40px; border-top: 1px solid var(--line);
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav details { border-bottom: 1px solid var(--line); }
  .mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 600; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav details[open] summary svg { transform: rotate(180deg); }
  .mobile-nav details ul { padding-bottom: 16px; }
  .mobile-nav details a, .mobile-nav > ul > li > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
  .mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
  .mobile-nav > ul > li > a { min-height: 56px; font-weight: 600; color: var(--ink); }
  .mobile-nav__contact { margin-top: 28px; display: grid; gap: 12px; }
}
@media (max-width: 767px) {
  .brand img { width: 140px; }
  .site-header.is-scrolled .brand img { width: 128px; }
  .header-contact .btn { display: none; }
}

/* ---------- Bilder / Figure / Befundzeile ---------- */
.figure { margin: 0; }
.figure__media { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--grey-100); }
.figure__media picture { display: block; height: 100%; }
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure__cap {
  display: flex; gap: 16px; justify-content: space-between; align-items: baseline;
  padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line);
  font-size: var(--fs-caption); line-height: 1.45; color: var(--ink-2);
}
.figure__cap .code { flex: none; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-3); }
.on-dark .figure__cap { border-top-color: var(--line-dark); color: rgba(255, 255, 255, 0.75); }
.on-dark .figure__cap .code { color: rgba(255, 255, 255, 0.55); }
a.figure__media img { transition: transform 400ms var(--ease); }
a.figure__media:hover img { transform: scale(1.02); }

.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-5x4 { aspect-ratio: 5 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* Platzhalter für fehlende Fotos – bewusst kein Stock */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  border-radius: var(--r-img); color: var(--ink-3); padding: 24px;
  background-color: var(--grey-100);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.ph__inner { background: var(--grey-100); padding: 14px 18px; border: 1px dashed #b9c1c8; border-radius: var(--r-img); max-width: 30ch; }
.ph__inner strong { display: block; font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--ink-2); margin-bottom: 4px; }
.ph__inner span { font-size: var(--fs-caption); line-height: 1.45; }
.ph--dark { background-color: var(--dark-2); background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); }
.ph--dark .ph__inner { background: var(--dark-2); border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.7); }
.ph--dark .ph__inner strong { color: var(--white); }

/* ---------- Review-Markierungen (nur Prototyp) ---------- */
.tbv { text-decoration: underline dashed #c08a00 1px; text-underline-offset: 4px; }
.tbv::after {
  content: "prüfen"; display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; vertical-align: 2px;
  background: #fff3cd; color: #6b4e00; text-decoration: none;
}
.ki::after {
  content: "KI-Platzhalter"; display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; vertical-align: 2px;
  background: #e8e1f7; color: #4a2d8a;
}
.review-off .ki::after { display: none; }
.stock::after {
  content: "Stock"; display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; vertical-align: 2px;
  background: #e3eef7; color: #01568f;
}
.review-off .stock::after { display: none; }
.review-off .tbv { text-decoration: none; }
.review-off .tbv::after { display: none; }
.review-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 8px; align-items: center;
  background: var(--ink); color: var(--white); font-size: 12px; padding: 8px 12px; border-radius: 6px; border: 0; cursor: pointer;
}
@media (max-width: 767px) { .review-badge { bottom: 76px; } }

/* ==========================================================================
   Sections
   ========================================================================== */

/* 01 Hero */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__text { grid-column: 1 / span 7; display: flex; flex-direction: column; padding-right: clamp(0px, 3vw, 48px); }
.hero__media { grid-column: 8 / span 5; }
.hero h1 { max-width: 19ch; }
.hero__body { margin-top: 28px; max-width: 56ch; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hero__phone { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-3); }
.hero__phone a { color: var(--ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero__phone a:hover { color: var(--blue-700); }
.claim {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; color: var(--ink-2);
}
.hero__text .claim { margin-top: 48px; }
.claim .dot { color: var(--red-600); }

@media (max-width: 1199px) {
  .hero__text { grid-column: 1 / -1; padding-right: 0; }
  .hero__media { grid-column: 1 / -1; margin-top: 40px; }
  .hero__media .figure__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .link { justify-content: center; min-height: 44px; }
}

/* 02 Trust-Rail */
.trust { border-block: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 28px 28px 28px 0; text-decoration: none; display: flex; align-items: flex-start; gap: 16px; }
.trust__icon { flex: none; width: 32px; height: 32px; color: var(--blue-700); margin-top: 2px; }
.trust__text { display: block; }
a.trust__item:hover .trust__icon { color: var(--blue-800); }
.trust__item + .trust__item { padding-left: 28px; border-left: 1px solid var(--line); }
.trust__item strong { display: block; color: var(--ink); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 2px; }
.trust__text > span { font-size: var(--fs-small); color: var(--ink-3); }
a.trust__item:hover strong { color: var(--blue-700); }
@media (max-width: 1199px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item, .trust__item + .trust__item { padding: 18px 0; border-left: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line); }
}

/* 03 Schutz */
.protect__head { grid-column: 1 / span 6; }
.protect__intro { grid-column: 8 / span 5; align-self: end; color: var(--ink-2); }
.protect__cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: clamp(40px, 5vw, 72px); }
.protect__col { border-top: 1px solid var(--ink); padding-top: 20px; }
.protect__col .label { display: block; margin-bottom: 18px; }
.protect__col h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.protect__col p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }
@media (max-width: 1199px) {
  .protect__head, .protect__intro { grid-column: 1 / -1; }
  .protect__intro { margin-top: 20px; }
}
@media (max-width: 767px) { .protect__cols { grid-template-columns: 1fr; gap: 32px; } }

/* 04 Leistungen */
.services__head { grid-column: 1 / span 7; margin-bottom: clamp(40px, 5vw, 64px); }
.service-main { grid-column: 1 / span 5; }
.service-main .figure__media { aspect-ratio: 4 / 5; }
.service-main__body { margin-top: 28px; }
.svc-no { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-3); font-variant-numeric: tabular-nums; display: block; margin-bottom: 10px; }
.service-main h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: 14px; }
.service-main p { color: var(--ink-2); max-width: 52ch; margin-bottom: 20px; }
.services__side { grid-column: 7 / span 6; display: flex; flex-direction: column; }
.service-row { padding: 28px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top-color: var(--ink); padding-top: 24px; }
.service-row h3 { margin-bottom: 10px; }
.service-row p { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; margin-bottom: 14px; }
.service-more { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.service-more .label { display: block; margin-bottom: 12px; }
.service-more li a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
}
.service-more li a:hover { color: var(--blue-700); }
.service-more li a .arrow { color: var(--ink-3); transition: transform 160ms var(--ease); }
.service-more li a:hover .arrow { transform: translateX(3px); color: var(--blue-700); }
@media (max-width: 1199px) {
  .services__head, .service-main, .services__side { grid-column: 1 / -1; }
  .service-main .figure__media { aspect-ratio: 3 / 2; }
  .services__side { margin-top: 48px; }
}

/* 05/06 Feature */
.feature__media { grid-column: 1 / span 6; }
.feature__text { grid-column: 8 / span 5; align-self: center; }
.feature--flip .feature__media { grid-column: 8 / span 5; grid-row: 2; }
.feature--flip .feature__text { grid-column: 1 / span 6; grid-row: 2; }
.feature__text h2 { margin-bottom: 28px; }
.feature__text .prose { color: var(--ink-2); }
.aspects { margin: 32px 0; border-top: 1px solid var(--line); }
.aspects li { display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.55; }
.aspects li .label { padding-top: 2px; }
.aspects li strong { display: block; color: var(--ink); }
.aspects li span { color: var(--ink-2); }
.feature__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pair { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: end; }
.pair .figure__media { aspect-ratio: 4 / 5; }
@media (max-width: 1199px) {
  .feature__media, .feature__text, .feature--flip .feature__media, .feature--flip .feature__text { grid-column: 1 / -1; grid-row: auto; }
  .feature__text { margin-top: 40px; }
  .feature--flip .feature__text { margin-top: 0; }
  .feature--flip .feature__media { margin-top: 40px; }
}

/* 07 Brandschutz (dunkel) */
.fire { background: var(--dark); color: rgba(255, 255, 255, 0.82); padding-block: calc(var(--section) + 24px); }
.fire h2 { color: var(--white); }
.fire__text { grid-column: 1 / span 6; }
.fire__text h2 { margin-bottom: 28px; max-width: 18ch; }
.fire__media { grid-column: 8 / span 5; }
.fire__media img { filter: grayscale(1) contrast(1.05); }
.fire-links { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.fire-links a {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; color: var(--white);
}
.fire-links a small { display: block; font-size: var(--fs-caption); color: rgba(255, 255, 255, 0.6); font-weight: 400; margin-top: 2px; }
.fire-links a span:first-child { font-weight: 600; }
.fire-links .arrow { transition: transform 160ms var(--ease); }
.fire-links a:hover .arrow { transform: translateX(4px); }
.fire-links a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fire-note { margin-top: 28px; font-size: var(--fs-caption); color: rgba(255, 255, 255, 0.6); }
@media (max-width: 1199px) {
  .fire__text, .fire__media { grid-column: 1 / -1; }
  .fire__media { margin-top: 48px; }
}

/* 08 Prozess */
.process__head { grid-column: 1 / span 6; margin-bottom: clamp(40px, 5vw, 64px); }
.process__intro { grid-column: 8 / span 5; align-self: end; color: var(--ink-2); margin-bottom: clamp(40px, 5vw, 64px); }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.steps::after {
  content: ""; position: absolute; left: 0; top: 6px; height: 3px; width: 100%; background: var(--blue-700);
  transform-origin: left;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
.step { position: relative; padding-top: 40px; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-700); }
.step__no { display: block; font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--blue-700); font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }
.process__foot { grid-column: 1 / -1; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: var(--fs-small); color: var(--ink-3); }
@media (max-width: 1199px) {
  .process__head, .process__intro { grid-column: 1 / -1; }
  .process__head { margin-bottom: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 32px; }
  .steps::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding: 0 0 36px; }
  .step::before { left: -32px; top: 4px; }
  .step__no { font-size: 1.75rem; }
}

/* 09 Einblicke */
.insights__head { grid-column: 1 / span 6; }
.insights__intro { grid-column: 8 / span 5; align-self: end; color: var(--ink-2); }
.mosaic { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-top: clamp(40px, 5vw, 64px); }
.mosaic__a { grid-column: 1 / span 8; }
.mosaic__a .figure__media { aspect-ratio: 3 / 2; }
.mosaic__b { grid-column: 9 / span 4; display: grid; gap: var(--gutter); align-content: start; }
.mosaic__b .figure__media { aspect-ratio: 4 / 3; }
.mosaic__c { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.mosaic__c .figure__media { aspect-ratio: 4 / 3; }
@media (max-width: 1199px) {
  .insights__head, .insights__intro { grid-column: 1 / -1; }
  .insights__intro { margin-top: 20px; }
  .mosaic__a, .mosaic__b { grid-column: 1 / -1; }
  .mosaic__b { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .mosaic__b, .mosaic__c { grid-template-columns: 1fr; }
}

/* 10 Branchen */
.sectors__head { grid-column: 1 / span 5; }
.sectors__table { grid-column: 7 / span 6; }
.sector {
  display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.sector:first-child { border-top: 1px solid var(--ink); }
.sector strong { font-weight: 600; }
.sector span { font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); }
.sector .arrow { color: var(--ink-3); transition: transform 160ms var(--ease); }
.sector:hover strong { color: var(--blue-700); }
.sector:hover .arrow { transform: translateX(3px); color: var(--blue-700); }
@media (max-width: 1199px) {
  .sectors__head, .sectors__table { grid-column: 1 / -1; }
  .sectors__table { margin-top: 40px; }
}
@media (max-width: 767px) {
  .sector { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .sector strong { grid-column: 1; grid-row: 1; }
  .sector span { grid-column: 1; grid-row: 2; }
  .sector .arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* 11 Expertise */
.expert__media { grid-column: 1 / span 4; }
.expert__text { grid-column: 6 / span 7; align-self: center; }
.expert__text h2 { margin-bottom: 24px; }
.expert__text .prose { color: var(--ink-2); max-width: 58ch; }
.monogram {
  aspect-ratio: 4 / 5; border-radius: var(--r-img); background: var(--grey-100); color: var(--blue-700); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
}
.monogram b { font-size: clamp(4rem, 3rem + 4vw, 7rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.monogram span { font-size: var(--fs-caption); color: var(--ink-3); }
.facts { margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 16px 20px 16px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: var(--fs-small); line-height: 1.45; }
@media (max-width: 1199px) {
  .expert__media { grid-column: 1 / span 3; }
  .expert__text { grid-column: 4 / -1; }
}
@media (max-width: 767px) {
  .expert__media { grid-column: 1 / span 3; }
  .expert__text { grid-column: 1 / -1; margin-top: 32px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* 12 Ratgeber */
.guides__head { grid-column: 1 / span 8; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.guides__all { grid-column: 9 / span 4; justify-self: end; align-self: end; }
.guides { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: clamp(40px, 5vw, 56px); }
.guide {
  position: relative; display: flex; flex-direction: column; min-height: 280px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white);
  transition: border-color 160ms;
}
.guide:hover { border-color: var(--blue-700); }
.guide .label { display: flex; justify-content: space-between; margin-bottom: 28px; }
.guide h3 { font-size: 1.3125rem; line-height: 1.3; margin-bottom: 12px; }
.guide h3 a { text-decoration: none; }
.guide h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.guide p { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
.guide__meta { margin-top: auto; padding-top: 24px; font-size: var(--fs-caption); color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) {
  .guides__head { grid-column: 1 / -1; }
  .guides__all { grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
  .guides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) { .guides { grid-template-columns: 1fr; } .guide { min-height: 0; } }

/* 13 FAQ */
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center;
  padding: 22px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-700); }
.faq__icon { position: relative; width: 16px; height: 16px; justify-self: end; transition: transform 200ms var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 26px 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.7; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq__item { interpolate-size: allow-keywords; }
    .faq__item::details-content { height: 0; overflow: clip; transition: height 220ms var(--ease), content-visibility 220ms allow-discrete; }
    .faq__item[open]::details-content { height: auto; }
  }
}
@media (max-width: 1199px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__list { margin-top: 40px; }
  .faq__answer { padding-right: 0; }
}

/* 14 Abschluss-CTA */
.cta { background: var(--blue-700); color: rgba(255, 255, 255, 0.86); }
.cta h2 { color: var(--white); margin-bottom: 20px; max-width: 16ch; }
.cta__text { grid-column: 1 / span 5; }
.cta__form { grid-column: 7 / span 6; }
.cta__contact { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: var(--fs-small); }
.cta__contact a { color: var(--white); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; font-size: 1.25rem; display: inline-block; margin: 4px 0; }
.cta__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.form-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form-card > p { font-size: var(--fs-small); color: var(--ink-3); margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: var(--fs-small); font-weight: 500; }
.field input, .field select {
  height: 52px; padding: 0 14px; border: 1px solid #c3cbd2; border-radius: var(--r-btn); background: var(--white);
  font-size: 1rem; transition: border-color 140ms, box-shadow 140ms;
}
.field textarea { min-height: 140px; padding: 12px 14px; border: 1px solid #c3cbd2; border-radius: var(--r-btn); background: var(--white); font-size: 1rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(1, 86, 143, 0.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: var(--fs-caption); color: var(--ink-3); margin: 4px 0 20px; }
.form-note a { color: var(--blue-700); }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 1199px) {
  .cta__text, .cta__form { grid-column: 1 / -1; }
  .cta__form { margin-top: 40px; }
}
@media (max-width: 767px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Kontakt, Rechtliches */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); margin: 24px 0 8px; }
.contact-grid > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-grid .label { display: block; margin-bottom: 6px; }
.contact-grid a { color: var(--blue-700); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article.contact-main { grid-column: 1 / span 7; }
.contact-form { grid-column: 8 / span 5; }
.form-card--line { border: 1px solid var(--line); }
.form-card__title { font-size: 1.25rem; margin-bottom: 4px; }
@media (max-width: 1199px) { .article.contact-main, .contact-form { grid-column: 1 / -1; } .contact-form { margin-top: 40px; } }
.legal { max-width: 760px; padding-top: 16px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.draft-note { margin: 0 0 32px; padding: 16px 20px; background: #fff6d6; border-left: 3px solid #c08a00; font-size: var(--fs-small); }
.review-off .draft-note { display: none; }

/* 15 Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding-top: clamp(64px, 7vw, 104px); font-size: var(--fs-small); line-height: 1.6; }
.footer__brand { grid-column: 1 / span 4; }
.footer__brand img { width: 168px; margin-bottom: 24px; }
.footer__brand p { max-width: 36ch; }
.footer__nap { margin-top: 24px; font-style: normal; }
.footer__nap a { color: var(--white); text-decoration: none; }
.footer__nap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__cols { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.footer__cols h2 { font-size: var(--fs-label); letter-spacing: 0.08em; font-weight: 500; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer__cols li { margin-bottom: 8px; }
.footer__cols a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.footer__cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  margin-top: clamp(56px, 6vw, 88px); padding-block: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: var(--fs-caption);
}
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }
.footer__claim { letter-spacing: 0.14em; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.footer__claim .dot { color: var(--red-600); }
@media (max-width: 1199px) {
  .footer__brand, .footer__cols { grid-column: 1 / -1; }
  .footer__cols { margin-top: 48px; grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

/* Mobile Action Bar */
.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--white); border-top: 1px solid var(--line);
    padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom));
    gap: 8px; transform: translateY(110%); transition: transform 220ms var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 48px; }
  body { padding-bottom: 0; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .steps::after { transform: scaleX(1); }
}

/* ---------- Mobile Feinschliff ---------- */
@media (max-width: 767px) {
  .figure__cap { flex-direction: column; gap: 2px; }
  .figure__cap > span { min-width: 0; overflow-wrap: anywhere; }
  .hero__text .claim { margin-top: 32px; }
  .service-main h3 { font-size: 1.625rem; }
}
@media (max-width: 1199px) {
  .site-header.is-scrolled .site-header__inner { height: var(--header-h); }
}

/* ==========================================================================
   Leistungsseiten-Vorlage
   ========================================================================== */
.breadcrumb { padding-top: 24px; font-size: var(--fs-caption); color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); }

.svc-hero { padding: 32px 0 56px; }
.svc-hero__text { grid-column: 1 / span 7; padding-right: clamp(0px, 3vw, 40px); }
.svc-hero__media { grid-column: 8 / span 5; align-self: start; }
.svc-hero h1 { font-size: clamp(2rem, 1.45rem + 1.9vw, 3rem); max-width: 20ch; }
.svc-hero .answer { margin-top: 24px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-2); max-width: 60ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 32px; }
.svc-hero__meta { margin-top: 28px; font-size: var(--fs-caption); color: var(--ink-3); }
.svc-hero__meta a { color: var(--ink-2); }
@media (max-width: 1199px) {
  .svc-hero__text, .svc-hero__media { grid-column: 1 / -1; padding-right: 0; }
  .svc-hero__media { margin-top: 36px; }
}

.facts-strip { border-block: 1px solid var(--line); background: var(--grey-50); }
.facts-strip dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.facts-strip dl > div { padding: 20px 24px 20px 0; display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: start; }
.facts-strip .fs-icon { grid-row: span 2; color: var(--blue-700); margin-top: 3px; }
.facts-strip dl > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-strip dt { font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 4px; }
.facts-strip dd { margin: 0; font-weight: 600; font-size: var(--fs-small); line-height: 1.45; }
@media (max-width: 1199px) {
  .facts-strip dl { grid-template-columns: 1fr 1fr; }
  .facts-strip dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-strip dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .facts-strip dl { grid-template-columns: 1fr; }
  .facts-strip dl > div, .facts-strip dl > div + div { padding: 14px 0; border-left: 0; }
  .facts-strip dl > div + div { border-top: 1px solid var(--line); }
}

.page-body { padding-block: clamp(56px, 7vw, 96px); }
.toc { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-small); }
.toc .label { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.toc nav a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.4; }
.toc nav a:hover, .toc nav a[aria-current="true"] { color: var(--blue-700); }
.toc-card { margin-top: 28px; padding: 20px; background: var(--grey-50); border-radius: var(--r-card); }
.toc-card p { font-size: var(--fs-caption); color: var(--ink-2); margin-bottom: 12px; }
.toc-card .phone-big { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.toc-card .btn { width: 100%; }
.article { grid-column: 5 / span 8; min-width: 0; }
@media (max-width: 1199px) {
  .toc { display: none; }
  .article { grid-column: 1 / -1; }
}

.article > section + section { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); }
.article h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); margin-bottom: 20px; max-width: 26ch; scroll-margin-top: calc(var(--header-h) + 24px); }
.article h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.article .prose { max-width: 66ch; color: var(--ink-2); }
.article .prose ul.list { margin: 0 0 1em; }
.list li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.list li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }
.answer-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); margin-bottom: 20px; max-width: 60ch; }

.fig-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 36px 0 0; }
.fig-row .figure__media { aspect-ratio: 4 / 5; }
@media (max-width: 767px) { .fig-row { grid-template-columns: 1fr 1fr; } .fig-row .figure:last-child { grid-column: 1 / -1; } .fig-row .figure:last-child .figure__media { aspect-ratio: 4 / 3; } }

.table-wrap { margin: 28px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.55; min-width: 620px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.table thead th { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); padding-top: 12px; }
.table tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.table td { color: var(--ink-2); }
.table-note { font-size: var(--fs-caption); color: var(--ink-3); margin-top: -12px; }

.callout { margin: 32px 0; padding: 24px 28px; background: var(--blue-50); border-left: 3px solid var(--blue-700); border-radius: 0 var(--r-card) var(--r-card) 0; }
.callout h3 { margin: 0 0 10px; font-size: 1.0625rem; }
.callout p, .callout li { font-size: var(--fs-small); color: var(--ink-2); }
.callout--fire { background: var(--grey-50); border-left-color: var(--red-600); }

.vsteps { counter-reset: v; border-top: 1px solid var(--ink); margin-top: 24px; }
.vsteps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.vsteps .no { font-size: 1.5rem; font-weight: 600; color: var(--blue-700); font-variant-numeric: tabular-nums; line-height: 1.2; }
.vsteps h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.vsteps p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 20px 0; border-top: 1px solid var(--line); }
.check-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: var(--fs-small); color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700); transform: rotate(-45deg); }
@media (max-width: 767px) { .check-list { grid-template-columns: 1fr; } }

.link-rows { border-top: 1px solid var(--ink); margin-top: 20px; }
.link-rows a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.link-rows a strong { display: block; font-weight: 600; }
.link-rows a small { display: block; font-size: var(--fs-caption); color: var(--ink-3); }
.link-rows a .arrow { color: var(--ink-3); transition: transform 160ms var(--ease); }
.link-rows a:hover strong { color: var(--blue-700); }
.link-rows a:hover .arrow { transform: translateX(3px); color: var(--blue-700); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }

.expert-box { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); margin-top: 8px; }
.expert-box .figure__media { aspect-ratio: 4 / 5; }
.expert-box p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.expert-box strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.expert-box .label { display: block; margin-bottom: 8px; }
@media (max-width: 479px) { .expert-box { grid-template-columns: 88px 1fr; gap: 16px; padding: 16px; } }

.article .faq__list { border-top: 1px solid var(--ink); }
@media (max-width: 767px) {
  .table-wrap { overflow: visible; }
  .table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table tbody th, .table tbody td { display: block; width: auto; border: 0; padding: 2px 0; }
  .table tbody th { font-size: 1rem; margin-bottom: 6px; }
  .table tbody td::before { content: attr(data-label); display: block; font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--ink-3); margin-top: 6px; }
}

/* ---------- Autorenseite ---------- */
.profile { padding: 32px 0 clamp(56px, 7vw, 96px); }
.profile__media { grid-column: 1 / span 4; }
.profile__text { grid-column: 6 / span 7; align-self: center; }
.profile__role { margin-top: 12px; font-size: var(--fs-lead); color: var(--ink-2); }
.profile__text .prose { margin-top: 28px; color: var(--ink-2); max-width: 60ch; }
.profile__text .facts { margin-top: 32px; }
@media (max-width: 1199px) { .profile__media { grid-column: 1 / span 3; } .profile__text { grid-column: 4 / -1; } }
@media (max-width: 767px) { .profile__media { grid-column: 1 / span 3; } .profile__text { grid-column: 1 / -1; margin-top: 28px; } }
.posts { border-top: 1px solid var(--ink); }
.post-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row strong { font-weight: 600; }
.post-row:hover strong { color: var(--blue-700); }
.post-row .label { white-space: nowrap; }
.post-row small { grid-column: 1 / -1; font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 767px) { .post-row { grid-template-columns: 1fr; } }

/* ---------- Ampel (Befundbewertung) ---------- */
.ampel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; background: var(--white); }
.ampel__title { font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 16px; }
.ampel ol { border-top: 1px solid var(--ink); }
.ampel li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ampel .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; }
.ampel .dot--g { background: #2f8f4e; } .ampel .dot--y { background: #e0a400; } .ampel .dot--r { background: var(--red-600); }
.ampel strong { display: block; font-size: 1.0625rem; }
.ampel span.txt { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.55; }

/* ---------- Branchenseiten ---------- */
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--ink); }
.problem { padding: 22px 0; border-bottom: 1px solid var(--line); }
.problem h3 { margin: 0 0 8px; font-size: 1.125rem; }
.problem p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.65; }
.problem a { color: var(--blue-700); }
.branch-aside { grid-column: 10 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.branch-aside .toc-card { margin-top: 0; }
@media (max-width: 1199px) { .branch-aside { display: none; } .article[style] { grid-column: 1 / -1 !important; } }
@media (max-width: 767px) { .problems { grid-template-columns: 1fr; } }


/* ==========================================================================
   Farbe: Flächen und Kopfzeile (freigegeben 14.10.2026: Kontaktleiste + weißes Menü, hellblaue Flächen)
   ========================================================================== */
/* Flächen: hellblaue Bänder trennen die Abschnitte */
.band { background: var(--tint); }
.trust.band { background: var(--tint); border-color: var(--tint-line); }
.trust__item + .trust__item { border-left-color: var(--tint-line); }
.facts-strip { background: var(--tint); border-color: var(--tint-line); }
.toc-card { background: var(--tint); }
.band .card, .band .form-card { background: var(--white); }
/* Leistungs-, Branchen- und Ratgeberseiten: jeder zweite Block auf hellblauer Fläche */
.article > section + section { border-top: 0; padding-top: 0; }
.article > section:nth-of-type(even) {
  background: var(--tint); border-radius: var(--r-card);
  padding: clamp(28px, 3.5vw, 48px); margin-inline: calc(-1 * clamp(0px, 2.5vw, 40px));
}
.article > section:nth-of-type(even) .faq__item,
.article > section:nth-of-type(even) .table,
.article > section:nth-of-type(even) .link-rows a { background: transparent; }
.article > section:nth-of-type(even) .callout { background: var(--white); }
.article > section:nth-of-type(even) .expert-box { background: var(--white); }
@media (max-width: 767px) {
  .article > section:nth-of-type(even) { margin-inline: calc(-1 * var(--pad)); border-radius: 0; padding: 32px var(--pad); }
}

/* Kopf: dunkelblaue Kontaktleiste, darunter weißes Menü mit blauer Linie */
.topbar { display: block; background: var(--blue-800); color: rgba(255, 255, 255, 0.78); font-size: 13px; overflow: hidden; max-height: 40px; transition: max-height 200ms var(--ease); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 36px; }
.topbar__contact { display: flex; gap: 20px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header { border-bottom: 3px solid var(--blue-700); }
.site-header.is-scrolled .topbar { max-height: 0; }
.header-contact .phone { display: none; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--tint); color: var(--blue-700); }
@media (max-width: 1199px) {
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .mobile-nav { inset: calc(var(--header-h) + 39px) 0 0 0; }
}
@media (max-width: 767px) {
  .topbar__contact > span, .topbar__contact a[href^="mailto"] { display: none; }
}


/* Kopf ist fixiert: der Platz darunter bleibt immer gleich hoch (ausgeklappte Höhe),
   damit Einklappen beim Scrollen das Layout nicht verschiebt (sonst springt der Kopf auf kurzen Seiten). */
:root { --header-total: calc(var(--header-h) + 39px); }
body { padding-top: var(--header-total); }
html { scroll-padding-top: calc(var(--header-total) + 16px); }

/* ==========================================================================
   Prüfmodus für die Abnahme (wird beim Livegang-Build entfernt)
   ========================================================================== */
[data-tbv-id] { cursor: pointer; border-radius: 2px; }
[data-tbv-id]:hover { background: #fff7dc; }
[data-tbv-id]:focus-visible { outline: 2px solid #c08a00; outline-offset: 2px; }
[data-tbv-id][data-status="ok"] { text-decoration-color: #2e7d4f; }
[data-tbv-id][data-status="ok"]::after { content: "✓ stimmt"; background: #dcf1e3; color: #1e5e39; }
[data-tbv-id][data-status="aendern"] { text-decoration-color: var(--red-600); }
[data-tbv-id][data-status="aendern"]::after { content: "ändern"; background: #fbe0df; color: #a01c18; }
.tbv-flash { background: #ffe58a !important; box-shadow: 0 0 0 4px #ffe58a; transition: background 300ms; }
.review-off [data-tbv-id] { cursor: auto; }
.review-off [data-tbv-id]:hover { background: none; }

.pruef { position: fixed; left: 16px; bottom: 16px; z-index: 70; font-size: 14px; line-height: 1.45; }
.pruef[hidden] { display: none; }
.pruef__toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff3cd; color: #5a4100; border: 2px solid #c08a00; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.pruef__toggle[aria-expanded="true"] { background: #6b4e00; color: var(--white); border-color: #6b4e00; }
.pruef__count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: #c08a00; color: var(--white); font-size: 12px; text-align: center; }
.pruef__panel {
  position: absolute; left: 0; bottom: calc(100% + 10px); width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - var(--header-total) - 90px); display: flex; flex-direction: column;
  background: var(--white); border: 2px solid #6b4e00; border-radius: 12px; box-shadow: 0 24px 60px rgba(20, 22, 23, 0.25); overflow: hidden;
}
.pruef__panel[hidden] { display: none; }
.pruef__tabs { display: flex; gap: 6px; padding: 12px 12px 0; }
.pruef__tabs [role="tab"] { flex: 1; padding: 8px 6px; border: 1px solid #e3cf8f; background: #fff8e1; color: var(--ink); border-radius: 6px; cursor: pointer; font-weight: 500; }
.pruef__tabs [role="tab"][aria-selected="true"] { background: #6b4e00; color: var(--white); border-color: #6b4e00; }
.pruef__close { width: 36px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink-3); }
.pruef__body { overflow-y: auto; padding: 12px; flex: 1; }
.pruef__foot { padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--grey-50); }
.pruef__progress { height: 6px; background: var(--tint-2); border-radius: 3px; overflow: hidden; }
.pruef__progress span { display: block; height: 100%; width: 0; background: #2e7d4f; transition: width 200ms; }
.pruef__progress-text { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.pruef-note { margin: 0 0 12px; padding: 10px 12px; background: var(--grey-50); border-radius: 8px; color: var(--ink-2); }

.pruef-i { margin-bottom: 8px; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid #e9c46a; border-radius: 8px; background: var(--white); }
.pruef-i[data-status="ok"] { border-left-color: #2e7d4f; }
.pruef-i[data-status="aendern"] { border-left-color: var(--red-600); }
.pruef-i__head { display: flex; width: 100%; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.pruef-i__text { font-weight: 500; }
.pruef-i__head:hover .pruef-i__text { color: var(--blue-700); }
.pruef-i__chip { flex: none; padding: 1px 10px; border-radius: 999px; background: var(--grey-100); font-size: 12px; color: var(--ink-2); }
.pruef-i[data-status="ok"] .pruef-i__chip { background: #dcf1e3; color: #1e5e39; }
.pruef-i[data-status="aendern"] .pruef-i__chip { background: #fbe0df; color: #a01c18; }
.pruef-i__meta { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.pruef-i__hint { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.pruef-i__answer { margin-top: 10px; }
.pruef-i__answer[hidden] { display: none; }
.pruef-i__choice { display: flex; gap: 6px; margin-bottom: 8px; }
.pruef-i__choice button { flex: 1; min-height: 38px; border: 1px solid #c3cbd2; background: var(--white); border-radius: var(--r-btn); cursor: pointer; font-weight: 500; font-size: 13px; }
.pruef-i__choice [data-set="ok"][aria-pressed="true"] { background: #2e7d4f; border-color: #2e7d4f; color: var(--white); }
.pruef-i__choice [data-set="aendern"][aria-pressed="true"] { background: var(--red-600); border-color: var(--red-600); color: var(--white); }
.pruef-i textarea, .pruef-send input { width: 100%; padding: 8px 10px; border: 1px solid #c3cbd2; border-radius: var(--r-btn); font: inherit; font-size: 14px; background: var(--white); resize: vertical; }
.pruef-i__show { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--blue-700); font-size: 13px; text-decoration: underline; cursor: pointer; }

.pruef-g { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px; }
.pruef-g > summary { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; cursor: pointer; font-weight: 600; list-style: none; background: var(--grey-50); border-radius: 8px; }
.pruef-g > summary::-webkit-details-marker { display: none; }
.pruef-g[open] > summary { border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--line); }
.pruef-g__count { flex: none; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.pruef-g__link { display: block; padding: 8px 12px 0; font-size: 13px; color: var(--blue-700); }
.pruef-g .pruef-i { margin: 8px; }
.pruef-filter { display: flex; gap: 4px; margin: 12px 0; }
.pruef-filter button { flex: 1; padding: 6px; border: 1px solid #c3cbd2; background: var(--white); border-radius: var(--r-btn); cursor: pointer; font-size: 13px; }
.pruef-filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pruef-send { padding: 12px; background: var(--tint); border-radius: 8px; }
.pruef-send label { display: block; font-weight: 500; margin-bottom: 4px; }
.pruef-send__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pruef-btn { padding: 8px 12px; border: 1px solid #c3cbd2; background: var(--white); border-radius: var(--r-btn); cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; }
.pruef-btn--primary { background: var(--red-600); border-color: var(--red-600); color: var(--white); }
.pruef-send__status { margin: 8px 0 0; font-size: 13px; font-weight: 500; }
.pruef-send__status:empty { display: none; }
.pruef-send__status[data-ok="false"] { color: var(--red-700); }
.pruef-send__status[data-ok="true"] { color: #1e5e39; }
.pruef-help ol { padding-left: 20px; margin: 8px 0 12px; }
.pruef-help li { margin-bottom: 6px; }
.pruef-help mark { background: #fff3cd; }
.tbv-demo { padding: 0 6px; border-radius: 3px; background: #fff3cd; }
.tbv-demo--ok { background: #dcf1e3; }
.tbv-demo--ch { background: #fbe0df; }
@media (max-width: 767px) {
  .pruef { left: 8px; bottom: 76px; }
  .pruef__panel { position: fixed; left: 8px; right: 8px; bottom: 132px; width: auto; max-height: calc(100vh - 210px); }
}
