/* ==========================================================================
   Steinbeisser – Stylesheet (Graphit/Grau/Weiß mit Orange)
   ========================================================================== */

:root {
  --graphite: #1e2327;
  --graphite-2: #262c31;
  --graphite-3: #323940;
  --line-dark: rgba(241, 243, 245, .12);
  --footer: #15191c;

  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #eff1f3;
  --gray-200: #e2e6ea;
  --gray-300: #cdd3d9;

  --ink: #1e2327;
  --ink-2: #48515a;
  --ink-3: #5b646d;
  --on-dark: #f1f3f5;
  --on-dark-2: #b3bbc3;

  --accent: #f26b21;
  --accent-hover: #ff7e38;
  --accent-bright: #f7813f;
  --accent-deep: #b3450c;
  --accent-50: #fff1e8;
  --danger: #b3261e;

  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 18px 40px -18px rgba(20, 24, 28, .28);
  --container: 1200px;
  --header-h: 72px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gray-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
}

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

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(100% - 64px, var(--container)); } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--accent); color: var(--graphite); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-stretch: 110%; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.15em; height: 1.15em; stroke-width: 2.2; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }
.btn--primary { background: var(--accent); color: var(--graphite); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { color: var(--on-dark); border-color: rgba(241, 243, 245, .35); }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--dark { background: var(--graphite); color: var(--on-dark); }
.btn--dark:hover { background: var(--graphite-3); }
.btn--outline { color: var(--ink); border-color: var(--gray-300); }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: var(--graphite); color: var(--white); }
.btn--light:hover { background: var(--graphite-3); }
.btn--line-light { color: var(--graphite); border-color: rgba(30, 35, 39, .45); }
.btn--line-light:hover { border-color: var(--graphite); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent-bright); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  color: var(--on-dark);
  background: rgba(30, 35, 39, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on-dark); }
.brand__mark { width: 42px; height: 42px; margin-left: -5px; }
.brand__name { font-weight: 800; font-stretch: 125%; font-size: 1.3rem; letter-spacing: -.015em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 26px; padding: 0; list-style: none; }
.nav ul a {
  position: relative; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: var(--on-dark-2);
  transition: color .2s;
}
.nav ul a:hover, .nav ul a.is-active { color: var(--on-dark); }
.nav ul a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--accent-bright);
}

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; padding: 0;
    color: inherit; background: transparent;
    border: 1px solid var(--line-dark); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s, background-color .25s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px;
    background: var(--graphite);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav ul a.is-active::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  background: var(--graphite); color: var(--on-dark);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .55; filter: grayscale(1); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 35, 39, .96) 0%, rgba(30, 35, 39, .9) 45%, rgba(30, 35, 39, .72) 100%),
    linear-gradient(0deg, rgba(30, 35, 39, .7), transparent 40%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.5rem); line-height: .95; margin: 20px 0 24px; }
.hl { color: var(--accent-bright); }
.hero__lead { max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--on-dark-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding: 0; list-style: none;
  font-size: .95rem; font-weight: 600;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ic { color: var(--accent-bright); stroke-width: 2.4; }

.hero__visual { position: relative; margin: 0; }
.hero__visual::before {
  content: ""; position: absolute; inset: 10% -8% -6% 12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(242, 107, 33, .28), transparent);
  filter: blur(30px);
}
.hero__visual .ba { aspect-ratio: 5 / 4; }
.hero__visual figcaption { margin-top: 16px; padding-left: 110px; font-size: .9rem; color: var(--on-dark-2); }
.hero__visual--plain figcaption { padding-left: 0; }

.badge {
  position: absolute; left: -26px; bottom: 12px; z-index: 4;
  width: 116px; height: 116px; pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
}
.badge svg { width: 100%; height: 100%; }
.badge__bg { fill: var(--accent); }
.badge__core { fill: var(--white); }
.badge__text {
  fill: var(--graphite); font-size: 10px; font-weight: 800; font-stretch: 112%; letter-spacing: .06em;
  transform-origin: 60px 60px; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 8px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(30, 35, 39, .9), rgba(30, 35, 39, .96)); }
}
@media (max-width: 560px) {
  .badge { width: 88px; height: 88px; left: auto; right: 10px; bottom: auto; top: -30px; }
  .hero__visual .ba__tag { top: auto; bottom: 14px; }
  .hero__visual figcaption { padding-left: 0; }
}

