/* Kalkbrunn Haustechnik – Demo-Website von Werkanfrage */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --ink: #0b2a34;
  --petrol: #0d3542;
  --petrol-2: #154a59;
  --water: #2a8fa8;
  --water-l: #57b8cc;
  --mist: #e3f1f4;
  --copper: #b4541f;
  --copper-h: #9a4518;
  --copper-l: #d9733a;
  --sand: #f5f1ea;
  --sand-2: #ece5d9;
  --paper: #ffffff;
  --text: #16303a;
  --muted: #4c626a;
  --line: #dcd5c8;
  --alert: #c2361f;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 42, 52, .06), 0 10px 30px -12px rgba(11, 42, 52, .22);
  --demo-h: 36px;
  --head-h: 72px;
  --f-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  padding-top: var(--demo-h);
  background: var(--sand);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 7.2vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 4.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--paper); padding: 12px 16px; border-radius: 8px; }
.skip:focus { left: 16px; top: calc(var(--demo-h) + 8px); }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 6px; }

/* ---------- Demo banner ---------- */
.demo-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--demo-h);
  background: #071c23; color: #d6e6ea;
  font-size: .8125rem;
}
.demo-bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-bar__in > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demo-bar strong { color: #fff; font-weight: 600; }
.demo-bar a { color: var(--water-l); font-weight: 600; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.demo-bar a:hover { text-decoration: underline; }
@media (max-width: 520px) { .demo-bar { font-size: .75rem; } .demo-bar__in > span .hide-xs { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(245, 241, 234, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 42, 52, .5); }
.site-header__in { height: var(--head-h); display: flex; align-items: center; gap: 16px; max-width: 1360px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-family: var(--f-head); font-weight: 800; font-size: 1.32rem; line-height: 1; letter-spacing: -.03em; display: flex; flex-direction: column; }
.logo__text small { white-space: nowrap; font-family: var(--f-body); font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: #8fb1ba; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text); }
.nav a:hover { background: var(--sand-2); }
.nav__emergency { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.notdienst-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; background: #fbe9e4; color: var(--alert);
  font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap;
  border: 1px solid #f3c9bd;
}
.notdienst-pill:hover { background: #f8dcd4; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); position: relative; display: inline-block; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--alert); opacity: 0; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--copper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-h); }
.btn--line { background: transparent; border-color: var(--petrol); color: var(--petrol); }
.btn--line:hover { background: var(--petrol); color: #fff; }
.btn--ghost { background: transparent; color: var(--petrol); padding: 0 12px; }
.btn--ghost:hover { background: var(--sand-2); }
.btn--white { background: #fff; color: var(--alert); }
.btn--white:hover { background: #fde9e3; }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--phone svg { fill: none; stroke: currentColor; stroke-width: 2; }
.btn--cta { min-height: 44px; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--petrol); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1480px) {
  .btn--phone__num { display: none; }
  .btn--phone { width: 44px; padding: 0; }
}
@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--demo-h) + var(--head-h)); bottom: 0;
    background: var(--sand); padding: 16px 16px 32px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__emergency { display: flex !important; align-items: center; gap: 10px; margin-top: 24px; padding: 16px; border-radius: 14px; background: #fbe9e4; color: var(--alert); font-weight: 700; text-decoration: none; }
  .btn--cta { display: none; }
}
@media (max-width: 420px) {
  .notdienst-pill { padding: 0 10px; font-size: .78rem; }
  .logo__text { font-size: 1.15rem; }
  .logo__text small { font-size: .58rem; }
  .logo__mark { width: 36px; height: 36px; }
  .site-header__in { gap: 8px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 374px) { .logo__text small { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 56px; position: relative; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--water);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--water-l); }
.lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--muted); max-width: 36em; }
.u-wave { position: relative; white-space: nowrap; color: var(--water); }
.u-wave::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c12-6 22-6 34 0s22 6 34 0 22-6 34 0 10 3 14 2' fill='none' stroke='%23d9733a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero__note { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--muted); margin: 0; }
.hero__note svg { width: 20px; height: 20px; fill: none; stroke: var(--water); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% 40%; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: 14px; bottom: 14px; right: auto;
  display: flex; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, .95); padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow);
  max-width: calc(100% - 28px);
}
.hero__badge strong { display: block; font-size: .95rem; color: var(--ink); }
.hero__badge span { font-size: .82rem; color: var(--muted); }
.hero__badge-dot { width: 12px; height: 12px; border-radius: 50%; background: #2f9e6a; box-shadow: 0 0 0 5px rgba(47, 158, 106, .18); flex: none; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1.08fr 1fr; gap: 56px; }
  .hero__media img { aspect-ratio: 4 / 4.4; }
  .hero__badge { left: -28px; bottom: 36px; }
}

