/* ==========================================================================
   Objektservice Wein – Stylesheet
   Layout: mobil zuerst, eine Spalte; ab 60rem zweispaltige Köpfe und Raster.
   Markenzeichen: breite, kräftige Archivo-Überschriften, schmale Archivo-Labels
   und das Treppenstufen-Motiv (Treppenhaus + Grünpflege = Logo).
   Bewusst nur ein helles Farbschema: Kunden sehen die Seite überall gleich.
   ========================================================================== */

:root {
  /* Farben */
  --paper: #F2F4F0;      /* Seitenhintergrund, kühles Off-White mit Grünstich */
  --paper-2: #E4EAE2;    /* abgesetzte Flächen, Treppenstufen */
  --card: #FFFFFF;
  --ink: #15211B;        /* Text */
  --muted: #4A5951;      /* Nebentext */
  --line: #C9D3CA;       /* Linien, Rahmen */
  --green: #21503A;      /* Markenfarbe, Buttons */
  --green-2: #2B6649;    /* Hover */
  --green-3: #173A2A;    /* dunkle Bänder, Fußzeile */
  --leaf: #A9D292;       /* Hellgrün auf Dunkel */
  --signal: #F07F2A;     /* Kommunalorange: Anruf-Buttons */
  --signal-edge: #C9600F;
  --on-dark: #F2F6F2;
  --on-dark-muted: #C3D3C8;

  /* Schrift */
  --font-display: "Archivo", "Archivo Variable", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans 3 Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Typo-Skala */
  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.05rem, 1.3rem + 3.1vw, 3.75rem);

  /* Raum */
  --gutter: clamp(1rem, 4vw, 2rem);
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --section: clamp(3rem, 7vw, 5.5rem);
  --maxw: 74rem;
  --radius: 6px;

  color-scheme: light;
}

/* ---------- Schriften (Produktion: selbst gehostet, keine Google-Server) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-var-latin-italic.woff2") format("woff2"); }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-4); font-weight: 820; font-stretch: 100%; line-height: 1.02; letter-spacing: -0.012em; }
h2 { font-size: var(--step-3); font-weight: 780; font-stretch: 100%; line-height: 1.08; letter-spacing: -0.008em; }
h3 { font-size: var(--step-1); font-weight: 720; font-stretch: 100%; line-height: 1.2; }
@media (min-width: 45rem) {
  h1 { font-stretch: 116%; }
  h2 { font-stretch: 110%; }
  h3 { font-stretch: 104%; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow svg { width: 1.15em; height: 1.15em; flex: none; }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--white { background: var(--card); }
.section-head { display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { color: var(--muted); }
.section-head--flush { margin-bottom: 0; }
.h3-like { font-size: var(--step-2); }
.stack { display: grid; gap: 1rem; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-copy, .page-head-copy, .section-head, .stack, .audience-body, .benefit, .prose, .portrait-card,
.band-actions, .contact-cards, .form, .field, .faq .answer, .steps li { grid-template-columns: minmax(0, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 100%;
  font-size: 1.02rem;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: var(--on-dark); }
.btn--primary:hover { background: var(--green-2); color: var(--on-dark); }
.btn--signal { background: var(--signal); border-color: var(--signal-edge); color: var(--ink); }
.btn--signal:hover { background: #F48D3E; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--green); color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--green-3); }
.btn--light:hover { background: #FFFFFF; color: var(--green-3); }
.btn--ghost-light { background: transparent; border-color: var(--on-dark-muted); color: var(--on-dark); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--green-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand-text { display: grid; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 820; font-stretch: 108%; font-size: 1.18rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub { font-family: var(--font-display); font-stretch: 78%; font-weight: 650; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.nav-desktop { display: none; }
.nav-desktop > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-desktop a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius); font-family: var(--font-display); font-weight: 650; font-size: 1rem; color: var(--ink); text-decoration: none; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { background: var(--paper-2); color: var(--green); }
.nav-desktop .has-sub { position: relative; }
.nav-desktop .has-sub > a::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
.nav-desktop .sub {
  position: absolute; left: 0; top: 100%; min-width: 17rem; padding: 0.5rem;
  list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 30px -18px rgb(21 33 27 / 0.35);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-desktop .has-sub:hover .sub, .nav-desktop .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-desktop .sub a { font-weight: 600; }
.header-call { display: none; }

.nav-mobile { position: static; }
.nav-mobile > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  min-height: 2.75rem; padding: 0.5rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; background: var(--card);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary svg { width: 1.2rem; height: 1.2rem; }
.nav-mobile[open] > summary { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.nav-mobile-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgb(21 33 27 / 0.45);
  max-height: calc(100vh - 8.5rem - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 8.5rem - env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
}
.nav-mobile-panel ul { list-style: none; display: grid; }
.nav-mobile-panel a { display: block; padding: 0.85rem var(--gutter); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; border-top: 1px solid var(--paper-2); }
.nav-mobile-panel a:hover { background: var(--paper); }
.nav-mobile-panel .sub a { padding-left: calc(var(--gutter) + 1.1rem); font-weight: 600; font-size: 1rem; color: var(--muted); }
.nav-mobile-panel .panel-cta { display: grid; gap: 0.6rem; padding: 1rem var(--gutter) 1.25rem; border-top: 1px solid var(--paper-2); }
.nav-mobile-panel .panel-cta a { display: flex; border: 2px solid transparent; padding: 0.7rem 1rem; font-size: 1rem; }
.nav-mobile-panel .panel-cta a.btn--signal { border-color: var(--signal-edge); }

@media (min-width: 64rem) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .header-call { display: inline-flex; min-height: 2.75rem; padding: 0.5rem 1rem; }
}

/* ---------- Logo ---------- */
.mark-bg { fill: var(--green); }
.mark-steps { fill: none; stroke: var(--on-dark); stroke-width: 2.7; stroke-linecap: square; stroke-linejoin: miter; }
.mark-leaf { fill: var(--leaf); }

