/* =============================================================================
   Netscher & Partner – Redesign-Vorschau
   Markenfarben exakt aus dem Original-Theme (Elementor-Kit, post-23):
     primary   #0c2e4e  (Dunkelblau)
     secondary #dde8dd  (Salbeigrün, auch "accent")
     text      #333333
   Ergänzt nur um neutrale Flächen- und Linientöne.
   Schrift: Open Sans (Original-Hausschrift, lokal eingebunden, OFL-Lizenz)
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/opensans-latin.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: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/opensans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/opensans-italic-latin.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;
}

:root {
  /* Marke (Original) */
  --navy: #0c2e4e;
  --sage: #dde8dd;
  --ink: #333333;
  --white: #ffffff;

  /* Abgeleitete Töne – nur Mischungen der Markenfarben mit Weiß (keine neuen Farben).
     Erste Zeile jeweils Rückfallwert für Browser ohne color-mix(). */
  --paper: #f5f8f5;
  --paper: color-mix(in srgb, var(--sage) 30%, var(--white));          /* sehr helle Fläche */
  --muted: #5c5c5c;
  --muted: color-mix(in srgb, var(--ink) 80%, var(--white));           /* Nebentext, 6,6:1 auf Weiß */
  --navy-hover: #38546e;
  --navy-hover: color-mix(in srgb, var(--navy) 82%, var(--white));     /* nur Hover-Zustände */
  --ui-border: #798c9e;
  --ui-border: color-mix(in srgb, var(--navy) 55%, var(--white));      /* Formularrahmen, ≥ 3:1 */
  --ui-border-strong: color-mix(in srgb, var(--navy) 70%, var(--white));
  --line: rgba(12, 46, 78, .14);
  --line-strong: rgba(12, 46, 78, .26);
  --on-navy-muted: rgba(255, 255, 255, .82);
  /* Funktionsfarben (keine Markenfarben): Bewertungssterne wie bei Google, Fehler/Erfolg/Entwurfshinweise */
  --star: #a67300;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(12, 46, 78, .06), 0 1px 6px rgba(12, 46, 78, .05);
  --shadow: 0 2px 4px rgba(12, 46, 78, .04), 0 12px 32px -12px rgba(12, 46, 78, .18);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(44px, 5.6vw, 84px);
  --header-h: 76px;
  --measure: 68ch;
}

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.7 "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
figure { margin: 0; }
svg.i { width: 20px; height: 20px; flex: none; }
.draft-bar svg.i { width: 18px; height: 18px; }
img { height: auto; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--navy-hover); text-decoration-thickness: 2px; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
li > p { margin-bottom: .35em; }
li::marker { color: var(--navy); }
strong { font-weight: 650; color: inherit; }
/* Hervorhebungen (im Original unterstrichen, keine Links):
   Markenfarbe mit geringer Deckkraft als Hintergrund, etwas kräftigere Schrift.
   Auf hellen Flächen Dunkelblau, auf dunkelblauen Flächen Salbeigrün. */
