/* Kaminkehrer DISINT – Hausschnitt
   Hell: Bauzeichnung auf Planpapier. Dunkel: Blaupause. Orange ist der einzige Akzent. */

@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-2: #eef3f6;
  --paper-3: #dfe8ed;
  --grid: rgba(36, 80, 106, 0.075);
  --line: #24506a;
  --line-soft: #8aa6b6;
  --ink: #001722;
  --ink-2: #33505f;
  --accent: #f7931e;
  --accent-strong: #e07f0b;
  --accent-ink: #001722;
  --accent-text: #a85600;
  --navy: #001722;
  --navy-2: #0b2b3c;
  --on-navy: #f4f1ea;
  --on-navy-2: #b9cad3;
  --logo-ink: #001722;
  --logo-orange: #f7931e;
  --house-filter: none;
  --house-blend: multiply;

  --font-display: "Overpass", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --step--1: 1rem;
  --step-0: 1.1875rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1280px;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 84px;
  --radius: 6px;
  --hero-text-max: 34rem;
  --house-max: 860px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #001722;
  --paper-2: #062435;
  --paper-3: #0c3045;
  --grid: rgba(201, 215, 222, 0.07);
  --line: #c9d7de;
  --line-soft: #5f7f92;
  --ink: #f4f1ea;
  --ink-2: #b9cad3;
  --accent-text: #f7931e;
  --navy: #000e15;
  --navy-2: #062435;
  --logo-ink: #f4f1ea;
  --house-filter: invert(1) hue-rotate(180deg) saturate(1.3);
  --house-blend: lighten;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #001722;
    --paper-2: #062435;
    --paper-3: #0c3045;
    --grid: rgba(201, 215, 222, 0.07);
    --line: #c9d7de;
    --line-soft: #5f7f92;
    --ink: #f4f1ea;
    --ink-2: #b9cad3;
    --accent-text: #f7931e;
    --navy: #000e15;
    --navy-2: #062435;
    --logo-ink: #f4f1ea;
    --house-filter: invert(1) hue-rotate(180deg) saturate(1.3);
    --house-blend: lighten;
  }
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p, li { max-width: 68ch; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; text-decoration-color: var(--accent); }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.num, .tabular { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
html { scrollbar-color: var(--line-soft) var(--paper-2); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--plan {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.section--navy { background: var(--navy); color: var(--on-navy); --ink: var(--on-navy); --ink-2: var(--on-navy-2); --line: #c9d7de; --line-soft: #5f7f92; --accent-text: var(--accent); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--ink-2); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 56px; padding: 0.7em 1.25em;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1.1;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out), color 0.18s;
  cursor: pointer;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--navy .btn--ghost:hover { color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-display); font-weight: 700;
  text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 55%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; color: var(--ink); }
.brand svg { height: 54px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 28px); }
.main-nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-tel { min-height: 48px; font-size: 1.0625rem; padding: 0.55em 1em; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius);
  border: 1.5px solid color-mix(in srgb, var(--line-soft) 70%, transparent); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: 1rem; }
}
@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .brand svg { height: 44px; }
  .menu-toggle { display: inline-grid; }
  .header-tel span.tel-text { display: none; }
  .header-tel { padding: 0; width: 48px; justify-content: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line-soft); padding: 8px var(--gutter) 24px;
    display: none; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 45%, transparent); }
  .header-actions { margin-left: auto; }
}

/* Handy-Leiste */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    background: var(--navy); color: var(--on-navy); border-top: 1px solid #24506a;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .call-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-decoration: none; color: inherit;
  }
  .call-bar a:first-child { background: var(--accent); color: var(--accent-ink); }
  .call-bar svg { width: 22px; height: 22px; }
  body { padding-bottom: 64px; }
}

/* Startseite: Hausschnitt */
.schnitt { position: relative; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; }
.schnitt .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 72px); }
.schnitt-text { padding-bottom: var(--section); }
.hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 48px 64px; max-width: var(--hero-text-max); }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 0.45em; }
.hero .lead { max-width: 34ch; }
.masszeile {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft); font-size: var(--step--1); color: var(--ink-2); list-style: none; padding-left: 0;
}
.masszeile li { display: flex; align-items: baseline; gap: 8px; }
.masszeile b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.masszeile a { color: inherit; }