/* ---------- Startseiten-Kopf ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero-phone { color: var(--muted); font-size: 1.05rem; }
.hero-hours { display: block; }
@media (min-width: 30rem) { .hero-hours { display: inline; } .hero-hours::before { content: " · "; } }
.hero-phone a { font-family: var(--font-display); font-weight: 760; font-stretch: 104%; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hero-phone a:hover { color: var(--green); text-decoration: underline; }
.hero-visual { min-width: 0; position: relative; isolation: isolate; }
.hero-card {
  position: relative; overflow: hidden; display: grid; gap: 0.9rem; justify-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius);
  background: var(--green-3); color: var(--on-dark);
}
.hero-card::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 55%; height: 55%; pointer-events: none;
  background: rgb(255 255 255 / 0.05);
  clip-path: polygon(0 100%, 0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card .eyebrow { color: var(--leaf); }
.hero-card-phone { font-family: var(--font-display); font-weight: 850; font-stretch: 110%; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1; color: var(--signal); text-decoration: none; white-space: nowrap; }
.hero-card-phone:hover { color: #F7A065; text-decoration: none; }
.hero-card-hours { color: var(--on-dark-muted); margin-top: -0.35rem; }
.hero-card-list { list-style: none; display: grid; gap: 0.6rem; margin-block: 0.4rem 0.6rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 0.14); width: 100%; }
.hero-card-list li { display: flex; gap: 0.65rem; align-items: center; min-width: 0; }
.hero-card-list svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--leaf); }
.hero-card-list a { color: var(--on-dark); overflow-wrap: anywhere; }
.hero-card-list a:hover { color: #FFFFFF; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 0.75rem 1.5rem; margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.facts svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--green); margin-top: 0.05rem; }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.page-head--steps::before {
  content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: min(36%, 28rem); height: 70%;
  background: var(--paper-2);
  clip-path: polygon(0 100%, 0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%);
}
@media (max-width: 47.99rem) { .page-head--steps::before { display: none; } }
.page-head > .wrap { position: relative; z-index: 1; }
.page-head-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.page-head-copy { display: grid; gap: 1.1rem; min-width: 0; }
.page-head h1 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.1rem); }
@media (min-width: 45rem) { .page-head h1 { font-stretch: 110%; } }
@media (min-width: 60rem) {
  .page-head-grid.has-visual { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--step--1); color: var(--muted); margin-bottom: 0.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- Zielgruppen (gleichwertig) ---------- */
.audiences { display: grid; gap: var(--gap); }
@media (min-width: 52rem) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.audience-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.audience-body .btn { margin-top: auto; }
.tag { display: inline-flex; justify-self: start; align-items: center; gap: 0.45em; padding: 0.3rem 0.65rem; border-radius: 999px; font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; }
.tag--green { background: var(--green); color: var(--on-dark); }
.tag--signal { background: var(--signal); color: var(--ink); }
.tag--line { background: var(--paper-2); color: var(--green); }
.tag svg { width: 1.15em; height: 1.15em; flex: none; }
.service-badge { position: absolute; z-index: 1; top: clamp(1.25rem, 3vw, 1.85rem); right: clamp(1.25rem, 3vw, 1.85rem); pointer-events: none; }
.promise { display: flex; gap: 0.75rem; align-items: flex-start; max-width: 38rem; padding: 0.85rem 1rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); line-height: 1.45; }
.promise svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--green); }
.promise strong { font-family: var(--font-display); font-weight: 750; }