u {
  padding: .06em .2em;
  margin: 0 -.08em;            /* gleicht den Innenabstand aus: keine Lücke vor Satzzeichen */
  border-radius: .3em;
  background-color: rgba(12, 46, 78, .085);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--sage u, .page-hero u, .home-hero u, .contact u, .card--sage u { background-color: rgba(12, 46, 78, .1); }
.on-navy u { background-color: rgba(221, 232, 221, .17); color: var(--white); }
.on-navy .card--sage u { background-color: rgba(12, 46, 78, .1); color: var(--navy); }
strong u, u strong { font-weight: 650; }
/* Einleitungszeilen, die im Original komplett unterstrichen waren (z. B. „Mein Motto:“): keine Fläche, nur kräftig */
u.u-line { padding: 0; margin: 0; border-radius: 0; background: none; font-weight: 650; }
/* Sicherheitsnetz: Links behalten immer ihre Link-Darstellung */
a u { padding: 0; margin: 0; background: none; color: inherit; font-weight: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); line-height: 1.3; }
h4 { font-size: 1.05rem; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--sage); }
::selection { background: var(--sage); color: var(--navy); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > :last-child, .card > :last-child, .stack > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: var(--radius-s); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border: 1.5px solid var(--btn-bd); border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.25 inherit; font-family: inherit; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { --btn-bg: var(--navy-hover); --btn-bd: var(--navy-hover); color: var(--btn-fg); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover { box-shadow: 0 6px 18px -8px rgba(12, 46, 78, .5); transform: translateY(-1px); } }
.btn:active { transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--sage { --btn-bg: var(--sage); --btn-fg: var(--navy); --btn-bd: var(--sage); }
.btn--sage:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-row--center { justify-content: center; }
.on-navy .btn:not(.btn--sage):not(.btn--outline-light) { --btn-bg: var(--sage); --btn-fg: var(--navy); --btn-bd: var(--sage); }
.on-navy .btn:not(.btn--sage):not(.btn--outline-light):hover { --btn-bg: var(--white); --btn-bd: var(--white); }

/* ---------------------------------------------------------------- Entwurfs-Hinweise (nur Vorschau) */
.draft-bar { background: #fff6d6; color: #4a3b00; font-size: .875rem; line-height: 1.5; border-bottom: 1px solid #ecd9a0; }
.draft-bar .container { display: flex; gap: 10px; align-items: center; padding-block: 8px; }
.draft-bar strong { white-space: nowrap; }
.draft-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius-s);
  background: #fff6d6; border: 1px dashed #c9a63a; color: #4a3b00; font-size: .9rem; line-height: 1.5;
}
.draft-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.img-credit { margin-top: 8px; font-size: .78rem; line-height: 1.4; color: var(--muted); }
.on-navy .img-credit { color: var(--on-navy-muted); }
.img-credit a { color: inherit; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 46, 78, .45); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { width: auto; height: 44px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 8px 12px; border-radius: 10px;
  color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
}
.nav__link:hover { background: var(--paper); text-decoration: none; color: var(--navy); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__group > .nav__link { box-shadow: inset 0 -2px 0 var(--navy); border-radius: 10px 10px 0 0; }
.nav__group { display: flex; align-items: center; }
.nav__group .nav__link { padding-right: 4px; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 30px; height: 44px; margin-left: -2px;
  border: 0; border-radius: 8px; background: none; color: var(--navy); cursor: pointer;
}
.nav__toggle:hover { background: var(--paper); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 10;
  min-width: 300px; margin: 0; padding: 8px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1100px) {
  .nav__item:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy); font-weight: 500; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sage); }
.header-cta { flex: none; }
.burger {
  display: none; place-items: center; width: 48px; height: 48px; margin-right: -6px;
  border: 0; border-radius: 12px; background: none; color: var(--navy); cursor: pointer;
}
.burger:hover { background: var(--paper); }
.burger svg { width: 26px; height: 26px; }
.burger .i-close { display: none; }
.menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: block; }

/* Mobile Navigation */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 16px var(--gutter) 40px;
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-open .mobile-nav { visibility: visible; opacity: 1; transform: none; }
.menu-open { overflow: hidden; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; padding: 6px 4px; color: var(--navy); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.mobile-nav .sub a { min-height: 46px; padding-left: 16px; font-weight: 500; font-size: 1rem; }
.mobile-nav .sub { padding-bottom: 10px; }
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.mobile-nav .btn { width: 100%; margin-top: 24px; color: var(--white); font-size: 1.05rem; }
.mobile-nav__contact { margin-top: 24px; color: var(--muted); font-size: .95rem; }
.mobile-nav__contact a { display: inline; min-height: 0; padding: 0; font-size: inherit; font-weight: 600; }

@media (max-width: 1099px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-grid; }
  .brand img { height: 38px; }
  :root { --header-h: 68px; }
}
@media (min-width: 1100px) { .mobile-nav { display: none; } }