/* ---------- Vorher/Nachher-Regler ---------- */
.ba {
  --pos: 50%;
  position: relative; z-index: 1; isolation: isolate;
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #6f7376;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  cursor: ew-resize; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0; pointer-events: none; }
.ba__handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 18px rgba(0, 0, 0, .35);
}
.ba__knob {
  position: absolute; top: 50%; left: 0;
  display: grid; place-items: center;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: var(--accent); color: var(--graphite);
  box-shadow: 0 0 0 4px var(--white), 0 10px 24px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.ba__knob .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.ba.is-dragging .ba__knob { transform: scale(1.08); }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--accent-bright); outline-offset: 6px; }

.ba__tag {
  position: absolute; top: 16px; z-index: 2;
  padding: 7px 13px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none; transition: opacity .2s;
}
.ba__tag--before { left: 16px; background: rgba(30, 35, 39, .78); color: var(--on-dark); }
.ba__tag--after { right: 16px; background: var(--white); color: var(--ink); }

.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; pointer-events: none;
}

/* ---------- Band ---------- */
.band {
  display: flex; align-items: stretch; overflow: hidden;
  background: var(--accent); color: var(--graphite);
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em;
}
.band__label {
  flex: none; display: flex; align-items: center;
  padding: 0 22px; background: var(--graphite); color: var(--accent-bright);
  font-size: .8rem; letter-spacing: .14em;
}
.band__viewport { flex: 1; overflow: hidden; }
.band__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.band__list { display: flex; padding: 16px 0; list-style: none; font-size: 1.05rem; white-space: nowrap; }
.band__list li { display: flex; align-items: center; }
.band__list li::after {
  content: ""; width: 9px; height: 9px; margin: 0 22px;
  border-radius: 50% 45% 55% 40%; background: var(--graphite); opacity: .55;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .band__label { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--gray { background: var(--gray-100); }
.section--white { background: var(--white); }
.section--dark { background: var(--graphite); color: var(--on-dark); }

.section__head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2, .faq__intro h2, .contact__intro h2 {
  margin-top: 16px; font-size: clamp(2rem, 4.3vw, 3.4rem);
}
.section__head p:not(.eyebrow) { max-width: 40em; margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 28px 26px;
  background: var(--white); color: var(--ink); text-decoration: none;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.service__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px;
  border-radius: 14px; background: var(--graphite); color: var(--accent-bright);
}
.service__icon .ic { width: 27px; height: 27px; }
.service h3 { font-size: 1.25rem; font-stretch: 112%; }
.service p { color: var(--ink-2); font-size: 1rem; }
.service--feature { background: var(--graphite); color: var(--on-dark); border-color: var(--graphite); }
.service--feature:hover { border-color: var(--graphite); }
.service--feature p { color: var(--on-dark-2); }
.service--feature .service__icon { background: var(--accent); color: var(--graphite); }
.service__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--accent-bright); }
.service__more .ic { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform .2s; }
.service--feature:hover .service__more .ic { transform: translateX(3px); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Abschnitt mit dezentem Foto ---------- */
.section--photo { position: relative; overflow: hidden; isolation: isolate; }
.section__bg { position: absolute; inset: 0; z-index: -1; }
.section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(1); }
.section__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--graphite) 25%, rgba(30, 35, 39, .55) 100%);
}
.section--dark .section__head p:not(.eyebrow) { color: var(--on-dark-2); }
.section__head h2 em { font-style: normal; color: var(--accent-bright); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--flush { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; list-style: none; }
.step { padding-top: 26px; border-top: 2px solid var(--graphite); }
.step__num {
  display: block; font-size: clamp(3rem, 5vw, 4rem); font-weight: 900; font-stretch: 125%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--graphite);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { margin: 18px 0 10px; font-size: 1.25rem; font-stretch: 112%; }
.step p { font-size: 1rem; color: var(--ink-2); }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps--dark .step { border-top-color: var(--line-dark); }
.steps--dark .step__num { -webkit-text-stroke-color: var(--on-dark-2); }
.steps--dark .step:hover .step__num { color: var(--accent-bright); -webkit-text-stroke-color: var(--accent-bright); }
.steps--dark .step p { color: var(--on-dark-2); }

/* ---------- Preis-Hinweis ---------- */
.teaser { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.teaser h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.teaser p:not(.eyebrow) { max-width: 36em; margin-top: 14px; color: var(--ink-2); }
.teaser__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  background: var(--graphite); color: var(--on-dark);
}
.page-hero h1 { max-width: 16ch; margin: 18px 0 20px; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: .98; }
.page-hero p:not(.eyebrow) { max-width: 38em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--on-dark-2); }

