/* =========================================================
   Juli's Hausmeisterservice – Stylesheet (mobile-first)
   ========================================================= */

/* Optional: eigene Schrift selbst hosten (DSGVO-konform).
   WOFF2-Dateien nach /media/fonts legen, Block einkommentieren
   und "Brand Sans" vorne in --font ergänzen.
@font-face {
  font-family: "Brand Sans";
  src: url("../media/fonts/brand-sans-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
*/

:root {
  --green: #3f6b3a;
  --green-dark: #2d4f2a;
  --green-deep: #24401f;
  --green-100: #e3ecdd;
  --green-50: #f1f6ee;
  --ink: #23272b;
  --ink-2: #33383d;
  --muted: #5b6168;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --line: #e2dfd5;
  --error: #b3261e;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: 16px;
  --bar-h: 62px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(35, 39, 43, .06), 0 8px 24px rgba(35, 39, 43, .07);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 7.2vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--green-dark); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .site-header :focus-visible, .section-green :focus-visible,
.site-footer :focus-visible, .cta-bar :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-50); color: var(--green-dark); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green-100); color: var(--ink); }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h); padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
}
.brand { display: block; }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink-2); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 23, 26, .6) 0%, rgba(20, 23, 26, 0) 20%, rgba(20, 23, 26, 0) 34%,
    rgba(20, 23, 26, .78) 58%, rgba(20, 23, 26, .94) 100%);
}
.hero-content {
  padding: 0 var(--gutter) calc(var(--bar-h) + 5.5rem + env(safe-area-inset-bottom));
  max-width: 42rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: .3rem .75rem; border-radius: 999px; margin-bottom: 1rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.eyebrow .i { width: 1em; height: 1em; }
.hero h1 { margin-bottom: .5em; }
.hero-claim { font-size: clamp(1.1rem, 4.4vw, 1.35rem); color: rgba(255, 255, 255, .9); margin-bottom: 1.4rem; max-width: 34ch; }
.hero-actions { display: none; flex-wrap: wrap; gap: .75rem; } /* mobil übernimmt die Sticky-Bar */
.hero-actions .btn { flex: 1 1 auto; }

.hero-arrow {
  position: absolute; left: 50%; bottom: calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom));
  translate: -50% 0;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .6);
}
.hero-arrow:hover { color: #fff; background: rgba(255, 255, 255, .26); }
.hero-arrow .i { width: 26px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-arrow { animation: bob 2s ease-in-out infinite; }
  .hero-arrow::after {
    content: ""; position: absolute; inset: -2px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    animation: ring 2s ease-out infinite;
  }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 10vw, 6.5rem) 0; scroll-margin-top: 0; }