/* ---------------------------------------------------------------- Sektionen */
.section { padding-block: var(--section-y); }
.section + .section--white, .section--white + .section:not(.section--sage):not(.section--navy) { }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--sage { background: var(--sage); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4, .on-navy strong { color: var(--white); }
.on-navy a:not(.btn) { color: var(--white); }
.on-navy li::marker { color: var(--sage); }
.section--white + .section--white, .section--sage + .section--sage, .section--navy + .section--navy { padding-top: 0; }

.section-head { max-width: 820px; margin-bottom: clamp(22px, 2.8vw, 34px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }
.lead { font-size: 1.12rem; }

/* Split: Text + Bild */
.split { display: grid; gap: clamp(24px, 3.6vw, 56px); align-items: center; }
.split + .split { margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .split, .split--media-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--media-first .split__media { order: -1; }
  .split--top { align-items: start; }
  .split--top .split__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.split__text > :last-child { margin-bottom: 0; }
.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius-l); }
.media--photo img { box-shadow: var(--shadow); }
.media--cutout { display: flex; justify-content: center; align-items: flex-end; }
.media--cutout img { width: auto; height: clamp(340px, 42vw, 520px); max-width: 100%; object-fit: contain; object-position: bottom; border-radius: 0; }
/* Freigestellte Fotos enden mit geradem Schnitt – unten sanft auslaufen lassen statt hart abzuschneiden */
.split__media.media--cutout img, .contact__photo img {
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.media figcaption { margin: 0; }

/* Überschrift links, Fließtext rechts */
.aside { display: grid; gap: 8px 64px; }
@media (min-width: 1000px) {
  .aside { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
  .aside__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .aside__head h2 { margin-bottom: 0; }
}
.aside__body { max-width: 70ch; }

/* Spalten / Karten */
.cols { display: grid; gap: clamp(24px, 3.4vw, 48px); }
@media (min-width: 900px) { .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 3er-Raster auf Halbspalten: Eine unvollständige letzte Reihe steht mittig, bei gleicher Kartenbreite */
@media (min-width: 700px) and (max-width: 1099.98px) {
  .grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--3 > * { grid-column: span 2; }
  .grid--3 > :nth-child(2n+1):last-child { grid-column: 2 / span 2; }
}
@media (min-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--3 > * { grid-column: span 2; }
  .grid--3 > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .grid--3 > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
.card {
  position: relative; padding: clamp(20px, 2.1vw, 28px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.65;
}
.section--white .card, .section:not(.section--sage):not(.section--navy) .card { background: var(--paper); border-color: transparent; }
.section--sage .card { background: var(--white); border-color: transparent; box-shadow: var(--shadow-s); }
.section--navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--on-navy-muted); }
.card > p:first-child > strong:first-child { display: block; margin-bottom: .35em; color: var(--navy); font-size: 1.08rem; line-height: 1.35; }
.section--navy .card > p:first-child > strong:first-child { color: var(--white); }
.card > p:first-child > strong:first-child + br { display: none; }
.card h3 { margin-bottom: .5em; }
.card--navy { background: var(--navy) !important; color: var(--on-navy-muted) !important; border-color: var(--navy) !important; }
.card--sage { background: var(--sage) !important; border-color: var(--sage) !important; }
.card--navy h3, .card--navy strong, .card--navy a:not(.btn) { color: var(--white) !important; }
.section--navy .card--navy { border-color: rgba(255, 255, 255, .38) !important; }
.card--sage, .on-navy .card--sage { color: var(--ink) !important; }
.on-navy .card--sage h3, .on-navy .card--sage strong, .on-navy .card--sage a:not(.btn) { color: var(--navy) !important; }
.on-navy .card--sage li::marker { color: var(--navy); }
.on-navy .card--sage :focus-visible { outline-color: var(--navy); }
.card .btn-row { margin-top: 20px; }
.card-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--sage); color: var(--navy); font-weight: 700; font-size: .95rem;
}
.section--sage .card-num { background: var(--navy); color: var(--white); }
.section--navy .card-num { background: var(--sage); color: var(--navy); }
.closing { max-width: var(--measure); margin-top: clamp(22px, 2.8vw, 32px); }
.closing > :last-child { margin-bottom: 0; }
.cta-row { margin-top: clamp(22px, 2.8vw, 32px); }

/* Hervorgehobener Textblock (z. B. "Unser Fazit") */
.panel { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-l); background: var(--paper); }
.section--sage .panel { background: var(--white); }

/* ---------------------------------------------------------------- Seitenkopf */
.page-hero { background: var(--sage); padding-block: clamp(24px, 3.4vw, 48px) clamp(32px, 4.4vw, 60px); }
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); } }
.page-hero .lead-text { font-size: 1.08rem; max-width: 64ch; }
.page-hero .lead-text p:last-child { margin-bottom: 0; }
.breadcrumb { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .9rem; color: var(--muted); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 20px; color: var(--muted); font-size: .92rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 16px; height: 16px; }