/* ---------- Anti-Graffiti-Schutz ---------- */
.protect { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.protect__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--graphite-2); border: 1px solid var(--line-dark); }
.protect__card > .ic { width: 32px; height: 32px; color: var(--accent-bright); }
.protect__label { display: block; margin: 18px 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-bright); }
.protect__card h3 { margin-bottom: 10px; font-size: 1.4rem; font-stretch: 112%; }
.protect__card p { color: var(--on-dark-2); }
.protect__card ul { display: grid; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.protect__card li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.protect__card li .ic { width: 18px; height: 18px; color: var(--accent-bright); stroke-width: 2.4; }
@media (max-width: 760px) { .protect { grid-template-columns: 1fr; } }

/* ---------- Tipp-Box ---------- */
.tip {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  margin-top: 8px; padding: 20px 22px;
  border-radius: 16px; background: var(--accent-50); border: 1px solid #ffd9c2;
}
.tip .ic { width: 26px; height: 26px; color: var(--accent-deep); }
.tip strong { display: block; margin-bottom: 4px; }
.faq__intro .tip p:not(.eyebrow) { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- Blaues Kontakt-Band ---------- */
.cta-band { padding: clamp(48px, 6vw, 72px) 0; background: var(--accent); color: var(--graphite); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band p { max-width: 34em; margin-top: 10px; color: rgba(30, 35, 39, .82); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }


/* ---------- Preisrechner ---------- */
.calc {
  display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.calc__inputs { display: grid; gap: 34px; padding: clamp(24px, 4vw, 44px); }
.calc fieldset { min-width: 0; margin: 0; padding: 0; border: 0; transition: opacity .2s; }
.calc fieldset:disabled .choice-grid { opacity: .4; }
.calc legend { margin-bottom: 14px; padding: 0; font-weight: 800; font-stretch: 112%; font-size: 1.08rem; }
.calc__hint { margin-top: 10px; font-size: .92rem; color: var(--ink-3); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 14px 16px;
  background: var(--white); border: 1.5px solid var(--gray-300); border-radius: 14px;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.choice > span:hover { border-color: var(--ink-3); }
.choice strong { font-weight: 700; line-height: 1.25; }
.choice small { font-size: .85rem; color: var(--ink-3); line-height: 1.35; }
.choice input:checked + span { border-color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); background: var(--gray-100); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + span { cursor: not-allowed; }

.area { display: flex; align-items: center; gap: 18px; }
.area input[type="range"] {
  --fill: 17%;
  flex: 1; height: 30px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.area input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(to right, var(--graphite) var(--fill), var(--gray-300) var(--fill));
}
.area input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px;
  border-radius: 50%; border: 3px solid var(--white); background: var(--accent);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
}
.area input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--gray-300); }
.area input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--graphite); }
.area input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--white);
  background: var(--accent); box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
}
.area__num {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; background: var(--white);
  border: 1.5px solid var(--gray-300); border-radius: 12px;
  font-weight: 700; color: var(--ink-3);
}
.area__num:focus-within { border-color: var(--graphite); }
.area__num input {
  width: 5ch; padding: 11px 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.2rem; font-weight: 800; color: var(--ink); text-align: right;
  -moz-appearance: textfield;
}
.area__num input::-webkit-outer-spin-button, .area__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.switch { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui {
  position: relative; flex: none; width: 50px; height: 30px; margin-top: 1px;
  border-radius: 999px; background: var(--gray-300); transition: background-color .2s;
}
.switch__ui::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s, background-color .2s;
}
.switch input:checked + .switch__ui { background: var(--graphite); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--accent-bright); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch strong { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.08rem; }
.switch small { font-size: .92rem; color: var(--ink-3); }

