/* ============================================================
   A & T Service GmbH – Website Version 2 (helles Theme)
   Gemeinsames Stylesheet fuer alle Seiten.
   Aenderungen hier wirken auf Startseite, Leistungsseiten,
   Gruenderstory, Impressum und Datenschutz gleichzeitig.
   ============================================================ */

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

:root {
  /* Textfarben */
  --ink:     #111820;
  --ink-2:   #48566a;
  --ink-3:   #6f7f92;

  /* Flaechen */
  --bg:      #ffffff;
  --bg-2:    #f4f7f9;
  --bg-3:    #eaeff4;
  --line:    #e2e8ee;

  /* Markenfarben.
     --green ist der gemessene Logo-Ton und bleibt Flaechenfarbe.
     Auf Weiss hat er nur 2,4:1 Kontrast, taugt dort also nicht fuer Text –
     dafuer gibt es --green-t (5,3:1 auf Weiss). */
  --green:   #a0b028;
  --green-h: #b3c42e;
  --green-t: #68721a;
  --green-soft: #f3f6e2;

  --blue:    #1565c0;
  --blue-dd: #071e42;

  /* dunkle Bereiche (Footer, CTA-Banner, B2B-Kasten) */
  --dark:    #111418;
  --dark-2:  #1a212b;
  --dark-3:  #26303d;
  --on-dark: #ffffff;
  --on-dark-2: #b8c6d6;

  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 10px; --r-lg: 16px; --r-xl: 22px;
  --t: 0.22s ease;
  --shadow-s: 0 1px 3px rgba(17,24,32,0.06), 0 4px 12px rgba(17,24,32,0.05);
  --shadow-m: 0 4px 14px rgba(17,24,32,0.08), 0 14px 40px rgba(17,24,32,0.07);
  --shadow-l: 0 10px 30px rgba(17,24,32,0.10), 0 30px 70px rgba(17,24,32,0.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.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;
}

/* ---------- NAVBAR ---------- */
/* Wichtig: backdrop-filter darf NICHT auf .navbar selbst stehen.
   Ein Filter macht das Element zum Bezugsrahmen für alle
   position:fixed-Nachkommen – das mobile Menü (.nav-links) wäre
   dann in der 77 px hohen Navbar gefangen statt bildschirmfüllend.
   Deshalb liegt der Weichzeichner auf einem Pseudo-Element. */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 160;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), padding var(--t);
}
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}
.navbar.scrolled {
  box-shadow: 0 1px 16px rgba(17,24,32,0.09);
  border-bottom-color: var(--line);
  padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; }
.logo-img-nav { height: 52px; width: auto; display: block; transition: height var(--t); }
.navbar.scrolled .logo-img-nav { height: 44px; }
.logo-img-footer { width: 230px; max-width: 100%; height: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color var(--t); }
.nav-links a:hover, .nav-links a.aktiv { color: var(--ink); }
.nav-links a.aktiv { font-weight: 700; }
.nav-legal { display: none; }
.nav-close-item { display: none; }

.btn-nav {
  background: var(--green); color: var(--blue-dd) !important;
  font-weight: 700 !important; padding: 10px 20px; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(160,176,40,0.35);
}
.btn-nav:hover { background: var(--green-h); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(10,14,20,0.45); z-index: 155;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.nav-overlay.visible { opacity: 1; pointer-events: all; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 9px; font-size: 15px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green); color: var(--blue-dd); border-color: var(--green);
  box-shadow: 0 3px 12px rgba(160,176,40,0.35);
}
.btn-primary:hover { background: var(--green-h); border-color: var(--green-h); box-shadow: 0 6px 18px rgba(160,176,40,0.42); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(17,24,32,0.22); }
.btn-outline:hover { border-color: var(--ink); background: rgba(17,24,32,0.04); }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* auf dunklen Flaechen */
.auf-dunkel .btn-outline { color: var(--on-dark); border-color: rgba(255,255,255,0.35); }
.auf-dunkel .btn-outline:hover { border-color: var(--on-dark); background: rgba(255,255,255,0.08); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 132px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg-3); }
.hero-bg-img {
  position: absolute; inset: -3%;
  width: 106%; height: 106%;
  object-fit: cover;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 1.4s ease;
  will-change: opacity;
}
/* Ohne JavaScript wählt niemand eine Jahreszeit aus – dann bliebe der
   Bildbereich leer. Deshalb ist das erste Bild von Haus aus sichtbar;
   sobald das Skript läuft, setzt es .js und übernimmt die Steuerung. */
.hero-bg-img:first-child { opacity: 1; }
.hero-bg.js .hero-bg-img { opacity: 0; }
.hero-bg.js .hero-bg-img.aktiv { opacity: 1; }
.hero-schleier {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.90) 34%,
      rgba(255,255,255,0.55) 56%,
      rgba(255,255,255,0.22) 78%,
      rgba(255,255,255,0.10) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 52px; align-items: center;
  width: 100%;
}
.hero-logo { width: 300px; max-width: 74%; height: auto; margin-bottom: 22px; display: block; }
.hero-title {
  font-size: clamp(30px, 4.3vw, 50px);
  line-height: 1.13; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-title span { display: block; }
.hero-title-ink { color: var(--ink); }
.hero-title-green { color: var(--green-t); }
.hero-desc {
  font-size: 17px; color: var(--ink-2); max-width: 620px; margin-bottom: 30px;
}
.hero-desc strong { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.htrust {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.htrust svg { width: 19px; height: 19px; color: var(--green-t); flex-shrink: 0; }

/* Infokarte rechts */
.hero-stats-box {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 12px 30px;
  box-shadow: var(--shadow-l);
  backdrop-filter: blur(6px);
}
.hstat { display: flex; align-items: center; gap: 16px; padding: 20px 0; }
.hstat-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--green-soft); color: var(--green-t);
}
.hstat-icon svg { width: 22px; height: 22px; }
.hstat-text { display: flex; flex-direction: column; }
.hstat-num { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.hstat-label { font-size: 13px; color: var(--ink-3); }
.hstat-divider { height: 1px; background: var(--line); }

/* ---------- SEKTIONEN ---------- */
.section { padding: 92px 0; position: relative; }
.section-hell { background: var(--bg-2); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.label-tag {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-t); margin-bottom: 12px;
}
.section-header h2, .block-h2 {
  font-size: clamp(27px, 3.4vw, 38px); font-weight: 800;
  letter-spacing: -0.4px; line-height: 1.2; margin-bottom: 14px;
}
.section-header h2 em, .block-h2 em { font-style: normal; color: var(--green-t); }
.section-header p { color: var(--ink-2); font-size: 17px; }

/* ---------- LEISTUNGSKARTEN ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 22px;
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0; position: relative; overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: rgba(160,176,40,0.5); }

/* Bildkopf der Karte.
   Die Fotos sind hochformatig (648 × 900, eines 614 × 900). Der
   Rahmen trägt genau dieses Seitenverhältnis und das Bild steht
   auf `contain` – dadurch ist es immer VOLLSTÄNDIG zu sehen, auf
   dem Handy genauso wie am Rechner. `cover` würde formatfüllend
   zuschneiden und oben oder unten etwas abschneiden. */
.svc-bild {
  display: block; width: 100%;
  aspect-ratio: 648 / 900;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.svc-bild img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
}
.svc-inhalt {
  display: flex; flex-direction: column; flex: 1;
  padding: 24px 26px 26px;
}
.service-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.service-card ul { list-style: none; margin-bottom: 20px; }
.service-card ul li {
  position: relative; padding-left: 22px; font-size: 15px;
  color: var(--ink-2); margin-bottom: 7px;
}
.service-card ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--green);
}
.svc-mehr {
  margin-top: auto; font-size: 15px; font-weight: 700; color: var(--green-t);
  display: inline-flex; align-items: center; gap: 7px;
}
.svc-mehr::after { content: '→'; transition: transform var(--t); }
.service-card:hover .svc-mehr::after { transform: translateX(4px); }
.svc-badge {
  display: inline-block; font-size: 12px; font-weight: 800;
  background: var(--green); color: var(--blue-dd);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.svc-badge:hover { background: var(--green-h); }

.leistungen-mehr { text-align: center; margin-top: 44px; }

/* Punkte unter dem Karussell – nur auf schmalen Bildschirmen sichtbar,
   siehe Media Query weiter unten. */
.karussell-punkte { display: none; }

/* ---------- CTA-BANNER (dunkel) ---------- */
.cta-banner { background: var(--dark); color: var(--on-dark); padding: 64px 0; }
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.cta-banner h2 em { font-style: normal; color: var(--green); }
.cta-banner p { color: var(--on-dark-2); }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- WERTE ---------- */
.werte-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.wstep {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow-s);
}
.wstep-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green-t);
}
.wstep-icon svg { width: 26px; height: 26px; }
.wstep-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 7px; }
.wstep-body p { color: var(--ink-2); font-size: 15px; }

/* ---------- B2B-KASTEN ---------- */
.b2b-box {
  background: var(--dark); color: var(--on-dark);
  border-radius: var(--r-xl); padding: 54px clamp(26px, 5vw, 60px);
  text-align: center; box-shadow: var(--shadow-m);
}
.b2b-box .label-tag { color: var(--green); }
.b2b-box h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 14px; }
.b2b-box h2 em { font-style: normal; color: var(--green); }
.b2b-box p { color: var(--on-dark-2); max-width: 780px; margin: 0 auto 26px; }

/* ---------- EINSATZGEBIET / KARTE ---------- */
.map-wrap {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--shadow-s);
}
.map-svg { width: 100%; height: auto; display: block; }

/* Einsatzgebiet: ein echter Kreis mit 38 km Radius um Borna.
   Die Geometrie rechnet build/karte.js aus den Koordinaten aus. */
.map-gebiet { fill: rgba(160,176,40,0.10); stroke: var(--green); stroke-width: 2.5; }

/* Straßen: Autobahnen kräftiger als Bundesstraßen, Beschriftung in den
   gewohnten Farben – blaues Schild für A, gelbes für B. */
.map-autobahn { fill: none; stroke: rgba(21,101,192,0.45); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.map-bundesstrasse { fill: none; stroke: rgba(17,24,32,0.22); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.map-schild-ab rect { fill: #1565c0; }
.map-schild-ab text { fill: #ffffff; font-size: 12px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.map-schild-b rect { fill: #f2c200; }
.map-schild-b text { fill: #2b2b2b; font-size: 12px; font-weight: 700; text-anchor: middle; font-family: var(--font); }

/* Straßenverlauf außerhalb des Gebiets: blass, damit erkennbar bleibt,
   wohin die Strecken führen, ohne dem Kreis die Kontur zu nehmen. */
.map-aussen { opacity: 0.32; }

/* Städte außerhalb des Einsatzgebiets – reine Orientierung */
.map-dot-aussen { fill: #b3c0cd; }
.map-label-aussen { fill: #9aa8b6; font-size: 12px; font-family: var(--font); }

.map-dot { fill: #93a4b6; }
.map-dot-major { fill: var(--ink-2); }
.map-label-sm { fill: var(--ink-3); font-size: 12px; font-family: var(--font); }
.map-label-major { fill: var(--ink-2); font-size: 14px; font-weight: 700; font-family: var(--font); }
.map-dot-main { fill: var(--green); }
.map-ring { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0.6; }
.map-ring2 { animation: mapPuls 2.6s ease-out infinite; }
@keyframes mapPuls {
  0%   { r: 11; opacity: 0.6; }
  100% { r: 36; opacity: 0; }
}
.map-label-main { fill: var(--ink); font-size: 17px; font-weight: 800; font-family: var(--font); }
.map-compass line { stroke: var(--ink-3); stroke-width: 1.5; }
.map-compass text { fill: var(--ink-3); font-size: 12px; text-anchor: middle; font-family: var(--font); }
.map-scale line { stroke: var(--ink-3); stroke-width: 1.5; }
.map-scale text { fill: var(--ink-3); font-size: 11px; text-anchor: middle; font-family: var(--font); }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center;
  padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line);
}
.map-legend-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-3); }
.map-legend-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.map-legend-line { width: 26px; height: 0; border-top: 2.5px solid var(--green); }
.map-legend-ab { width: 26px; height: 0; border-top: 4px solid rgba(21,101,192,0.45); }
.map-legend-b { width: 26px; height: 0; border-top: 2.5px solid rgba(17,24,32,0.22); }
.map-legend-aussen { width: 11px; height: 11px; border-radius: 50%; background: #b3c0cd; }
.map-caption { text-align: center; color: var(--ink-3); font-size: 15px; margin-top: 22px; }

.orte-liste {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px;
}
.orte-liste span {
  font-size: 14px; padding: 7px 15px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-2);
}

/* ---------- KONTAKT ---------- */
.kontakt { background: var(--bg-2); }
.kontakt-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.kontakt-text h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.kontakt-text h2 em { font-style: normal; color: var(--green-t); }
.kontakt-text > p { color: var(--ink-2); margin-bottom: 30px; }
.kontakt-details { display: flex; flex-direction: column; gap: 12px; }
.kdetail {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 18px; font-weight: 600; font-size: 15px; color: var(--ink);
  transition: border-color var(--t), transform var(--t);
}
a.kdetail:hover { border-color: var(--green); transform: translateX(3px); }
.kdetail-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green-t);
}
.kdetail-icon svg { width: 19px; height: 19px; }
.kdetail-static { color: var(--ink-2); font-weight: 500; }

.kontakt-form-wrap {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow-m);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 16px; }
.fgroup label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%; padding: 13px 15px; font-size: 15px; font-family: var(--font);
  color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t);
}
.fgroup input::placeholder, .fgroup textarea::placeholder { color: #a3b0bd; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(160,176,40,0.18);
}
.fgroup textarea { resize: vertical; min-height: 120px; }
.form-honey { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }
.form-success, .form-error {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); font-size: 15px;
}
.form-success { background: var(--green-soft); border: 1px solid var(--green); color: #4c5514; }
.form-error { background: #fdecea; border: 1px solid #f0b3ac; color: #a3281c; }
.form-success.visible, .form-error.visible { display: block; }
.form-hint { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 48px 0 0; }

/* Aufruf zur Google-Bewertung. Bewusst an Bestandskunden gerichtet
   („Schon für Sie im Einsatz gewesen?") und nicht als Gütesiegel für
   Interessenten aufgemacht – es gibt noch kaum Bewertungen. Sobald
   welche da sind, kann hier die echte Bewertung stehen; erfundene
   Sternezahlen oder ein AggregateRating ohne Grundlage gehören nicht
   in die strukturierten Daten. */
.bewertung-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg); padding: 26px 30px; margin-bottom: 46px;
}
.bewertung-text { flex: 1; min-width: 240px; }
.bewertung-sterne { display: flex; gap: 3px; margin-bottom: 8px; color: #f5b301; }
.bewertung-sterne svg { width: 17px; height: 17px; }
.bewertung-text strong { display: block; color: var(--on-dark); font-size: 17px; margin-bottom: 5px; }
.bewertung-text p { font-size: 15px; color: var(--on-dark-2); margin: 0; }
.bewertung-box .btn { flex-shrink: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 46px;
}
.footer-brand p { font-size: 15px; margin-top: 18px; max-width: 360px; }
/* Rubriken der Fusszeile. Als h2 ausgezeichnet statt h4: So springt die
   Ueberschriftenfolge der Seite nicht von H2 auf H4. Optisch unveraendert. */
.footer-col .footer-h { color: var(--on-dark); font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; margin-bottom: 9px; transition: color var(--t); }
.footer-col a:hover { color: var(--green); }
.footer-col p.static { color: var(--on-dark-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 22px 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}
.footer-legal-link { margin-left: 20px; transition: color var(--t); }
.footer-legal-link:first-child { margin-left: 0; }
.footer-legal-link:hover { color: var(--green); }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
/* Drei Knöpfe statt zwei: Anrufen, WhatsApp und Anfrage. Bei 375 px
   Bildschirmbreite bleiben je Knopf rund 109 px – deshalb schmalere
   Abstände und eine Nuance kleinere Schrift als bei zwei Knöpfen. */
.msc-btn {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px; border-radius: 9px; font-size: 14px; font-weight: 700;
  white-space: nowrap;
}
.msc-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.msc-btn-primary { background: var(--green); color: var(--blue-dd); }
.msc-btn-outline { border: 2px solid rgba(17,24,32,0.2); color: var(--ink); }

/* ---------- COOKIE-BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 30px rgba(17,24,32,0.12);
  padding: 20px 0;
  transform: translateY(130px); opacity: 0;
  visibility: hidden; pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.cookie-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { display: block; font-size: 15px; margin-bottom: 5px; }
.cookie-text p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.cookie-text a { color: var(--green-t); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
body.cookie-visible .mobile-sticky-cta { bottom: 128px; }

/* ---------- UNTERSEITEN: KOPFBEREICH ---------- */
.seiten-kopf {
  padding: 148px 0 62px; background: var(--bg-2);
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.seiten-kopf-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 46px; align-items: center; }
.seiten-kopf h1 {
  font-size: clamp(29px, 4vw, 45px); font-weight: 800;
  line-height: 1.16; letter-spacing: -0.5px; margin-bottom: 16px;
}
.seiten-kopf h1 em { font-style: normal; color: var(--green-t); }
.seiten-kopf > .container > p, .seiten-kopf-text > p {
  font-size: 17px; color: var(--ink-2); max-width: 660px;
}
.seiten-kopf-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }
/* Auch hier das vollständige Foto zeigen: Die Motive sind hochformatig,
   ein 4:3-Rahmen mit `cover` hätte oben und unten abgeschnitten. */
.seiten-kopf-bild {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-m);
  aspect-ratio: 648 / 900; max-width: 360px; background: var(--bg-3);
}
.seiten-kopf-bild img { width: 100%; height: 100%; object-fit: contain; display: block; }