.schnitt-figur { position: relative; }
.schnitt-figur .sticky {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h));
  display: flex; align-items: center; justify-content: center; padding-block: 24px;
}
.haus { position: relative; width: 100%; max-width: var(--house-max); aspect-ratio: 916 / 887; max-height: 100%; margin-inline: auto; }
.haus-bild { width: 100%; height: 100%; object-fit: contain; filter: var(--house-filter); mix-blend-mode: var(--house-blend); }
:root .haus { background: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .haus-bild { animation: bauen 1.5s var(--ease-out) both; }
  @keyframes bauen { from { clip-path: inset(38% 0 0 0); opacity: 0.6; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
}
.punkt {
  position: absolute; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: block; z-index: 2;
}
.punkt::after {
  content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 3px solid var(--accent);
  opacity: 0; transform: scale(0.7); transition: opacity 0.3s var(--ease-out), transform 0.5s var(--ease-out);
}
.punkt:hover::after, .punkt.is-active::after { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .punkt.is-active::after { animation: puls 2.4s var(--ease-out) infinite; }
  @keyframes puls { 0% { transform: scale(0.8); opacity: 1; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
}
.planstempel {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  font-family: var(--font-display); font-size: 0.875rem; line-height: 1.3; color: var(--ink-2);
  border: 1.5px solid var(--line); background: var(--paper); padding: 8px 12px; display: grid; grid-template-columns: auto auto; gap: 2px 14px;
}
.planstempel b { color: var(--ink); font-weight: 800; }

.stationen-kopf { margin-bottom: 2.5rem; }
.stationen { list-style: none; margin: 0; padding: 0; counter-reset: station; }
.station {
  display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 2rem 0 2.25rem;
  border-top: 1px solid color-mix(in srgb, var(--line-soft) 70%, transparent);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.station:last-child { border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 70%, transparent); }
.station-nr {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink);
  transition: background-color 0.3s var(--ease-out);
}
.station.is-active .station-nr { background: var(--accent); color: var(--accent-ink); }
.station h3 { margin: 0.35rem 0 0.5rem; font-size: var(--step-2); }
.station .ort { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--accent-text); margin-bottom: 2px; }
.station p { color: var(--ink-2); }
.station ul { margin: 0.25rem 0 1rem; padding-left: 1.1em; color: var(--ink-2); }
.station ul li::marker { color: var(--accent); }
.station .links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

@media (max-width: 960px) {
  .schnitt .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: 0; padding-block: 40px 24px; max-width: none; }
  .schnitt-figur { order: 0; }
  .schnitt-text { display: contents; }
  .hero { order: -2; }
  .schnitt-figur { order: -1; margin-inline: calc(var(--gutter) * -0.5); }
  .schnitt-figur .sticky { position: relative; top: 0; height: auto; padding-block: 8px 40px; }
  .stationen-block { order: 1; padding-bottom: var(--section); }
  .planstempel { font-size: 0.75rem; padding: 6px 8px; }
}

/* Zuständigkeit */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.diagramm { color: var(--line); }
.diagramm svg { width: 100%; height: auto; overflow: visible; }
.diagramm figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: 12px; }
.dg-text { font-family: var(--font-display); fill: var(--ink); }
.dg-soft { fill: var(--ink-2); }
.dg-line { stroke: var(--line); fill: none; }
.dg-hatch line { stroke: var(--line-soft); }
.dg-paper { fill: var(--paper); }
.dg-accent { fill: var(--accent); }
.dg-accent-stroke { stroke: var(--accent); fill: none; }

