/* Hausmeister RAT – Stylesheet
   Frisches Grün mit Limetten-Akzent auf Weiß · Rahmen-Karten · große, gut lesbare Schrift
   Schriften: Atkinson Hyperlegible (Text, entwickelt für maximale Lesbarkeit) und Lexend (Überschriften) */

@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-bold.woff) format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lexend"; src: url(/assets/fonts/lexend-var.woff) format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --fs: 1;
  --g: #17803d;          /* Grün, Text/Buttons (Kontrast 5,1:1 auf Weiß) */
  --g-dark: #0f5f2c;
  --g-deep: #0a3d1d;
  --g-ink: #0a2e17;
  --lime: #c8f169;
  --lime-2: #e3f8b5;
  --mint: #eef7ef;
  --mint-2: #dcefe0;
  --paper: #f7fbf6;
  --ink: #0f1c14;
  --text: #1a2a20;
  --muted: #3f5448;      /* 7,6:1 auf Weiß */
  --line: #c9dfcd;
  --line-2: #a9c9b0;
  --white: #fff;
  --red: #a4261b;
  --focus: #1b55d6;
  --sans: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --head: "Lexend", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shell: 1340px;
  --gut: 32px;
  --bar: 84px;
  --shadow: 0 1px 2px rgba(10, 46, 23, .06), 0 10px 30px rgba(10, 46, 23, .09);
  --frame: 0 0 0 2px var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--fs)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 20px); }
body { overflow-wrap: break-word; margin: 0; font-family: var(--sans); font-size: 1.25rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1700px) { body { font-size: 1.3125rem; } }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--g-dark); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--g-deep); text-decoration-thickness: .14em; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--g-ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
h4 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skiplinks a { position: absolute; left: 16px; top: -200px; z-index: 500; background: var(--g-ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skiplinks a:focus { top: 12px; }
main:focus { outline: none; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 900px; }
.wide { max-width: 1180px; }
.measure { max-width: 72ch; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.placeholder { background: var(--lime-2); padding: 0 4px; }
mark { background: var(--lime); color: inherit; padding: 0 2px; }

/* Buttons – Pillenform */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; font: 700 1.05rem/1.2 var(--head); padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-go { background: var(--g); color: #fff; }
.btn-go:hover { background: var(--g-dark); color: #fff; box-shadow: 0 6px 18px rgba(23, 128, 61, .3); }
.btn-lime { background: var(--lime); color: var(--g-ink); }
.btn-lime:hover { background: #d7f78c; color: var(--g-ink); }
.btn-frame { background: #fff; color: var(--g-ink); border-color: var(--g); }
.btn-frame:hover { background: var(--mint); color: var(--g-ink); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-glass:hover { background: #fff; color: var(--g-ink); }
.btn-sm { min-height: 44px; font-size: .98rem; padding: .6em 1.1em; }
.btn-lg { font-size: 1.12rem; padding: .95em 1.6em; }
.btn-block { width: 100%; }
.btn small { font-weight: 400; opacity: .85; }
.pill-link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--head); font-weight: 600; color: var(--g-dark); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; margin-right: 18px; }
.pill-link:hover { border-bottom-color: var(--g); color: var(--g-deep); }
.badge { display: inline-flex; align-items: center; gap: .5em; font: 600 .95rem var(--head); padding: .4em .95em; border-radius: 999px; background: var(--lime-2); color: var(--g-ink); border: 1.5px solid var(--lime); margin: 0 0 1rem; text-decoration: none; }
a.badge:hover { background: var(--lime); color: var(--g-ink); }
.eyebrow { font: 700 .92rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--g); margin-bottom: .6em; }
.lead { font-size: 1.28rem; line-height: 1.6; color: var(--text); max-width: 64ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1em; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--g-ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
.chip:hover, .chip.is-active { border-color: var(--g); background: var(--mint); color: var(--g-ink); }
.chips-lg .chip { font-size: 1.05rem; }
.inline-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line-2); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 680px; margin-top: 24px; }
.inline-search input { flex: 1; min-width: 0; border: 0; font: inherit; padding: 8px 4px; background: transparent; color: var(--ink); }
.inline-search input:focus { outline: none; }
.inline-search:focus-within { border-color: var(--g); box-shadow: 0 0 0 3px var(--lime); }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.topbar.is-scrolled { box-shadow: 0 8px 24px rgba(10, 46, 23, .08); }
.topbar-row { display: flex; align-items: center; gap: 20px; min-height: var(--bar); max-width: 1480px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--g-ink); flex: none; }
.logo:hover { color: var(--g-ink); }
.logo-mark { width: 50px; height: 50px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word { font: 700 1.5rem var(--head); letter-spacing: -.02em; white-space: nowrap; }
.logo-word b { color: var(--g); font-weight: 700; }
.logo-sub { font-size: .82rem; color: var(--muted); margin-top: 4px; white-space: nowrap; letter-spacing: .02em; }
.logo-invert, .logo-invert:hover { color: #fff; }
.logo-invert .logo-word b { color: var(--lime); }
.logo-invert .logo-sub { color: #cfe7d5; }
.menu { flex: 1; display: flex; justify-content: center; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 600 1.05rem/1 var(--head); color: var(--g-ink); background: none; border: 0; padding: 10px 14px; border-radius: 999px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.menu-link:hover, .has-mega.is-open > .menu-link { background: var(--mint); color: var(--g-ink); }
.menu-link[aria-current], .menu-link[data-current] { background: var(--lime-2); box-shadow: inset 0 0 0 2px var(--lime); }
.menu-link .chev { width: 18px; height: 18px; transition: transform .2s; }
.has-mega.is-open > .menu-link .chev { transform: rotate(180deg); }
.menu-mobile-foot { display: none; }
.topbar-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--g-ink); cursor: pointer; text-decoration: none; font: 700 1rem var(--head); }
.tool:hover { border-color: var(--g); background: var(--mint); color: var(--g-ink); }
.tool .ico { width: 22px; height: 22px; }
.tool-phone { padding: 0 16px 0 12px; }
.tool-phone .ico { color: var(--g); }
.burger { display: none; }
.burger .i-close { display: none; }
.nav-open .burger .i-open { display: none; }
.nav-open .burger .i-close { display: block; }
.cta-short { display: none; }
.a11y { position: relative; }
.a11y-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; z-index: 120; font-size: 1rem; }
.a11y-title { font: 700 1.05rem var(--head); color: var(--g-ink); margin-bottom: 10px; }
.a11y-row { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.a11y-row span { flex: 1; font-weight: 700; }
.a11y-row button { min-width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font: 700 1rem var(--head); color: var(--g-ink); cursor: pointer; }
.a11y-row button:hover { border-color: var(--g); background: var(--mint); }
.a11y-check { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-weight: 700; }
.a11y-check input { width: 22px; height: 22px; accent-color: var(--g); }
.a11y-more { display: inline-block; margin-top: 8px; font-weight: 700; }

/* Mega-Menüs */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 14px 0 26px; background: transparent; }
.has-mega.is-open > .mega { display: block; }
.mega-frame { background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 28px 60px rgba(10, 46, 23, .18); padding: 28px 30px 20px; max-height: calc(100vh - var(--bar) - 50px); overflow-y: auto; }
.mega-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 30px; }
.mega-group ul, .mega-area ul { list-style: none; margin: 0; padding: 0; }
.mega-group li a, .mega-area li a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; font-size: 1.02rem; }
.mega-group li a:hover, .mega-area li a:hover { color: var(--g-dark); text-decoration: underline; }
.mega-h { display: flex; align-items: center; gap: 10px; font: 700 1.05rem var(--head); color: var(--g-ink); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--mint-2); text-decoration: none; }
a.mega-h:hover { color: var(--g); }
.mega-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--g); flex: none; }
.mega-ico .ico { width: 21px; height: 21px; }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--mint); font-size: 1rem; color: var(--muted); }
.mega-foot span { display: inline-flex; align-items: center; gap: 8px; }
.mega-lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 16px; }
.mega-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mega-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); color: var(--g-ink); text-decoration: none; font-weight: 700; }
.mega-tile small { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.mega-tile:hover { border-color: var(--g); background: var(--mint); color: var(--g-ink); }
.mega-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 26px; }

/* ---------- Suche ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 8vh 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(10, 46, 23, .6); }
.search-dialog { position: relative; width: 100%; max-width: 780px; background: #fff; border-radius: var(--r-xl); box-shadow: 0 30px 60px rgba(0,0,0,.3); overflow: hidden; border: 3px solid var(--lime); }
.search-form { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 2px solid var(--mint); }
.search-form > .ico { width: 26px; height: 26px; color: var(--g); }
.search-form input { flex: 1; min-width: 0; border: 0; font: 400 1.2rem var(--sans); padding: 8px 0; background: transparent; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-esc { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: 700 .95rem var(--head); cursor: pointer; color: var(--g-ink); min-height: 40px; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 16px 20px; }
.search-hint-title { font: 700 .9rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 4px 0 10px; }
.search-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r); text-decoration: none; color: var(--text); border: 2px solid transparent; }
.search-item strong { display: block; color: var(--g-ink); }
.search-item small { display: block; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.search-item:hover, .search-item.is-active { background: var(--mint); border-color: var(--line); }
.s-type { flex: none; font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: var(--mint-2); color: var(--g-ink); margin-top: 3px; min-width: 84px; text-align: center; }
.s-type.t-leistung { background: var(--g); color: #fff; }
.s-type.t-ort { background: var(--lime); }
.search-all { display: block; padding: 12px; font-weight: 700; }
.search-none { color: var(--muted); }

/* ---------- Startseite ---------- */
.home-hero { position: relative; padding: 28px var(--gut) 0; }
.home-hero-bg { position: absolute; inset: 28px var(--gut) 0; border-radius: var(--r-xl); overflow: hidden; background: var(--g-deep); }
.home-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.home-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 44, 21, .92) 0%, rgba(8, 44, 21, .78) 38%, rgba(8, 44, 21, .15) 72%, rgba(8, 44, 21, 0) 100%); }
.home-hero-inner { position: relative; z-index: 1; min-height: 660px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.home-hero-card { max-width: 700px; color: #fff; }
.home-hero-card h1 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.home-hero-lead { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.55; color: #eef8f0; margin-bottom: 1.2em; }
.home-badges { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.home-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.35); font-size: 1rem; }
.home-badges .ico { color: var(--lime); }
.home-badges a { color: #fff; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jump { margin-top: 18px; border-bottom: 1px solid var(--line); position: sticky; top: var(--bar); z-index: 40; background: rgba(255,255,255,.97); }
.jump-row { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.jump-label { flex: none; font: 700 1rem var(--head); color: var(--g-ink); }
.jump-links { display: flex; gap: 8px; overflow-x: auto; list-style: none; margin: 0; padding: 2px; scrollbar-width: thin; }
.jump-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); color: var(--g-ink); text-decoration: none; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.jump-links a:hover { border-color: var(--g); background: var(--mint); }
.home-sec { padding: 80px 0; }
.home-sec-mint { background: var(--paper); border-top: 1px solid var(--mint-2); border-bottom: 1px solid var(--mint-2); }
.home-sec h3 { margin-top: 1.6em; }
.home-sec h3:first-child, .home-sec .h3-lead { margin-top: 0; }
.h2-mark { display: inline-block; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); padding-bottom: 8px; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 8px no-repeat; }
.flow::after { content: ""; display: block; clear: both; }
.flow p { max-width: none; }
.flow-fig { float: right; width: min(38%, 440px); margin: 6px 0 20px 36px; padding: 10px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.flow-fig img { width: 100%; border-radius: 14px; }
.kpi-grid { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; font-size: 1.05rem; line-height: 1.45; }
.kpi-n { display: inline-flex; align-items: center; gap: 8px; font: 700 1.7rem var(--head); color: var(--g); }
.kpi-n .ico { width: 30px; height: 30px; padding: 5px; border-radius: 10px; background: var(--mint); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px 0 20px; }
.tile-grid { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.tile-grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); font-size: 1.05rem; line-height: 1.5; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile strong { font: 700 1.15rem/1.3 var(--head); color: var(--g-ink); }
.tile strong a { color: var(--g-ink); text-decoration: none; }
.tile strong a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.tile:has(a):hover { border-color: var(--g); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile strong a:focus-visible { outline: none; }
.tile-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: var(--lime-2); color: var(--g-dark); }
.tile-ico .ico { width: 26px; height: 26px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-gap { margin-top: 20px; }
.frame-card { padding: 22px 24px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); font-size: 1.05rem; }
.frame-card ul { margin: 0; padding-left: 1.2em; }
.frame-card li { margin-bottom: .35em; }
.frame-card p:last-child { margin-bottom: 0; }
.frame-h { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--head); color: var(--g-ink); margin-bottom: 10px; }
.frame-h .ico { color: var(--g); width: 24px; height: 24px; }
.frame-h a { color: var(--g-ink); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding: 0 0 0 36px; margin-bottom: .6em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 24px; height: 24px; border-radius: 8px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3d1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.check-list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.hint { font-size: 1.02rem; color: var(--muted); padding: 14px 18px; border-left: 4px solid var(--lime); background: var(--paper); border-radius: 0 12px 12px 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 10px 0 30px; }
.plan { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); font-size: 1.05rem; }
.plan h4 { font-size: 1.6rem; color: var(--g); margin-bottom: 14px; }
.plan-featured { border-color: var(--g); box-shadow: 0 0 0 4px var(--lime-2), var(--shadow); }
.plan-fit { margin: auto 0 0; padding-top: 14px; border-top: 2px dashed var(--line); }
.steps { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; font-size: 1.05rem; line-height: 1.5; }
.step strong { font: 700 1.15rem var(--head); color: var(--g-ink); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g); color: #fff; font: 700 1.2rem var(--head); margin-bottom: 4px; }
.home .step strong { font-size: 1.1rem; }
dl.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
dl.glossary div { padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; }
dl.glossary dt { font: 700 1.1rem var(--head); color: var(--g-ink); margin-bottom: 4px; }
dl.glossary dd { margin: 0; }
.photo-track { grid-auto-columns: calc((100% - 20px) / 2); }
.photo { margin: 0; padding: 10px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.photo figcaption { font: 600 1.02rem var(--head); color: var(--g-ink); padding: 10px 4px 2px; }
.home-contact .inquiry-inline { margin-top: 10px; }

/* Bausteine */
.blk { margin: 30px 0; }
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.promise { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; font-size: 1.05rem; line-height: 1.5; }
.promise strong { font: 700 1.12rem var(--head); color: var(--g-ink); }
.promise span:last-child { color: var(--muted); }
.promise-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--g); color: #fff; margin-bottom: 4px; }
.promise-ico .ico { width: 24px; height: 24px; }
.rating-line { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 14px; }
.svc-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-panel { border: 2px solid var(--line); border-radius: var(--r-xl); background: #fff; overflow: hidden; }
.svc-panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--mint); border-bottom: 2px solid var(--line); }
.svc-panel-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: var(--g); color: #fff; }
.svc-panel-ico .ico { width: 23px; height: 23px; }
.svc-panel-title { flex: 1; font: 700 1.15rem var(--head); color: var(--g-ink); margin: 0; }
.svc-count { font: 700 .95rem var(--head); background: #fff; border: 2px solid var(--line); color: var(--g-ink); border-radius: 999px; padding: 2px 10px; }
.svc-links { list-style: none; margin: 0; padding: 6px 0; }
.svc-links a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 10px 20px; text-decoration: none; color: var(--g-ink); border-bottom: 1px solid var(--mint); }
.svc-links li:last-child a { border-bottom: 0; }
.svc-links a:hover { background: var(--paper); }
.svc-link-name { font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.svc-link-price { color: var(--muted); font-size: .95rem; }
.area-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.area-card { padding: 18px 20px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.area-card-um { background: var(--mint); }
.area-name { display: flex; align-items: center; gap: 8px; font: 700 1.15rem var(--head); color: var(--g-ink); text-decoration: none; margin-bottom: 8px; }
.area-name .ico { color: var(--g); }
.area-name:hover { color: var(--g); text-decoration: underline; }
.area-card p { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 1rem; }
.table-frame, .table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.price-list, .table-wrap table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.price-list th, .price-list td, .table-wrap th, .table-wrap td { padding: 12px 18px; text-align: left; vertical-align: top; }
.price-list thead th, .table-wrap thead th, .table-wrap th { background: var(--mint); color: var(--g-ink); font-family: var(--head); font-weight: 700; border-bottom: 2px solid var(--line); }
.price-list tbody tr + tr th, .price-list tbody tr + tr td, .table-wrap tr + tr td { border-top: 1px solid var(--mint-2); }
.price-list tbody th { font-weight: 700; }
.price-list td { font-weight: 700; color: var(--g-dark); }
.price-note { font-size: 1.02rem; color: var(--muted); }
.slider { position: relative; }
.slider-nav { display: flex; justify-content: flex-end; gap: 8px; margin: -6px 0 12px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--g); background: #fff; color: var(--g-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider-btn.prev .ico { transform: rotate(180deg); }
.slider-btn:hover:not(:disabled) { background: var(--g); color: #fff; }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-track { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; scrollbar-width: thin; }
.slider-track > * { scroll-snap-align: start; }
.post-track { grid-auto-columns: calc((100% - 60px) / 4); }
.more-row { margin-top: 22px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { border-color: var(--g); box-shadow: var(--shadow); color: var(--text); }
.post-img img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-cat { display: flex; align-items: center; gap: 6px; font: 700 .85rem var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--g); padding: 16px 20px 0; }
.post-card strong { font: 700 1.18rem/1.3 var(--head); color: var(--g-ink); padding: 6px 20px 0; }
.post-teaser { font-size: 1rem; color: var(--muted); line-height: 1.5; padding: 8px 20px 0; flex: 1; }
.post-card em { font-style: normal; font-size: .92rem; color: var(--muted); padding: 12px 20px 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--text); }
.svc-card:hover { border-color: var(--g); box-shadow: var(--shadow); color: var(--text); }
.svc-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime-2); color: var(--g-dark); }
.svc-ico .ico { width: 25px; height: 25px; }
.svc-txt strong { display: block; font: 700 1.18rem var(--head); color: var(--g-ink); }
.svc-txt small { display: block; font-size: 1rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.svc-arr { position: absolute; right: 20px; top: 24px; color: var(--g); }

/* ---------- Unterseiten ---------- */
.hero { padding: 26px var(--gut) 0; }
.hero-frame { max-width: calc(var(--shell) - 2 * var(--gut)); margin: 0 auto; padding: 44px 48px; background: var(--mint); border: 2px solid var(--mint-2); border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
.hero-frame-solo { grid-template-columns: 1fr; }
.hero-plain .hero-frame { background: var(--paper); }
.hero-text h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media { margin: 0 0 16px; padding: 10px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transform: rotate(.6deg); }
.hero-media img { width: 100%; border-radius: 14px; aspect-ratio: 1200 / 630; object-fit: cover; }
.facts { margin: 0; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); padding: 6px 20px; }
.facts div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 1.02rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--g-ink); }
.hero-points { list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: calc(var(--shell) - 2 * var(--gut)); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 1rem; }
.hero-points .ico { color: var(--g); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; color: var(--muted); font-size: 1rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ico { color: var(--g); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 1rem; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 8px 0 2px; color: var(--muted); }
.crumbs a { color: var(--g-dark); }
.crumbs [aria-current] { font-weight: 700; color: var(--g-ink); }
.quick { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.quick-h { margin: 0; font: 700 1.05rem var(--head); color: var(--g-ink); }
.quick-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.quick-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--g-ink); font-weight: 700; font-size: 1rem; }
.quick-list a .ico { color: var(--g); }
.quick-list a:hover { border-color: var(--g); background: var(--mint); }
.doc { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.doc-main { min-width: 0; max-width: 880px; }
.doc-side { display: flex; flex-direction: column; gap: 16px; align-self: stretch; }
.doc-side .toc { position: sticky; top: calc(var(--bar) + 20px); max-height: calc(100vh - var(--bar) - 40px); overflow-y: auto; order: 5; scrollbar-width: thin; }
.toc { background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); }
.toc summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 18px; font: 700 1.05rem var(--head); color: var(--g-ink); cursor: pointer; border-bottom: 2px solid var(--mint); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 30px 1fr; padding: 7px 18px; font-size: 1rem; line-height: 1.4; color: var(--text); text-decoration: none; border-left: 4px solid transparent; }
.toc a::before { content: counter(t) "."; color: var(--muted); }
.toc a:hover { background: var(--paper); color: var(--g-ink); text-decoration: underline; }
.toc a.is-active { border-left-color: var(--g); background: var(--mint); color: var(--g-ink); font-weight: 700; }
.side-box { background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); padding: 20px; font-size: 1.02rem; }
.side-box p { margin-bottom: .7em; }
.side-box-green { background: var(--g-deep); border-color: var(--g-deep); color: #e3f2e7; }
.side-box-green a:not(.btn) { color: #fff; }
.side-h { display: flex; align-items: center; gap: 8px; font: 700 1.15rem var(--head); color: var(--g-ink); }
.side-box-green .side-h { color: #fff; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 700; text-decoration: none; }
.side-phone .ico { color: var(--lime); }
.side-small { font-size: .95rem; color: var(--muted); margin: 0 !important; }
.side-pdf { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px dashed var(--g); border-radius: var(--r-lg); background: var(--lime-2); text-decoration: none; color: var(--g-ink); }
.side-pdf:hover { background: var(--lime); color: var(--g-ink); }
.side-pdf-ico { flex: none; width: 48px; height: 56px; border-radius: 6px 14px 6px 6px; background: var(--g); color: #fff; font: 700 .85rem var(--head); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.side-pdf strong { display: block; line-height: 1.3; }
.side-pdf small { font-size: .92rem; }
.lv-box { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--paper); border: 2px dashed var(--g); border-radius: var(--r-lg); margin: 0 0 34px; }
.lv-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--g); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lv-text { flex: 1; }
.lv-text strong { display: block; color: var(--g-ink); font-family: var(--head); }
.lv-text span { display: block; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.btn-line { background: #fff; color: var(--g-ink); border: 2px solid var(--g); border-radius: 999px; }
.btn-line:hover { background: var(--mint); color: var(--g-ink); }

/* Fließtext */
.prose > h2, .prose .fold-body h2 { margin-top: 1.7em; padding-top: .3em; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { position: relative; }
.doc-main.prose > h2::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; background: var(--lime); margin-bottom: 14px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--g); }
.prose ol li::marker { color: var(--g); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 6px 0 6px 22px; border-left: 5px solid var(--lime); font-size: 1.3rem; color: var(--g-ink); }
.box { margin: 1.8em 0; padding: 20px 24px; border-radius: var(--r-lg); border: 2px solid var(--line); background: #fff; }
.box > :last-child { margin-bottom: 0; }
.box-title { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--head); color: var(--g-ink); margin-bottom: 10px; }
.box-title .ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; }
.box-check { border-color: var(--g); background: var(--paper); }
.box-check .box-title .ico { background: var(--lime); color: var(--g-ink); }
.box-warn { border-color: #d98b7f; background: #fdf4f2; }
.box-warn .box-title .ico { background: #f7d9d4; color: var(--red); }
.box-example { border-color: var(--lime); }
.box-example { background: #f9fdee; }
.box-example .box-title .ico { background: var(--lime-2); color: var(--g-dark); }
.box-info { border-color: var(--line-2); background: var(--mint); }
.box-info .box-title .ico { background: #fff; color: var(--g); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 2em 0; padding: 22px 26px; background: var(--g-deep); color: #e3f2e7; border-radius: var(--r-lg); }
.inline-cta strong { color: #fff; font: 700 1.2rem var(--head); }
.inline-cta p { margin: 4px 0 0; }
.inline-cta .btn-sun { background: var(--lime); color: var(--g-ink); border-radius: 999px; }
.cols { columns: 3 260px; column-gap: 28px; padding-left: 1.2em; }
.cols li { break-inside: avoid; }
/* Klappelemente aus dem Inhalt */
.fold-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.4em; }
.fold-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 1.4em; align-items: start; }
.fold { background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); }
.fold[open] { border-color: var(--g); box-shadow: var(--shadow); }
.fold summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; min-height: 56px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary h3 { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.fold-head { flex: 1; min-width: 0; }
.fold-teaser { display: block; font-size: 1rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.fold-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--lime-2); color: var(--g-dark); display: inline-flex; align-items: center; justify-content: center; }
.fold-ico .ico { width: 22px; height: 22px; }
.fold-pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); border: 2px solid var(--line); }
.fold-pm::before, .fold-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--g-ink); transform: translate(-50%, -50%); }
.fold-pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.fold[open] .fold-pm { background: var(--g); border-color: var(--g); }
.fold[open] .fold-pm::before, .fold[open] .fold-pm::after { background: #fff; }
.fold[open] .fold-pm::after { transform: translate(-50%, -50%) rotate(0); }
.fold-body { padding: 0 20px 18px 76px; }
.fold-body > :last-child { margin-bottom: 0; }
.more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; color: var(--g-dark); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more-close { display: none; }
.more[open] .more-open { display: none; }
.more[open] .more-close { display: inline; }
.kv-list, .tick-grid, ul.glossary { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px 22px; }
.kv-list li { display: flex; gap: 10px; }
.kv-list li > .ico { color: var(--g); margin-top: 6px; }
.tick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tick-grid li { display: flex; gap: 10px; align-items: flex-start; }
.tick-grid li > .ico { color: var(--g-ink); background: var(--lime); border-radius: 8px; padding: 3px; width: 24px; height: 24px; margin-top: 4px; }
ul.glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.glossary li { padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; font-size: 1.02rem; }

/* Fragen & Antworten – immer auf Breite des Inhalts */
.faq { margin-top: 56px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); }
.faq-item[open] { border-color: var(--g); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; font: 600 1.12rem/1.4 var(--head); color: var(--g-ink); min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; min-width: 0; }
.pm { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; background: var(--g-ink); transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq-item[open] .pm { background: var(--g); }
.faq-item[open] .pm::before, .faq-item[open] .pm::after { background: #fff; }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 24px 16px 20px; }
.faq-body > :last-child { margin-bottom: 0; }
.source-box { margin: 44px 0 0; padding: 20px 24px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-lg); font-size: 1.02rem; }
.source-title { display: flex; align-items: center; gap: 8px; font: 700 1.1rem var(--head); color: var(--g-ink); margin-bottom: 10px; }
.source-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.source-box a { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.source-box .ext { width: .9em; height: .9em; }
.note { display: flex; gap: 16px; margin-top: 36px; padding: 22px; background: var(--mint); border-radius: var(--r-lg); font-size: 1.02rem; }
.note-logo { width: 48px; height: 48px; flex: none; }
.note-h { font: 700 1.1rem var(--head); color: var(--g-ink); margin-bottom: 4px; }
.note p:last-child { margin: 0; }

.band { padding: 70px 0; }
.band-mint { background: var(--paper); border-top: 1px solid var(--mint-2); }
.band-tight { padding: 40px 0 70px; }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.band-head h2 { margin: 0; }
.band-head-gap { margin-top: 48px; }
.place-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--text); }
.place-card strong { display: flex; align-items: center; gap: 8px; color: var(--g-ink); font: 700 1.15rem var(--head); }
.place-card strong .ico { color: var(--g); }
.place-card span { font-size: 1rem; color: var(--muted); line-height: 1.5; }
.place-card:hover { border-color: var(--g); box-shadow: var(--shadow); color: var(--text); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.topic { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--text); }
.topic .ico { grid-row: 1 / 3; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--g); color: #fff; }
.topic strong { color: var(--g-ink); line-height: 1.3; font-family: var(--head); }
.topic small { color: var(--muted); font-size: .95rem; }
.topic:hover { border-color: var(--g); box-shadow: var(--shadow); color: var(--text); }

