:root {
  --navy-900: #0f1626;
  --navy-800: #161e30;
  --navy-700: #1f2a44;
  --navy-600: #2a3857;
  --blue: #3f9be6;
  --blue-dark: #2b7fc6;
  --blue-soft: #e6f2fc;
  --ink: #1a2235;
  --muted: #5d6679;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.mark { display: inline-grid; grid-template-columns: repeat(2, 7px); gap: 2px; transform: rotate(45deg); flex: none; }
.mark span { width: 7px; height: 7px; background: var(--blue); border-radius: 1px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(15,22,38,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand-text strong { display: block; font-size: 18px; letter-spacing: .08em; font-weight: 800; }
.brand-text strong em { font-style: normal; color: var(--blue); }
.brand-text small { display: block; font-size: 10px; letter-spacing: .32em; color: #aab3c5; margin-top: -2px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: #cfd6e4; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-call { background: var(--blue); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav-call:hover { background: var(--blue-dark); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 30%, rgba(63,155,230,.25), transparent 55%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #9fcdf5; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; font-weight: 800; margin: 18px 0; letter-spacing: -.01em; }
.hero h1 span { color: var(--blue); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #c9d2e3; max-width: 560px; }
.hero p.lead i { color: #fff; }
.hero-line { width: 220px; height: 2px; margin: 26px 0; background: linear-gradient(90deg, var(--blue), transparent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .15s, background .15s; border: none; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-wa { background: #25d366; color: #fff; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: #aab8cf; font-size: 15px; }
.trust b { color: var(--blue); margin-right: 6px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.sparkle { animation: twinkle 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.sparkle.d2 { animation-delay: .8s; } .sparkle.d3 { animation-delay: 1.6s; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; } }

/* Ribbon: Für wen */
.ribbon { background: #fff; border-bottom: 1px solid var(--line); }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
.ribbon div { display: flex; align-items: center; gap: 10px; color: var(--navy-700); font-weight: 600; font-size: 15px; }
.ribbon svg { width: 26px; height: 26px; }

section { padding: 90px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-top: 10px; font-weight: 800; color: var(--navy-800); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 18px 44px rgba(15,22,38,.12); transform: translateY(-4px); }
.card-art { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.card-art svg { width: 78%; height: auto; }
.card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin: 14px 0 0; display: grid; gap: 6px; flex: 1; }
.card li { font-size: 14px; color: var(--ink); padding-left: 22px; position: relative; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.card .more { margin-top: 18px; color: var(--blue); font-weight: 700; font-size: 15px; }

/* Vorher / Nachher */
.ba { background: var(--bg-soft); }
.ba-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ba-box { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(15,22,38,.15); aspect-ratio: 4 / 3; user-select: none; background: #dfe7f1; }
.ba-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba-handle::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--blue); color: #fff; font-size: 11px; padding: 10px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba-box { touch-action: pan-y; cursor: ew-resize; }
.ba-before { transition: clip-path .35s ease; }
.ba-box.dragging .ba-before { transition: none; }
.ba-handle { transition: left .35s ease; }
.ba-box.dragging .ba-handle { transition: none; }
/* Umschalter: funktioniert auch ohne JavaScript (z. B. in Datei-Vorschauen) */
.ba-radio { position: absolute; opacity: 0; pointer-events: none; }
.ba-tabs { display: flex; gap: 8px; margin-top: 14px; }
.ba-tabs label { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-700); font-weight: 700; font-size: 14px; cursor: pointer; display: block; }
#ba-r-v:checked ~ .ba-tabs label[for="ba-r-v"],
#ba-r-s:checked ~ .ba-tabs label[for="ba-r-s"],
#ba-r-n:checked ~ .ba-tabs label[for="ba-r-n"] { background: var(--blue); border-color: var(--blue); color: #fff; }
#ba-r-v:checked ~ .ba-box .ba-before { clip-path: inset(0 0 0 0); }
#ba-r-v:checked ~ .ba-box .ba-handle { left: 100%; }
#ba-r-n:checked ~ .ba-box .ba-before { clip-path: inset(0 100% 0 0); }
#ba-r-n:checked ~ .ba-box .ba-handle { left: 0%; }
.ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-tag.l { left: 14px; background: rgba(15,22,38,.75); color: #fff; }
.ba-tag.r { right: 14px; background: var(--blue); color: #fff; }
.ba-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Warum wir */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 18px; }
.why-icon svg { width: 26px; height: 26px; }
.why-item h4 { font-size: 18px; color: var(--navy-800); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* Ablauf */
.steps-sec { background: var(--navy-800); color: #fff; }
.steps-sec h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.step { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: #b3bfd4; font-size: 15px; }

/* Einsatzgebiet */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.towns span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy-700); font-size: 15px; background: #fff; }
.towns span.main { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.area-map svg { width: 100%; height: auto; }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; color: var(--navy-800); position: relative; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 20px; }
details { scroll-margin-top: 84px; transition: border-color .2s; }
details[open] { border-color: var(--blue); }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.cta-band p { opacity: .9; margin-top: 6px; }
.btn-white { background: #fff; color: var(--blue-dark); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-info p { color: var(--muted); margin-top: 14px; }
.contact-lines { margin-top: 28px; display: grid; gap: 16px; }
.contact-lines a, .contact-lines div { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.contact-lines .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; flex: none; }
.contact-lines .ic svg { width: 20px; height: 20px; }
.contact-lines strong { color: var(--navy-800); }
form { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 14px; font-weight: 600; color: var(--navy-800); display: grid; gap: 6px; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfd7e3; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.consent { font-weight: 400; font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; }
form .btn { justify-content: center; }

footer { background: var(--navy-900); color: #8f9bb2; padding: 44px 0 90px; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot-tag { letter-spacing: .12em; color: #aab8cf; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 20px; }

.mobile-bar { display: none; }

@media (max-width: 900px) {
  .nav-links a:not(.nav-call) { display: none; }
  .hero-grid, .ba-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; padding-bottom: 64px; }
  .hero-art { max-width: 460px; }
  form .row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .mobile-bar a { padding: 16px; text-align: center; font-weight: 700; color: #fff; }
  .mobile-bar .call { background: var(--blue); }
  .mobile-bar .wa { background: #25d366; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .nav-call { padding: 9px 14px; font-size: 14px; }
}

/* Spam-Schutz (Netlify Honeypot): für Menschen unsichtbar, für Bots im Formular vorhanden */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Unterseiten (Danke, 404, Impressum, Datenschutz) */
.page-hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 90px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; font-weight: 800; margin: 18px 0 14px; letter-spacing: -.01em; }
.page-hero p.lead { margin-bottom: 30px; }
.page-hero.center .wrap { text-align: center; }
.page-hero.center p.lead { margin-left: auto; margin-right: auto; }
.page-hero.center .cta-row { justify-content: center; }
.page-hero.small .wrap { padding-top: 56px; padding-bottom: 56px; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 10px rgba(63,155,230,.18); }
.done-icon svg { width: 36px; height: 36px; }

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 3vw, 26px); margin-top: 44px; margin-bottom: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; color: var(--navy-800); margin-top: 24px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; display: grid; gap: 4px; }
.legal a { color: var(--blue); }
.legal-note { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 20px; margin-bottom: 40px; color: var(--navy-700); font-size: 15px; }
.ph { background: #fff1b8; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }
