/* =====================================================================
   automatek GmbH – Stylesheet
   Mobile First · DSGVO-freundlich (lokale Schriften, keine externen CDNs)
   ===================================================================== */

/* ---------- Lokale Schriften (vorbereitet) -------------------------------
   Es werden bewusst KEINE externen CDNs (z. B. Google Fonts) eingebunden.
   Standardmäßig wird ein hochwertiger System-Font-Stack genutzt – das ist
   100 % datenschutzfreundlich und sofort lauffähig.

   Um eine eigene Schrift lokal einzubinden, die Schriftdateien unter
   /assets/fonts/ ablegen und den folgenden Block aktivieren:

   @font-face {
     font-family: "Inter";
     src: url("/assets/fonts/Inter-Regular.woff2") format("woff2");
     font-weight: 400; font-style: normal; font-display: swap;
   }
   @font-face {
     font-family: "Inter";
     src: url("/assets/fonts/Inter-SemiBold.woff2") format("woff2");
     font-weight: 600; font-style: normal; font-display: swap;
   }
   Anschließend in --font-sans "Inter" an den Anfang stellen.
-------------------------------------------------------------------------- */

/* ---------- Design Tokens ---------- */
:root {
  /* Farbwelt – tiefes Engineering-Navy + klares Blau */
  --ink-900: #0a1628;
  --ink-800: #0d1b30;
  --ink-700: #13294b;
  --ink-600: #1c3a63;

  --brand-500: #2563eb;
  --brand-400: #3b82f6;
  --brand-300: #60a5fa;
  --brand-200: #bfdbfe;

  --surface: #ffffff;
  --surface-soft: #f5f8fd;
  --surface-alt: #eef3fb;
  --line: #e2e8f2;

  --text: #0f1b2d;
  --text-muted: #51607a;
  --text-invert: #eaf1fb;
  --text-invert-muted: #9fb3d1;

  --wowobot: #22b8e0;

  /* Typografie */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;

  /* Radius & Schatten */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 6px rgba(15, 27, 45, .05);
  --shadow-md: 0 10px 30px rgba(15, 27, 45, .08), 0 2px 8px rgba(15, 27, 45, .05);
  --shadow-lg: 0 24px 60px rgba(11, 24, 48, .14), 0 6px 18px rgba(11, 24, 48, .08);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }

.section-sub {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: .9rem;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .16);
}
.section-head .eyebrow { justify-content: center; }

.text-gradient {
  background: linear-gradient(100deg, var(--brand-300), var(--brand-500) 55%, var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--brand-500);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  background: var(--b-bg);
  color: var(--b-fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    background-color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(37, 99, 235, .38); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--brand-300); }

.btn-light { background: #fff; color: var(--ink-800); }
.btn-light:hover { background: #f3f7fe; }

.btn-lg { min-height: 54px; padding: 1rem 1.9rem; font-size: 1.04rem; }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
    background-color .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 27, 45, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--ink-900);
}
.brand-mark { color: var(--brand-500); display: grid; place-items: center; }
.brand-dot { color: var(--brand-400); }