.toc { padding: 24px 24px 18px; background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.toc__title { margin: 0 0 10px; color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
@media (min-width: 1000px) { .toc__title { pointer-events: none; } }
@media (max-width: 999px) {
  .toc__title { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: -10px 0 0; cursor: pointer; }
  .toc__title::after { content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
  .toc__details[open] .toc__title::after { transform: rotate(-135deg); }
  .toc__details[open] .toc__title { margin-bottom: 6px; }
  .toc { padding-bottom: 14px; }
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { margin: 0; border-top: 1px solid var(--line); }
.toc li:first-child { border-top: 0; }
.toc a { display: flex; gap: 12px; padding: 9px 2px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.45; }
.toc > ol > li > a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.6em; color: var(--navy); font-weight: 700; font-size: .85rem; padding-top: .1em; }
.toc a:hover { color: var(--navy); }
.toc a:hover span { text-decoration: underline; }
.toc ol ol { padding-left: 2.1em; }
.toc ol ol li { border-top: 0; }
.toc ol ol a { padding-block: 4px; font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- Startseite */
.home-hero { position: relative; background: var(--sage); overflow: hidden; }
.home-hero__grid { display: grid; align-items: end; gap: 0 48px; }
.home-hero__text { padding-block: clamp(28px, 4vw, 60px) clamp(28px, 4vw, 56px); }
.home-hero__text .lead-text { font-size: 1.08rem; max-width: 60ch; }
.home-hero__media { align-self: end; margin-inline: calc(var(--gutter) * -1); }
.home-hero__media img { width: 100%; max-width: 760px; margin-left: auto; }
@media (min-width: 1000px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-hero__media { margin-inline: 0 calc(var(--gutter) * -1); }
  .home-hero__text { padding-bottom: clamp(44px, 5vw, 80px); }
}
.stats { position: relative; z-index: 2; margin-top: -1px; background: var(--navy); }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats__item { margin: 0; padding: clamp(16px, 2.2vw, 26px) 12px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .14); }
.stats__item:first-child { border-left: 0; }
@media (max-width: 799px) { .stats__item:nth-child(3) { border-left: 0; } .stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); } }
.stats__num { display: block; color: var(--white); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.stats__label { display: block; margin-top: 4px; color: var(--sage); font-size: .98rem; font-weight: 500; }

.jump { padding-block: 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.jump__inner { display: flex; gap: 16px; align-items: baseline; }
.jump__title { flex: none; margin: 0; color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jump li { margin: 0; }
.jump a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 500; text-decoration: none; }
.jump a:hover { background: var(--sage); border-color: var(--sage); }
@media (max-width: 799px) {
  .jump__inner { display: block; }
  .jump__title { margin-bottom: 10px; }
  .jump ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .jump a { white-space: nowrap; }
}

/* Vorteile / Icon-Boxen */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: 32px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--paper); }
.section--sage .feature { background: var(--white); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--white); }
.feature__icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature h3 { margin: 0; font-size: 1.1rem; }
.feature p { margin: 0; font-size: 1rem; }
.features--text .feature { gap: 16px; }

