/* ## DATEI css/style.css | Styles Demo B "Roth Haustechnik AG, Uster"
   Papier, Tinte, ein Akzent in Terracotta.
   Fraunces (Display) + Instrument Sans (Text), selbst gehostet in fonts/.
   ## KARTE BASIS - BUTTONS - HEADER - SEKTIONEN - REVEAL - HERO - LEISTUNGEN - NOTFALL - REFERENZEN
           - ABLAUF - BEWERTUNGEN - HEIZUNGSERSATZ - TEAM - JOBS - EINZUGSGEBIET - FAQ - ANFRAGE
           - FOOTER - MOBILE-LEISTE - SEITENWECHSEL - UNTERSEITEN
   ## FINDEN grep -n "## " css/style.css | Sektionsnamen wie in index.html */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}
/* ## BASIS | Schriftdefinitionen, Variablen, Grundtypografie.
   Fallbacks mit angepasster Laufweite, damit der Font-Swap kaum springt */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
}
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 24%;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --paper-3: #e1dbcd;
  --ink: #1c1b18;
  --ink-2: #4a4741;
  --ink-3: #7a766d;
  --line: rgba(28, 27, 24, 0.14);
  --line-strong: rgba(28, 27, 24, 0.32);
  --accent: #b5471f;
  --accent-dark: #973a18;
  --accent-soft: #f1dccf;
  --dark: #15171a;
  --dark-2: #22252a;
  --on-dark: #f1ede4;
  --on-dark-2: #b8b3a8;
  --star: #d99a2b;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-text: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;

  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.94rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.15rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.35rem, 1.4rem + 4.6vw, 4.6rem);

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  padding-bottom: 0;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 600; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

/* ## BUTTONS | Knopf- und Linkstile, ueberall wiederverwendet */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: var(--step-0); line-height: 1.1; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--leer { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--leer:hover { border-color: var(--ink); }
.btn--s { min-height: 42px; padding: 0 16px; font-size: var(--step--1); }
.btn--xl {
  flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 0; padding: 16px 26px; text-align: left;
}
.btn__klein { font-size: var(--step--1); font-weight: 500; opacity: .85; }
.btn__gross { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }

.link {
  display: inline-block; font-weight: 600; text-decoration: none;
  padding-bottom: 2px; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform .3s var(--ease);
}
.link:hover::after { transform: scaleX(0.55); background: var(--accent); }
.link--btn { background: none; border: 0; padding: 0; cursor: pointer; }

.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.phone__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .phone__dot { animation: puls 2.4s ease-in-out infinite; }
  @keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(181, 71, 31, .45); } 60% { box-shadow: 0 0 0 7px rgba(181, 71, 31, 0); } }
}
.phone--gross { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; }

/* ## HEADER | Kopfleiste, schrumpft beim Scrollen, Mobile-Menue | JS main.js ## HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.header.is-klein .header__inner { min-height: 62px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 420px) { .brand__name { font-size: 1.15rem; } .brand__sub { font-size: 0.72rem; } }
.brand__sub { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.nav ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: var(--step--1); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { border-top: 1px solid var(--line); padding: 10px var(--pad) 28px; }
.menu ul li a { display: block; padding: 12px 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu__hours { margin-top: 18px; color: var(--ink-2); font-size: var(--step--1); }
.menu__hours a { font-weight: 600; }
@supports (transition-behavior: allow-discrete) {
  .menu { opacity: 1; translate: 0 0; transition: opacity .25s var(--ease), translate .25s var(--ease), display .25s allow-discrete; }
  .menu[hidden] { display: none; opacity: 0; translate: 0 -8px; }
  @starting-style { .menu { opacity: 0; translate: 0 -8px; } }
}

@media (max-width: 959px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .header__inner { gap: 14px; }
}
@media (min-width: 960px) { .menu { display: none !important; } }

/* ## SEKTIONEN | Gemeinsames Raster und Abstaende aller Sektionen */
section { padding-block: clamp(64px, 9vw, 128px); }
.sektion-kopf { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sektion-kopf p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.sektion-kopf--breit { max-width: 900px; }

/* ## REVEAL | Einblenden beim Scrollen ueber native Scroll-Timelines,
   Fallback in js/main.js ## REVEAL */
.reveal { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
  }
  @supports not (animation-timeline: view()) {
    .reveal { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
    .reveal.is-in { opacity: 1; translate: 0 0; }
  }
}
@keyframes reveal-up { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* ## HERO | Aufmacher | HTML index.html ## HERO */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__intro { font-size: var(--step--1); font-weight: 500; color: var(--ink-2); margin-bottom: 22px; }
.hero__lead { margin-top: 26px; font-size: var(--step-1); color: var(--ink-2); max-width: 34em; line-height: 1.5; }
.hero__lead strong { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: hero-in .7s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  @keyframes hero-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}

.wege { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.wege__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wege__label { font-weight: 500; color: var(--ink-2); max-width: 30em; }
.wege__item--notfall .wege__label { color: var(--ink); font-weight: 600; }

.hero__figure { position: relative; margin-right: calc(-1 * var(--pad)); }
.hero__figure picture, .hero__figure img { width: 100%; }
.hero__figure img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); }
.hero__figure figcaption { font-size: var(--step--1); color: var(--ink-3); padding: 12px var(--pad) 0 0; }

.trust {
  display: flex; flex-wrap: wrap; gap: 10px 0;
  margin-top: clamp(36px, 5vw, 64px); padding: 18px 0;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
  font-size: var(--step--1); color: var(--ink-2);
}
.trust li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.trust strong { color: var(--ink); }

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { margin-inline: calc(-1 * var(--pad)); order: -1; }
  .hero__figure img { border-radius: 0; aspect-ratio: 4 / 3; }
  .hero__figure figcaption { padding-inline: var(--pad); }
  .trust { flex-direction: column; gap: 8px; }
  .trust li { border-right: 0; padding-right: 0; margin-right: 0; }
}

