/* =====================================================================
   Pointner Entrümpelung – Entrümpelung Salzburg
   style.css – mobile first, ohne externe Ressourcen
   ---------------------------------------------------------------------
   Schriften: Standard ist ein System-Font-Stack (kein externer Request,
   bestes Lighthouse-Ergebnis). Wer eine eigene, selbst gehostete Schrift
   nutzen möchte, legt WOFF2-Dateien nach /fonts und aktiviert den
   @font-face-Block unten (siehe README.md).
   ===================================================================== */

/* ---- Optionales, selbst gehostetes Font-Gerüst (auskommentiert) ------
@font-face {
  font-family: "Marke";
  src: url("/fonts/marke-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marke";
  src: url("/fonts/marke-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
Danach in :root  --font-sans: "Marke", system-ui, sans-serif;  setzen.
---------------------------------------------------------------------- */

:root {
  /* Akzent + Neutraltöne */
  --accent:        #2f6b46;   /* ruhiges Waldgrün */
  --accent-dark:   #244f34;
  --accent-darker: #1c3d29;
  --accent-soft:   #eef4f0;

  --ink:      #1c2321;   /* Haupttext */
  --ink-soft: #55605b;   /* Sekundärtext */
  --line:     #e4e7e5;   /* Trennlinien */
  --bg:       #ffffff;
  --bg-alt:   #f7f8f7;
  --white:    #ffffff;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(28,35,33,.04), 0 8px 24px rgba(28,35,33,.06);
  --shadow-lg: 0 12px 40px rgba(28,35,33,.12);

  --wrap: 1120px;
  --gutter: 20px;

  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;            /* Sicherheitsnetz gegen horizontales Scrollen */
  overflow-wrap: break-word;   /* lange Wörter/URLs brechen statt zu überlaufen */
}

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

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

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

