/* ==========================================================================
   AD Wärmetechnik – Stylesheet Version 2 (hell)
   Meisterbetrieb für Heizung & Sanitär · Glinde
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  color-scheme: light;

  --white: #ffffff;
  --bg: #ffffff;
  --sand: #f6f2ec;
  --sand-2: #efe8de;
  --line: #e7e1d8;
  --line-2: #d9d1c5;

  --ink: #16202b;
  --ink-2: #3d4753;
  --muted: #6b7480;

  --navy: #172331;
  --navy-2: #22324a;

  --fire-1: #ffa51f;
  --fire-2: #f25c1b;
  --fire-3: #d9251b;
  --fire-soft: #fff1e8;
  --ice: #2f80c4;
  --ice-soft: #eaf3fb;
  --ok: #1f9d55;
  --ok-soft: #e7f6ee;

  --grad-fire: linear-gradient(135deg, var(--fire-1) 0%, var(--fire-2) 50%, var(--fire-3) 100%);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(22, 32, 43, 0.05), 0 4px 12px rgba(22, 32, 43, 0.05);
  --shadow: 0 2px 4px rgba(22, 32, 43, 0.04), 0 18px 40px -12px rgba(22, 32, 43, 0.14);
  --shadow-l: 0 30px 70px -20px rgba(22, 32, 43, 0.25);
  --glow-fire: 0 12px 30px -10px rgba(242, 92, 27, 0.6);

  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --topbar-h: 40px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 0.25vw + 15px, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(242, 92, 27, 0.2); }
:focus-visible { outline: 2.5px solid var(--fire-2); outline-offset: 3px; border-radius: 6px; }

.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-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 10px; font-weight: 700; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typografie ---------- */
.h-display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: var(--navy); }
.h-1 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--navy); }
.h-2 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 750; color: var(--navy); }
.lead { font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }
.accent { color: var(--fire-2); }
.grad-fire { background: var(--grad-fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.script { font-family: var(--font-script); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fire-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-fire); }
.eyebrow--center { justify-content: center; }
.underline-bar { width: 72px; height: 3px; border-radius: 3px; background: var(--grad-fire); }

/* ---------- Buttons ---------- */
.btn {
  --py: 15px; --px: 24px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--py) var(--px);
  border-radius: 12px;
  font-weight: 750; font-size: 0.97rem; line-height: 1.1; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s, border-color .2s, color .2s;
  isolation: isolate;
}
.btn .i { transition: transform .3s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--fire { color: #fff; background: var(--grad-fire); box-shadow: var(--glow-fire); overflow: hidden; }
.btn--fire::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn--fire:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(242, 92, 27, 0.7); }
.btn--fire:hover::after { transform: translateX(120%); }
.btn--navy { color: #fff; background: var(--navy); }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(23, 35, 49, 0.6); }
.btn--outline { color: var(--navy); border: 1.5px solid var(--line-2); background: #fff; }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--white { color: var(--navy); background: #fff; }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35); }
.btn--ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--sm { --py: 11px; --px: 18px; font-size: 0.9rem; border-radius: 10px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--navy); }
.link-arrow .i { color: var(--fire-2); transition: transform .3s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: #161b24; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; height: var(--topbar-h); display: flex; align-items: center; position: relative; z-index: 101; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__items { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item .i { color: var(--fire-1); width: 1.05em; height: 1.05em; }
.topbar__item strong { color: #fff; font-weight: 750; }
a.topbar__item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.topbar__area { color: rgba(255, 255, 255, 0.6); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  /* Schwarz wie im Logo – damit das Zeichen silbern wie im Original erscheint */
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color .3s, box-shadow .3s, height .3s var(--ease-out);
}
.site-header.is-scrolled { --header-h: 72px; box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.45); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.site-header .btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 56px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.08rem; letter-spacing: 0.06em; font-weight: 400; color: var(--navy); white-space: nowrap; }
.brand__name b { font-weight: 800; letter-spacing: 0.02em; }
.brand__sub { margin-top: 6px; font-size: 0.6rem; letter-spacing: 0.3em; color: var(--muted); font-weight: 700; text-transform: uppercase; white-space: nowrap; }
/* Schriftzug wie im Logo: hell auf Schwarz, darunter die Linie Orange | Blau */
.site-header .brand__name, .site-footer .brand__name { color: #ececec; }
.site-header .brand__sub, .site-footer .brand__sub { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.site-header .brand__sub::after, .site-footer .brand__sub::after {
  content: ""; display: block; height: 1.5px; margin-top: 6px; margin-right: 0.3em;
  background: linear-gradient(90deg, #e8501c 0 49%, transparent 49% 51%, #5a9fd6 51% 100%);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 14px; font-size: 0.95rem; font-weight: 650; color: rgba(255, 255, 255, 0.78); white-space: nowrap; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-fire); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.22); align-items: center; justify-content: center; background: transparent; color: #fff; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  padding: calc(var(--header-h) + var(--topbar-h) + 16px) var(--gutter) 32px;
  background: #fff;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.45rem; font-weight: 750; color: var(--navy); border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.mobile-menu a.mm-link .i { color: var(--fire-2); }
.mobile-menu__cta { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 12vw, 170px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 165, 31, 0.16), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(47, 128, 196, 0.07), transparent 70%),
    var(--sand);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(23, 35, 49, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
  font-size: 0.86rem; font-weight: 700; color: var(--ink-2);
}
.hero__badge span.dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-fire); color: #fff; }
.hero__badge .i { width: 14px; height: 14px; stroke-width: 2.4; }
.hero__content > * + * { margin-top: 24px; }
.hero__title { max-width: 13ch; }
.hero__lead { max-width: 52ch; }
.hero__content > .hero__actions { margin-top: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 6px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.hero__trust .i { color: var(--ok); stroke-width: 2.6; width: 1.05em; height: 1.05em; }

/* Haus-Illustration */
.hero__visual { position: relative; }
.house-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, #dfeefa 0%, #f3f8fc 58%, #f6f2ec 58%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-l);
  overflow: hidden;
  aspect-ratio: 600 / 520;
}
.house { width: 100%; height: 100%; }
.house .flow { fill: none; stroke: #e8401c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.house .ret { fill: none; stroke: #2f80c4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.house .flow-anim, .house .ret-anim { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 14; opacity: .85; }
.house .flow-anim { animation: flowdash 1.4s linear infinite; }
.house .ret-anim { animation: flowdash 1.4s linear infinite reverse; }
@keyframes flowdash { to { stroke-dashoffset: -36; } }
.house .fan { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
.house .boiler-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.8s ease-in-out infinite; }
.house .heatwave { fill: none; stroke: #f25c1b; stroke-width: 2.2; stroke-linecap: round; opacity: 0; animation: rise 3s ease-out infinite; }
.house .heatwave:nth-of-type(2) { animation-delay: 1s; }
.house .heatwave:nth-of-type(3) { animation-delay: 2s; }
.house .smoke { fill: #fff; opacity: 0; animation: smoke 5s ease-out infinite; }
.house .smoke:nth-of-type(2) { animation-delay: 2.5s; }
.house .window-glow { animation: glow 4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(0.92, 1.1); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -50px) scale(1.6); } }
@keyframes glow { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.chip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.84rem; line-height: 1.25; white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.chip strong { display: block; color: var(--navy); font-size: 0.93rem; }
.chip div span { color: var(--muted); font-weight: 600; }
.chip__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad-fire); flex: none; }
.chip__icon--ok { background: linear-gradient(135deg, #34c77b, #1f9d55); }
.chip__icon--ice { background: linear-gradient(135deg, #5aa7e6, #2f80c4); }
.chip__icon .i { width: 19px; height: 19px; }
.chip--1 { top: -18px; left: -22px; }
.chip--2 { top: 40%; left: -26px; animation-delay: -2s; }
.chip--3 { bottom: -22px; right: -22px; animation-delay: -4s; }
.chip div .chip__temp { display: block; font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Schnellzugriff-Kacheln ---------- */
.quick { position: relative; z-index: 2; margin-top: calc(clamp(120px, 12vw, 170px) * -0.62); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick__item {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
  overflow: hidden;
}
.quick__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-fire); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.quick__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.quick__item:hover::after { transform: scaleX(1); }
.quick__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--fire-soft); color: var(--fire-2); }
.quick__icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.quick__item h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.quick__item p { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.quick__item .link-arrow { margin-top: auto; padding-top: 4px; font-size: 0.9rem; }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section--sand { background: var(--sand); }
.section--tight-top { padding-top: clamp(64px, 8vw, 100px); }
.section__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section__head--split { max-width: none; grid-template-columns: 1fr minmax(0, 0.8fr); align-items: end; gap: 20px 56px; }
.section__head--split > div { display: grid; gap: 16px; }

/* ---------- Leistungen (Tabs) ---------- */
.services { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px); }
.tab {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: left;
  font-size: 1.02rem; font-weight: 700; color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.tab .tab__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sand); color: var(--muted); flex: none; transition: all .25s; }
.tab .tab__icon .i { width: 20px; height: 20px; }
.tab small { margin-left: auto; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice); background: var(--ice-soft); padding: 3px 8px; border-radius: 6px; }
.tab:hover { background: var(--sand); color: var(--navy); }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .tab__icon { background: var(--grad-fire); color: #fff; }
.tab--ice[aria-selected="true"] .tab__icon { background: linear-gradient(135deg, #5aa7e6, #2f80c4); }
.tab:focus-visible { border-radius: 14px; }
/* Alle Panels liegen übereinander in derselben Rasterzelle: Der Container ist so hoch wie das
   längste Panel, dadurch haben alle Karten dieselbe Größe und nichts springt beim Wechseln. */
.tab-panels { position: relative; display: grid; }
.panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.panel.is-in { animation: panelIn .45s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel__visual {
  position: relative; min-height: 420px;
  display: grid; place-items: center;
  background: radial-gradient(80% 70% at 50% 60%, #ffe2cc, transparent 70%), var(--fire-soft);
  overflow: hidden;
}
.panel__visual--ice { background: radial-gradient(80% 70% at 50% 60%, #cfe5f7, transparent 70%), var(--ice-soft); }
.panel__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__visual .big-icon { width: 180px; height: 180px; color: var(--fire-2); stroke-width: 1.1; filter: drop-shadow(0 16px 30px rgba(242, 92, 27, 0.25)); }
.panel__visual--ice .big-icon { color: var(--ice); filter: drop-shadow(0 16px 30px rgba(47, 128, 196, 0.25)); }
.panel__visual .ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(242, 92, 27, 0.25); width: 70%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.panel__visual .ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--fire-2); box-shadow: 0 0 0 6px rgba(242, 92, 27, 0.15); }
.panel__visual--ice .ring { border-color: rgba(47, 128, 196, 0.3); }
.panel__visual--ice .ring::before { background: var(--ice); box-shadow: 0 0 0 6px rgba(47, 128, 196, 0.15); }
.panel__label { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); font-size: 0.8rem; font-weight: 800; color: var(--navy); }
.panel__body { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.panel__body h3 { hyphens: auto; overflow-wrap: break-word; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; font-weight: 800; color: var(--navy); line-height: 1.15; }
.panel__body p { color: var(--ink-2); }
.checklist { display: grid; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 0.97rem; }
.checklist li .i { flex: none; margin-top: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }
.panel__body .btn { align-self: flex-start; margin-top: auto; }
.panel__body .panel__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.soon { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 8px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice); background: var(--ice-soft); }

/* ---------- Wartung ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.benefit { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .4s var(--ease-out); }
.benefit:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--fire-soft); color: var(--fire-2); margin-bottom: 14px; }
.benefit h3 { font-size: 1.04rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.benefit p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

.protocol { position: relative; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; }
.protocol__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: var(--navy); color: #fff; }
.protocol__title { display: flex; align-items: center; gap: 12px; }
.protocol__title .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--fire-1); }
.protocol__title small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); font-weight: 700; letter-spacing: 0.1em; }
.protocol__title strong { font-size: 1.05rem; }
.protocol__date { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.protocol__list { padding: 8px 26px; }
.protocol__item { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; color: var(--muted); font-weight: 600; transition: color .4s; }
.protocol__item:last-child { border-bottom: 0; }
.protocol__check { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .4s var(--ease-out); }
.protocol__check .i { width: 15px; height: 15px; stroke-width: 3; }
.protocol__item small { font-size: 0.75rem; color: var(--muted); opacity: 0; transition: opacity .4s; font-variant-numeric: tabular-nums; }
.protocol__item.is-done { color: var(--ink); }
.protocol__item.is-done .protocol__check { background: var(--ok); border-color: var(--ok); color: #fff; transform: scale(1.06); }
.protocol__item.is-done small { opacity: 1; }
.protocol__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line); background: var(--sand); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 800; color: var(--muted); background: #fff; border: 1px solid var(--line-2); transition: all .5s var(--ease-out); }
.status-pill.is-ok { color: #fff; background: var(--ok); border-color: var(--ok); box-shadow: 0 10px 24px -10px rgba(31, 157, 85, 0.7); }
.status-pill .i { width: 1em; height: 1em; stroke-width: 2.6; }
.protocol__sign { font-family: var(--font-script); font-size: 1.7rem; color: var(--navy); line-height: 1; }

/* ---------- Ablauf ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__line { position: absolute; top: 31px; left: 32px; right: calc((100% - 72px) / 4 - 32px); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line span { display: block; height: 100%; width: 100%; background: var(--grad-fire); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.step__num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; background: #fff; border: 1.5px solid var(--line-2); color: var(--muted); transition: all .6s var(--ease-out); }
.step.is-lit .step__num { color: #fff; border-color: transparent; background: var(--grad-fire); box-shadow: 0 0 0 6px rgba(242, 92, 27, 0.12), var(--glow-fire); }
.step h3 { margin-top: 22px; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Heizungs-Check ---------- */
.check { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.check__intro { position: relative; padding: clamp(32px, 4vw, 52px); background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 18px; overflow: hidden; isolation: isolate; }
.check__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 0% 100%, rgba(242, 92, 27, 0.45), transparent 60%), radial-gradient(50% 40% at 100% 0%, rgba(47, 128, 196, 0.3), transparent 70%); }
.check__intro .h-1 { color: #fff; }
.check__intro .lead { color: rgba(255, 255, 255, 0.8); }
.check__intro .eyebrow { color: var(--fire-1); }
.check__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.check__meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 650; color: rgba(255, 255, 255, 0.8); }
.check__meta .i { color: var(--fire-1); }
.check__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; min-height: 470px; }
.check__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.check__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--sand-2); overflow: hidden; }
.check__bar span { display: block; height: 100%; width: 0; background: var(--grad-fire); border-radius: 6px; transition: width .6s var(--ease-out); }
.check__count { font-size: 0.82rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.check__step { display: none; animation: stepIn .5s var(--ease-out); }
.check__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.check__q { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 22px; }
.options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.option {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 12px 18px; min-height: 140px;
  border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff;
  text-align: center; font-weight: 700; font-size: 0.92rem; color: var(--ink-2); line-height: 1.3;
  transition: border-color .2s, box-shadow .3s, transform .3s var(--ease-out), color .2s;
}
.option:hover { border-color: var(--fire-2); color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.option.is-selected { border-color: var(--fire-2); background: var(--fire-soft); color: var(--navy); }
.option__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--line-2); color: var(--ink-2); transition: all .2s; }
.option__icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.option:hover .option__icon, .option.is-selected .option__icon { border-color: transparent; background: var(--grad-fire); color: #fff; }
.check__nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 32px; }
.check__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.check__back:hover { color: var(--navy); }
.check__back[hidden] { display: none; }
.check__back .i { transform: rotate(180deg); }
.result, .check__step.result.is-active { display: grid; gap: 16px; }
.result h3 { margin-top: 4px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.2; }
.result p { color: var(--ink-2); }
.result ul { display: grid; gap: 10px; margin-top: 6px; }
.result li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.result li .i { color: var(--fire-2); margin-top: 4px; stroke-width: 2.6; width: 1em; height: 1em; }
.result__badge { display: inline-flex; align-self: start; justify-self: start; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.result__badge--ok { background: var(--ok-soft); color: var(--ok); }
.result__badge--warn { background: #fff3dc; color: #b26a00; }
.result__badge--alert { background: #fde8e6; color: #c0281d; }
.result__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Sanitär-Band ---------- */
.sanitary { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sanitary__img { position: relative; min-height: 380px; }
.sanitary__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sanitary__img small { position: absolute; right: 12px; bottom: 10px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.sanitary__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.sanitary__body .eyebrow { color: var(--ice); }
.sanitary__body .eyebrow::before { background: linear-gradient(90deg, #5aa7e6, #2f80c4); }
.sanitary__body .checklist li .i { background: var(--ice-soft); color: var(--ice); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 50% at 50% 100%, rgba(255, 165, 31, 0.35), transparent 70%), linear-gradient(180deg, #24344a, #142030);
  display: grid; place-items: center; box-shadow: var(--shadow-l); isolation: isolate;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.portrait__mono { width: 60%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.portrait__caption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); }
.portrait__caption strong { display: block; font-size: 1.08rem; color: var(--navy); }
.portrait__caption span { font-size: 0.82rem; color: var(--muted); font-weight: 650; }
.portrait__caption .script { font-size: 1.8rem; color: var(--navy); line-height: 1; white-space: nowrap; }
.portrait__badge { position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad-fire); color: #fff; font-weight: 800; line-height: 1.05; font-size: 0.72rem; letter-spacing: 0.06em; box-shadow: var(--glow-fire); transform: rotate(-8deg); }
.portrait__badge b { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }
.portrait__badge small { display: block; font-size: 0.56rem; letter-spacing: 0.04em; }
.about__text > * + * { margin-top: 22px; }
.about__quote { position: relative; padding: 4px 0 4px 22px; font-size: clamp(1.12rem, 1.4vw, 1.3rem); font-weight: 650; color: var(--navy); line-height: 1.5; }
.about__quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--grad-fire); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px !important; }
.stat { padding: 20px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat__num { display: block; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__num.accent { color: var(--fire-2); }
.stat__label { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); font-weight: 650; line-height: 1.35; }

/* ---------- Marken ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-tile { display: grid; place-items: center; height: 92px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 1.05rem; color: #9aa1aa; letter-spacing: -0.01em; transition: color .25s, box-shadow .3s, transform .3s var(--ease-out); text-align: center; padding: 0 8px; }
.brand-tile:hover { color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.brands__note { margin-top: 18px; font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- Einsatzgebiet ---------- */
.area { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: stretch; }
.map { position: relative; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-height: 460px; }
.map svg.map__svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map__grid { stroke: #efe9e0; stroke-width: 1; }
.map__area { fill: url(#g-area); stroke: rgba(242, 92, 27, 0.45); stroke-width: 1.5; stroke-dasharray: 6 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.map__route { fill: none; stroke: rgba(242, 92, 27, 0.6); stroke-width: 1.6; stroke-dasharray: 4 6; }
.map__dot { fill: var(--navy); }
.map__ring { fill: none; stroke: var(--fire-2); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease-out) infinite; }
.map__ring--2 { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map__label { font-size: 15px; font-weight: 800; fill: var(--navy); }
.map__label--main { font-size: 19px; }
.map__sub { font-size: 11px; font-weight: 700; fill: var(--muted); letter-spacing: 1.2px; }
.map__hh { font-size: 11px; font-weight: 800; fill: #b3aa9c; letter-spacing: 2.5px; }
.map__osm-btn { position: absolute; left: 18px; bottom: 18px; z-index: 2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.has-osm .map__svg, .map.has-osm .map__osm-btn, .map.has-osm .map__osm-note { display: none; }
.map__osm-note { position: absolute; right: 18px; top: 16px; z-index: 2; font-size: 0.72rem; color: var(--muted); max-width: 260px; text-align: right; }
.towns { display: grid; gap: 12px; align-content: start; }
.town { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .4s var(--ease-out); }
.town:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.town__pin { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--fire-soft); color: var(--fire-2); }
.town--home .town__pin { background: var(--grad-fire); color: #fff; }
.town strong { display: block; font-size: 1.05rem; color: var(--navy); }
.town span { font-size: 0.85rem; color: var(--muted); }
.town em { font-style: normal; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fire-2); }
.towns__note { padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed var(--line-2); font-size: 0.92rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; }
.faq-aside > div:last-child { margin-top: 12px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 750; font-size: 1.03rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--navy); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.faq__plus::after { transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.faq details[open] .faq__plus { background: var(--fire-2); color: #fff; transform: rotate(180deg); }
.faq details[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; border-radius: 30px; padding: clamp(36px, 5vw, 72px); overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 100%, rgba(242, 92, 27, 0.55), transparent 60%), radial-gradient(40% 80% at 0% 0%, rgba(47, 128, 196, 0.25), transparent 70%); }
.cta-band__mark { position: absolute; right: -30px; bottom: -60px; width: 400px; z-index: -1; opacity: 0.1; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin-top: 18px; max-width: 52ch; font-size: 1.06rem; }
.cta-band__actions { display: grid; gap: 12px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
a.contact-card:hover { box-shadow: var(--shadow); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--fire-soft); color: var(--fire-2); }
.contact-card small { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.contact-card strong { display: block; font-size: 1.06rem; color: var(--navy); margin-top: 2px; }
.contact-card--accent { background: var(--navy); border-color: var(--navy); }
.contact-card--accent small { color: rgba(255, 255, 255, 0.6); }
.contact-card--accent strong { color: #fff; font-size: 1.3rem; }
.contact-card--accent .contact-card__icon { background: var(--grad-fire); color: #fff; }
.hours { display: grid; gap: 6px; margin-top: 4px; font-size: 0.92rem; color: var(--ink-2); }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours strong { font-size: 0.92rem; margin: 0; }

.form { position: relative; padding: clamp(24px, 3.5vw, 44px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.86rem; font-weight: 750; color: var(--navy); }
.field legend { margin-bottom: 12px; }
.req { color: var(--fire-2); }
.input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fbfaf8; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.input::placeholder { color: #a6aab0; }
.input:hover { border-color: #c4baab; }
.input:focus { outline: none; border-color: var(--fire-2); box-shadow: 0 0 0 4px rgba(242, 92, 27, 0.14); background: #fff; }
.input:user-invalid { border-color: #d9251b; }
textarea.input { min-height: 170px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 0.9rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .2s; user-select: none; background: #fff; }
.pill span:hover { border-color: var(--navy); color: var(--navy); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 2.5px solid var(--fire-2); outline-offset: 2px; }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent-check a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fire-2); }
.consent-check input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.consent-check input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-out); }
.consent-check input:checked { background: var(--fire-2); border-color: var(--fire-2); }
.consent-check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form__hint { font-size: 0.8rem; color: var(--muted); }
.form__status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 0.92rem; }
.form__status.is-error { display: block; background: #fde8e6; border: 1px solid #f5bdb6; color: #8c1d14; }
.form__status.is-error a { color: #8c1d14; font-weight: 700; text-decoration: underline; }
.form__success { display: none; text-align: center; padding: 40px 12px; }
.form.is-sent .form__success { display: grid; gap: 16px; justify-items: center; animation: stepIn .6s var(--ease-out); }
.form.is-sent .form__fields { display: none; }
.form__success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 0 0 10px var(--ok-soft); }
.form__success-icon .i { width: 36px; height: 36px; stroke-width: 3; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 80px 0 32px; background: var(--navy); color: rgba(255, 255, 255, 0.75); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; font-size: 0.93rem; max-width: 34ch; }
.footer__brand .script { display: block; margin-top: 14px; font-size: 1.7rem; color: #fff; }
.footer__col h4 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fire-1); font-weight: 800; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col li { font-size: 0.94rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a:hover, .footer__bottom button:hover { color: #fff; }
.footer__bottom button { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }

/* ---------- Mobile Call-Leiste ---------- */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: var(--shadow-l); transform: translateY(140%); transition: transform .5s var(--ease-out); }
.callbar.is-visible { transform: none; }
.callbar .btn { --py: 14px; --px: 12px; font-size: 0.92rem; }

/* ---------- Cookie-Consent ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(440px, calc(100vw - 32px)); padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(22, 32, 43, 0.4); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.consent.is-visible { transform: none; opacity: 1; }
.consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.consent__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fire-soft); color: var(--fire-2); flex: none; }
.consent h2 { font-size: 1.08rem; font-weight: 800; color: var(--navy); }
.consent p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }
.consent p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.consent__actions .btn { --py: 13px; --px: 14px; font-size: 0.9rem; }
.consent__settings-link { display: block; margin: 12px auto 0; font-size: 0.85rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.consent__settings-link:hover { color: var(--navy); }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(22, 32, 43, 0.45); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: #fff; box-shadow: 0 40px 100px -20px rgba(22, 32, 43, 0.5); transform: translateY(20px) scale(0.98); transition: transform .45s var(--ease-out); }
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.modal__head h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.modal__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--navy); flex: none; }
.modal__intro { font-size: 0.92rem; color: var(--ink-2); }
.consent-cat { margin-top: 14px; padding: 18px; border-radius: 14px; background: var(--sand); }
.consent-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent-cat__head strong { color: var(--navy); }
.consent-cat p { margin-top: 8px; font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch__ui { width: 50px; height: 28px; border-radius: 999px; background: #cfc8bd; position: relative; transition: background-color .25s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.switch input:checked + .switch__ui { background: var(--fire-2); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:disabled + .switch__ui { background: var(--ok); opacity: .6; }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + .switch__ui { outline: 2.5px solid var(--fire-2); outline-offset: 2px; }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.modal__actions .btn { --py: 13px; --px: 14px; font-size: 0.92rem; }

/* ---------- Rechtliche Seiten ---------- */
.legal-hero { position: relative; padding: 64px 0 48px; background: var(--sand); border-bottom: 1px solid var(--line); }
.legal-hero p { margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--navy); }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 88px); padding-top: 64px; padding-bottom: 120px; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 4px; }
.legal__toc strong { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal__toc a { font-size: 0.9rem; color: var(--ink-2); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.legal__toc a:hover { color: var(--navy); border-color: var(--fire-2); }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { color: var(--navy); font-size: clamp(1.3rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.25; margin: 52px 0 16px; font-weight: 800; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--navy); font-size: 1.1rem; margin: 28px 0 10px; font-weight: 800; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 2px; background: var(--fire-2); border-radius: 2px; }
.prose a { color: var(--navy); font-weight: 650; text-decoration: underline; text-decoration-color: var(--fire-2); text-underline-offset: 3px; word-break: break-word; }
.prose strong { color: var(--navy); }
.prose address { font-style: normal; }
.prose .link-arrow { color: var(--navy); }
.info-box { padding: 22px 24px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); margin-bottom: 16px; }
.placeholder { color: var(--fire-2); font-weight: 700; }

/* ---------- Reveal-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(0.95); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .topbar__area { display: none; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; width: 100%; justify-self: center; margin-top: 24px; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .split, .about, .faq-wrap, .contact, .area, .check, .sanitary { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 460px; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
  .options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; --topbar-h: 38px; }
  .topbar { font-size: 0.8rem; }
  .topbar__item--hours { display: none; }
  .topbar__items { width: 100%; justify-content: space-between; }
  .header-actions .btn { display: none; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 0.95rem; }
  .brand__sub { font-size: 0.52rem; letter-spacing: 0.24em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .chip { padding: 8px 12px 8px 8px; font-size: 0.74rem; gap: 9px; border-radius: 13px; }
  .chip strong { font-size: 0.82rem; }
  .chip__icon { width: 30px; height: 30px; border-radius: 9px; }
  .chip__icon .i { width: 16px; height: 16px; }
  .chip div .chip__temp { font-size: 1.05rem; }
  .chip--1 { left: -6px; top: -16px; }
  .chip--2 { left: 6px; top: 36%; }
  .chip--3 { right: 6px; bottom: -18px; }
  .quick__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick__item { padding: 18px 16px; }
  .quick__item p { display: none; }
  .quick__icon { width: 46px; height: 46px; }
  .quick__item h3 { font-size: 0.98rem; }
  .section__head--split { grid-template-columns: 1fr; }
  .tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; padding: 9px 14px 9px 9px; gap: 10px; font-size: 0.92rem; background: #fff; border: 1px solid var(--line); }
  .tab .tab__icon { width: 32px; height: 32px; }
  .tab small { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .panel__visual { min-height: 220px; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .steps__line span { transform: scaleY(var(--progress, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; }
  .step h3 { margin-top: 6px; }
  .step p { grid-column: 2; }
  .step__num { grid-row: span 2; }
  .options { grid-template-columns: 1fr 1fr; gap: 10px; }
  .option { min-height: 120px; padding: 16px 10px; }
  .check__body { min-height: 0; }
  .sanitary__img { min-height: 240px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand-tile { height: 72px; font-size: 0.95rem; }
  .form__grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { min-height: 0; display: flex; flex-direction: column; }
  .map svg.map__svg { position: relative; height: auto; }
  .map__osm-btn { position: static; margin: 0 16px 16px; align-self: flex-start; }
  .map__osm-note { display: none; }
  .map.has-osm { min-height: 380px; }
  .callbar { display: grid; }
  .site-footer { padding-bottom: 110px; }
  .consent { left: 12px; bottom: 12px; padding: 20px; }
  .consent p { font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .consent__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .callbar, .consent, .modal { display: none !important; }
}