/* ---------------------------------------------------------------- Bewertungen */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }
.reviews-head h2 { margin: 0; }
.rating-summary { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.rating-summary__g { width: 28px; height: 28px; flex: none; }
.rating-summary__score { color: var(--navy); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.rating-summary__meta { font-size: .88rem; line-height: 1.35; color: var(--muted); }
.rating-summary__meta strong { color: var(--navy); font-weight: 650; }
.stars { display: inline-flex; gap: 2px; color: var(--star); vertical-align: middle; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 40px) / 3));
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 18px; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
@media (max-width: 999px) { .reviews__track { grid-auto-columns: minmax(270px, 46%); } }
@media (max-width: 640px) { .reviews__track { grid-auto-columns: 86%; } }
.review {
  display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start;
  margin: 0; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid transparent;
}
.section--sage .review { background: var(--white); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 650; font-size: .95rem; }
.review__name { margin: 0; color: var(--navy); font-weight: 650; line-height: 1.3; }
.review__name a { color: inherit; text-decoration: none; }
.review__name a:hover { text-decoration: underline; }
.review__date { display: block; color: var(--muted); font-size: .85rem; }
.review__text { margin: 0; font-size: .98rem; line-height: 1.65; white-space: pre-line; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; padding: 2px 0; border: 0; background: none; color: var(--navy); font: inherit; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.review__reply { margin: 4px 0 0; padding: 12px 14px; border-left: 3px solid var(--sage); background: rgba(221, 232, 221, .35); border-radius: 0 10px 10px 0; font-size: .9rem; }
.review__reply b { display: block; color: var(--navy); font-size: .82rem; font-weight: 650; }
.review__reply.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reviews__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.reviews__nav { display: flex; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--navy); cursor: pointer; }
.icon-btn:hover:not(:disabled) { border-color: var(--navy); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }
.reviews__source { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------- Kontakt */
.contact { background: var(--sage); }
.contact__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.contact__intro { max-width: 60ch; margin-bottom: 18px; }
.form-card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow); }
.contact__aside { display: flex; flex-direction: column; gap: 24px; }
.contact__photo { display: flex; justify-content: center; }
.contact__photo img { width: min(100%, 380px); height: auto; }
.contact-card { padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-s); }
.contact-card__title { margin: 0 0 12px; color: var(--navy); font-weight: 650; font-size: 1.1rem; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--navy); }
.contact-list a { font-weight: 600; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { color: var(--navy); font-weight: 600; font-size: .95rem; }
.req { color: #9a1c1c; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--ui-border); border-radius: 12px; background: var(--white);
  color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 46, 78, .16); }