.ticks { list-style: none; display: grid; gap: 0.55rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.4; }
.ticks li::before {
  content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; border-radius: 3px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23F2F6F2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); column-gap: 1.5rem; }

/* ---------- Leistungskarten ---------- */
.services { display: grid; gap: var(--gap); }
@media (min-width: 46rem) { .services { grid-template-columns: 1fr 1fr; } }
.service {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  min-width: 0;
}
.service:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 16px 30px -24px rgb(21 33 27 / 0.5); }
.service-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: var(--radius); background: var(--paper-2); color: var(--green); }
.service-icon svg { width: 1.9rem; height: 1.9rem; }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.22rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; line-height: 1.35; color: var(--ink); background: var(--paper); }
.service .link-arrow { color: var(--green); margin-top: auto; padding-top: 0.15rem; }
.for { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; gap: var(--gap); counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.1rem; border-top: 3px solid var(--green); counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: 2.6rem; line-height: 1; color: var(--green); }
.steps p { color: var(--muted); }

/* ---------- Vorteile ---------- */
.benefits { display: grid; gap: 1.75rem var(--gap); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.benefit { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.benefit svg { width: 2.2rem; height: 2.2rem; color: var(--green); margin-bottom: 0.25rem; }
.benefit p { color: var(--muted); }

/* ---------- Vorher/Nachher-Regler ---------- */
.ba { position: relative; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.ba-frame {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba--tall .ba-frame { aspect-ratio: 4 / 5; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-label {
  position: absolute; top: 0.75rem; z-index: 2; padding: 0.25rem 0.6rem; border-radius: 3px;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 750; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgb(21 33 27 / 0.82); color: var(--on-dark); pointer-events: none;
}
.ba-label--before { left: 0.75rem; }
.ba-label--after { right: 0.75rem; background: var(--green); }
.ba-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--on-dark); box-shadow: 0 0 0 1px rgb(21 33 27 / 0.25); pointer-events: none; }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--on-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6' fill='none' stroke='%2321503A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat;
  box-shadow: 0 4px 14px rgb(21 33 27 / 0.3);
}
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle::after { outline: 3px solid var(--signal); outline-offset: 2px; }
.ba figcaption { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: baseline; font-size: 0.98rem; color: var(--muted); }
.ba figcaption strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-stretch: 100%; }

/* Vorher/Nachher nebeneinander */
.pair { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.pair-images { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.pair-img { position: relative; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.pair-img img { width: 100%; height: 100%; object-fit: cover; }
.pair .ba-label { left: 0.6rem; right: auto; top: 0.6rem; }
.pair figcaption { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: baseline; font-size: 0.98rem; color: var(--muted); }
.pair figcaption strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.gallery.gallery--pairs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }

/* Platzhalter, bis echte Fotos da sind */
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 1rem; text-align: center; color: var(--muted); }
.ph svg { width: 2.4rem; height: 2.4rem; opacity: 0.8; }
.ph span { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; max-width: 18em; line-height: 1.3; }
.ph--before { background: repeating-linear-gradient(135deg, #D9D6CC 0 14px, #D1CEC3 14px 28px); color: #5B574C; padding-inline: 4% 54%; }
.ph--after { background: repeating-linear-gradient(135deg, #D4E6CC 0 14px, #CBDFC2 14px 28px); color: var(--green); padding-inline: 54% 4%; }
.ph--plain { background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, #DCE3DA 14px 28px); }
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.audience .photo { border-radius: 0; }

/* ---------- Referenzen ---------- */
.gallery { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem) var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter button {
  min-height: 2.5rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
  font-family: var(--font-display); font-weight: 650; font-size: 0.95rem; cursor: pointer;
}
.filter button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-dark); }

/* ---------- Detail-Listen auf Leistungsseiten ---------- */
.features { display: grid; gap: 0 var(--gap); }
@media (min-width: 46rem) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(3rem, auto) auto; gap: 0.35rem 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); min-width: 0; }
.feature .service-icon { grid-row: 1; grid-column: 1; }
.feature h3 { grid-row: 1; grid-column: 2; align-self: center; }
.feature p { grid-row: 2; grid-column: 2; color: var(--muted); }

.two-col { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 56rem) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.two-col--narrow-left { }
@media (min-width: 56rem) { .two-col--narrow-left { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }

.note { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.15rem; border-left: 4px solid var(--signal); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.note svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--signal-edge); margin-top: 0.1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding-block: 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--paper-2); color: var(--green); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 1.25rem; color: var(--muted); max-width: 44rem; display: grid; gap: 0.75rem; }

/* ---------- Einsatzgebiet ---------- */
.places { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.places li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 650; }
.places li svg { width: 1rem; height: 1rem; color: var(--green); }
.places li.is-home { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.places li.is-home svg { color: var(--leaf); }

/* ---------- Kontakt-Band ---------- */
.contact-band { background: var(--green-3); color: var(--on-dark); padding-block: var(--section); position: relative; overflow: hidden; }
.contact-band::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(40%, 26rem); height: 60%;
  background: rgb(255 255 255 / 0.04);
  clip-path: polygon(0 0, 25% 0, 25% 25%, 50% 25%, 50% 50%, 75% 50%, 75% 75%, 100% 75%, 100% 100%, 0 100%);
}
.contact-band .wrap { position: relative; }
.contact-band h2 { color: var(--on-dark); }
.contact-band p { color: var(--on-dark-muted); }
.contact-band .eyebrow { color: var(--leaf); }
.band-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: end; }
@media (min-width: 58rem) { .band-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.big-phone { display: inline-block; font-family: var(--font-display); font-weight: 850; font-stretch: 112%; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem); line-height: 1; color: var(--signal); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.big-phone:hover { color: #F7A065; text-decoration: none; }
.band-actions { display: grid; gap: 0.75rem; }
.band-meta { list-style: none; display: grid; gap: 0.4rem; color: var(--on-dark-muted); }
.band-meta a { color: var(--on-dark); }

/* ---------- Kontaktseite ---------- */
.contact-cards { display: grid; gap: 0.75rem; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; align-items: center; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.contact-card .service-icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; }
.contact-card .service-icon svg { width: 1.5rem; height: 1.5rem; }
.contact-card .k { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card .v { font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a.v { text-decoration: none; }
.contact-card a.v:hover { color: var(--green); text-decoration: underline; }
.contact-card .hint { grid-column: 2; font-size: 0.95rem; color: var(--muted); }

.form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.form-row { display: grid; gap: 1.1rem; align-items: end; }
@media (min-width: 36rem) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.field label .opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem;
  border: 1px solid #AEBBB1; border-radius: var(--radius); background: var(--paper);
  font: inherit; font-size: 1.05rem; color: var(--ink);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(33 80 58 / 0.25); background: var(--card); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgb(179 38 30 / 0.15); }
.form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-status { padding: 0.85rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form-status.is-ok { background: #DDEFD8; color: #1D4A31; }
.form-status.is-error { background: #F8E1DF; color: #8A1F18; }
.form .btn { justify-self: start; }

/* ---------- Fließtext (Rechtliches, Über uns) ---------- */
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.25rem; }
.prose h3 { font-size: 1.15rem; margin-top: 0.75rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.prose address { font-style: normal; }

.portrait-card { display: grid; gap: 1rem; }
.quote { font-family: var(--font-display); font-weight: 700; font-stretch: 104%; font-size: var(--step-2); line-height: 1.25; color: var(--green); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--green-3); color: var(--on-dark-muted); padding-block: 3rem 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.08); }
.contact-band + .site-footer { border-top-color: rgb(255 255 255 / 0.1); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.footer-grid h2 { font-size: 0.85rem; font-stretch: 80%; letter-spacing: 0.09em; text-transform: uppercase; color: var(--leaf); margin-bottom: 0.85rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-brand { display: grid; gap: 0.9rem; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand-sub { color: var(--on-dark-muted); }
.footer-brand .mark-bg { fill: var(--green-2); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.92rem; }

/* ---------- Mobile Schnellkontakt-Leiste ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--green-3); border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.action-bar a {
  display: grid; justify-items: center; gap: 0.2rem; padding: 0.6rem 0.25rem 0.55rem;
  color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.action-bar a + a { border-left: 1px solid rgb(255 255 255 / 0.1); }
.action-bar a:first-child { background: var(--signal); color: var(--ink); }
.action-bar svg { width: 1.35rem; height: 1.35rem; }
.has-action-bar .site-footer { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 64rem) {
  .action-bar { display: none; }
  .has-action-bar .site-footer { padding-bottom: 1.5rem; }
}

/* ---------- Vorschau-Hinweis (nur im Entwurf) ---------- */
.draft-ribbon { background: var(--ink); color: var(--on-dark); font-size: 0.92rem; }
.draft-ribbon .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; padding-block: 0.55rem; }
.draft-ribbon strong { color: var(--signal); font-family: var(--font-display); font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }

/* ---------- Hilfsklassen ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.center-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.legal-meta { color: var(--muted); font-size: var(--step--1); }