/* Bildband */
.bildband { position: relative; color: #fff; background: #0e2236; overflow: hidden; }
.bildband picture, .bildband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.bildband::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(4, 18, 32, 0.86) 0%, rgba(4, 18, 32, 0.62) 38%, rgba(4, 18, 32, 0) 62%);
}
.bildband .wrap { position: relative; z-index: 2; min-height: clamp(520px, 46vw, 720px); display: flex; align-items: center; padding-block: var(--section); }
.bildband .text { max-width: 36rem; }
.bildband h2 { color: #fff; }
.bildband p { color: #e3ebf0; font-size: var(--step-1); line-height: 1.5; }
.bildband .partner { font-size: var(--step-0); color: #c6d4dc; border-top: 1px solid rgba(201, 215, 222, 0.4); padding-top: 1rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .bildband { background: #0e2236; }
  .bildband picture, .bildband img { position: relative; height: 300px; object-position: 78% 30%; }
  .bildband::before { display: none; }
  .bildband .wrap { min-height: 0; padding-block: 40px 64px; }
}

/* Team */
.team { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; margin-top: 3rem; }
.person { margin: 0; }
.person .foto { position: relative; border: 1.5px solid var(--line); padding: 10px; background: var(--paper); }
.person .foto img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.92); }
.person .foto::after {
  content: ""; position: absolute; left: -1.5px; right: -1.5px; bottom: -22px; height: 14px;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) center / 100% 1.5px no-repeat;
}
.person figcaption { padding-top: 36px; }
.person h3 { margin: 0 0 0.2rem; }
.person .rolle { font-family: var(--font-display); font-weight: 700; color: var(--accent-text); font-size: 1rem; line-height: 1.35; margin-bottom: 0.6rem; }
.person p { color: var(--ink-2); font-size: var(--step--1); }
.person--gross h3 { font-size: var(--step-2); }
@media (max-width: 900px) {
  .team { grid-template-columns: 1fr 1fr; }
  .person--gross { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: end; }
  .person--gross figcaption { padding-top: 0; }
  .person--gross .foto::after { display: none; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr; }
  .person--gross { grid-template-columns: 1fr; }
  .person--gross figcaption { padding-top: 36px; }
  .person--gross .foto::after { display: block; }
  .person:not(.person--gross) { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
  .person:not(.person--gross) .foto::after { display: none; }
  .person:not(.person--gross) figcaption { padding-top: 0; }
}

/* Bewertung und Siegel */
.vertrauen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .vertrauen { grid-template-columns: 1fr; } }
.bewertung .wert { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.bewertung .zahl { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 9.5rem); line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sterne { display: flex; gap: 4px; color: var(--accent); margin-bottom: 10px; }
.sterne svg { width: 30px; height: 30px; }
.bewertung .anzahl { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.bewertung .quelle { font-size: var(--step--1); color: var(--ink-2); margin-top: 1rem; }
.siegel { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.siegel li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; max-width: none;
  border: 1.5px solid var(--line-soft); border-radius: var(--radius); padding: 14px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.3;
}
.siegel svg { width: 44px; height: 44px; color: var(--accent); }

/* FAQ */
.faq { max-width: 900px; margin-top: 2.5rem; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 70%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center;
  padding: 1.35rem 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary .plus { width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform 0.25s var(--ease-out), background-color 0.2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq .antwort { padding: 0 48px 1.5rem 0; color: var(--ink-2); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .kontakt { grid-template-columns: 1fr; } }
.kontaktwege { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.kontaktwege li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 60%, transparent); max-width: none; }
.kontaktwege svg { width: 24px; height: 24px; color: var(--accent-text); margin-top: 3px; }
.kontaktwege .art { display: block; font-size: 0.95rem; color: var(--ink-2); line-height: 1.3; }
.kontaktwege a, .kontaktwege .wert { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.kontaktwege a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.zeiten { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; }

.formular { background: var(--paper); border: 1.5px solid var(--line); padding: clamp(20px, 3vw, 40px); position: relative; }
.formular h3 { font-size: var(--step-2); }
.field { margin-bottom: 1.15rem; }
.field label, .field .label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; }
.field .opt { font-family: var(--font-body); font-weight: 400; color: var(--ink-2); font-size: 0.95rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 1.125rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7931e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 0.85; }
.field .hint { font-size: 0.95rem; color: var(--ink-2); margin: 6px 0 0; }
.field-error { display: none; color: #b42318; font-weight: 600; font-size: 1rem; margin: 6px 0 0; }
:root[data-theme="dark"] .field-error { color: #ffb4a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #ffb4a8; } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: 1rem !important; line-height: 1.45; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.is-error { color: #b42318; }
#form-wrap.is-sent form { display: none; }
#form-success { outline: none; }
#form-success h3 { font-size: var(--step-2); }
.formular .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* Fußzeile */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-block: 64px 40px; font-size: 1.0625rem; }
.site-footer a { color: var(--on-navy); text-decoration-color: rgba(247, 147, 30, 0.7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 1.125rem; color: var(--on-navy); margin-bottom: 0.8rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { color: var(--on-navy); --logo-ink: #f4f1ea; }
.footer-brand svg { height: 60px; width: auto; margin-bottom: 18px; }
.footer-unten { margin-top: 48px; padding-top: 20px; border-top: 1px solid #24506a; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.95rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Unterseiten */
.seitenkopf { background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 55%, transparent); }
.seitenkopf .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 96px); }
.seitenkopf h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.02em; }
.seitenkopf .lead { max-width: 38ch; }
.brotkrumen { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; color: var(--line-soft); }
.detail { color: var(--line); }
.detail svg { width: 100%; height: auto; max-height: 560px; }
@media (max-width: 900px) {
  .seitenkopf .wrap { grid-template-columns: 1fr; }
  .detail { max-width: 520px; }
}
.inhalt h2 { max-width: 22ch; }
.inhalt-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); }
.inhalt-grid > :first-child h2 { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .inhalt-grid { grid-template-columns: 1fr; } .inhalt-grid > :first-child h2 { position: static; } }
.liste { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.liste li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 55%, transparent); }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.hinweis { border: 1.5px solid var(--line); padding: 1.25rem 1.5rem; background: var(--paper); margin: 1.5rem 0; }
.hinweis p:last-child { margin-bottom: 0; }
.vergleich { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); margin: 2rem 0; }
.vergleich > div { padding: clamp(20px, 3vw, 36px); }
.vergleich > div + div { border-left: 1.5px solid var(--line); }
@media (max-width: 700px) { .vergleich { grid-template-columns: 1fr; } .vergleich > div + div { border-left: 0; border-top: 1.5px solid var(--line); } }
.leistungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: 2rem; }
.leistungen > div { padding: 1.5rem 0; border-top: 1.5px solid var(--line); }
.leistungen h3 { display: flex; gap: 12px; align-items: baseline; }
.leistungen h3 .nr { font-variant-numeric: tabular-nums; color: var(--accent-text); font-size: 1rem; }
.leistungen p { color: var(--ink-2); }
@media (max-width: 760px) { .leistungen { grid-template-columns: 1fr; } }
.ablauf { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.ablauf::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 16px); }
.ablauf li { position: relative; padding-right: 24px; max-width: none; }
.ablauf .schritt { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 18px; }
.ablauf p { color: var(--ink-2); }
@media (max-width: 860px) {
  .ablauf { grid-template-columns: 1fr; }
  .ablauf::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 16px); }
  .ablauf li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 20px; }
  .ablauf .schritt { margin: 0; }
}
.abschluss { text-align: left; }
.abschluss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.abschluss h2 { margin: 0; max-width: 20ch; }
.abschluss .btn-row { margin: 0; }

/* Einblenden: sichtbar, bis das Skript läuft */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Korrekturen nach Prüfrunde 1 */
:root { --hero-text-max: 40rem; }
.hero .lead { max-width: 44ch; }
.header-tel { white-space: nowrap; }
@media (max-width: 1360px) {
  .header-tel span.tel-text { display: none; }
  .header-tel { padding: 0; width: 48px; justify-content: center; }
}
:root[data-theme="dark"] .haus { background: var(--paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .haus { background: var(--paper); } }
.field label.check { display: grid; }
.planstempel { bottom: -8px; }
.btn { font-size: 1.0625rem; padding: 0.7em 1.05em; }
.btn-row { gap: 10px; }
@media (max-width: 1360px) { .header-tel { padding: 0; width: 48px; } .header-tel svg { width: 22px; height: 22px; } }