.trust {
  list-style: none; margin: 40px 0 0; padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust li { display: flex; gap: 12px; align-items: center; padding: 14px 12px; }
.trust svg { width: 30px; height: 30px; fill: none; stroke: var(--water); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; font-family: var(--f-head); font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.trust span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; }
@media (min-width: 860px) {
  .trust { grid-template-columns: repeat(4, 1fr); padding: 12px; }
  .trust li + li { border-left: 1px solid var(--line); }
  .trust li { padding: 14px 20px; }
}
@media (max-width: 400px) { .trust svg { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #c9dce1; }
.section--ink h2, .section--ink h3 { color: #fff; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section__head--row { max-width: none; display: grid; gap: 8px; }
@media (min-width: 860px) { .section__head--row { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; } .section__head--row h2 { margin: 0; } }

/* ---------- Services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.service {
  position: relative; background: var(--sand); border-radius: var(--radius); padding: 26px 24px 24px;
  border: 1px solid transparent; transition: border-color .2s, transform .2s, background .2s;
}
.service:hover { border-color: var(--line); background: #f1ece3; transform: translateY(-2px); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--petrol); color: var(--water-l); margin-bottom: 18px; }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); font-size: 1rem; }
.service--alert { background: #fbeae5; }
.service--alert:hover { background: #f8e0d8; }
.service--alert .service__icon { background: var(--alert); color: #fff; }
.service__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--alert); text-decoration: none; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--petrol-2); border: 1px solid var(--line); }

/* ---------- Feature (Wärmepumpe) ---------- */
.feature { background: var(--petrol); color: #c9dce1; padding: 72px 0; position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; width: 640px; height: 640px; right: -240px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(87, 184, 204, .2), transparent 65%); }
.feature h2 { color: #fff; }
.feature__grid { display: grid; gap: 40px; position: relative; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.feature__stat { position: absolute; right: 14px; bottom: -22px; margin: 0; background: var(--copper); color: #fff; padding: 16px 18px; border-radius: 16px; max-width: 250px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); }
.feature__stat strong { display: block; font-family: var(--f-head); font-size: 1.7rem; line-height: 1.1; }
.feature__stat span { font-size: .86rem; line-height: 1.35; display: block; color: #fde7da; }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--water-l); color: #fff; font-family: var(--f-head); font-weight: 700; }
.steps strong { display: block; color: #fff; font-size: 1.05rem; }
.steps div { font-size: .97rem; line-height: 1.5; }
@media (min-width: 960px) {
  .feature { padding: 112px 0; }
  .feature__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .feature__media img { aspect-ratio: 4 / 4.6; }
  .feature__stat { right: auto; left: -24px; bottom: 40px; }
}

/* ---------- Wizard ---------- */
.wizard-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .wizard-wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } .wizard-intro { position: sticky; top: calc(var(--demo-h) + var(--head-h) + 32px); } }
.wizard-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232a8fa8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wizard-intro__call { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); max-width: 360px; }
.wizard-intro__call span { font-size: .9rem; color: var(--muted); }
.wizard-intro__call a { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--petrol); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.wizard-intro__call small { color: var(--muted); }

.wizard { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 18px 24px; scroll-margin-top: calc(var(--demo-h) + var(--head-h) + 12px); }
@media (min-width: 640px) { .wizard { padding: 32px 36px 36px; } }
.wizard__labels { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: .78rem; font-weight: 700; color: #8a9aa0; text-transform: uppercase; letter-spacing: .06em; }
.wizard__labels li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard__labels li.is-active, .wizard__labels li.is-done { color: var(--petrol); }
.wizard__bar { height: 6px; border-radius: 6px; background: var(--sand-2); overflow: hidden; }
.wizard__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--water), var(--copper-l)); border-radius: 6px; transition: width .35s ease; }
.wizard__count { font-size: .85rem; color: var(--muted); margin: 10px 0 18px; }
@media (max-width: 420px) { .wizard__labels { font-size: .66rem; letter-spacing: .02em; } }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; }
.step.is-entering { animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 1.75rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; padding: 0; margin-bottom: 18px; }
.step legend:focus { outline: none; }

.choices { display: grid; gap: 10px; }
.choices--service { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices--service { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 120px;
  padding: 16px 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice__box svg { width: 30px; height: 30px; fill: none; stroke: var(--water); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.choice__box strong { font-size: 1rem; line-height: 1.25; color: var(--ink); }
.choice__box small { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.choice:hover .choice__box { border-color: #b9c9cd; }
.choice input:checked + .choice__box { border-color: var(--water); background: #f0f8fa; box-shadow: 0 0 0 4px rgba(42, 143, 168, .14); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--water); outline-offset: 2px; }
.choice--alert .choice__box svg { stroke: var(--alert); }
.choice--alert input:checked + .choice__box { border-color: var(--alert); background: #fdf1ed; box-shadow: 0 0 0 4px rgba(194, 54, 31, .12); }

.choices--pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill { cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--paper); font-weight: 600; font-size: .95rem; color: var(--text);
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover span { border-color: #b9c9cd; }
.pill input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--water); outline-offset: 2px; }
.group__label { font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.group { display: none; }
.group.is-shown { display: block; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: #fff; color: var(--text);
  font: 500 1rem/1.4 var(--f-body);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230d3542' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px rgba(42, 143, 168, .15); }
.field input::placeholder, .field textarea::placeholder { color: #9aa8ad; }
.field__err { display: none; color: var(--alert); font-weight: 600; font-size: .85rem; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--alert); }
.field.is-invalid .field__err { display: block; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field--plz { max-width: none; } }
.field-row:has(.field--plz) { grid-template-columns: 120px 1fr; }
.field-error { color: var(--alert); font-weight: 600; font-size: .9rem; margin: 10px 0 0; display: flex; gap: 6px; align-items: center; }
.field-error::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--alert); color: #fff; font-size: .75rem; font-weight: 800; flex: none; }
.hint { font-size: .9rem; color: var(--water); font-weight: 600; margin: -6px 0 18px; min-height: 0; }
.hint:empty { display: none; }
.hint.is-out { color: var(--copper); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; margin-top: 4px; }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--petrol); }
.consent a { color: var(--petrol); font-weight: 600; }

.callout { margin-top: 18px; padding: 16px 18px; border-radius: 14px; display: grid; gap: 4px; font-size: .95rem; }
.callout--alert { background: #fdf1ed; border: 1px solid #f3c9bd; color: #6f2516; }
.callout--alert a { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--alert); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__nav .btn[hidden] { display: none; }
#wiz-next, #wiz-submit { margin-left: auto; }
@media (max-width: 400px) { .wizard__nav .btn { padding: 0 16px; } }

.success { text-align: left; animation: stepIn .35s ease; }
.success:focus { outline: none; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: #e3f4ec; display: grid; place-items: center; margin-bottom: 18px; }
.success__icon svg { width: 32px; height: 32px; fill: none; stroke: #2f9e6a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); }
.success__demo { background: var(--mist); border-left: 4px solid var(--water); padding: 16px 18px; border-radius: 0 14px 14px 0; color: var(--ink); font-size: 1.02rem; }
.success__small { font-size: .85rem; color: var(--muted); }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 20px 0; padding: 18px; border-radius: 14px; background: var(--sand); font-size: .95rem; }
.summary dt { font-weight: 700; color: var(--ink); }
.summary dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 420px) { .summary { grid-template-columns: 1fr; gap: 0; } .summary dd { margin-bottom: 8px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; }
.ref { margin: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ref__img { position: relative; overflow: hidden; flex: 1; }
.ref__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.ref:hover .ref__img img { transform: scale(1.03); }
.ref__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; flex: 1; }
.ref__pair .ref__img img { aspect-ratio: 3 / 4; }
.ref__tag { position: absolute; left: 12px; top: 12px; background: rgba(11, 42, 52, .82); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.ref__tag--after { background: var(--copper); }
.ref figcaption { padding: 16px 18px 18px; display: grid; gap: 2px; }
.ref figcaption strong { font-family: var(--f-head); font-size: 1.12rem; color: var(--ink); }
.ref figcaption span { font-size: .9rem; color: var(--muted); }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .ref--pair { grid-column: 1 / -1; } .ref__pair .ref__img img { aspect-ratio: 4 / 3.4; } }
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
  .ref--pair { grid-column: span 2; grid-row: span 2; }
  .ref--pair .ref__img img { aspect-ratio: auto; height: 100%; min-height: 420px; }
}

/* ---------- Emergency band ---------- */
.emergency { background: linear-gradient(120deg, #a52b17, var(--alert) 55%, #d24a2c); color: #ffe9e2; padding: 56px 0; }
.emergency h2 { color: #fff; }
.emergency .eyebrow--light { color: #ffd9cd; }
.emergency .eyebrow--light::before { display: none; }
.emergency .pulse { background: #fff; }
.emergency .pulse::after { border-color: #fff; }
.emergency__grid { display: grid; gap: 28px; align-items: center; }
.emergency__img img { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.emergency__copy p:not(.eyebrow) { font-size: 1.08rem; max-width: 34em; }
.emergency .btn--lg { font-family: var(--f-head); font-size: 1.3rem; }
@media (min-width: 900px) { .emergency { padding: 80px 0; } .emergency__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* ---------- Area ---------- */
.area { display: grid; gap: 40px; align-items: center; }
.area__copy > p:not(.eyebrow) { font-size: 1.08rem; }
.towns { list-style: none; margin: 24px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #e3eff2; font-size: .92rem; font-weight: 600; }
.towns li:first-child { background: var(--copper); border-color: var(--copper); color: #fff; }
.area__note { color: #8fb1ba; font-size: .95rem; }
.area__map { margin: 0; background: #0f3440; border-radius: var(--radius-lg); padding: 12px; border: 1px solid rgba(255, 255, 255, .08); }
.area__map svg { width: 100%; height: auto; display: block; }
.map-towns circle { fill: var(--water-l); }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Voices ---------- */
.label-demo { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem !important; font-weight: 600; color: var(--copper-h) !important; background: #f9e7dc; padding: 8px 14px; border-radius: 10px; }
.voices { display: grid; gap: 16px; }
@media (min-width: 860px) { .voices { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.voice { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; }
.voice::before { content: ""; width: 34px; height: 26px; margin-bottom: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath d='M0 26V15C0 6.5 4.6 1.4 12.6 0l1.6 4C9.6 5.4 7.6 8.4 7.6 12H14v14zm19.8 0V15c0-8.5 4.6-13.6 12.6-15L34 4c-4.6 1.4-6.6 4.4-6.6 8h6.4v14z' fill='%23d9733a'/%3E%3C/svg%3E") no-repeat; }
.voice blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); position: relative; }
.voice figcaption { display: flex; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); }
.voice figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: var(--water-l); font-weight: 700; font-size: .9rem; flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 32px; }
.faq__head p:last-child:not(.eyebrow) { color: var(--muted); }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%230d3542' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 8px; max-width: 42em; }

/* ---------- Career ---------- */
.career { background: var(--sand); padding: 72px 0; }
.career__grid { display: grid; gap: 36px; align-items: center; background: var(--paper); border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow); }
.career__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.perks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 30px; font-weight: 600; }
.perks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--copper-l); box-shadow: inset 0 0 0 5px #fbe3d4; }
.career__cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.career__cta span { color: var(--muted); font-size: .95rem; }
.career__cta .btn { white-space: normal; text-align: center; line-height: 1.2; }
.career__img { position: relative; }
.career__img img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.career__badge { position: absolute; top: 14px; left: 14px; background: var(--petrol); color: #fff; font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px; }
@media (min-width: 900px) {
  .career { padding: 104px 0; }
  .career__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; padding: 48px; }
  .career__img img { aspect-ratio: 4 / 4.6; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 40px; }
.contact__grid > div > p:not(.eyebrow) { font-size: 1.08rem; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact__cards { display: grid; gap: 12px; }
@media (min-width: 560px) { .contact__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.ccard { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 20px; }
.ccard h3 { font-size: 1rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.ccard p, .ccard address { margin: 0; font-style: normal; color: #c9dce1; }
.ccard a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.ccard a:hover { text-decoration: underline; }
.ccard--alert { background: rgba(194, 54, 31, .18); border-color: rgba(242, 120, 95, .35); }
.ccard--alert a { font-family: var(--f-head); font-size: 1.3rem; }
.ccard--alert .pulse { background: #ff7b5f; }
.ccard--alert .pulse::after { border-color: #ff7b5f; }

/* ---------- Footer ---------- */
.footer { background: #071c23; color: #8fb1ba; padding: 48px 0 104px; font-size: .92rem; }
@media (min-width: 1061px) { .footer { padding-bottom: 32px; } }
.footer__in { display: grid; gap: 28px; padding-bottom: 28px; }
@media (min-width: 860px) { .footer__in { grid-template-columns: 1fr auto; align-items: start; } }
.footer__fict { margin: 14px 0 0; max-width: 34em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: -10px; }
.footer__nav a { color: #d6e6ea; text-decoration: none; padding: 12px 10px; font-weight: 600; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)) no-repeat top center / calc(100% - 32px) 1px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: .85rem; }
.footer__bottom a { color: var(--water-l); }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { min-height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; }
.mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-bar__call { border: 2px solid var(--petrol); color: var(--petrol); }
.mobile-bar__cta { background: var(--copper); color: #fff; }
@media (min-width: 1061px) { .mobile-bar { display: none; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 639px) {
  .service { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 20px 18px; }
  .service__icon { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .service__icon svg { width: 24px; height: 24px; }
  .service h3 { align-self: center; margin: 0; }
  .service p, .service .tags, .service__link { grid-column: 1 / -1; }
  .service p { margin: 12px 0 14px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gallery::-webkit-scrollbar { display: none; }
  .ref { flex: 0 0 82%; scroll-snap-align: center; }
  .ref--pair { flex-basis: 92%; }
  .ref__img img, .ref__pair .ref__img img { aspect-ratio: 4 / 3.6; }
  .gallery + .swipe-hint { display: flex; }
  .emergency__img img { aspect-ratio: 16 / 9; }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin: 4px 0 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.swipe-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .site-header .btn--phone { display: none; } }
@media (max-width: 420px) { .logo { gap: 8px; } .logo__text small { letter-spacing: .03em; } .notdienst-pill { gap: 6px; } }
/* backdrop-filter would make the header the containing block of the fixed mobile nav */
@media (max-width: 1060px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--sand); } }
@media (min-width: 720px) { .footer__bottom { background-size: calc(100% - 64px) 1px; } }