.brotkrumen { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.brotkrumen a { color: var(--ink-3); }
.brotkrumen a:hover { color: var(--green-t); text-decoration: underline; }
.brotkrumen span { margin: 0 7px; }

/* ---------- INHALTSBLOECKE (Unterseiten) ---------- */
.inhalt { max-width: 780px; margin: 0 auto; }
.inhalt h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 44px 0 16px; letter-spacing: -0.3px; }
.inhalt h2:first-child { margin-top: 0; }
.inhalt h2 em { font-style: normal; color: var(--green-t); }
.inhalt h3 { font-size: 20px; font-weight: 800; margin: 30px 0 10px; }
.inhalt p { color: var(--ink-2); margin-bottom: 16px; }
.inhalt strong { color: var(--ink); }
.inhalt ul, .inhalt ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.inhalt ul li {
  position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2);
}
.inhalt ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 9px; height: 9px; border-radius: 3px; background: var(--green);
}
.inhalt a { color: var(--green-t); text-decoration: underline; }

.leistungs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.lbox {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-s);
}
.lbox h3 { font-size: 17px; font-weight: 800; margin-bottom: 9px; }
.lbox p { font-size: 15px; color: var(--ink-2); }
.lbox ul { list-style: none; margin-top: 10px; }
.lbox ul li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.lbox ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--green);
}