/* Navigation (Desktop) */
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.6rem; align-items: center; }
.nav-list a {
  font-weight: 500;
  font-size: .98rem;
  color: var(--text-muted);
  position: relative;
  padding: .35rem 0;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--brand-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, .5);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  color: var(--text-invert);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(96, 165, 250, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-glow-1 { width: 420px; height: 420px; background: #1e40af; top: -120px; right: -80px; }
.hero-glow-2 { width: 360px; height: 360px; background: #0ea5e9; bottom: -160px; left: -100px; opacity: .35; }

.hero-inner { position: relative; max-width: 880px; }
.hero .eyebrow { color: var(--brand-300); }
.hero .eyebrow-dot { box-shadow: 0 0 0 4px rgba(96, 165, 250, .18); }

.hero-title {
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--text-invert-muted);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.hero .btn-ghost { color: #fff; border-color: rgba(159, 179, 209, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--brand-300); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(159, 179, 209, .18);
}
.hero-stat dt { font-size: .8rem; color: var(--text-invert-muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-stat dd { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; line-height: 1.1; margin: .15rem 0; }
.hero-stat span { font-size: .85rem; color: var(--text-invert-muted); }

/* ---------- Trustbar ---------- */
.trustbar {
  background: var(--ink-800);
  border-top: 1px solid rgba(159, 179, 209, .1);
  color: var(--text-invert);
  padding-block: 1.4rem;
}
.trustbar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-invert-muted);
}
.trust-ico { width: 26px; height: 26px; color: var(--brand-300); flex: none; }

/* ---------- Cards / Leistungen ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card { position: relative; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.card-ico {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(96, 165, 250, .12));
  color: var(--brand-500);
  margin-bottom: 1.2rem;
}
.card-ico svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .6rem; }
.card > p { color: var(--text-muted); }
.card-list { margin-top: 1.1rem; display: grid; gap: .55rem; }
.card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  color: var(--text);
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-400);
}

.card-featured {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  color: var(--text-invert);
  border-color: transparent;
}
.card-featured h3 { color: #fff; }
.card-featured > p { color: var(--text-invert-muted); }
.card-featured .card-list li { color: var(--text-invert); }
.card-featured .card-ico {
  background: rgba(96, 165, 250, .18);
  color: var(--brand-300);
}
.card-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-300);
  background: rgba(96, 165, 250, .14);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-body h2 { margin-bottom: 1.1rem; }
.about-body p { color: var(--text-muted); margin-bottom: 1rem; }
.about-points {
  display: grid;
  gap: .7rem;
  margin: 1.6rem 0 2rem;
}
.about-points li {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 500;
}
.about-points span {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, .12);
  color: var(--brand-500);
  font-size: .8rem; font-weight: 700;
}

/* Bild-Platzhalter */
.ph-figure { margin: 0; }
.ph {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.ph-portrait { aspect-ratio: 4 / 4.6; }
.ph-art { width: 100%; height: 100%; }
.ph-tag {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-invert);
  background: rgba(10, 22, 40, .6);
  border: 1px solid rgba(159, 179, 209, .25);
  padding: .35rem .8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- Vorteile ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ico {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, .1);
  color: var(--brand-500);
  margin-bottom: 1rem;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Ablauf / Steps ---------- */
.steps {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); }
.step-acc summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
}
.step-acc summary::-webkit-details-marker { display: none; }
.step-num {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-500);
  background: rgba(37, 99, 235, .1);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex: none;
}
.step-title { font-weight: 600; font-size: 1.08rem; flex: 1; }
.step-chev {
  width: 12px; height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  flex: none;
}
.step-acc[open] .step-chev { transform: rotate(-135deg); }
.step-acc > p {
  padding: 0 1.3rem 1.3rem calc(1.3rem + 44px + 1rem);
  color: var(--text-muted);
}

/* ---------- CTA Band ---------- */
.ctaband {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(96, 165, 250, .25), transparent 55%),
    linear-gradient(135deg, var(--brand-500), var(--ink-700));
  color: #fff;
}
.ctaband-inner {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.8rem, 6vw, 4rem);
  align-items: center;
}
.ctaband h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.ctaband p { color: rgba(255, 255, 255, .85); }

/* ---------- Standort ---------- */
.standort-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.contact-facts { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.contact-facts li { display: flex; gap: 1rem; align-items: flex-start; }
.cf-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(37, 99, 235, .1);
  color: var(--brand-500);
}
.cf-ico svg { width: 24px; height: 24px; }
.contact-facts strong { display: block; }
.placeholder-inline {
  color: var(--text-muted);
  font-style: italic;
}