/* ## LEISTUNGEN | Leistungskarten mit Preisangabe | HTML index.html ## LEISTUNGEN */
.liste { border-top: 1px solid var(--line-strong); }
.liste__item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 34%); gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.liste__nr { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: var(--ink-3); line-height: 1; padding-top: 4px; }
.liste__text h3 { font-size: var(--step-2); }
.liste__text p { margin-top: 14px; color: var(--ink-2); max-width: 36em; }
.liste__text .preis { margin-top: 18px; color: var(--ink); }
.liste__text .preis strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.liste__text .link { margin-top: 20px; }
.liste__bild { overflow: hidden; border-radius: var(--radius); }
.liste__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.liste__bild--hoch img { aspect-ratio: 3 / 2; object-position: center 60%; }
.liste__item:hover .liste__bild img { transform: scale(1.03); }
@media (max-width: 959px) {
  .liste__item { grid-template-columns: 1fr; gap: 16px; }
  .liste__nr { padding-top: 0; }
  .liste__bild { order: -1; margin-bottom: 6px; }
}

/* ## NOTFALL | Dunkle Sektion mit Zuschlaegen | HTML index.html ## NOTFALL */
.notfall { position: relative; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.notfall__bg { position: absolute; inset: 0; opacity: .55; }
.notfall__bg img { width: 100%; height: 100%; object-fit: cover; }
.notfall__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,26,.35), rgba(21,23,26,.75)); }
.notfall__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.notfall__kopf { grid-column: 1 / -1; max-width: 820px; }
.notfall__kopf h2 { color: #fff; }
.notfall__kopf p { margin-top: 18px; color: var(--on-dark-2); font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.notfall__kopf .btn { margin-top: 30px; }
.notfall h3 { font-size: var(--step-1); color: #fff; margin-bottom: 18px; }
.notfall__sofort ol { counter-reset: s; }
.notfall__sofort li { counter-increment: s; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid rgba(255,255,255,.14); color: var(--on-dark-2); }
.notfall__sofort li strong { color: #fff; }
.notfall__sofort li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-family: var(--font-display); font-size: .95rem; color: #fff; }
.notfall__foto { margin-top: 16px; font-size: var(--step--1); color: var(--on-dark-2); }
.notfall__preise table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.notfall__preise th, .notfall__preise td { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); text-align: left; font-weight: 400; color: var(--on-dark-2); vertical-align: top; }
.notfall__preise td { text-align: right; color: #fff; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.notfall__preise tr:last-child th, .notfall__preise tr:last-child td { border-bottom: 1px solid rgba(255,255,255,.14); }
.notfall__preise p { margin-top: 16px; font-size: var(--step--1); color: var(--on-dark-2); }
.notfall__sofort, .notfall__preise { grid-column: span 1; }
.notfall__sofort { grid-column: 1 / 2; }
.notfall__preise { grid-column: 2 / 4; max-width: 560px; }
@media (max-width: 959px) {
  .notfall__grid { grid-template-columns: 1fr; }
  .notfall__sofort, .notfall__preise { grid-column: auto; max-width: none; }
}

/* ## REFERENZEN | Vorher/Nachher-Rahmen, gesteuert ueber eine CSS-Variable
   HTML index.html ## REFERENZEN | JS main.js ## VORHER-NACHHER */
.projekt { display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.projekt:first-of-type { border-top: 0; padding-top: 0; }
.projekt--rechts .vergleich { order: 2; }
.projekt__text h3 { font-size: var(--step-2); }
.projekt__text p { margin-top: 14px; color: var(--ink-2); }
.projekt__text dl { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.projekt__text dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.projekt__text dt { color: var(--ink-2); }
.projekt__text dd { font-weight: 600; font-family: var(--font-display); font-size: var(--step-1); white-space: nowrap; }

.vergleich { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; --pos: 50%; user-select: none; -webkit-user-select: none; background: var(--paper-3); }
.vergleich picture, .vergleich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vergleich__nachher { clip-path: inset(0 0 0 var(--pos)); }
.vergleich__griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.vergleich__griff::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; translate: -50% -50%;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 20px; background-repeat: no-repeat; background-position: center;
}
.vergleich__tag { position: absolute; top: 14px; padding: 6px 10px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: rgba(21,23,26,.72); color: #fff; border-radius: 4px; pointer-events: none; }
.vergleich__tag--v { left: 14px; }
.vergleich__tag--n { right: 14px; }
.vergleich__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.vergleich__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.vergleich__range::-moz-range-thumb { width: 60px; height: 100%; border: 0; background: transparent; }
.vergleich:has(.vergleich__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.projekt-klein { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.projekt-klein img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.projekt-klein__text h3 { font-size: var(--step-2); }
.projekt-klein__text p { margin-top: 14px; color: var(--ink-2); max-width: 36em; }
.projekt-klein__text .link { margin-top: 18px; }
@media (max-width: 959px) {
  .projekt, .projekt-klein { grid-template-columns: 1fr; }
  .projekt--rechts .vergleich { order: 0; }
}

/* ## ABLAUF | Schrittfolge | HTML index.html ## ABLAUF */
.ablauf { background: var(--paper-2); }
.ablauf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ablauf__kopf { grid-column: 1 / -1; max-width: 800px; }
.ablauf__kopf p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.schritte { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.schritte li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.schritte__nr { grid-row: span 2; font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: .9; color: var(--accent); }
.schritte h3 { grid-column: 2; font-size: var(--step-1); }
.schritte p { grid-column: 2; margin-top: 8px; color: var(--ink-2); }
.kapazitaet { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); }
.kapazitaet h3 { font-size: var(--step-2); }
.kapazitaet__stand { font-size: var(--step--1); color: var(--ink-3); margin-top: 6px; }
.kapazitaet ul { margin-top: 18px; border-top: 1px solid var(--line-strong); }
.kapazitaet li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kapazitaet li span { color: var(--ink-2); }
.kapazitaet li strong { white-space: nowrap; }
.kapazitaet > p:last-child { margin-top: 18px; color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 959px) {
  .ablauf__grid { grid-template-columns: 1fr; }
  .kapazitaet { position: static; }
}

/* ## BEWERTUNGEN | Kundenstimmen | HTML index.html ## BEWERTUNGEN */
.bewertungen__kopf { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.bewertungen__kopf p { margin-top: 14px; color: var(--ink-2); }
.sterne { color: var(--star); letter-spacing: .04em; font-size: .8em; vertical-align: .08em; margin-right: 6px; }
.zitate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.zitate li { padding: 26px 28px 26px 0; border-right: 1px solid var(--line); }
.zitate li:last-child { border-right: 0; }
.zitate li + li { padding-left: 28px; }
.zitate blockquote p { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.zitate footer { margin-top: 16px; font-size: var(--step--1); color: var(--ink-2); }
.zitate cite { font-style: normal; font-weight: 600; color: var(--ink); }
@media (max-width: 959px) {
  .zitate { grid-template-columns: 1fr; }
  .zitate li { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .zitate li + li { padding-left: 0; }
}

/* ## HEIZUNGSERSATZ | Foerderblock Waermepumpe | HTML index.html ## HEIZUNGSERSATZ */
.heizung { background: var(--paper-2); }
.heizung__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.heizung__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.heizung__figure figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--ink-3); }
.heizung__text p { margin-top: 18px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.fakten { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.fakten li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.fakten li strong { color: var(--ink); }
.heizung__text .btn { margin-top: 26px; }
@media (max-width: 959px) { .heizung__grid { grid-template-columns: 1fr; } }

/* ## TEAM | Personenkarten und Kapazitaetskachel | HTML index.html ## TEAM */
.team { padding-bottom: clamp(48px, 7vw, 96px); }
.team__foto { margin-top: 8px; }
.team__foto img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; }
.team__foto figcaption { font-size: var(--step--1); color: var(--ink-3); padding: 12px var(--pad) 0; width: min(var(--wrap), 100%); margin-inline: auto; }
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.inhaber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.inhaber img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.inhaber blockquote p { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.35; }
.inhaber footer { margin-top: 12px; font-size: var(--step--1); color: var(--ink-2); }
.inhaber cite { font-style: normal; font-weight: 600; color: var(--ink); }
.personen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line-strong); }
.personen li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.personen li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 20px; align-items: center; }
.personen li:first-child picture { grid-row: span 2; align-self: start; }
.personen li:first-child h3, .personen li:first-child p { grid-column: 2; }
.personen li:first-child img { width: 96px; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.personen h3 { font-size: var(--step-0); font-family: var(--font-text); font-weight: 600; letter-spacing: 0; }
.personen p { color: var(--ink-2); font-size: var(--step--1); margin-top: 4px; }
@media (max-width: 959px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__foto img { aspect-ratio: 3 / 2; }
  .personen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .inhaber { grid-template-columns: 1fr; } .inhaber img { max-width: 260px; } }

/* ## JOBS | Recruiting-Block | HTML index.html ## JOBS */
.jobs { background: var(--dark); color: var(--on-dark); }
.jobs__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.jobs h2 { color: #fff; }
.jobs__text > p { margin-top: 18px; color: var(--on-dark-2); font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.stellen { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.25); }
.stellen li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.stellen h3 { color: #fff; font-size: var(--step-1); }
.stellen p { margin-top: 6px; color: var(--on-dark-2); }
.jobs__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.jobs .btn--ink { background: var(--paper); color: var(--ink); }
.jobs .btn--ink:hover { background: #fff; }
.jobs .link { color: var(--on-dark); }
.jobs__figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.jobs__figure figcaption { margin-top: 16px; }
.jobs__figure blockquote p { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.35; color: #fff; }
.jobs__figure footer { margin-top: 10px; font-size: var(--step--1); color: var(--on-dark-2); }
.jobs__figure cite { font-style: normal; font-weight: 600; color: #fff; }
@media (max-width: 959px) { .jobs__grid { grid-template-columns: 1fr; } }

/* ## EINZUGSGEBIET | Ortsliste | HTML index.html ## EINZUGSGEBIET */
.gebiet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gebiet__text p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.orte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.orte li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.orte li span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 959px) { .gebiet__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .orte { grid-template-columns: 1fr; } }

/* ## FAQ | Aufklappliste | HTML index.html ## FAQ */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__kopf p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.faq__liste { border-top: 1px solid var(--line-strong); }
.faq__liste details { border-bottom: 1px solid var(--line); }
.faq__liste summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.3;
}
.faq__liste summary::-webkit-details-marker { display: none; }
.faq__liste summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; translate: 0 -50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__liste details[open] summary::after { transform: rotate(45deg); }
.faq__antwort { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
@media (max-width: 959px) { .faq__grid { grid-template-columns: 1fr; } }

/* ## ANFRAGE | Vierstufiges Formular: Kacheln, Fortschritt, Felder, Notfall-Weiche, Bestaetigung
   HTML index.html ## ANFRAGE | JS main.js ## FORMULAR */
.anfrage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.anfrage__text > p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.anfrage__alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.anfrage__alt > p:first-child { color: var(--ink-2); }
.anfrage__alt .phone--gross { margin-top: 6px; }
.anfrage__zeiten { font-size: var(--step--1); color: var(--ink-3); margin-top: 8px; margin-bottom: 14px; }

.formular { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 40px); container-type: inline-size; }
.fortschritt { height: 3px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.fortschritt__balken { display: block; height: 100%; width: var(--p); background: var(--accent); transition: width .4s var(--ease); }
.fortschritt__text { margin-top: 12px; font-size: var(--step--1); color: var(--ink-3); }

.schritt { border: 0; padding: 0; margin-top: 22px; min-width: 0; }
.schritt legend { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 18px; padding: 0; }

.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@container (min-width: 560px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kachel { position: relative; display: block; padding: 16px 16px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; min-height: 92px; }
.kachel:hover { border-color: var(--ink); }
.kachel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kachel span { display: block; font-weight: 600; line-height: 1.2; }
.kachel small { display: block; margin-top: 6px; font-size: .82rem; color: var(--ink-3); line-height: 1.35; }
.kachel:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.kachel:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.kachel:first-child:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }

.feld { margin-top: 18px; }
.feld label, .feld__label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 8px; }
.feld__hint { font-weight: 400; color: var(--ink-3); }
.feld input[type="text"], .feld input[type="tel"], .feld input[type="email"], .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,27,24,.12); }
.feld:has(input:user-invalid) input, .feld input[aria-invalid="true"], .feld.ist-fehler input { border-color: var(--accent); }
.feld--halb { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .feld--halb { grid-template-columns: 1fr; } }
.optionen { display: flex; flex-wrap: wrap; gap: 8px; }
.optionen label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: var(--step--1); font-weight: 500; transition: border-color .2s, background-color .2s; }
.optionen label:hover { border-color: var(--ink); }
.optionen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.optionen label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.optionen label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.feld--datei input[type="file"] { width: 100%; padding: 10px 0; font-size: var(--step--1); }
.feld--datei input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: 12px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); cursor: pointer;
}
.datei__name { margin-top: 6px; font-size: var(--step--1); color: var(--ink-2); }
.datei__name:empty { display: none; }
.fehler { margin-top: 8px; font-size: var(--step--1); color: var(--accent-dark); font-weight: 500; }
.formular__recht { margin-top: 20px; font-size: var(--step--1); color: var(--ink-3); }

.weiche { margin-top: 22px; padding: 24px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.weiche h3 { font-size: var(--step-2); }
.weiche > p { margin-top: 10px; color: var(--ink-2); }
.weiche .btn { margin-top: 18px; }
.weiche__sofort { margin-top: 16px; font-size: var(--step--1); }
.weiche .link--btn { margin-top: 18px; font-size: var(--step--1); }

.formular__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.formular__nav [data-prev] { margin-right: auto; }
.formular__nav [data-next], .formular__nav [data-submit] { margin-left: auto; min-width: 160px; }
.formular__nav.ist-fertig { display: none; }

.bestaetigung { margin-top: 22px; padding: 8px 0 4px; }
.bestaetigung__haken { display: block; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); margin-bottom: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1ea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 26px; background-repeat: no-repeat; background-position: center; }
.bestaetigung h3 { font-size: var(--step-2); }
.bestaetigung p { margin-top: 12px; color: var(--ink-2); }
.bestaetigung__klein { font-size: var(--step--1); }
@media (prefers-reduced-motion: no-preference) {
  .bestaetigung:not([hidden]) { animation: hero-in .5s var(--ease) both; }
}
@media (max-width: 959px) { .anfrage__grid { grid-template-columns: 1fr; } }

/* ## FOOTER | Fusszeile | HTML index.html ## FOOTER */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 calc(28px + 72px); font-size: var(--step--1); color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer__titel { font-weight: 600; color: var(--ink); margin-top: 14px; margin-bottom: 4px; }
.footer__titel:first-child { margin-top: 0; }
.footer__links li { padding: 3px 0; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__demo { color: var(--ink-3); }
@media (max-width: 959px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ## MOBILE-LEISTE | Feste Leiste unten auf dem Handy; wird ausgeblendet, solange ## ANFRAGE
   sichtbar ist (JS main.js ## HEADER) */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.leiste .btn { flex: 1; min-height: 50px; }
@media (max-width: 959px) {
  .leiste { display: flex; }
  .leiste.ist-weg { translate: 0 110%; }
  .leiste { transition: translate .3s var(--ease); }
}
@media (min-width: 960px) { .footer { padding-bottom: 28px; } }

/* ## SEITENWECHSEL | Uebergang beim Wechsel auf Unterseiten */
@view-transition { navigation: auto; }

/* ## UNTERSEITEN | Nur fuer impressum.html und datenschutz.html */
.seite { padding-top: clamp(40px, 6vw, 80px); }
.seite .wrap { max-width: 760px; }
.seite h1 { font-size: var(--step-3); margin-bottom: 24px; }
.seite h2 { font-size: var(--step-1); margin-top: 36px; margin-bottom: 10px; }
.seite p, .seite li { color: var(--ink-2); margin-top: 10px; }
.seite ul { list-style: disc; padding-left: 20px; }
.seite .zurueck { display: inline-block; margin-bottom: 24px; }