.section-alt { background: var(--bg); }
.section:not(.section-alt):not(.section-green) { background: var(--surface); }
.kicker {
  display: inline-block; margin-bottom: .75rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* ---------- Zielgruppen-Switch ---------- */
.aud-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0 2rem; }
.aud-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: 1.1rem 1rem 1.2rem; min-height: 150px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius-lg);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.aud-tab:hover { border-color: #b9c9b2; }
.aud-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .4rem;
  border-radius: 12px; background: var(--green-100); color: var(--green);
  transition: background-color .2s, color .2s;
}
.aud-icon .i { width: 26px; height: 26px; }
.aud-title { font-size: clamp(1.05rem, 4.2vw, 1.35rem); font-weight: 800; line-height: 1.2; }
.aud-sub { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.aud-check {
  position: absolute; top: .9rem; right: .9rem; width: 26px; height: 26px; padding: 4px;
  border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3;
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s;
}
.aud-tab[aria-selected="true"] { border-color: var(--green); background: var(--green-50); box-shadow: var(--shadow); }
.aud-tab[aria-selected="true"] .aud-icon { background: var(--green); color: #fff; }
.aud-tab[aria-selected="true"] .aud-check { opacity: 1; transform: scale(1); }
/* ohne JS: Karten sind nur Überschriften, beide Listen sichtbar */
html:not(.js) .aud-tab { cursor: default; }
html:not(.js) .aud-check { display: none; }
html:not(.js) .aud-panel + .aud-panel { margin-top: 3rem; }

.aud-panel:focus-visible { outline-offset: 8px; }
.panel-intro { font-size: 1.2rem; font-weight: 600; max-width: 44rem; margin-bottom: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .aud-panel { animation: fadeUp .35s ease both; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.service-grid { display: grid; gap: .75rem; margin-bottom: 2rem; }
.service {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.service h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.service p { margin: 0; color: var(--muted); font-size: 1rem; }
.service-more { background: transparent; border: 2px dashed #c7d6c0; }
.service-more a { font-weight: 700; white-space: nowrap; }
.service-icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 12px; background: var(--green-100); color: var(--green);
}

/* ---------- Warum ---------- */
.feature-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.feature { padding: 1.4rem; border-radius: var(--radius-lg); background: var(--bg); }
.feature h3 { margin: .9rem 0 .35rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--green); color: #fff;
}
.feature-icon .i { width: 26px; height: 26px; }

/* ---------- Über mich ---------- */
.about { display: grid; gap: 2rem; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.about-photo::before {
  content: ""; position: absolute; inset: 14px -10px -10px 14px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--green-100);
}
.about-photo { isolation: isolate; }
.about-quote { font-size: 1.2rem; line-height: 1.65; margin-bottom: 2rem; }

/* ---------- Einsatzgebiet ---------- */
.section-green { background: var(--green-deep); color: #fff; }
.section-green .kicker { color: #bfd6b5; }
.section-green .section-lead { color: rgba(255, 255, 255, .85); }
/* mobil: kompakte Pillen */
.towns { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 1.5rem; }
.towns li {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 600; font-size: .88rem; line-height: 1.3;
}
.towns .i { width: 1em; height: 1em; color: #bfd6b5; }
.towns .town-home { background: #fff; color: var(--green-deep); border-color: #fff; }
.towns .town-home .i { color: var(--green); }
.town-note { font-weight: 400; font-size: .85em; }
.towns.is-collapsed .town-extra { display: none; }
.town-more-item { padding: 0 !important; background: none !important; border: 0 !important; }
.town-more {
  min-height: 32px; padding: .3rem .75rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 700; color: #fff;
  background: transparent; border: 1px dashed rgba(255, 255, 255, .6);
}
.town-more:hover { background: rgba(255, 255, 255, .1); border-style: solid; }
.area-more { font-size: 1.1rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 1rem 1.2rem; cursor: pointer;
  font-weight: 700; font-size: 1.05rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--green); transition: transform .25s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); }
.faq details[open] { border-color: #c7d6c0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 1.25rem; margin-top: 2rem; max-width: 820px; }
.contact-tabs { margin: 0; }
.contact-direct { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg); }
.contact-direct h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.contact-direct > p { color: var(--muted); }
.direct-actions { display: grid; gap: .6rem; margin-bottom: 1.25rem; }
.direct-meta { display: grid; gap: .5rem; font-size: .98rem; }
.direct-meta li { display: flex; align-items: center; gap: .55rem; color: var(--muted); }
.direct-meta .i { color: var(--green); }
.direct-meta a { word-break: break-all; }

.form-card {
  padding: 1.5rem 1.15rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.anfrage-form { display: grid; gap: 1.5rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.progress-track { height: 8px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 25%; background: var(--green); border-radius: inherit; transition: width .35s ease; }
.progress-text { margin: .5rem 0 0; font-size: .9rem; font-weight: 600; color: var(--muted); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-title { padding: 0; margin-bottom: 1rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.step-title:focus { outline: none; }
.step-hint { color: var(--muted); font-size: .95rem; margin: -.5rem 0 1rem; }
.field-label { font-weight: 700; margin: 1.25rem 0 .6rem; }
.step-error {
  margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 10px;
  background: #fbeceb; color: var(--error); font-weight: 600; font-size: .98rem;
}

/* Große Auswahl-Karten */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  min-height: 120px; padding: 1.1rem; height: 100%;
  border: 2px solid var(--line); border-radius: var(--radius);
  font-weight: 800; font-size: 1.1rem; line-height: 1.25;
  transition: border-color .2s, background-color .2s;
}
.choice-box .i { width: 28px; height: 28px; color: var(--green); }
.choice-box small { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); margin-top: .15rem; }
.choice input:checked + .choice-box { border-color: var(--green); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--green); outline-offset: 3px; }

/* Chips */
.chip-group + .chip-group { margin-top: 1.25rem; }
.chip-group-title { font-weight: 700; margin-bottom: .6rem; }
.js .anfrage-form.is-stepped .chip-group-title { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 48px; padding: .6rem 1.05rem;
  border: 2px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; background: var(--surface);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover span { border-color: #b9c9b2; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:checked + span::before {
  content: ""; width: .5em; height: .85em; margin-right: .1em;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px);
}
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }

/* Textfelder */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 2px solid #cfcbc0; border-radius: 12px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; gap: 0 1rem; }
.field-row .field { margin-bottom: .6rem; }
.privacy-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }

.form-nav { display: flex; gap: .75rem; }
.form-nav .btn { flex: 1; }
.nojs-submit { margin-top: .5rem; }
.js .nojs-submit { display: none; }

/* Stepped-Modus (JS aktiv) */
.anfrage-form.is-stepped .step:not(.is-active) { display: none; }
.anfrage-form.is-stepped .chip-group:not(.is-current) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .anfrage-form.is-stepped .step.is-active { animation: fadeUp .3s ease both; }
}
.btn[disabled] { opacity: .65; cursor: progress; }

.form-success { text-align: center; padding: 2rem .5rem; }
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--green); color: #fff;
}
.success-icon .i { width: 34px; height: 34px; stroke-width: 2.6; }
.form-success h3 { font-size: 1.4rem; }
.success-small { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 3.5rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #cfe3c6; }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand img { width: 70vw; max-width: 360px; height: auto; margin: 0 auto 1.25rem; } /* mobil: groß & zentriert */
.footer-brand p { max-width: 34rem; }
.footer-nap { line-height: 1.75; }
.footer-nap strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-content: start; }
.footer-links a { display: inline-block; padding: .5rem 0; }
.footer-copy {
  display: flex; flex-direction: column-reverse; align-items: center; gap: 1.25rem; text-align: center;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem; color: rgba(255, 255, 255, .7);
}
.footer-copy p { margin: 0; }
/* „Nach oben“-Button (Smooth-Scroll kommt über html { scroll-behavior }) */
.site-footer .to-top {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06);
  color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.site-footer .to-top:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); color: #fff; }
.to-top .i { width: 1.1em; height: 1.1em; }
@media (min-width: 720px) {
  .footer-copy { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Seitliche Abschnitts-Navigation ----------
   Punkt pro Sektion, aktiver Punkt wächst zur vertikalen Pille.
   Farben wechseln automatisch auf dunklen Sektionen (.on-dark, per JS). */
.section-nav { display: none; }
.js .section-nav {
  display: block; position: fixed; left: 4px; top: 50%; z-index: 40;
  transform: translateY(-50%);
  --sn-dot: rgba(35, 39, 43, .35); --sn-active: var(--green);
  pointer-events: none; /* mobil nur Anzeige – kein versehentliches Antippen */
}
.section-nav.on-dark { --sn-dot: rgba(255, 255, 255, .5); --sn-active: #fff; }
.section-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; }
.section-nav a { position: relative; display: flex; justify-content: center; padding: 3px 4px; text-decoration: none; }
.section-nav a::before {
  content: ""; display: block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--sn-dot);
  transition: height .4s cubic-bezier(.4, 0, .2, 1), background-color .3s ease;
}
.section-nav a[aria-current="true"]::before { height: 22px; background: var(--sn-active); }
.sn-label { display: none; }
@media (prefers-reduced-motion: reduce) {
  .section-nav a::before, .sn-label { transition: none; }
}

/* Mobil: Navigation als „Notch“, die aus dem linken Rand ragt.
   ::before/::after = nach innen gewölbte Übergänge (Fillets) oben/unten. */
@media (max-width: 959px) {
  :root { --gutter: 22px; } /* etwas mehr Rand, damit die Notch nichts überdeckt */
  .js .section-nav {
    left: 0; padding: 10px 3px 10px 0;
    background: var(--ink); border-radius: 0 14px 14px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, .18);
    --sn-dot: rgba(255, 255, 255, .5); --sn-active: #fff;
  }
  .section-nav ol { gap: 1px; }
  .section-nav a { padding: 4px 4px; }
  .section-nav a::before { width: 7px; height: 7px; }
  .section-nav a[aria-current="true"]::before { height: 26px; }
  .section-nav::before, .section-nav::after {
    content: ""; position: absolute; left: 0; width: 12px; height: 12px;
  }
  .section-nav::before { bottom: 100%; background: radial-gradient(circle at 100% 0, transparent 11.5px, var(--ink) 12px); }
  .section-nav::after  { top: 100%;    background: radial-gradient(circle at 100% 100%, transparent 11.5px, var(--ink) 12px); }
}

/* ---------- Gestaffeltes Einblenden ----------
   .reveal-on setzt das Inline-Skript im <head> (vor dem ersten Rendern, nicht bei
   „Bewegung reduzieren“; Notfall-Abschaltung nach 3 s, falls main.js nicht lädt).
   main.js setzt --ri (Reihenfolge) und .is-revealed, sobald die Sektion im Bild ist,
   danach .reveal-done → ab dann gelten wieder die normalen Styles.
   Liste der Elemente muss zu REVEAL in js/main.js passen. */
.reveal-on main > section:not(.reveal-done) :is(
  .eyebrow, .kicker, h1, h2, .hero-claim, .hero-actions, .hero-arrow,
  .section-lead, .aud-tab, .panel-intro, .service, .aud-panel > .btn,
  .feature, .about-photo, .about-quote, .about-text > .btn,
  .towns > li, .area-more, .faq details, .contact .aud-panel > *
) {
  opacity: 0;
  /* schnell sichtbar, dann deutlich sichtbares Hochschweben */
  transition: opacity .35s ease-out, translate 1.1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--ri, 0) * 90ms + 100ms);
}
/* leicht von unten – außer beim Pfeil (nutzt translate schon für die Zentrierung) */
.reveal-on main > section:not(.reveal-done) :is(
  .eyebrow, .kicker, h1, h2, .hero-claim, .hero-actions,
  .section-lead, .aud-tab, .panel-intro, .service, .aud-panel > .btn,
  .feature, .about-photo, .about-quote, .about-text > .btn,
  .towns > li, .area-more, .faq details, .contact .aud-panel > *
) { translate: 0 56px; }
.reveal-on main > section.is-revealed:not(.reveal-done) :is(
  .eyebrow, .kicker, h1, h2, .hero-claim, .hero-actions, .hero-arrow,
  .section-lead, .aud-tab, .panel-intro, .service, .aud-panel > .btn,
  .feature, .about-photo, .about-quote, .about-text > .btn,
  .towns > li, .area-more, .faq details, .contact .aud-panel > *
) { opacity: 1; }
.reveal-on main > section.is-revealed:not(.reveal-done) :is(
  .eyebrow, .kicker, h1, h2, .hero-claim, .hero-actions,
  .section-lead, .aud-tab, .panel-intro, .service, .aud-panel > .btn,
  .feature, .about-photo, .about-quote, .about-text > .btn,
  .towns > li, .area-more, .faq details, .contact .aud-panel > *
) { translate: 0 0; }