.field input::placeholder, .field textarea::placeholder { color: var(--ui-border); }
.field fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--ui-border); border-radius: 999px; background: var(--white);
  color: var(--ink); font-weight: 500; font-size: .95rem; cursor: pointer; user-select: none;
}
.choice label::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--ui-border-strong); border-radius: 50%; background: var(--white); flex: none; }
.choice input:checked + label { border-color: var(--navy); background: var(--sage); color: var(--navy); }
.choice input:checked + label::before { border: 5px solid var(--navy); }
.choice input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.field-error { display: none; align-items: center; gap: 6px; color: #9a1c1c; font-size: .88rem; font-weight: 600; }
.field-error svg { width: 16px; height: 16px; flex: none; }
.field.has-error .field-error { display: flex; }
.field.has-error input, .field.has-error textarea, .field.has-error .choice label { border-color: #9a1c1c; }
.captcha-placeholder { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed var(--ui-border); border-radius: 12px; color: var(--muted); font-size: .88rem; }
.captcha-placeholder svg { width: 22px; height: 22px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* Lockfeld für Bots */
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__actions .btn { min-width: 180px; }
.form-status { display: none; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .95rem; line-height: 1.5; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-status.is-visible { display: flex; }
.form-status--error { background: #fdecec; color: #7d1717; border: 1px solid #f1c0c0; }
.form-status--info { background: #fff6d6; color: #4a3b00; border: 1px solid #ecd9a0; }
.form-status--success { background: #e7f3e7; color: #1d4d1d; border: 1px solid #b9d8b9; }

/* ---------------------------------------------------------------- Akkordeon / FAQ */
.accordion { display: grid; gap: 12px; }
.accordion details { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section:not(.section--sage):not(.section--navy) .accordion details { background: var(--paper); border-color: transparent; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px; color: var(--navy); font-weight: 650; line-height: 1.4; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2e4e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.accordion .answer { padding: 0 20px 18px; }
.accordion .answer > :last-child { margin-bottom: 0; }
.section--navy .accordion details { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.section--navy .accordion summary { color: var(--white); }

/* ---------------------------------------------------------------- Team */
.team { display: grid; gap: 24px; }
.member { display: grid; gap: 24px; align-items: end; padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; border-radius: var(--radius-l); background: var(--paper); overflow: hidden; }
@media (min-width: 800px) { .member { grid-template-columns: 240px minmax(0, 1fr); padding-bottom: 0; } .member__text { padding-bottom: clamp(24px, 3vw, 40px); align-self: center; } }
.member__photo img { width: auto; height: 340px; max-width: 100%; object-fit: contain; object-position: bottom; margin-inline: auto; }
@media (max-width: 799px) { .member__text { order: -1; } }

/* ---------------------------------------------------------------- Landingpage */
.lp-header { padding-block: 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.lp-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-header img { height: 44px; width: auto; }
.checklist { margin: 0 0 1em; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .5em; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--navy); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; margin: 0; padding: 12px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.logos img { width: 136px; height: auto; }
.lp-badge img { border-radius: var(--radius-l); box-shadow: var(--shadow); }
.lp-anfrage { background-color: var(--sage); background-image: var(--lp-bg, none); background-size: cover; background-position: center; }

/* ---------------------------------------------------------------- Rechtstexte */
.legal { max-width: 78ch; }
.legal h2 { margin-top: 2em; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.legal h3 { margin-top: 1.6em; }
.legal h4 { margin-top: 1.4em; }
.legal p, .legal li { overflow-wrap: anywhere; }
.empty-state { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l); background: var(--paper); border: 2px dashed #c9a63a; max-width: 70ch; }

/* ---------------------------------------------------------------- Budgetrechner */
.budget-wrap { min-height: 420px; padding: clamp(16px, 3vw, 32px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--white); color: var(--ink); font-size: .98rem; border-top: 1px solid var(--line); }
.site-footer__main { display: grid; gap: 32px; padding-block: clamp(40px, 4.8vw, 64px); }
@media (min-width: 720px) { .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__main { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { margin: 0 0 14px; color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--navy); }
.footer-ext svg { display: inline; width: 13px; height: 13px; margin-left: 4px; vertical-align: -1px; }
.site-footer__bottom { background: var(--navy); color: var(--on-navy-muted); font-size: .88rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.site-footer__bottom a { color: var(--white); }

/* ---------------------------------------------------------------- Responsives Feintuning */
@media (max-width: 599px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .form__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-nav, .draft-bar, .contact, .reviews__controls { display: none !important; }
  .section--navy { background: none; color: #000; }
}

/* ---------------------------------------------------------------- Schutz gegen seitliches Scrollen auf schmalen Bildschirmen */
h1, h2, h3, h4, p, li, td, summary, blockquote { overflow-wrap: break-word; }
h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; }
.page-hero__grid > *, .home-hero__grid > *, .split > *, .cols > *, .contact__grid > *, .aside > *, .grid > *, .member > * { min-width: 0; }
@media (max-width: 599px) {
  .lp-header .btn { width: auto; }
  .lp-header img { height: 36px; }
  .section-head p, .prose p, .legal p { -webkit-hyphens: auto; hyphens: auto; }
}

/* ---------------------------------------------------------------- Kontakt im Kopf auch auf Smartphone/Tablet */
@media (max-width: 1099px) {
  .header-cta { display: inline-flex; margin-left: auto; }
  .brand { margin-right: 0; }
  .burger { margin-left: 4px; }
}
@media (max-width: 599px) {
  .site-header .btn { width: auto; }
  .header-cta { min-height: 44px; padding: .45em .95em; font-size: .95rem; }
  .header-cta .lbl-extra { display: none; }
}
@media (max-width: 400px) { .brand img { height: 32px; } }

/* ---------------------------------------------------------------- Vorteile: Text und Kacheln nebeneinander */
@media (min-width: 1000px) {
  .features-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .features-split .section-head { margin-bottom: 0; }
  .features-split .features { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- Dezente Hover-Zustände nur für klickbare Elemente */
.card--link { transition: box-shadow .2s, transform .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine) { .card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
.card--link h2 a { text-decoration: none; }
.card--link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover h2 a { text-decoration: underline; }
.choice label { transition: border-color .15s, background-color .15s; }
.choice label:hover { border-color: var(--navy); }
.accordion summary { transition: background-color .15s; border-radius: var(--radius); }
.accordion summary:hover { background-color: rgba(12, 46, 78, .04); text-decoration: none; }
.section--navy .accordion summary:hover { background-color: rgba(255, 255, 255, .06); }
.jump a, .toc a, .nav__link, .nav__sub a, .icon-btn, .footer-contact a { transition: background-color .15s, border-color .15s, color .15s; }

/* ---------------------------------------------------------------- Einblenden beim Scrollen (nur mit JS, nur einmal, nicht bei reduzierter Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(14px); }
  .reveal-in {
    opacity: 1; transform: none;
    transition: opacity .38s ease-out, transform .38s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
}