.calc__result {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--graphite); color: var(--on-dark);
}
.calc__label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
.calc__price {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 900; font-stretch: 125%; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.calc__lines { display: grid; padding: 0; list-style: none; font-size: .95rem; }
.calc__lines li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line-dark);
}
.calc__lines li span:last-child { flex: none; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.calc__lines li span:first-child { color: var(--on-dark-2); }
.calc__lines li.is-note span { color: var(--accent-bright); }
.calc__note { margin-top: auto; font-size: .85rem; color: var(--on-dark-2); }
.calc__result .btn { align-self: flex-start; }

@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice > span { flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 12px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; align-items: start; gap: clamp(40px, 6vw, 80px); }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro p:not(.eyebrow) { margin: 20px 0 28px; font-size: 1.1rem; color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--gray-300); }
.faq__list details { border-bottom: 1px solid var(--gray-300); }
.faq__list summary {
  position: relative; padding: 22px 52px 22px 0;
  font-weight: 700; font-size: 1.12rem; line-height: 1.35;
  list-style: none; cursor: pointer; transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--graphite), var(--graphite)) center / 12px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) center / 2px 12px no-repeat,
    var(--gray-200);
  transition: transform .25s;
}
.faq__list details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--graphite), var(--graphite)) center / 12px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) center / 2px 12px no-repeat,
    var(--accent);
}
.faq__list summary:hover { color: var(--accent-deep); }
.faq__list .answer { max-width: 62ch; padding: 0 0 24px; color: var(--ink-2); }
.faq__list .answer a { color: var(--accent-deep); font-weight: 600; }
@media (max-width: 920px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: clamp(40px, 6vw, 80px); }
.contact__intro > p:not(.eyebrow) { margin-top: 20px; font-size: 1.1rem; color: var(--on-dark-2); }
.contact__list { display: grid; margin-top: 32px; padding: 0; list-style: none; }
.contact__list a, .contact__list div {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none;
}
.contact__list li:first-child > * { border-top: 1px solid var(--line-dark); }
.contact__list a:hover strong { color: var(--accent-bright); }
.contact__ic {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px;
  border-radius: 13px; background: var(--graphite-3); color: var(--accent-bright);
}
.contact__list small {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.contact__list strong { font-size: 1.08rem; transition: color .2s; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--gray-50); color: var(--ink);
  border-radius: var(--radius-lg);
}
.form__head { grid-column: 1 / -1; margin-bottom: 4px; }
.form__head h3 { font-size: 1.5rem; }
.form__head p { margin-top: 6px; font-size: .92rem; color: var(--ink-3); }
.field { display: grid; align-content: start; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--gray-300); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2327' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242, 107, 33, .25);
}
.field input:user-invalid { border-color: var(--danger); }
.req { color: var(--accent-deep); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--ink); font-weight: 600; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 6px; }
.form__alt { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.form__alt .ic { color: var(--accent); }
.form__alt a { color: var(--ink); font-weight: 700; }
.form__status { grid-column: 1 / -1; font-weight: 600; color: var(--accent-deep); }
.form__status:empty { display: none; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; background: var(--footer); color: var(--on-dark-2); font-size: .95rem; }
.footer .brand { color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__about { max-width: 30em; margin-top: 16px; }
.footer__address { margin-top: 12px; line-height: 1.7; color: var(--on-dark); }
.footer__address a:hover { color: var(--accent-bright); }
.footer__areas { margin-top: 44px; }
.footer .footer__areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__areas li { padding: 5px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .82rem; }
.footer__title { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.footer ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.footer a { text-decoration: none; transition: color .2s; }
.footer ul a:hover, .footer__bottom a:hover { color: var(--accent-bright); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Mobile Schnellkontakt ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(30, 35, 39, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: 12px; background: var(--graphite-3); color: var(--on-dark);
    font-weight: 700; font-size: .95rem; text-decoration: none;
  }
  .mobile-cta a.is-primary { background: var(--accent); color: var(--graphite); }
  .mobile-cta .ic { color: var(--accent-bright); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); background: var(--white); }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 16px 0 32px; }
.legal h2 { font-size: 1.35rem; font-stretch: 112%; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--accent-deep); font-weight: 600; }
.draft-note {
  margin-bottom: 32px; padding: 16px 20px;
  border: 2px dashed var(--accent); border-radius: 14px; background: var(--accent-50);
  font-size: .95rem; color: var(--ink) !important;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--on-dark-2); }
.back-link:hover { color: var(--on-dark); }
.back-link .ic { transform: rotate(180deg); }
