/* AsbestCheck – Redesign 2026 · Design-System
   Nur Weiß. Farbe nur über Text (Tinte) und Logo. Material: weißes Milchglas über feinen Strichzeichnungen. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  /* Weiß-Stufen */
  --paper: #ffffff;
  --mist: #f7f8f8;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --rim: rgba(255, 255, 255, 0.9);
  /* Tinte (Text + Linien) – gleiche Farbe wie im Logo */
  --ink: #181b1d;
  --ink-2: #4c5458;
  --ink-3: #7d868a;
  --line: rgba(24, 27, 29, 0.12);
  --line-strong: rgba(24, 27, 29, 0.22);

  --font: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.6rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 5rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 -1px 0 rgba(24, 27, 29, 0.04) inset,
    0 18px 50px -18px rgba(24, 27, 29, 0.18), 0 2px 6px rgba(24, 27, 29, 0.04);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 4.1rem); font-stretch: 88%; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); font-stretch: 90%; }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); color: var(--ink-3); }

/* ---------- Milchglas ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font: 500 var(--step-0) / 1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: var(--step--1); }
.nav a:hover { color: var(--ink); background: rgba(24, 27, 29, 0.04); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 42px; padding: 0 18px; font-size: var(--step--1); }
.tel { font-size: var(--step--1); color: var(--ink-2); text-decoration: none; padding: 0 10px; white-space: nowrap; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav, .tel { display: none; }
  .menu-toggle {
    display: inline-flex; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: transparent; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
  }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px;
    /* verschachteltes backdrop-filter greift nicht – daher fast deckendes Weiß */
    background: var(--paper);
  }
  .site-header.open .nav a { padding: 14px 16px; font-size: var(--step-0); }
}
@media (max-width: 520px) {
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-figure { position: relative; }
.hero-figure .house { width: 100%; height: auto; }
.contact-card {
  position: absolute; right: -8px; bottom: 6%; width: min(300px, 70%);
  padding: 20px 22px; display: grid; gap: 4px;
}
.contact-card strong { font-weight: 500; }
.contact-card a { text-decoration: none; font-size: var(--step-1); letter-spacing: -0.01em; margin-top: 6px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { margin-top: 8px; }
  .contact-card { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
}

/* ---------- Strichzeichnung ---------- */
.house { color: var(--ink); overflow: visible; }
.house .l { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.house .thin { stroke-width: 0.75; opacity: 0.7; }
.house .hatch { fill: none; stroke: currentColor; stroke-width: 0.6; opacity: 0.45; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.house .stipple { stroke-width: 1.4; opacity: 0.5; }
.house .fibres { fill: none; stroke: currentColor; stroke-width: 0.45; opacity: 0.55; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Zeichnen beim Laden – der eine orchestrierte Moment der Seite */
.js .house.draw .l { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .house.draw .hatch, .js .house.draw .fibres { opacity: 0; }
.js .house.draw.go .l { animation: draw 1.6s var(--ease) forwards; }
.js .house.draw.go .g2 { animation-delay: 0.45s; }
.js .house.draw.go .g3 { animation-delay: 0.9s; }
.js .house.draw.go .hatch { animation: fade 1.2s ease 1.5s forwards; }
.js .house.draw.go .fibres { animation: fade 2.4s ease 2.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: var(--o, 0.45); } }
.house .fibres { --o: 0.55; }
.house .stipple { --o: 0.5; }

@media (prefers-reduced-motion: reduce) {
  .js .house.draw .l { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .js .house.draw .hatch, .js .house.draw .fibres { opacity: var(--o, 0.45); animation: none !important; }
}

/* ---------- Vertrauen ---------- */
.trust { border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 26px 24px; display: grid; gap: 4px; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { font-weight: 500; font-size: var(--step-1); letter-spacing: -0.01em; }
.trust span { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 860px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(odd) { padding-left: 0; }
  .trust li { padding: 20px 16px; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Unabhängigkeit */
.statement { padding-block: var(--section); }
.statement h2 { font-size: var(--step-4); font-stretch: 85%; letter-spacing: -0.04em; max-width: 14ch; }
.statement-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.statement-grid .body { display: grid; gap: 18px; color: var(--ink-2); }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; overflow: visible; }
.steps-line path { stroke: var(--ink); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step-no {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: var(--step-0); font-weight: 500; position: relative; z-index: 1;
  border-color: var(--line-strong); background: var(--paper);
}
.step p { color: var(--ink-2); max-width: 34ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps-line { display: none; }
}

/* Haus interaktiv */
.explore { background: var(--mist); }
.explore-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.explore-figure { position: relative; }
.spot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--glass-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 12px/1 var(--font); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.spot:hover, .spot[aria-pressed="true"] { background: var(--ink); color: var(--paper); transform: scale(1.12); }
.spot-panel { padding: 26px; display: grid; gap: 12px; position: sticky; top: 110px; min-height: 240px; }
.spot-panel .kicker { color: var(--ink-3); font-size: var(--step--1); }
.spot-panel h3 { font-size: var(--step-2); }
.spot-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.spot-list button {
  width: 100%; text-align: left; background: none; border: 0; padding: 10px 0; font: inherit; color: var(--ink-2);
  border-bottom: 1px solid var(--line); cursor: pointer; display: flex; gap: 12px;
}
.spot-list button[aria-pressed="true"] { color: var(--ink); }
.spot-list span { width: 22px; color: var(--ink-3); }
@media (max-width: 900px) {
  .explore-grid { grid-template-columns: 1fr; }
  .spot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11px; }
  .spot-panel { position: relative; top: 0; }
}

/* Preise */
.prices { border-top: 1px solid var(--ink); }
.price-row {
  display: grid; grid-template-columns: 1.3fr 2fr 170px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.price-row h3 { font-size: var(--step-1); }
.price-row p { color: var(--ink-2); }
.price { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.price small { font-size: var(--step--1); font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.price-foot { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; margin-top: 28px; }
@media (max-width: 760px) {
  .price-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .price-row p { grid-column: 1 / -1; grid-row: 2; }
}

/* Nachweise */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cred { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; }
.cred + .cred { padding-left: 28px; border-left: 1px solid var(--line); }
.cred .norm { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; font-stretch: 88%; }
.cred p { color: var(--ink-2); }
@media (max-width: 860px) {
  .creds { grid-template-columns: 1fr; }
  .cred, .cred + .cred { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Stimmen */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); }
.quote-main blockquote { margin: 0; font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.015em; }
.quote-main figcaption, .quote-small figcaption { margin-top: 18px; color: var(--ink-2); font-size: var(--step--1); }
.quote-side { display: grid; gap: 28px; align-content: start; }
.quote-small blockquote { margin: 0; font-size: var(--step-1); line-height: 1.4; }
.quote-small { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.rating { display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.rating b { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* B2B + Hinweis */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.panel { padding: clamp(26px, 4vw, 44px); display: grid; gap: 16px; align-content: start; border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { font-size: var(--step-2); }
.panel p { color: var(--ink-2); }
.panel .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: var(--step-1); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 70ch; }

/* Region */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.regions h3 { font-size: var(--step-0); font-weight: 500; margin-bottom: 10px; }
.regions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 860px) { .regions { grid-template-columns: 1fr 1fr; } }

/* Kontakt */
.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; opacity: 0.85; pointer-events: none; }
.contact-bg .house { position: absolute; right: -6%; top: 50%; width: 70%; transform: translateY(-50%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-direct { display: grid; gap: 20px; }
.contact-direct a.big { font-size: var(--step-2); letter-spacing: -0.02em; text-decoration: none; }
.form { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.consent { display: flex; gap: 12px; font-size: var(--step--1); color: var(--ink-2); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form .btn { justify-self: start; }
.hidden { display: none; }
@media (max-width: 860px) {
  .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .contact-bg .house { width: 140%; right: -50%; top: 30%; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: var(--step--1); color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { margin: 0 0 12px; font-weight: 500; color: var(--ink); font-size: var(--step--1); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Cookie-Hinweis */
.cookie {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: 380px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; font-size: var(--step--1); color: var(--ink-2);
}
.cookie button { flex: none; min-height: 40px; padding: 0 16px; font-size: var(--step--1); }
.cookie[hidden] { display: none; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* =========================================================
   Unterseiten
   ========================================================= */
.site-header .bar { padding: 8px 10px 8px 10px; }
.site-header .logo-link { flex-shrink: 1; min-width: 0; }

.page-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero-copy { display: grid; gap: 24px; }
.page-hero--text .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--text .page-hero-copy { max-width: 860px; }
.crumbs { color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.price-row--link { color: inherit; text-decoration: none; transition: background 0.3s var(--ease); }
.price-row--link:hover { background: var(--mist); }
.price-row--link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.link-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); }
.link-group h3 { font-size: var(--step-0); font-weight: 500; color: var(--ink-3); margin-bottom: 8px; }
.link-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.link-index li { border-bottom: 1px solid var(--line); }
.link-index a { display: grid; gap: 4px; padding: 18px 0; text-decoration: none; color: inherit; }
.link-index b { font-weight: 500; font-size: var(--step-1); letter-spacing: -0.01em; }
.link-index span { color: var(--ink-2); font-size: var(--step--1); }
.link-index a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (max-width: 760px) { .link-groups { grid-template-columns: 1fr; } }

.cta-band { position: relative; overflow: hidden; background: var(--mist); }
.cta-band .contact-bg { opacity: 0.7; }
.cta-grid { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-grid > div:first-child { display: grid; gap: 18px; }
.cta-card { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; }
.cta-card a.big { font-size: var(--step-2); letter-spacing: -0.02em; text-decoration: none; }
.cta-card .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* Fließtext-Seiten (Ratgeber, Regionen, Rechtliches) */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h4 { font-size: var(--step-0); font-weight: 600; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 1px solid var(--ink); font-size: var(--step-1); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); border-bottom-color: var(--ink); }
.prose img { border-radius: 14px; border: 1px solid var(--line);  height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--step--1); color: var(--ink-3); margin-top: 8px; }
.prose details { border-bottom: 1px solid var(--line); }
.prose details summary { cursor: pointer; padding: 16px 0; font-size: var(--step-1); color: var(--ink); }
.prose .note { padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 16px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.article-aside { position: sticky; top: 120px; padding: 24px; display: grid; gap: 10px; }
.article-aside a.big { font-size: var(--step-1); text-decoration: none; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: relative; top: 0; } }

/* Kopfzeile mit Original-Logo: mehr Breite, nichts umbrechen */
.site-header.wrap { width: min(100% - 2 * var(--gutter), 1320px); }
.site-header .logo-title, .site-header .logo-sub { white-space: nowrap; }
.nav a { white-space: nowrap; padding: 10px 12px; }
@media (max-width: 1240px) { .tel { display: none; } }
@media (max-width: 1100px) { .nav a { padding: 10px 9px; } }
.card-price { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; }

/* Ratgeber: Themenfilter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 52px); }
.chip {
  font: inherit; font-size: var(--step--1); color: var(--ink-2); cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.chip span { color: var(--ink-3); margin-left: 4px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.6); }
.link-groups--blog .link-group[hidden] { display: none; }

/* Artikel */
.meta span { color: var(--ink-2); }
.related-title { font-size: var(--step-2); margin-bottom: 18px; }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.prose > p:first-child { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }

/* Praxis-Ratgeber: Bausteine */
.block { padding-block: clamp(36px, 5vw, 64px); }
.block + .block { border-top: 1px solid var(--line); }
.block-wrap { display: grid; gap: 20px; }
.block-wrap > h2 { max-width: 22ch; }
.block-wrap > p, .block-wrap > ul:not(.sources), .block-wrap > ol { max-width: 72ch; color: var(--ink-2); }
.block-wrap > p.lede { color: var(--ink-2); max-width: 60ch; }
.block-wrap a { color: var(--ink); }
.block-wrap strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 8px; }
.fact { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.fact h3 { font-size: var(--step-1); }
.fact p { color: var(--ink-2); }
.note-glass { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; max-width: 760px; position: relative; }
.note-glass p { color: var(--ink-2); }
.block-actions { margin-top: 6px; }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 80ch; }
.sources li { padding-left: 16px; position: relative; color: var(--ink-2); }
.sources li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--ink-3); }
.block .faq { margin-top: 8px; }
.faq details > p, .faq details > div { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.page-hero--text + .block { padding-top: 0; }

/* Städte-Seiten */
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 5px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 860px) { .facts--2 { grid-template-columns: 1fr; } }
/* Buttons in Textabschnitten: Schriftfarbe nicht vom Link-Stil überschreiben lassen */
.block-wrap a.btn, .prose a.btn { color: var(--paper); text-decoration: none; }
.block-wrap a.btn--ghost, .prose a.btn--ghost { color: var(--ink); }

/* Preise: Staffel und Rechenbeispiele */
.facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .facts--4 { grid-template-columns: 1fr; } }
.receipts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); margin-top: 8px; }
.receipt { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; align-content: start; background: var(--paper); }
.receipt h3 { font-size: var(--step-1); }
.receipt dl { margin: 0; display: grid; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--ink-2); }
.receipt dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt .total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: 4px; }
.receipt .total dt, .receipt .total dd { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .receipts { grid-template-columns: 1fr; } }
.price small + small, .price small:first-child { margin-right: 2px; }

/* Kontakt */
.contact-lines { display: grid; gap: 2px; }
.contact-lines .small { margin-top: 10px; }
.form-title { font-size: var(--step-1); }

/* Unabhängigkeit, Sachkunde, Einzugsgebiet */
.seal { display: inline-grid; gap: 2px; padding: 18px 22px; justify-self: start; }
.seal strong { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; }
.certs { display: grid; gap: clamp(40px, 6vw, 80px); }
.cert { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.cert-text { display: grid; gap: 14px; }
.cert-text .norm { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; font-stretch: 88%; }
.cert-text h2 { font-size: var(--step-1); font-weight: 500; }
.cert-text p { color: var(--ink-2); max-width: 52ch; }
.cert-img { display: block; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.cert-img img { width: 100%; height: auto;  transition: transform 0.4s var(--ease); }
.cert-img:hover img { transform: scale(1.015); }
@media (max-width: 760px) { .cert { grid-template-columns: 1fr; } }
.city-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: var(--step--1); color: var(--ink); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.city-links a:hover { border-color: var(--ink); background: var(--mist); }

/* =========================================================
   Preisrechner (Original-Logik aus rechner-app.min.js)
   ========================================================= */
.calculator-card { margin-top: 8px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc-inputs { display: grid; gap: 4px; }
.calc-inputs > h3 { font-size: var(--step-1); margin: 28px 0 8px; }
.calc-inputs > h3:first-child { margin-top: 0; }
.calc-category-box { border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 10px; }
.calc-category-box h4 { margin: 0 0 4px; font-size: var(--step-0); font-weight: 600; }
.calc-group { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.calc-group > div:first-child:not(:only-child) { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.calc-group label { font-size: var(--step-0); color: var(--ink); }
.calc-group span { font-size: var(--step--1); color: var(--ink-3); }
.calc-group > div:nth-child(2) { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.calc-btn-qty {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper);
  font: 500 18px/1 var(--font); color: var(--ink); cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.calc-btn-qty:hover { border-color: var(--ink); background: var(--mist); }
.calc-group input[type="number"] {
  width: 56px; height: 38px; text-align: center; border: 0; background: transparent; font: 600 var(--step-0) var(--font);
  color: var(--ink); -moz-appearance: textfield;
}
.calc-group input[type="number"]::-webkit-inner-spin-button, .calc-group input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-group .form-control, #calcPlz {
  width: 100%; max-width: 320px; min-height: 48px; padding: 0 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, 0.85);
}
#calcCustomNote { max-width: none; }
.calc-group .form-control:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.calc-group label:has(input[type="checkbox"]) { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--step--1); color: var(--ink-2); padding: 6px 0; }
.calc-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
#plzStatus { display: block; margin-top: 6px; color: var(--ink-2) !important; font-size: var(--step--1); }
.calc-info { margin: 6px 0 4px; }
.calc-info summary { cursor: pointer; font-size: var(--step--1); color: var(--ink-2); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.calc-info summary::-webkit-details-marker { display: none; }
.calc-info-icon { width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; color: var(--ink) !important; }
.calc-info-body { padding: 12px 0 4px; display: grid; gap: 8px; }
.calc-info-body p { font-size: var(--step--1); color: var(--ink-2); max-width: 70ch; }

.calc-summary {
  position: sticky; top: 110px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--rim); border-radius: var(--radius); box-shadow: var(--shadow);
}
.calc-summary h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--step-1); }
.calc-summary h3 span + span { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); }
#calcBreakdown, #calcBreakdown * { color: var(--ink) !important; background: transparent !important; border-color: var(--line) !important; box-shadow: none !important; font-family: var(--font) !important; }
#calcBreakdown { font-size: var(--step--1); display: grid; gap: 2px; }
#calcBreakdown > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc-summary > div:last-child { display: grid; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; }
.calc-summary > div:last-child > div { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.calc-summary > div:last-child > div > div { display: grid; gap: 2px; }
.calc-summary > div:last-child > div > div span:first-child { font-weight: 600; }
.calc-summary > div:last-child > div > div span + span { font-size: 12px; color: var(--ink-3); }
#calcTotalBrutto { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-adopt { width: 100%; }
@media (max-width: 960px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-summary { position: relative; top: 0; }
}

/* Vom alten Skript eingeblendete Hinweise ausblenden (eigener Cookie-Hinweis vorhanden) */
#asbestcheck-safety-notice, #asbestcheck-cookie-notice { display: none !important; }

/* Sprachversionen: Bewertungen als Raster */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quote-grid .quote-small blockquote { font-size: var(--step-0); line-height: 1.5; color: var(--ink); }

/* Sprachversionen: Haus-Teaser mit Foto */
.teaser-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.teaser-img { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.teaser-img img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }

/* Kein seitliches Scrollen durch Zierelemente */
html, body { overflow-x: clip; }

/* =========================================================
   Preisrechner (rechner.js) – ruhige Auswahl mit Kacheln
   ========================================================= */
.r-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.r-form { display: grid; gap: clamp(56px, 7vw, 88px); }
.r-step-block { display: grid; gap: 18px; }
.r-step-block > h2 { font-size: var(--step-2); }
.r-kicker { font-size: var(--step--1); color: var(--ink-3); }
.r-sub { font-size: var(--step-0); font-weight: 500; margin-top: 18px; }

/* Schritt 1: PLZ */
.r-plz { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.r-plz-input {
  width: 200px; height: 72px; padding: 0 24px; font: 500 32px/1 var(--font); letter-spacing: 0.12em; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 20px; background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s;
}
.r-plz-input::placeholder { color: var(--ink-3); letter-spacing: 0.04em; font-weight: 400; }
.r-plz-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(24, 27, 29, 0.06); }
.r-status { flex: 1; min-width: 220px; color: var(--ink-2); }
.r-zonebar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line); }
.r-zonebar li { padding: 14px 4px 0; display: grid; gap: 2px; border-top: 2px solid transparent; margin-top: -2px; color: var(--ink-3); transition: border-color 0.25s, color 0.25s; }
.r-zonebar li span { font-size: var(--step--1); }
.r-zonebar li b { font-weight: 500; color: var(--ink-2); }
.r-zonebar li.is-active { border-top-color: var(--ink); color: var(--ink); }
.r-zonebar li.is-active b { color: var(--ink); }

/* Schritt 2: Kacheln */
.rt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rt {
  position: relative; display: grid; gap: 8px; align-content: start; padding: 24px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.rt:hover { border-color: rgba(24, 27, 29, 0.4); }
.rt.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.rt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rt-head h3 { font-size: var(--step-1); }
.rt-tag { font-size: 12px; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; }
.rt-price { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em; }
.rt-price small { display: block; font-size: var(--step--1); font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.rt-desc { color: var(--ink-2); font-size: var(--step--1); }
.rt-qty { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.rt-qty input {
  width: 56px; height: 44px; text-align: center; border: 0; background: transparent; font: 500 var(--step-1) var(--font);
  color: var(--ink); -moz-appearance: textfield;
}
.rt-qty input::-webkit-inner-spin-button, .rt-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.r-step {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper);
  font: 300 22px/1 var(--font); color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.r-step:hover { border-color: var(--ink); }
.rt.is-selected .r-step[data-d="1"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rt-qty--sm { margin-top: 0; }
.rt-qty--sm .r-step { width: 36px; height: 36px; font-size: 18px; }
.rt-qty--sm input { width: 40px; height: 36px; font-size: var(--step-0); }

.r-versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius); background: var(--mist); }
.r-versus div { display: grid; gap: 2px; }
.r-versus b { font-weight: 600; }
.r-versus span { color: var(--ink-2); font-size: var(--step--1); }
.r-versus-mid { font-size: var(--step--1); color: var(--ink-3); }
.r-info summary { cursor: pointer; color: var(--ink-2); font-size: var(--step--1); text-decoration: underline; text-underline-offset: 0.2em; list-style: none; }
.r-info summary::-webkit-details-marker { display: none; }
.r-info[open] { padding: 18px 22px; border-radius: var(--radius); background: var(--mist); }
.r-info p { font-size: var(--step--1); color: var(--ink-2); margin-top: 10px; max-width: 75ch; }

/* Listen auf Anfrage / Zusatzleistungen */
.rq { border-top: 1px solid var(--line-strong); }
.rq-title { padding: 14px 0 4px; font-weight: 500; }
.rq-title span { font-weight: 400; color: var(--ink-3); }
.rq-row, .rs { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rq-row > div:first-child { display: grid; gap: 2px; }
.rq-label, .rs-text { color: var(--ink); }
.rq-desc { font-size: var(--step--1); color: var(--ink-3); }
.rs { cursor: pointer; }
.rs-text { flex: 1; }
.rs-price { color: var(--ink-2); font-size: var(--step--1); white-space: nowrap; }
.rs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rs-track { position: relative; width: 46px; height: 28px; border-radius: 999px; background: rgba(24, 27, 29, 0.14); flex: none; transition: background 0.25s var(--ease); }
.rs-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(24, 27, 29, 0.3); transition: transform 0.25s var(--ease); }
.rs input:checked + .rs-track { background: var(--ink); }
.rs input:checked + .rs-track::after { transform: translateX(18px); }
.rs input:focus-visible + .rs-track { outline: 2px solid var(--ink); outline-offset: 3px; }
.r-note-label { font-size: var(--step--1); color: var(--ink-2); margin-top: 8px; }
.r-note { width: 100%; min-height: 52px; padding: 0 16px; font: inherit; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); }
.r-note:focus { outline: none; border-color: var(--ink); }

/* Zusammenfassung */
.r-summary {
  position: sticky; top: 110px; padding: 28px; display: grid; gap: 14px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--rim); border-radius: 26px; box-shadow: var(--shadow);
}
.r-total { font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.r-total-note { font-size: 12px; color: var(--ink-3); }
.r-lines { display: grid; border-top: 1px solid var(--line-strong); margin-top: 6px; }
.r-lines .small { padding-top: 12px; }
.r-line { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-2); }
.r-line b { color: var(--ink); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-line.r-sub { color: var(--ink-3); }
.r-open, .r-foot { font-size: 12px; color: var(--ink-3); }
#rUebernehmen { width: 100%; min-height: 54px; }

@media (max-width: 1060px) { .r-grid { grid-template-columns: 1fr; } .r-summary { position: relative; top: 0; } }
@media (max-width: 640px) {
  .rt-grid { grid-template-columns: 1fr; }
  .r-zonebar { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .r-versus { grid-template-columns: 1fr; }
  .r-versus-mid { display: none; }
}

/* ---------- Rechner: ruhige, weiche Animationen ---------- */
.rt { transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease); }
.rt.is-selected { transform: translateY(-2px); }
.r-step { transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease); }
.r-step:active { transform: scale(.92); }
.rt-qty input.is-bump { animation: r-bump .32s var(--ease); }
@keyframes r-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.r-total { transition: color .3s var(--ease); }
.r-total.is-bump { animation: r-glow .6s var(--ease); }
@keyframes r-glow { 0% { opacity: .55; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
.r-line.is-new { animation: r-in .45s var(--ease) both; }
@keyframes r-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.r-zonebar { position: relative; border-top-color: var(--line); }
.r-zonebar li, .r-zonebar li.is-active { border-top-color: transparent; }
.r-zonebar::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 25%; height: 2px; background: var(--ink);
  transform: translateX(calc(var(--zone, 0) * 100%)); opacity: 0;
  transition: transform .55s var(--ease), opacity .3s var(--ease);
}
.r-zonebar.has-zone::before { opacity: 1; }
.r-zonebar li { transition: color .35s var(--ease); }
.r-status { transition: opacity .3s var(--ease); }
.rs-track, .rs-track::after { transition-duration: .3s; }
.r-info[open] p { animation: r-in .4s var(--ease) both; }
.r-plz-input { transition: border-color .25s var(--ease), box-shadow .3s var(--ease); }
@media (max-width: 640px) { .r-zonebar::before { display: none; } .r-zonebar li.is-active { border-top-color: var(--ink); } }
@media (prefers-reduced-motion: reduce) {
  .rt, .r-step, .r-zonebar::before, .rs-track, .rs-track::after { transition: none !important; }
  .rt.is-selected { transform: none; }
  .rt-qty input.is-bump, .r-total.is-bump, .r-line.is-new, .r-info[open] p { animation: none !important; }
}
@media (max-width: 640px) {
  .r-zonebar { border-top: 0; gap: 8px; }
  .r-zonebar li, .r-zonebar li.is-active { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 0; }
  .r-zonebar li.is-active { border-color: var(--ink); background: var(--mist); }
}


/* Staub beim Klicken */
.dust-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }

/* Haus-Zeichnung: nach dem ersten Zeichnen langsam und dauerhaft neu zeichnen */
/* beginnt im fertig gezeichneten Zustand: stehen lassen, langsam auslöschen, langsam neu zeichnen */
@keyframes house-loop {
  0%, 40%   { stroke-dashoffset: 0; }
  62%       { stroke-dashoffset: -1; }
  62.01%    { stroke-dashoffset: 1; }
  100%      { stroke-dashoffset: 0; }
}
@keyframes house-fade-loop {
  0%, 36%   { opacity: var(--o, .45); }
  52%, 80%  { opacity: 0; }
  100%      { opacity: var(--o, .45); }
}
.js .house.draw.go .l { animation: draw 2.4s var(--ease) forwards, house-loop 16s ease-in-out 4s infinite; }
.js .house.draw.go .g2 { animation-delay: .5s, 4.6s; }
.js .house.draw.go .g3 { animation-delay: 1s, 5.2s; }
.js .house.draw.go .hatch { animation: fade 1.4s ease 1.8s forwards, house-fade-loop 16s ease-in-out 4s infinite; }
.js .house.draw.go .fibres { animation: fade 2.4s ease 2.2s forwards, house-fade-loop 16s ease-in-out 4s infinite, fibre-drift 9s ease-in-out 2s infinite alternate; transform-box: fill-box; transform-origin: 0% 100%; }
@keyframes fibre-drift { from { transform: rotate(-2deg) translateY(0); } to { transform: rotate(3deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .js .house.draw.go .l, .js .house.draw.go .hatch, .js .house.draw.go .fibres { animation: none !important; }
  .dust-canvas { display: none; }
}

/* Menüleiste mit allen Punkten */
.nav { gap: 0; margin-left: 28px; }
.nav a { padding: 10px 10px; }
@media (max-width: 1600px) { .site-header .tel { display: none; } }
@media (max-width: 1360px) { .nav a { padding: 10px 7px; font-size: 13px; } }
@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .site-header.open .nav a { padding: 14px 16px; font-size: var(--step-0); }
}

.site-header .logo-link { flex: 0 0 auto; }
.site-header .nav { min-width: 0; }

/* Partnerinformation Immobilien */
.eyebrow-line { color: var(--ink-3); letter-spacing: .02em; }
.pi-em { font-style: normal; color: var(--ink-3); }
.pi-note { color: var(--ink-3); margin-top: 14px; }
.pi-card { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-self: center; }
.pi-kicker { color: var(--ink-3); }
.pi-card h2 { font-size: var(--step-2); }
.pi-flow { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.pi-flow li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.pi-flow li span { font-variant-numeric: tabular-nums; color: var(--ink-3); padding-top: 1px; }
.pi-flow strong { display: block; font-weight: 600; }
.pi-flow small { display: block; color: var(--ink-2); font-size: var(--step--1, 14px); margin-top: 3px; }
.pi-no { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.pi-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pi-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pi-cases > div { padding: 20px 22px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; border-radius: var(--radius); }
.pi-cases span { color: var(--ink-3); font-weight: 600; }
.pi-cases p { margin: 0; color: var(--ink-2); }
.pi-cases strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.pi-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); max-width: none !important; }
.pi-steps li { display: grid; gap: 10px; align-content: start; }
.pi-steps h3 { font-size: var(--step-1); }
.pi-steps p { color: var(--ink-2); }
.pi-disclaimer { max-width: 90ch; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 1000px) { .pi-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pi-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pi-steps, .pi-cases { grid-template-columns: 1fr; } }

/* ===== Startseite & Städte mit Originaltext (gen_home.py) ===== */
.hero-copy .eyebrow-line { margin-bottom: 4px; }
.hero-copy > .small { color: var(--ink-3); margin-top: 6px; }
.hero-copy > .small a { color: var(--ink); }
.home-house { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 12px; }
.home-house h2 { font-size: var(--step-2); letter-spacing: -0.02em; }
.home-house-img { display: block; border-radius: 14px; overflow: hidden; }
.home-house-img img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.home-house-img:hover img { transform: scale(1.03); }
.home-house p { color: var(--ink-2); font-size: var(--step--1); }
.home-house p a { color: var(--ink); }
.home-house .btn { justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.6); transition: border-color .2s, background .2s; }
.chips .chip:hover { border-color: var(--ink); background: #fff; }
.hero-stats-card { position: absolute; right: 0; bottom: 6%; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 14px 28px; }
.stat-list li { display: grid; gap: 2px; }
.stat-list b { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; }
.stat-list span { font-size: 13px; color: var(--ink-3); }

.sub-card { text-decoration: none; color: var(--ink); transition: background .25s; border-radius: 0; }
.sub-card:hover { background: rgba(255,255,255,.55); }
.sub-card h3 { font-size: var(--step-1); }
.sub-card .sub-price { font-size: var(--step-1); }
.sub-card .sub-more { color: var(--ink); }

.safety-panel { border: 1px solid var(--line-strong); }
.safety-panel h2 { font-size: var(--step-3); letter-spacing: -0.03em; }
.safety-kicker { letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.safety-note { padding: 14px 18px; border-left: 2px solid var(--ink); background: rgba(255,255,255,.7); border-radius: 0 12px 12px 0; color: var(--ink) !important; }
.safety-note strong { font-weight: 500; }

.block .section-head + .block-wrap { margin-top: 0; }
.sub-box { max-width: none; }
.sub-box h3 { font-size: var(--step-1); }
.sub-box .sub-h { font-size: var(--step-0); font-weight: 600; margin-top: 6px; }
.sub-box .sub-h a { color: var(--ink); }

.statement .eyebrow-line { margin-bottom: 14px; }
.statement .body .hero-actions { margin-top: 4px; }
.shield-card { padding: 18px 22px; display: grid; gap: 4px; justify-self: start; margin-top: 8px; }
.shield-card b { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; }
.cred > .small.muted:empty { display: none; }

.rating-line { color: var(--ink-2); }
.rating-line strong { font-size: var(--step-2); font-weight: 500; color: var(--ink); margin-right: 6px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.review { margin: 0; padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 12px; border-radius: var(--radius); }
.review figcaption { display: grid; gap: 2px; }
.review figcaption b { font-weight: 600; }
.review blockquote { margin: 0; display: grid; gap: 10px; color: var(--ink-2); }
.review-short:empty { display: none; }
.review-more summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.review-more summary::-webkit-details-marker { display: none; }
.review-more .less, .review-more[open] .more { display: none; }
.review-more[open] .less { display: inline; }
.review-more[open] summary { margin-bottom: 10px; }
.review-more[open] ~ * , .review:has(.review-more[open]) .review-short { display: none; }
#bewertungen .hero-actions { margin-top: 24px; }
#bewertungen .small { color: var(--ink-3); margin-top: 10px; max-width: 80ch; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

.receipts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.receipt .price-tag { font-size: var(--step-1); color: var(--ink-2); }
.receipt .price-tag b { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.receipt .btn { justify-self: start; }
.price-foot p { max-width: 80ch; }
@media (max-width: 1000px) { .receipts--3 { grid-template-columns: 1fr; } }

.standort { padding-block: 0 clamp(20px, 3vw, 40px); }
.standort p { color: var(--ink-3); }
.standort a { color: var(--ink); }

.contact-tiles { display: grid; gap: 12px; margin-top: 10px; }
.contact-tile { padding: 18px 22px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); border-radius: var(--radius); transition: transform .3s var(--ease); }
.contact-tile:hover { transform: translateY(-2px); }
.contact-tile b { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em; }
.form-title { font-size: var(--step-1); margin-bottom: 6px; }
.form-success { padding: 28px; display: grid; gap: 10px; margin-top: 16px; }
.legal-acc { margin-top: clamp(36px, 5vw, 64px); position: relative; }
.legal-acc .legal-body { display: grid; gap: 10px; padding-bottom: 24px; color: var(--ink-2); max-width: 90ch; }
.legal-acc .legal-body p { padding: 0; }
.home-house .chips { margin-bottom: 0; }
.section-head .lede { max-width: 62ch; }
.cred > .small.muted { letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.form-success[hidden] { display: none; }
.link-index .li-kicker { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.link-index .li-more { font-style: normal; font-size: 14px; color: var(--ink); margin-top: 4px; }
.link-index .li-more::after { content: " →"; transition: margin .25s var(--ease); }
.link-index a:hover .li-more::after { margin-left: 4px; }
.link-index span:empty { display: none; }
.link-index--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); border-top: 0; }
.link-index--grid li { border-top: 1px solid var(--line-strong); border-bottom: 0; }
@media (max-width: 1000px) { .link-index--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .link-index--grid { grid-template-columns: 1fr; } }
.contact-reviews { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.price-row .price-row-btn { grid-column: 1 / -1; justify-self: start; }
.stars { letter-spacing: .12em; color: var(--ink); font-size: 14px; }
.sr-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Einstieg: Warnhinweis → Logo → Faser-Explosion ===== */
html.intro body { overflow: hidden; }
html.intro body::before { content: ""; position: fixed; inset: 0; background: #fff; z-index: 9990; }
.intro-lock { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px;
  background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  transition: background 1.3s var(--ease), backdrop-filter 1.3s var(--ease), -webkit-backdrop-filter 1.3s var(--ease); }
.intro-card { width: min(760px, 100%); display: grid; gap: clamp(14px, 2vw, 22px); justify-items: start; text-align: left;
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.intro.is-in .intro-card { opacity: 1; transform: none; }
.intro-sign { width: clamp(54px, 7vw, 78px); height: auto; fill: none; stroke: #d7261e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.intro-sign path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro.is-in .intro-sign path { animation: draw 1.1s var(--ease) forwards; }
.intro.is-in .intro-sign path:nth-child(2) { animation-delay: .7s; }
.intro.is-in .intro-sign path:nth-child(3) { animation-delay: .95s; animation-duration: .3s; }
.intro-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.intro-title { font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -0.045em; font-weight: 500; font-stretch: 85%; color: var(--ink); max-width: 14ch; }
.intro-text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.intro-text strong { color: var(--ink); font-weight: 600; }
.intro-note { padding: 14px 18px; border-left: 2px solid var(--ink); background: var(--mist); border-radius: 0 12px 12px 0; color: var(--ink); max-width: 60ch; }
.intro-ok { margin-top: 6px; padding: 18px 40px; font-size: 1.05rem; }
.intro.is-logo .intro-card { opacity: 0; transform: translateY(-14px) scale(.98); transition-duration: .3s; pointer-events: none; }
.intro-logo { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); color: #19332e;
  font-family: -apple-system, "system-ui", Inter, sans-serif; opacity: 0; transform: scale(.86); filter: blur(6px);
  transition: opacity .3s var(--ease) .05s, transform .4s var(--ease) .05s, filter .3s var(--ease) .05s; pointer-events: none; }
.intro.is-logo .intro-logo { opacity: 1; transform: none; filter: none; }
.intro-logo-icon { width: clamp(84px, 13vw, 150px); aspect-ratio: 1; border-radius: 30%; padding: 3%; background: rgba(255,255,255,.6);
  border: 1px solid rgba(25,51,46,.12); box-shadow: 0 20px 60px rgba(25,51,46,.12); display: grid; place-items: center; }
.intro-logo-icon img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.intro-logo-text { display: flex; flex-direction: column; }
.intro-logo-title { font-size: clamp(2rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: .15em; line-height: 1; color: #19332e; }
.intro-logo-sub { font-size: clamp(.55rem, 1.05vw, .9rem); font-weight: 700; letter-spacing: .12em; color: #49635c; margin-top: .5em; }
.intro.is-out { background: rgba(255,255,255,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.intro-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro.is-burst { pointer-events: none; }
@media (max-width: 640px) {
  .intro { place-items: end center; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); overflow: auto; }
  .intro-logo { flex-direction: column; text-align: center; }
  .intro-logo-title { letter-spacing: .1em; }
  .intro-ok { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-card, .intro-logo { transition-duration: .01s; filter: none; }
  .intro.is-in .intro-sign path { animation: none; stroke-dashoffset: 0; }
}

.intro-lock #cookie, .intro-lock .cookie { visibility: hidden; }
.hero-eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--ink-3); margin-bottom: 14px; }
.h1-region { display: block; color: var(--ink-3); }
.hero-copy .lede { max-width: 44ch; }
.nowrap { white-space: nowrap; }
.hero h1 .h1-region { font-size: .86em; }

/* Anruf-Icon im Header (2026-11-06) */
.call-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border-radius:999px;border:1px solid var(--line-strong);background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ink);text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.call-btn:hover{background:#fff;border-color:var(--ink-3);transform:translateY(-1px)}
.call-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