/* Ablauf in Schritten */
.ablauf { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: schritt; }
.schritt {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-s);
}
.schritt-num {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 15px;
  display: grid; place-items: center;
  background: var(--green); color: var(--blue-dd); font-weight: 800; font-size: 17px;
}
.schritt h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.schritt p { font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 19px 22px; font-weight: 700; font-size: 16px; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: var(--green-t);
  line-height: 1; flex-shrink: 0; transition: transform var(--t);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-antwort { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.faq-item .faq-antwort p + p { margin-top: 12px; }

/* Querverweise auf andere Leistungen */
.weitere-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.weitere-karte {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 17px 19px; font-weight: 700; font-size: 15px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.weitere-karte:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.weitere-karte .wk-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green-t);
}
.weitere-karte .wk-icon svg { width: 18px; height: 18px; }

/* Gründerstory – Klassen aus der ersten Version, hell umgesetzt */
.inhalt .story-headline { margin-top: 0; }
.inhalt .story-lead {
  font-size: 20px; font-weight: 700; color: var(--ink);
  border-left: 4px solid var(--green); padding: 4px 0 4px 20px;
  margin: 26px 0;
}
.inhalt .story-promise-list { list-style: none; margin-bottom: 24px; }
.inhalt .story-promise-list li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  color: var(--ink-2); font-weight: 600;
}
.inhalt .story-promise-list li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 10px; height: 10px; border-radius: 3px; background: var(--green);
}
.inhalt .story-cta {
  margin-top: 38px; padding: 30px; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line); text-align: center;
}
.inhalt .story-cta p { font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 18px; }