.map-ph {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.map-art { width: 100%; aspect-ratio: 16 / 11; }
.map-cap {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  padding: .7rem .7rem .7rem 1.1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.map-cap span { font-weight: 600; }
.map-note { font-size: .82rem; color: var(--text-muted); margin-top: .8rem; font-style: italic; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 1rem; }
.contact-mini { display: grid; gap: .6rem; margin-top: 1.6rem; }
.contact-mini li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.contact-mini span {
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, .12);
  color: var(--brand-500);
  font-size: .75rem; font-weight: 700;
}

.contact-form { padding: clamp(1.5rem, 4vw, 2.2rem); }
/* Honeypot – visuell und für Screenreader entfernt, aber im DOM vorhanden */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.req { color: var(--brand-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8rem .95rem;
  min-height: 48px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .14);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
}

.field-check {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: .5rem 0 1.4rem;
  font-size: .92rem;
  color: var(--text-muted);
}
.field-check input {
  width: 22px; height: 22px;
  min-width: 22px;
  margin-top: 2px;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.field-check a { color: var(--brand-500); text-decoration: underline; }

.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: .9rem; text-align: center; }
.form-status { margin-top: .9rem; font-weight: 600; text-align: center; }
.form-status.ok { color: #047857; }
.form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--text-invert-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.brand--footer { color: #fff; }
.footer-brand p { margin: 1rem 0 1.2rem; max-width: 38ch; }
.footer-contact {
  display: inline-block;
  font-weight: 600;
  color: var(--brand-300);
  transition: color .2s var(--ease);
}
.footer-contact:hover { color: #fff; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
.footer-col h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a {
  color: var(--text-invert-muted);
  font-size: .95rem;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  text-align: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(159, 179, 209, .15);
}
.copyright { font-size: .88rem; }
.powered { font-size: .9rem; }
.wowobot {
  color: var(--wowobot);
  font-weight: 600;
  transition: opacity .2s var(--ease);
}
.wowobot:hover { opacity: .8; text-decoration: underline; }

/* =====================================================================
   Scroll-Reveal Animationen
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Breakpoints
   ===================================================================== */

/* ≥ 560px – Formularzeilen & Trustbar */
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 600px – Footer-Branding: Tablet/Desktop rechtsbündig, mobil mittig */
@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ≥ 720px – Karten/Features mehrspaltig */
@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

/* ≥ 940px – Desktop-Layouts */
@media (min-width: 940px) {
  .trustbar-inner { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .standort-grid { grid-template-columns: 1fr 1.1fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; }
  .ctaband-inner { grid-template-columns: 1fr auto; }
  .footer-top { grid-template-columns: 1.3fr 2fr; gap: 4rem; }
}

/* Mobile-Navigation < 940px */
@media (max-width: 939.98px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.6rem 2rem;
    background: #fff;
    box-shadow: -20px 0 60px rgba(10, 22, 40, .18);
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    z-index: 95;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a {
    display: block;
    padding: 1rem .25rem;
    font-size: 1.1rem;
    color: var(--text);
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 1.5rem; width: 100%; }
  .nav-overlay:not([hidden]) { display: block; }
  body.nav-open { overflow: hidden; }
}

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

/* =====================================================================
   Rechtliche Unterseiten (impressum / datenschutz)
   ===================================================================== */
.legal-main { padding-block: clamp(3rem, 7vw, 5rem); }
.legal-main .container { max-width: 820px; }
.legal-main h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 1.5rem; letter-spacing: -.02em; }
.legal-main h2 { font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.legal-main p, .legal-main li { color: var(--text-muted); margin-bottom: .9rem; }
.legal-main ul { list-style: disc; padding-left: 1.4rem; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-500); font-weight: 600; margin-bottom: 2rem; }
.legal-note {
  background: var(--surface-soft);
  border: 1px dashed var(--brand-300);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-size: .95rem;
}
.legal-note strong { color: var(--text); }
.placeholder-block {
  color: var(--brand-500);
  font-style: italic;
  font-weight: 500;
}