/* ---------- Mobile Sticky-Bar ---------- */
.cta-bar {
  position: fixed; inset: auto 0 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .15);
}
.cta-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--bar-h); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .82rem;
}
.cta-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
/* Mit JS: Bar erst einblenden, wenn der Hero verlassen wird (ohne JS immer sichtbar) */
.js .cta-bar { transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.js .cta-bar.is-visible { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .js .cta-bar, .js .cta-bar.is-visible { transition: none; } }
@media (max-width: 959px) {
  /* Hero-Höhe beim Laden einfrieren (per JS), damit Text & Pfeil beim
     Ein-/Ausblenden der Browser-Adressleiste nicht springen */
  .js .hero { min-height: var(--hero-h, 100svh); }
  .js .hero-content { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .js .hero-arrow { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
}
.cta-bar .i { width: 22px; height: 22px; }
.cta-bar .cta-primary { background: var(--green); }
.cta-bar a:focus-visible { outline-offset: -4px; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-header { background: var(--ink); }
.page-header .header-inner { max-width: 1180px; margin-inline: auto; }
.page-header .back-link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.legal { padding: 3rem 0 4rem; background: var(--surface); }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.draft-note {
  padding: 1rem 1.2rem; margin-bottom: 2rem; border-radius: 12px;
  background: #fff4d6; border: 2px solid #e2b33c; color: #4d3a00; font-weight: 600;
}
.placeholder { background: #fff4d6; padding: 0 .25em; border-radius: 4px; }
body.subpage .cta-bar { display: none; }
body.subpage .site-footer { scroll-snap-align: none !important; } /* Unterseiten: kein Einrasten */
body.subpage { padding-bottom: 0; }
/* Kurze Unterseiten: Footer bis an den unteren Rand schieben (kein heller Streifen darunter) */
body.subpage { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.subpage main { flex: 1 0 auto; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  :root { --gutter: 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .direct-actions { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 2rem; }
  .hero-actions .btn { flex: 0 0 auto; }
}

@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-tab { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding: 1.4rem 1.5rem; min-height: 0; }
  .aud-icon { margin: 0; width: 56px; height: 56px; }
  .aud-tab .aud-title { flex: 1; }
  .aud-sub { flex-basis: 100%; padding-left: calc(56px + 1rem); margin-top: -.6rem; }
  .about { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
  .footer-inner { grid-template-columns: 2fr 1.2fr 1fr; }
  .footer-brand img { width: auto; height: 80px; max-width: none; margin: 0 0 1rem; }
}

@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 84px; }
  body { padding-bottom: 0; }
  .cta-bar { display: none; }

  .hero-actions { display: flex; }
  .main-nav { display: flex; align-items: center; gap: 1.75rem; }
  .main-nav ul { display: flex; gap: 1.5rem; }
  .main-nav ul a { color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 600; padding: .5rem 0; }
  .main-nav ul a:hover { color: #fff; text-decoration: underline; }
  .brand img { height: 54px; }

  /* Desktop-Hero: Reel-Container links, Text rechts */
  .hero {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    padding: calc(var(--header-h) + .5rem) var(--gutter) 2.5rem;
    max-width: 1400px; margin-inline: auto;
    box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax);
  }
  .hero-media {
    position: relative; inset: auto; z-index: 0;
    height: calc(100svh - var(--header-h) - 3rem); min-height: 520px; max-height: 860px;
    aspect-ratio: 9 / 16; border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .hero-media::after { display: none; }
  .hero { grid-template-rows: 1fr auto; }
  .hero-media { grid-row: 1 / span 2; }
  .hero-content { grid-column: 2; align-self: center; padding: 0; max-width: 40rem; }
  .hero-arrow { position: relative; grid-column: 2; grid-row: 2; justify-self: start; inset: auto; translate: none; }
  .header-inner { max-width: 1400px; margin-inline: auto; }

  .section-lead { font-size: 1.2rem; }

  /* Einsatzgebiet: auf dem Desktop alle Orte zeigen, größere Pillen */
  .towns { gap: .55rem; margin: 2rem 0 1.75rem; }
  .towns li { padding: .6rem 1rem; font-size: 1rem; gap: .4rem; }
  .towns.is-collapsed .town-extra { display: inline-flex; }
  .town-more-item { display: none !important; }
  .feature-grid { gap: 1.25rem; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-direct { padding: 2rem 2.5rem; }
  .form-card { padding: 2.5rem; }
  .page-header .header-inner { padding-inline: var(--gutter); }
}

/* Desktop: Abschnitts-Navigation klickbar, größer, mit Namen beim Hover/Fokus */
@media (min-width: 960px) {
  .js .section-nav { left: 10px; pointer-events: auto; }
  .js .hero { padding-left: max(var(--gutter), 60px); } /* Platz für die Punkte neben dem Reel-Container */
  .section-nav a { padding: 5px 8px; }
  .section-nav a::before { width: 8px; height: 8px; }
  .section-nav a[aria-current="true"]::before { height: 30px; }
  .section-nav a:hover::before { background: var(--sn-active); }
  .section-nav.on-dark a:focus-visible { outline-color: #fff; }
  .sn-label {
    display: block; position: absolute; left: 100%; top: 50%; margin-left: 4px;
    padding: .2rem .6rem; border-radius: 6px; white-space: nowrap;
    background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600;
    opacity: 0; transform: translate(-4px, -50%); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .section-nav.on-dark .sn-label { background: #fff; color: var(--ink); }
  .section-nav a:hover .sn-label, .section-nav a:focus-visible .sn-label { opacity: 1; transform: translate(0, -50%); }
}

/* Desktop mit Maus: Sektionen rasten beim Scrollen ein.
   Sektionen, die höher als der Bildschirm sind, lassen sich trotzdem frei
   durchscrollen (Browser rastet erst an deren Ende wieder ein).
   Mobil: siehe EXPERIMENT-Block am Dateiende. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  html { scroll-snap-type: y mandatory; }
  .hero, .section { scroll-snap-align: start; scroll-snap-stop: always; }
  .site-footer { scroll-snap-align: end; }

  /* Jede Sektion = mindestens ein Bildschirm, Inhalt vertikal zentriert → „Seitenwechsel“-Gefühl */
  .section {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(2.5rem, 7vh, 5rem);
  }

  /* Leistungen kompakter, damit sie auf einen normalen Desktop-Screen passen */
  #leistungen .section-lead { margin-bottom: .5rem; }
  #leistungen .aud-tabs { margin: 1rem 0 1.25rem; }
  #leistungen .aud-tab { padding: 1rem 1.25rem; }
  #leistungen .panel-intro { margin-bottom: 1rem; }
  #leistungen .service { padding: .9rem 1rem; }
  #leistungen .service-grid { margin-bottom: 1.25rem; }
}

@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   EXPERIMENT (2026-10-08): Mobile Snap + kompaktes Mobil-Layout
   Rückgängig machen: diesen kompletten Block bis zum Ende der Datei
   löschen – oder das Backup aus .claude/backups/2026-10-08_vor-mobile-snap/
   zurückkopieren.
   ===================================================================== */
@media (max-width: 959px) {
  /* Einrasten pro Sektion; Footer rastet so ein, dass er über der Sticky-Bar endet */
  html { scroll-snap-type: y mandatory; }
  .hero, .section { scroll-snap-align: start; }
  .site-footer { scroll-snap-align: end; scroll-margin-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

  /* Allgemein kompakter */
  /* unten Platz in Höhe der Sticky-Bar: dort liegt nur leerer Rand, nie Inhalt */
  .section { padding: 1.5rem 0 calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom)); }
  h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); margin-bottom: .5em; }
  .kicker { margin-bottom: .35rem; font-size: .75rem; }
  .section-lead { font-size: 1rem; margin-bottom: .75rem; }

  /* Leistungen: flache Tabs, Karten als kompakte Zeilen */
  #leistungen .section-lead { display: none; }
  .aud-tabs { margin: 1rem 0; gap: .5rem; }
  .aud-tab { flex-direction: row; align-items: center; gap: .6rem; min-height: 0; padding: .65rem .75rem; border-radius: 14px; }
  .aud-icon { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
  .aud-icon .i { width: 20px; height: 20px; }
  .aud-title { font-size: .98rem; }
  .aud-sub, .aud-check { display: none; }
  #leistungen .aud-icon { display: none; } /* Tabs einzeilig */
  #leistungen .aud-tab { justify-content: center; text-align: center; padding: .7rem .5rem; }
  .panel-intro { display: none; } /* mobil ausgeblendet, damit die Liste auf einen Screen passt */
  .service-grid { gap: .35rem; margin-bottom: 0; }
  #leistungen { padding-bottom: calc(var(--bar-h) + .5rem + env(safe-area-inset-bottom)); }
  #leistungen .aud-tabs { margin: .75rem 0 .6rem; }
  #leistungen h2 { line-height: 1.1; margin-bottom: 0; }
  .service { padding: .5rem .7rem; gap: .7rem; border-radius: 12px; align-items: center; }
  .service-icon { width: 34px; height: 34px; border-radius: 9px; }
  .service-icon .i { width: 18px; height: 18px; }
  .service h3 { font-size: .95rem; margin-bottom: .1rem; }
  .service p { font-size: .85rem; line-height: 1.4; }
  .aud-panel > .btn { display: none; } /* Anfrage läuft über Sticky-Bar + „Jetzt fragen“ */

  /* Warum: Icon links, Text rechts */
  .feature-grid { gap: .5rem; margin-top: 1rem; }
  .feature { display: grid; grid-template-columns: 40px 1fr; column-gap: .8rem; padding: .8rem .9rem; border-radius: 14px; }
  .feature-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; }
  .feature-icon .i { width: 20px; height: 20px; }
  .feature h3 { margin: 0 0 .15rem; font-size: 1rem; }
  .feature p { font-size: .88rem; line-height: 1.45; }

  /* Über uns: Foto flacher */
  .about { gap: 1rem; }
  .about-photo img { aspect-ratio: auto; height: 34svh; object-position: 50% 18%; }
  .about-photo::before { display: none; }
  .about-quote { font-size: 1rem; line-height: 1.6; margin-bottom: 1.1rem; }

  /* Einsatzgebiet */
  .towns { margin: 1rem 0; }
  .area-more { font-size: .95rem; }

  /* FAQ */
  .faq { margin-top: 1rem; gap: .4rem; }
  .faq summary { min-height: 50px; padding: .75rem 1rem; font-size: .98rem; }

  /* Kontakt */
  .contact { margin-top: 1rem; gap: .75rem; }
  .contact-direct { padding: 1.1rem; }
  .form-card { padding: 1.1rem .9rem; }
  .anfrage-form { gap: 1rem; }
  .step-title { font-size: 1.15rem; margin-bottom: .75rem; }
  .choice-box { min-height: 88px; padding: .8rem; }

  /* Footer */
  .site-footer { padding: 2rem 0 1rem; }
  .footer-inner { gap: 1.25rem; }
  .footer-brand img { width: 55vw; margin-bottom: .75rem; }
  .footer-copy { margin-top: 1.5rem; padding-top: 1rem; }
}
/* Kürzere Handy-Screens: Leistungskarten nur mit Titel (Beschreibung bleibt im DOM → SEO) */
@media (max-width: 959px) and (max-height: 800px) {
  .service:not(.service-more) p { display: none; }
  .service:not(.service-more) { padding-block: .55rem; }
}
/* ===== Ende EXPERIMENT Mobile Snap ===== */