/* ---------- Anfrageformular ---------- */
.inquiry { padding: 80px 0; background: var(--paper); border-top: 1px solid var(--mint-2); }
.inquiry-frame { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.inquiry-info { padding-top: 8px; }
.inquiry-title { font: 700 clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem)/1.15 var(--head); color: var(--g-ink); margin-bottom: .5em; }
.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.ticks .ico { color: var(--g-ink); background: var(--lime); border-radius: 8px; padding: 3px; width: 26px; height: 26px; }
.inquiry-direct { display: flex; flex-direction: column; gap: 8px; }
.inquiry-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.inquiry-form { background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); }
.inquiry-inline { padding: 0; background: transparent; border: 0; }
.inquiry-inline .inquiry-frame { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.form-alert { background: #fdf4f2; border: 2px solid #d98b7f; color: var(--red); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.form-row { display: grid; gap: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 1.02rem; color: var(--g-ink); }
.field input, .field select, .field textarea { font: 400 1.1rem var(--sans); padding: 13px 15px; min-height: 52px; border: 2px solid #8fb39a; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--g); }
.field-hint { font-size: .98rem; color: var(--muted); margin: 0; }
.field.is-invalid input, .field.is-invalid textarea, .field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; margin: 4px 0 22px; }
.consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--g); flex: none; }
.consent.is-invalid label { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---------- Fuß ---------- */
.closing { padding: 0 var(--gut); margin: 40px 0 -60px; position: relative; z-index: 2; }
.closing-frame { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 44px; background: var(--lime); border-radius: var(--r-xl); color: var(--g-ink); max-width: calc(var(--shell) - 2 * var(--gut)); }
.closing-title { font-family: var(--head); font-weight: 700; line-height: 1.2; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .3em; color: var(--g-ink); }
.closing-frame p { margin: 0; max-width: 60ch; }
.closing-actions { display: flex; align-items: center; gap: 18px; flex: none; flex-wrap: wrap; }
.closing .btn-lime { background: var(--g-ink); color: #fff; }
.closing .btn-lime:hover { background: #000; color: #fff; }
.closing-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 1.15rem var(--head); color: var(--g-ink); text-decoration: none; }
.closing-phone:hover { color: var(--g-ink); text-decoration: underline; }
.footer { background: var(--g-ink); color: #d4eadb; padding-top: 110px; font-size: 1.02rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-about p { max-width: 42ch; margin-top: 16px; }
.footer-address { font-style: normal; line-height: 1.7; }
.footer-h { font: 700 1.1rem var(--head); color: #fff; margin: 6px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-2col { grid-template-columns: 1fr; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: .98rem; }
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.dock { display: none; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- Barrierefreiheit: Optionen ---------- */
html.ul a { text-decoration: underline !important; }
html.rm *, html.rm *::before, html.rm *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html.hc { --g: #0b5a27; --g-dark: #064019; --muted: #1d2b23; --line: #1d2b23; --line-2: #0f1c14; --mint: #ffffff; --paper: #ffffff; --lime-2: #ffffff; --mint-2: #1d2b23; }
html.hc body { color: #000; }
html.hc .home-hero-bg::after { background: rgba(0, 0, 0, .88); }
html.hc .side-box-green, html.hc .inline-cta, html.hc .footer { background: #000; }

/* ---------- Responsiv ---------- */
@media (max-width: 1780px) {
  .tool-phone .tool-label { display: none; }
  .tool-phone { padding: 0 10px; }
  .menu-link { padding: 10px 9px; }
  .topbar-row { gap: 12px; }
  .menu-list { gap: 2px; }
  .topbar-tools { gap: 6px; }
}
@media (max-width: 1380px) {
  :root { --bar: 76px; }
  .burger { display: inline-flex; }
  .menu { position: fixed; left: 0; right: 0; top: var(--nav-top, var(--bar)); bottom: 0; background: #fff; display: none; flex-direction: column; justify-content: flex-start; overflow-y: auto; padding: 10px 0 110px; z-index: 99; border-top: 2px solid var(--mint); }
  .nav-open .menu { display: flex; }
  .nav-open { overflow: hidden; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 4px; padding: 0 var(--gut); }
  .menu-link { width: 100%; justify-content: space-between; font-size: 1.2rem; padding: 16px 16px; border-radius: 14px; }
  .mega { position: static; padding: 6px 0 12px; }
  .mega .shell { padding: 0; }
  .mega-frame { box-shadow: none; border-radius: var(--r-lg); padding: 18px; max-height: none; background: var(--paper); }
  .mega-groups, .mega-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .mega-tiles, .mega-tiles-3 { grid-template-columns: 1fr 1fr; }
  .mega-foot { display: none; }
  .menu-mobile-foot { display: flex; flex-direction: column; gap: 10px; padding: 22px var(--gut) 0; }
  .logo { margin-right: auto; }
}
@media (max-width: 1240px) {
  .hero-frame { grid-template-columns: 1fr; gap: 28px; padding: 34px 32px; }
  .hero-side { max-width: 680px; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .doc-side { order: -1; display: grid; grid-template-columns: 1fr 1fr; align-self: start; }
  .doc-side .toc { position: static; max-height: none; grid-column: 1 / -1; }
  .doc-side .side-box, .doc-side .side-pdf { display: none; }
  .doc-main { max-width: none; }
  .post-track { grid-auto-columns: calc((100% - 40px) / 3); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-deck { grid-template-columns: 1fr; }
  .area-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry-frame, .inquiry-inline .inquiry-frame { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .home-hero-inner { min-height: 560px; }
}
@media (max-width: 860px) {
  :root { --gut: 20px; }
  body { font-size: 1.1875rem; }
  .home-sec { padding: 60px 0; }
  .home-hero-bg::after { background: linear-gradient(180deg, rgba(8, 44, 21, .82) 0%, rgba(8, 44, 21, .9) 50%, rgba(8, 44, 21, .95) 100%); }
  .home-hero-inner { min-height: 0; padding-top: 44px; padding-bottom: 40px; }
  .flow-fig { float: none; width: 100%; max-width: 440px; margin: 0 0 22px; }
  .card-grid-2, .card-grid-3, .check-list-2, dl.glossary, ul.glossary, .tick-grid, .fold-grid, .promise-grid { grid-template-columns: 1fr; }
  .photo-track { grid-auto-columns: 86%; }
  .post-track { grid-auto-columns: 78%; }
  .fold-body { padding-left: 20px; }
  .closing-frame { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .dock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 2px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 24px rgba(10, 46, 23, .1); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font: 700 1.05rem var(--head); text-decoration: none; }
  .dock-call { color: var(--g-ink); border: 2px solid var(--g); }
  .dock-mail { background: var(--g); color: #fff; }
  body { padding-bottom: 76px; }
  .nav-open .dock { display: none; }
  .float-wa { bottom: 90px; }
}
@media (max-width: 640px) {
  :root { --bar: 68px; --gut: 16px; }
  body { font-size: 1.125rem; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-word { font-size: 1.25rem; }
  .logo-sub { font-size: .74rem; }
  .topbar-tools { gap: 6px; }
  .tool { min-width: 44px; height: 44px; padding: 0 8px; }
  .tool-phone { display: none; }
  .hero { padding: 14px 10px 0; }
  .hero-frame { padding: 26px 18px; border-radius: 22px; }
  .home-hero { padding: 12px 10px 0; }
  .home-hero-bg { inset: 12px 10px 0; border-radius: 22px; }
  .home-hero-inner { padding-left: 18px; padding-right: 18px; padding-top: 22px; }
  .home-hero-actions .btn, .hero-actions .btn { width: 100%; }
  .home-badges li { font-size: .95rem; }
  .jump-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kpi-grid, .steps, .area-deck, .doc-side, .mega-groups, .mega-areas, .mega-tiles, .mega-tiles-3 { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .inquiry { padding: 56px 0; }
  .inquiry-form { padding: 22px 16px; }
  .form-submit .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .lv-box { flex-direction: column; align-items: flex-start; }
  .fold summary { padding: 14px; gap: 12px; }
  .fold-ico { width: 38px; height: 38px; }
  .band { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .search-overlay { padding-top: 12px; }
  .s-type { min-width: 0; }
  .a11y-panel { position: fixed; left: 12px; right: 12px; width: auto; top: calc(var(--bar) + 8px); }
  .closing { padding: 0 10px; }
}
@media (max-width: 380px) {
  .logo-sub { display: none; }
  .logo-word { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .tool, .chip, .fold, .faq-item, .tile, .frame-card { border: 2px solid ButtonText; }
  .check-list li::before { forced-color-adjust: none; }
}
@media print {
  .topbar, .dock, .closing, .footer, .inquiry, .doc-side, .jump, .slider-nav, .skiplinks { display: none !important; }
  body { font-size: 12pt; }
  .fold-body, .faq-body { display: block !important; }
}

/* Feinschliff Mobil */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.jump-links { max-width: 100%; }
.kpi-n .ico { width: 38px; height: 38px; padding: 7px; }
@media (max-width: 640px) {
  .jump-row { align-items: stretch; }
  .home-hero-card h1 { font-size: 2.1rem; }
  .logo { gap: 8px; }
  .logo-word { font-size: 1.15rem; }
  .tool { min-width: 42px; height: 42px; padding: 0 6px; }
  .topbar-row { gap: 8px; }
}
@media (max-width: 420px) { .logo-sub { display: none; } .logo-mark { width: 38px; height: 38px; } }
main p, main li, main td, main dd { hyphens: auto; -webkit-hyphens: auto; }
.hero-text, .doc-main, .doc-side { min-width: 0; }
h1, h2, h3 { hyphens: manual; }
@media (max-width: 640px) { h1, h2, h3, .faq-q { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
.inquiry-frame > *, .fold-grid > *, .card-grid > *, .promise-grid > *, .tick-grid > * { min-width: 0; }
.fold summary, .fold-body { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 860px) { .topbar-cta { display: none; } }
@media (min-width: 861px) and (max-width: 1380px) { .logo { margin-right: auto; } }
.home-block { margin: 1.4em 0 1.8em; }
/* Handy/Tablet: Text oben, Foto mit dem Hausmeister darunter (nicht mehr als Hintergrund) */
@media (max-width: 860px) {
  .home-hero { display: flex; flex-direction: column; padding: 12px var(--gut) 0; }
  .home-hero-inner { order: 1; width: 100%; max-width: none; margin: 0; background: var(--g-deep); border-radius: 22px 22px 0 0; padding-bottom: 30px; }
  .home-hero-bg { order: 2; position: relative; inset: auto; height: clamp(250px, 64vw, 420px); border-radius: 0 0 22px 22px; }
  .home-hero-bg img { object-position: 77% 30%; }
  .home-hero-bg::after { background: linear-gradient(180deg, rgba(8, 44, 21, .45) 0%, rgba(8, 44, 21, 0) 28%); }
}
@media (max-width: 640px) { .home-hero { padding: 12px 10px 0; } }