/* Rechtstexte */
.rechtstext { max-width: 800px; margin: 0 auto; }
.rechtstext h2 { font-size: 22px; font-weight: 800; margin: 38px 0 12px; }
.rechtstext h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.rechtstext p { color: var(--ink-2); margin-bottom: 14px; font-size: 15px; }
.rechtstext ul { margin: 0 0 16px 22px; }
.rechtstext li { color: var(--ink-2); font-size: 15px; margin-bottom: 7px; }
.rechtstext a { color: var(--green-t); text-decoration: underline; }
.rechtstext strong { color: var(--ink); }

/* ---------- ANIMATION ---------- */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIV ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-right { max-width: 460px; }
  .kontakt-inner { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .seiten-kopf-inner { grid-template-columns: 1fr; }
  .seiten-kopf-bild { max-width: 300px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 4px; padding: 26px 26px calc(100px + env(safe-area-inset-bottom));
    background: var(--bg); box-shadow: -8px 0 40px rgba(17,24,32,0.16);
    transform: translateX(105%); transition: transform 0.3s ease;
    overflow-y: auto; z-index: 161;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links .btn-nav { text-align: center; margin-top: 16px; border-bottom: none; }
  .nav-close-item { display: flex; justify-content: flex-end; width: 100%; margin-bottom: 8px; }
  .nav-close {
    background: none; border: none; font-size: 34px; line-height: 1;
    color: var(--ink-2); cursor: pointer; padding: 0 4px;
  }
  .nav-legal { display: flex; gap: 20px; margin-top: 20px; }
  .nav-legal a { font-size: 13px; color: var(--ink-3); border-bottom: none; padding: 4px 0; }

  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 74px; }

  /* LEISTUNGEN ALS WISCH-KARUSSELL (nur Handy/Tablet).
     Sechs Fotokarten untereinander ergaben rund 5.300 px – fast die
     Hälfte der gesamten Startseite. Nebeneinander gelegt braucht der
     Block nur noch die Höhe EINER Karte; das Kontaktformular rückt
     dadurch rund fünf Bildschirmhöhen nach oben.
     Oberhalb von 860 px greift davon nichts: Dort bleibt das
     dreispaltige Raster unverändert. */
  /* KARTE auf dem Handy: Die Zeichnung ist quadratisch und wird hier
     auf rund 340 px verkleinert – aus 12 px Schrift im Zeichenbereich
     würden gut 4 px auf dem Bildschirm. Deshalb bleiben nur die
     Kernorte stehen, dafür deutlich größer beschriftet. */
  .map-nebenort { display: none; }
  .map-label-sm { font-size: 23px; }
  .map-label-major { font-size: 25px; font-weight: 700; }
  .map-label-main { font-size: 30px; }
  .map-schild-ab text, .map-schild-b text { font-size: 20px; }
  .map-scale text, .map-compass text { font-size: 20px; }
  .map-wrap { padding: 10px; }

  .services-karussell,
  .werte-karussell {
    display: flex;
    grid-template-columns: none;      /* Rasterangabe der Grundregel abschalten */
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* über die Container-Ränder hinausziehen, damit die nächste Karte
       am Bildschirmrand angeschnitten ist – das ist der Hinweis, dass
       es weitergeht */
    margin: 0 -18px;
    padding: 4px 18px 10px;
  }
  .services-karussell::-webkit-scrollbar,
  .werte-karussell::-webkit-scrollbar { display: none; }
  .services-karussell .service-card,
  .werte-karussell .wstep {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  /* Beim Wischen nicht zusätzlich einblenden – das flackert, weil die
     Karten seitlich in den Sichtbereich kommen. */
  .services-karussell .service-card.fade-in,
  .werte-karussell .wstep.fade-in { opacity: 1; transform: none; }

  .karussell-punkte {
    display: flex; justify-content: center; align-items: center;
    gap: 9px; margin-top: 18px;
  }
  .karussell-punkt {
    width: 9px; height: 9px; padding: 0;
    border-radius: 50%; border: none; cursor: pointer;
    background: rgba(17,24,32,0.2);
    transition: background var(--t), transform var(--t);
  }
  .karussell-punkt[aria-current="true"] {
    background: var(--green); transform: scale(1.35);
  }
  .leistungen-mehr { margin-top: 26px; }

  .section { padding: 66px 0; }

  /* HERO auf dem Handy.
     Das Panoramabild ist 2,49:1 breit. Füllt es die gesamte, rund
     1300 px hohe Heldenfläche, bleiben davon per object-fit:cover
     nur etwa 12 % der Bildbreite übrig – ein so starker Ausschnitt,
     dass vom Haus nichts mehr zu erkennen ist.

     Deshalb ist die Bildfläche hier auf 280 px begrenzt: In dieser
     Höhe sind gut 54 % der Bildbreite sichtbar, das mittig stehende
     Haus also vollständig. Nach unten läuft das Bild über
     .hero-schleier ins Weiß aus – dadurch liegt es weiterhin hinter
     dem Text, ohne ihn unlesbar zu machen, und es entsteht keine
     harte Trennkante. Der Text beginnt bewusst schon im unteren,
     verblassenden Bildbereich. */
  .hero {
    display: block; min-height: auto;
    padding: 268px 0 62px;
  }
  .hero-bg {
    top: 74px; bottom: auto; height: 280px;
    overflow: hidden;
  }
  .hero-bg-img {
    inset: 0; width: 100%; height: 100%;
    filter: none;               /* scharf – das Haus soll erkennbar sein */
    object-position: center 46%;
  }
  .hero-schleier {
    top: 74px; bottom: auto; height: 280px;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 48%,
      rgba(255,255,255,0.62) 72%,
      rgba(255,255,255,0.93) 88%,
      var(--bg) 100%);
  }
  .hero-logo { width: 230px; }
  .seiten-kopf { padding: 120px 0 48px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .cta-banner-actions .btn, .hero-cta .btn { width: 100%; }
  .cta-banner-actions { width: 100%; flex-direction: column; }
  .hero-cta { width: 100%; flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal-link { margin-left: 0; margin-right: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .hero-stats-box { padding: 8px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-img { transition: none; }
  .map-ring2 { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