.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-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent-dark); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 760px; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 600; color: var(--accent); margin: 0 0 .6rem;
}
.section-eyebrow-light { color: #bfe0cd; }
.section-sub { color: var(--ink-soft); font-size: 1.075rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(47,107,70,.25); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47,107,70,.32); }
.btn-secondary { background: var(--white); color: var(--accent-dark); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn-on-accent { background: #fff; color: var(--accent-darker); }
.btn-on-accent:hover { background: var(--accent-soft); color: var(--accent-darker); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(28,35,33,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.site-header.scrolled .header-inner { height: 58px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-mark { color: var(--accent); }
.brand-name { font-size: 1.15rem; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; align-items: center; gap: 1.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a { color: var(--ink-soft); text-decoration: none; font-size: .96rem; font-weight: 500; }
.nav-list a:hover { color: var(--ink); }
.nav-list .nav-cta {
  background: var(--accent); color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
}
.nav-list .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bar { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }

/* Telefon im Header */
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--accent-dark); font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { color: var(--accent); flex: none; }
.header-phone:hover { color: var(--accent); }
.header-phone--mini { display: none; padding: 6px; }   /* nur mobil, nur Icon */
.nav-list .nav-phone a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent-dark); font-weight: 600;
}
.nav-list .nav-phone a:hover { color: var(--accent); }
.nav-list .nav-phone svg { color: var(--accent); flex: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(70% 60% at 90% -12%, rgba(47,107,70,.22) 0%, rgba(47,107,70,0) 60%),
    radial-gradient(55% 55% at 4% 115%, rgba(214,168,110,.20) 0%, rgba(214,168,110,0) 60%),
    radial-gradient(80% 70% at 50% 120%, rgba(47,107,70,.10) 0%, rgba(47,107,70,0) 55%),
    linear-gradient(160deg, #eaf3ed 0%, #ffffff 58%);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.hero-text { max-width: 640px; }
.hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); margin-bottom: .5rem; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  font-weight: 600; color: var(--accent); margin: 0 0 .9rem;
}
.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.3;
  color: var(--accent-dark); margin: 0 0 .9rem;
}
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.6rem 0 0; }

/* Vertrauenszeile: kompakt bei den Buttons (Desktop rechts unter dem Bild, Mobil unter dem Bild) */
.hero-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.25rem;
  list-style: none; margin: 1.5rem 0 0; padding: 0;
}
.hero-trust li { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hero-trust svg { color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Vorher-Nachher-Vergleich ---------- */
.hero-media { width: 100%; min-width: 0; }
.ba { width: 100%; }
/* Fallback ohne JS: beide Bilder untereinander mit Beschriftung */
.ba-frame { display: grid; gap: .6rem; }
.ba-pane { position: relative; margin: 0; }
.ba-pane img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.ba-label {
  position: absolute; top: .6rem; left: .6rem;
  background: rgba(28,35,33,.82); color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .03em; padding: .25rem .6rem; border-radius: 999px;
}
.ba-label-after { left: auto; right: .6rem; background: var(--accent-dark); }
.ba-handle { display: none; }

/* Interaktiv (JS aktiv): überlagerter Slider */
.ba.is-ready .ba-frame {
  display: block; position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  --pos: 50%; touch-action: none;
}
.ba.is-ready .ba-pane { position: absolute; inset: 0; }
.ba.is-ready .ba-pane img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; -webkit-user-drag: none; user-select: none; }
.ba.is-ready .ba-pane-after { z-index: 1; }
.ba.is-ready .ba-pane-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.is-ready .ba-handle {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 46px; transform: translateX(-50%);
  background: transparent; border: 0; padding: 0; cursor: ew-resize; z-index: 3; touch-action: none;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 0 1px rgba(28,35,33,.2); }
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-handle-grip { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Cards (Leistungen) ---------- */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3ddd6; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Steps (Ablauf) ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem 1.6rem 1.6rem;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.15rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Preistabelle ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--bg); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--accent-soft); color: var(--accent-darker); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table tbody th { font-weight: 600; }
.price-table tbody td:last-child { font-weight: 600; color: var(--accent-dark); white-space: nowrap; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--bg-alt); }
.price-note {
  display: flex; gap: .65rem; align-items: flex-start;
  margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .95rem;
}
.price-note svg { color: var(--accent); flex: none; margin-top: 2px; }
.price-individual { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Hausverwaltungen ---------- */
.section-accent {
  background: linear-gradient(160deg, var(--accent-dark) 0%, var(--accent-darker) 100%);
  color: #eaf2ec;
}
.section-accent h2 { color: #fff; }
.hv-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.hv-intro p { color: #cfe0d5; max-width: 46ch; }
.hv-intro .btn { margin-top: .5rem; }
.hv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hv-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 1rem 1.15rem;
}
.hv-list svg { color: #bfe0cd; flex: none; margin-top: 2px; }
.hv-list strong { display: block; color: #fff; font-weight: 600; }
.hv-list span { display: block; color: #c6d8cd; font-size: .93rem; }

/* ---------- Vertrauen ---------- */
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.trust-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.trust-item svg { color: var(--accent); margin-bottom: .85rem; }
.trust-item h3 { margin-bottom: .35rem; }
.trust-item p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
  font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq-body { padding: 0 1.25rem 1.15rem; }
.faq-body p { margin: 0; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
/* Kopf (Titel + Text + Direktkontakt) über volle Breite, zentriert.
   Darunter das zentrierte Formular. */
.contact-head { text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
.contact-head p { color: var(--ink-soft); }
/* Intro-Satz auf ausreichend breiten Screens einzeilig halten */
@media (min-width: 900px) {
  .contact-head p { white-space: nowrap; }
}
.contact-direct {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.75rem;
}
.contact-direct li { display: flex; align-items: center; gap: .5rem; }
.contact-direct svg { color: var(--accent); flex: none; }
.contact-direct a { color: var(--ink); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-direct a:hover { color: var(--accent-dark); }

.contact-form {
  max-width: 680px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
/* Auf schmalen Screens einspaltig, ab 620px zwei Felder nebeneinander */
.field-row { display: grid; column-gap: 1.1rem; grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,107,70,.15);
}
.field input:user-invalid, .field select:user-invalid { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: .85rem; margin: .4rem 0 0; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: .6rem .65rem; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: .92rem; margin: 0; color: var(--ink-soft); }
.field-check .field-error { grid-column: 1 / -1; }

/* Honeypot – visuell und für AT verborgen, aber im DOM vorhanden.
   clip-Technik statt left:-9999px, damit kein horizontaler Überlauf entsteht. */
.hp-field {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.required-note { margin: 0 0 1rem; font-size: .8rem; color: var(--ink-soft); }
.form-status { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.is-success { background: #e7f4ec; color: #1c6b3f; border: 1px solid #b7ddc6; }
.form-status.is-error   { background: #fbeae8; color: #a5281b; border: 1px solid #f0c3bd; }

/* Hinweis „E-Mail oder Telefon" unter den Feldern */
.field-note { margin: -.15rem 0 1.1rem; font-size: .85rem; color: var(--ink-soft); }

/* Prominenter Foto-Block über dem Formular */
.photo-cta {
  max-width: 680px; margin: 0 auto 1.75rem;
  background: var(--accent-soft); border: 1px solid #cfe3d6; border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem); text-align: center; box-shadow: var(--shadow);
}
.photo-cta h3 { font-size: 1.3rem; margin: 0 0 .5rem; color: var(--accent-darker); }
.photo-cta > p { color: var(--ink-soft); margin: 0 auto .5rem; max-width: 46ch; }
.photo-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.1rem 0 .85rem; }
.photo-cta-actions .btn { flex: 1 1 auto; min-width: 220px; }
.photo-cta-alt { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* CTA unter der Preistabelle */
.price-cta { text-align: center; margin-top: 2.25rem; }
.price-cta p { margin: .75rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* Referenzzitat */
.quote-section { text-align: center; }
.quote { max-width: 760px; margin: 0 auto; }
.quote p {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; font-weight: 500;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.quote cite {
  display: block; margin-top: 1.25rem; font-style: normal;
  font-weight: 600; font-size: 1rem; color: var(--accent-dark);
}

.form-hint { display: flex; gap: .5rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: .9rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.form-hint > * { min-width: 0; }
.form-hint svg { color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-darker); color: #c6d8cd; padding: 3rem 0 2rem; }
.footer-areas {
  margin: 0 0 1.75rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; line-height: 1.6; color: #a9c2b3; text-align: center;
}
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand p { margin: .5rem 0 0; color: #a9c2b3; font-size: .95rem; max-width: 42ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: #dce8e1; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin: 0; color: #8fab9c; font-size: .88rem; }

/* ---------- Fixe Kontaktleiste (nur Mobil) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem;
  padding: .6rem var(--gutter);
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(28,35,33,.1);
  transform: translateY(110%); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.mobile-bar.is-visible { transform: none; opacity: 1; visibility: visible; }
.mobile-bar-btn {
  flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1rem; border-radius: 999px; line-height: 1;
  font-weight: 600; text-decoration: none;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(47,107,70,.25);
}
.mobile-bar-btn svg { flex: none; }
.mobile-bar-btn:hover { color: #fff; }
.mobile-bar-btn--whatsapp { background: var(--accent-dark); }
/* Unter 768px sichtbar (per JS ab Ende des Hero eingeblendet) */
@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: calc(2rem + 72px + env(safe-area-inset-bottom)); }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--accent-dark); }
.legal .lead { font-size: 1.1rem; color: var(--ink); }
.legal dl { display: grid; grid-template-columns: 1fr; gap: .35rem 1rem; margin: 1rem 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0 0 .75rem; }
.legal ul { padding-left: 1.25rem; }
.legal .back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-weight: 500; text-decoration: none; }
.legal .updated { font-size: .9rem; color: var(--ink-soft); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* =====================================================================
   Reveal-on-Scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
  .legal dl { grid-template-columns: 210px 1fr; }
  .legal dd { margin-bottom: 0; }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .hv-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3.5rem; }
  /* Hero: Text links (über zwei Zeilen), Bild rechts oben, Vertrauensliste rechts unter dem Bild */
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: "text media" "text trust";
    column-gap: 3rem; row-gap: 1.5rem;
  }
  .hero-text { grid-area: text; }
  .hero-media { grid-area: media; margin-top: 1.5rem; }
  .hero-trust { grid-area: trust; align-self: start; }
}

/* ---------- Mobile-Navigation ---------- */
/* Breakpoint höher gelegt, damit Telefonnummer + Menü + CTA nebeneinander passen */
@media (max-width: 1100px) {
  .header-phone--mini { display: inline-flex; }   /* mobil/tablet: Telefon-Icon im Header */
  .nav-list .nav-phone { display: none; }          /* Nummer nicht im Dropdown */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav-list.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: .95rem .25rem; font-size: 1.02rem; }
  .nav-list .nav-cta { margin-top: .75rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =====================================================================
   Reduced Motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
