/* ============================================================
   Ben Haustechnik – Design-System
   Apple-inspiriert: System-Schrift, viel Weissraum, klare Kanten
   ============================================================ */

:root {
  --ink: #0d1321;
  --ink-soft: #47506b;
  --ink-faint: #8a92ab;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eceef2;
  --line: #e3e6ec;
  --navy: #232d5c;
  --navy-2: #2e3a72;
  --navy-deep: #1a2248;
  --accent: #e8622d;
  --accent-dark: #d1511f;
  --accent-soft: #fdeee5;
  --green: #22c55e;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 8px 30px rgba(13, 19, 33, 0.07);
  --shadow-lift: 0 16px 44px rgba(13, 19, 33, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

section { scroll-margin-top: 90px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 98, 45, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-2); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1fb958; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(13, 19, 33, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 0.93rem;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .brand-logo { height: 26px; }
  .brand { font-size: 0.88rem; gap: 9px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; min-height: 40px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(232, 98, 45, 0.3), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(99, 116, 214, 0.24), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; }

/* Hero-Hintergrundvideo: liegt unter Punktraster und Inhalt */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 34, 72, 0.35) 0%, rgba(26, 34, 72, 0.75) 100%);
}

/* Kennzeichnung nach Art. 50 EU AI Act */
.ki-hinweis {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(13, 19, 33, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
  animation: pulsePunkt 2.2s ease-out infinite;
}

@keyframes pulsePunkt {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero-Einstieg: Zeilen schieben sich aus einer Maske hoch,
   danach faden Text, Buttons und Zahlen gestaffelt ein */
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: heroZeile 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes heroZeile { from { transform: translateY(112%); } to { transform: none; } }
@keyframes heroAuf {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-badge { animation: heroAuf 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero p { animation: heroAuf 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.hero-actions { animation: heroAuf 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both; }
.hero-stats { animation: heroAuf 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 .accent { color: #f7a173; }

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.hero-stats {
  display: flex;
  gap: clamp(28px, 6vw, 64px);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stat .label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Handy: Schlagzeile so verkleinern, dass jede Zeile einzeilig bleibt */
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(24px, 7vw, 34px); }
}

/* ---------- Abschnitts-Kopf ---------- */

.section { padding: 90px 0; }
.section.alt { background: var(--surface); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Leistungen: Slider in einer Reihe ---------- */

.slider-nav { display: flex; gap: 10px; }

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  flex-shrink: 0;
}

.slider-btn:hover { background: var(--surface-2); }
.slider-btn:active { transform: scale(0.94); }
.slider-btn[disabled] { opacity: 0.35; cursor: default; }

.services-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.services-track::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.service-media {
  margin: -30px -28px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--surface-2);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-media img { transform: scale(1.05); }

.service-card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.015em;
}

.service-card p { color: var(--ink-soft); font-size: 0.98rem; flex-grow: 1; }

.service-card .link {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Bad-Kostenrechner ---------- */

.kalk-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.kalk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 26px;
  align-content: start;
}

.kalk-label {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.kalk-label output {
  color: var(--accent-dark);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.kalk-card input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 32px;
  cursor: pointer;
}

.kalk-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.kalk-chip {
  font-family: var(--font);
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kalk-chip small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 3px;
  line-height: 1.35;
}

.kalk-chip.aktiv {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.kalk-optionen { display: flex; flex-wrap: wrap; gap: 10px; }

.kalk-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kalk-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.kalk-option input { accent-color: var(--accent); width: 16px; height: 16px; }

.kalk-ergebnis {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-2));
  border-radius: var(--radius);
  color: #fff;
  padding: 34px 30px;
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.kalk-ergebnis-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.kalk-preis {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f7a173;
  font-variant-numeric: tabular-nums;
}

.kalk-hinweis { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

.kalk-ergebnis .btn { margin-top: 6px; }

.kalk-tel {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .kalk-grid { grid-template-columns: 1fr; }
  .kalk-chips { grid-template-columns: 1fr; }
}

/* ---------- Rohrreinigung ---------- */

.rohr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.rohr-grid h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.rohr-text { color: var(--ink-soft); margin-bottom: 18px; }

.rohr-liste {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.rohr-liste li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.rohr-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1511f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.rohr-bilder { display: flex; gap: 16px; }

.rohr-bild {
  margin: 0;
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.rohr-bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.rohr-bild figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 10px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.rohr-bild .ki-hinweis {
  color: var(--ink-faint);
  background: var(--surface-2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 860px) {
  .rohr-grid { grid-template-columns: 1fr; }
}

/* ---------- Gezeichnete Haus-Szene (Einmal durchs Haus) ---------- */

.einblick-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.einblick-text { color: var(--ink-soft); margin-bottom: 26px; }

.einblick-liste {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
}

.einblick-liste li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.einblick-liste b {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.einblick-liste strong { display: block; font-size: 0.98rem; }
.einblick-liste span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }

.haus-szene {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-2));
  border-radius: var(--radius);
  padding: 24px 26px 16px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.szene-hud {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #fff;
  margin-bottom: 10px;
}

.hud-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f7a173;
  font-variant-numeric: tabular-nums;
}

.hud-label { font-size: 0.95rem; font-weight: 600; flex-grow: 1; }

.hud-pct {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.hud-segs { display: flex; gap: 6px; margin-bottom: 6px; }

.hud-segs i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  display: block;
}

.hud-segs b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

.szene-buehne { transition: opacity 0.6s ease; }
.szene-buehne svg { width: 100%; height: auto; display: block; }

.sk, .sk2 {
  fill: none;
  stroke: #dfe6f5;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.sk2 { stroke-width: 1.5; opacity: 0.55; }

.rohr {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fluss {
  fill: none;
  stroke: #8fc1ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 10 16;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fluss.on {
  opacity: 1;
  animation: flussLauf 1.2s linear infinite;
}

@keyframes flussLauf { to { stroke-dashoffset: -26; } }

.luft {
  fill: none;
  stroke: #9be3ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.luft.on {
  opacity: 0.9;
  animation: flussLauf 1s linear infinite;
}

.glow {
  opacity: 0;
  transform: scale(0.6);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow.on { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .einblick-grid { grid-template-columns: 1fr; }
}

/* ---------- Aus Alt wird Neu: Vergleichs-Slider ---------- */

.altneu-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.altneu-grid h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.altneu-text { color: var(--ink-soft); margin-bottom: 16px; }
.altneu-grid .btn-dark { margin-top: 8px; }

.vn-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
  /* pan-y: senkrecht scrollt die Seite normal, waagerecht zieht den Regler */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.vn-slider img {
  -webkit-user-drag: none;
  user-drag: none;
}

.vn-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vn-neu { clip-path: inset(0 0 0 var(--p)); object-position: center 72%; }

.vn-griff {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}

.vn-griff span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 19, 33, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232d5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}

.vn-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(13, 19, 33, 0.55);
  padding: 5px 12px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vn-label-alt { left: 14px; }
.vn-label-neu { right: 14px; }

.vn-slider { cursor: ew-resize; }

/* Range-Regler nur fuer Tastatur: unsichtbar, aber fokussierbar */
.vn-slider input[type="range"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  margin: 0;
}

.vn-slider:focus-within .vn-griff span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .altneu-grid { grid-template-columns: 1fr; }
}

/* ---------- Häufige Fragen ---------- */

.faq-liste {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 18px 52px 18px 20px;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1511f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  max-width: 640px;
}

.faq-item a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Galerie: echte Projekte ---------- */

.galerie-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.galerie-track::-webkit-scrollbar { display: none; }

.galerie-card {
  flex: 0 0 min(270px, 70vw);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.galerie-card.quer { flex-basis: min(420px, 88vw); }

.galerie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.galerie-card:hover img { transform: scale(1.05); }

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Warum wir ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h3 { font-size: 1.06rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--ink-soft); font-size: 0.94rem; }

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------- Über uns ---------- */

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.about h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 18px;
}

.about p { color: var(--ink-soft); margin-bottom: 16px; }

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  margin-bottom: 20px;
  background: var(--navy-deep);
}

.about-media video,
.about-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-card {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-2));
  border-radius: var(--radius);
  color: #fff;
  padding: 40px 34px;
  box-shadow: var(--shadow-lift);
}

.about-card blockquote {
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 22px;
}

.about-card .who {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-card .who strong { color: #fff; display: block; font-size: 1rem; }

.chef-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-list { display: grid; gap: 14px; margin-top: 30px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-item:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }

.contact-item .ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.contact-item.wa .ci-icon { background: #e7f9ee; color: #16a34a; }

.contact-item .ci-label { font-size: 0.85rem; color: var(--ink-faint); }
.contact-item .ci-value { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 0.9rem; font-weight: 600; }

.field input,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 98, 45, 0.14);
}

.field textarea { resize: vertical; min-height: 120px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 14px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA-Band ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(232, 98, 45, 0.32), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-2));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-media {
  position: absolute;
  inset: 0;
}

.cta-media video,
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.cta-band > :not(.cta-media) { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
  font-size: 1.08rem;
}

.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 110px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-text small { color: rgba(255, 255, 255, 0.55); }
.footer p { font-size: 0.94rem; max-width: 320px; }

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer ul { list-style: none; display: grid; gap: 10px; font-size: 0.94rem; }
.footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Mobile Aktionsleiste ---------- */

.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn { flex: 1; min-height: 48px; font-size: 0.98rem; }

@media (max-width: 820px) {
  .mobile-bar { display: flex; }
}

/* ---------- Schwebende Helfer: Chat-Bot Ben + WhatsApp ---------- */

.float-btn {
  position: fixed;
  bottom: 22px;
  z-index: 70;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.float-btn:hover { transform: translateY(-2px); }

.chat-btn {
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 13px 22px 13px 16px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(13, 19, 33, 0.35);
}

.chat-btn-punkt {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulsePunkt 2.2s ease-out infinite;
}

.wa-float {
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Im Kontakt- und Fussbereich treten die Helfer zurueck */
html.floats-ruhe .float-btn,
html.floats-ruhe .chat-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* ---------- Chat-Panel ---------- */

.chat-panel {
  position: fixed;
  left: 22px;
  bottom: 92px;
  z-index: 80;
  width: min(370px, calc(100vw - 32px));
  height: min(540px, 72vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(13, 19, 33, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.chat-panel.offen {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chat-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-2));
  color: #fff;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat-titel { flex: 1; line-height: 1.25; }
.chat-titel strong { display: block; font-size: 1.05rem; }
.chat-titel small { color: rgba(255, 255, 255, 0.65); font-size: 0.75rem; }

.chat-zu {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.chat-verlauf {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
}

.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.chat-msg.bot {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}

.chat-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chat-aktionen a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
}

.chat-aktionen a.tel { background: var(--accent); }
.chat-aktionen a.wa { background: #25d366; }
.chat-aktionen a.link { background: var(--navy); }

.tipp-punkte {
  display: inline-flex;
  gap: 5px;
  padding: 4px 2px;
}

.tipp-punkte i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: tippBlink 1.1s ease-in-out infinite;
}

.tipp-punkte i:nth-child(2) { animation-delay: 0.18s; }
.tipp-punkte i:nth-child(3) { animation-delay: 0.36s; }

@keyframes tippBlink {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: var(--surface);
}

.chat-chips button {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chat-chips button:hover { border-color: var(--accent); background: var(--accent-soft); }

.chat-fuss {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chat-fuss input {
  flex: 1;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--surface);
}

.chat-fuss input:focus { outline: none; border-color: var(--accent); background: #fff; }

.chat-fuss button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .wa-float { display: none; }
  .chat-btn { bottom: calc(84px + env(safe-area-inset-bottom)); left: 14px; }
  .chat-panel { left: 14px; bottom: calc(150px + env(safe-area-inset-bottom)); height: min(480px, 62vh); }
}

@media (prefers-reduced-motion: reduce) {
  .chat-btn-punkt, .tipp-punkte i { animation: none; }
  .float-btn, .chat-panel { transition: none; }
}

/* ---------- Rechtstexte ---------- */

.legal {
  padding: 140px 0 60px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
}

.legal h3 { font-size: 1.08rem; margin: 24px 0 8px; }

.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }

.legal ul { padding-left: 22px; margin-bottom: 14px; }

.legal .address {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 16px 0 24px;
}

.legal .address p { margin-bottom: 4px; color: var(--ink); }

/* ---------- Einblendung beim Scrollen ----------
   Nur aktiv, wenn JS laeuft (html.js) – ohne JS bleibt alles sichtbar */

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .reveal.visible { opacity: 1; transform: none; }

/* Karten innerhalb einer Sektion erscheinen gestaffelt nacheinander */
html.js .services-track.reveal .service-card,
html.js .steps.reveal .step,
html.js .features.reveal .feature {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .services-track.reveal.visible .service-card,
html.js .steps.reveal.visible .step,
html.js .features.reveal.visible .feature {
  opacity: 1;
  transform: none;
}

/* Stagger NUR fuer die drei Kartenreihen, sonst bremst die Verzoegerung
   interaktive Elemente wie den Vorher/Nachher-Regler aus */
html.js .services-track.reveal.visible .service-card:nth-child(2),
html.js .steps.reveal.visible .step:nth-child(2),
html.js .features.reveal.visible .feature:nth-child(2) { transition-delay: 0.1s; }
html.js .services-track.reveal.visible .service-card:nth-child(3),
html.js .steps.reveal.visible .step:nth-child(3),
html.js .features.reveal.visible .feature:nth-child(3) { transition-delay: 0.2s; }
html.js .services-track.reveal.visible .service-card:nth-child(4),
html.js .steps.reveal.visible .step:nth-child(4),
html.js .features.reveal.visible .feature:nth-child(4) { transition-delay: 0.3s; }
html.js .services-track.reveal.visible .service-card:nth-child(5) { transition-delay: 0.4s; }
html.js .services-track.reveal.visible .service-card:nth-child(6) { transition-delay: 0.5s; }
/* Verzoegerung gilt nur fuer den Einstieg, nicht fuer Hover-Effekte */
html.js .services-track.reveal.visible .service-card:hover,
html.js .steps.reveal.visible .step:hover,
html.js .features.reveal.visible .feature:hover { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .services-track.reveal .service-card,
  html.js .steps.reveal .step,
  html.js .features.reveal .feature {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero h1 .line > span,
  .hero-badge,
  .hero p,
  .hero-actions,
  .hero-stats,
  .hero-badge .dot { animation: none; }
  .btn, .service-card, .contact-item { transition: none; }
}
