/* ============================================================
   E&A Gebäudereinigung — Haupt-Stylesheet
   Markenfarben lt. Flyer: Navy #122B4E · Blau #2D7DD2/#3B9AE1 ·
   Grün #3FA34D · Claim: "Sauber. Gründlich. Professionell."
   Editorial-Akzent: Fraunces Italic für einzelne Schlüsselwörter
   ============================================================ */

:root {
  /* Markenfarben */
  --navy:        #122B4E;
  --navy-2:      #18365f;
  --navy-3:      #0d2140;
  --navy-4:      #091831;
  --blue:        #2D7DD2;
  --blue-deep:   #1B5FA8;   /* AA-sicher für kleine Texte / Button-Basis */
  --blue-bright: #3B9AE1;
  --blue-sky:    #6FB8EF;
  --blue-soft:   #d2e6f9;
  --green:       #3FA34D;
  --green-soft:  #66bd72;
  --green-deep:  #2e7d3a;   /* AA-sicher für Icons auf hellem Grund */

  /* Neutrale Töne */
  --ink:         #13284a;
  --muted:       #51637e;
  --muted-2:     #a8bbd4;
  --paper:       #f4f8fd;
  --paper-2:     #e8f1fb;
  --white:       #ffffff;
  --line:        #e1ebf6;
  --line-dark:   rgba(255,255,255,.1);
  --error:       #c0392b;

  /* Geometrie & Effekte */
  --radius:      18px;
  --radius-lg:   28px;
  --radius-xl:   36px;
  --shadow-sm:   0 4px 14px rgba(18,43,78,.08);
  --shadow-md:   0 14px 38px rgba(18,43,78,.12);
  --shadow-lg:   0 30px 80px rgba(18,43,78,.24);
  --shadow-blue: 0 18px 40px rgba(45,125,210,.32);

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --ff:    "Montserrat", "Segoe UI", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* Offset für Sticky-Header bei Anker-Sprüngen */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* feiner Film-Grain über allem — macht Flächen "materiell" */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .03; mix-blend-mode: multiply;
}

/* dezente Scrollbar im Markenlook */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--navy)); border-radius: 8px; border: 3px solid var(--paper); }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

/* Skip-Link: unsichtbar, bis er per Tastatur fokussiert wird */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 12px 20px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem;
  transform: translateY(-200%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; outline: 3px solid var(--blue-bright); outline-offset: 3px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 800; letter-spacing: .26em;
  text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow::before {
  content: ""; width: 32px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 32px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-deep));
}
.on-dark .eyebrow { color: var(--blue-sky); }
.on-dark .eyebrow::before, .on-dark .eyebrow::after { background: linear-gradient(90deg, var(--blue-bright), var(--green)); }

/* Serif-Italic-Akzent — das typografische Premium-Signal */
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  letter-spacing: 0; color: var(--blue);
}
.on-dark .accent { color: var(--blue-sky); }

/* Section-Header mit Ghost-Ziffer */
.sec-head { position: relative; max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 900; letter-spacing: -.02em; line-height: 1.08; color: var(--navy);
}
.on-dark .sec-head h2 { color: #fff; }
.sec-head .lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; font-weight: 500; max-width: 580px; }
.sec-head--center .lead { margin-inline: auto; }
.on-dark .sec-head .lead { color: var(--muted-2); }
.ghost-num {
  position: absolute; top: -54px; left: -14px; z-index: -1;
  font-size: clamp(6rem, 4rem + 9vw, 11rem); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  letter-spacing: -.04em; user-select: none; pointer-events: none;
}
.ghost-num--center { left: 50%; transform: translateX(-50%); }
.on-dark .ghost-num { -webkit-text-stroke-color: rgba(255,255,255,.07); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: var(--ff); font-weight: 800; font-size: .92rem;
  letter-spacing: .02em; cursor: pointer; border: 0;
  background: var(--blue-deep); color: #fff;
  box-shadow: var(--shadow-blue);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn::before { /* Glanz-Sweep beim Hover */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::before { left: 130%; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 26px 52px rgba(45,125,210,.45); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn--grad { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); }
.btn--ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost::before { display: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); background: var(--paper); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.btn--light:hover { box-shadow: 0 22px 44px rgba(0,0,0,.26); }
.btn--xl { padding: 19px 34px; font-size: 1rem; }

/* ============================================================
   SCROLL-PROGRESS + STICKY HEADER
   ============================================================ */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright), var(--green));
  z-index: 200; transition: width .1s linear;
}

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 8px 30px rgba(18,43,78,.08);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand svg { height: 40px; width: auto; transition: height .35s var(--ease); }
.nav.scrolled .nav__brand svg { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--navy);
  transition: color .25s, background .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
  background: var(--blue-bright); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--blue-deep); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: .92rem; }
.nav__phone svg { width: 17px; height: 17px; color: var(--blue-deep); }
.nav__burger {
  display: none; width: 46px; height: 46px; border: 0; cursor: pointer;
  background: var(--navy); border-radius: 12px; position: relative;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 12px; width: 22px; height: 2.4px; border-radius: 2px;
  background: #fff; transition: transform .3s var(--ease), opacity .3s;
}
.nav__burger span { top: 22px; }
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   WELLEN-DIVIDER (Logo-/Flyer-Motiv)
   ============================================================ */
.wave { display: block; width: 100%; height: auto; line-height: 0; position: relative; z-index: 3; }
.wave--down { margin-bottom: -2px; }
.wave--up { margin-top: -2px; }

/* ============================================================
   HERO — typografiegeführt, Gradient-Mesh, Foto mit Tilt
   ============================================================ */
.hero {
  position: relative; padding: 168px 0 110px;
  background:
    radial-gradient(110% 80% at 88% -8%, var(--paper-2) 0%, transparent 55%),
    radial-gradient(70% 55% at -8% 105%, #edf5fd 0%, transparent 60%),
    radial-gradient(40% 35% at 70% 80%, rgba(63,163,77,.05) 0%, transparent 70%),
    var(--white);
  overflow: hidden;
}
.hero::before { /* Punktraster-Feld */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(45,125,210,.10) 1.4px, transparent 1.4px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(65% 55% at 28% 28%, #000 0%, transparent 70%);
  mask-image: radial-gradient(65% 55% at 28% 28%, #000 0%, transparent 70%);
  opacity: .6; pointer-events: none;
}
.hero::after { /* große Halo-Linie rechts */
  content: ""; position: absolute; right: -220px; top: -220px; width: 640px; height: 640px;
  border-radius: 50%; border: 1.5px solid var(--line); pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 12px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 0 rgba(63,163,77,.5); animation: dotpulse 2.2s var(--ease) infinite;
}
@keyframes dotpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(63,163,77,.45);} 60% { box-shadow: 0 0 0 8px rgba(63,163,77,0);} }

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.3rem);
  font-weight: 900; line-height: 1.03; letter-spacing: -.025em; color: var(--navy);
}
.hero__title .accent { font-size: 1.04em; }
.hero__lead {
  margin-top: 22px; max-width: 500px; color: var(--muted);
  font-size: 1.1rem; font-weight: 500;
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 32px; }
.hero__trust div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.hero__trust svg { width: 20px; height: 20px; color: var(--green-deep); flex: none; }

/* Hero-Visual: Foto + Glas-Badges + rotierendes Kreis-Siegel */
.hero__visual { position: relative; }
.hero__photo {
  position: relative; z-index: 2;
  aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--navy) 0%, #1b3d6e 60%, var(--blue) 100%);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .4s var(--ease);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { /* edler Verlaufs-Schleier unten */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(18,43,78,.55), transparent);
}
.hero__blob {
  position: absolute; z-index: 1; inset: -10% -12% auto auto; width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, var(--blue-bright), var(--navy) 75%);
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  filter: blur(3px); opacity: .9;
  animation: blobfloat 9s var(--ease) infinite alternate;
}
@keyframes blobfloat { from { transform: translateY(-6px) rotate(-2deg);} to { transform: translateY(10px) rotate(3deg);} }

.glass-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px; padding: 15px 20px; box-shadow: var(--shadow-md);
}
.glass-badge .ring {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
}
.glass-badge .ring--blue { background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright)); }
.glass-badge .ring svg { width: 23px; height: 23px; }
.glass-badge b { display: block; font-size: 1.3rem; font-weight: 900; color: var(--navy); line-height: 1.05; }
.glass-badge i { font-style: normal; font-size: .76rem; color: var(--muted); font-weight: 600; }
.badge-1 { left: -30px; bottom: 44px; animation: hoverfloat 6s var(--ease) infinite alternate; }
.badge-2 { right: -22px; top: 42px; animation: hoverfloat 7s 1s var(--ease) infinite alternate; }
@keyframes hoverfloat { from { transform: translateY(-5px);} to { transform: translateY(8px);} }

/* rotierendes Kreistext-Siegel */
.seal {
  position: absolute; z-index: 4; left: -44px; top: -44px; width: 128px; height: 128px;
  display: grid; place-items: center;
}
.seal svg.rot { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.seal .seal-core {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 12px 28px rgba(45,125,210,.4);
}
.seal .seal-core svg { width: 26px; height: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MARQUEE-TICKER (Leistungs-Laufband)
   ============================================================ */
.ticker {
  position: relative; background: var(--navy); color: #fff;
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: tickermove 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__seq { display: flex; align-items: center; padding: 18px 0; }
.ticker__seq span {
  display: inline-flex; align-items: center; gap: 26px; padding-inline: 26px;
  font-weight: 800; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; color: var(--blue-soft);
}
.ticker__seq svg { width: 15px; height: 15px; color: var(--blue-bright); flex: none; }
@keyframes tickermove { to { transform: translateX(-50%); } }

/* ============================================================
   LEISTUNGEN — Premium-Kartenraster
   ============================================================ */
.services { position: relative; background: var(--paper); padding: 96px 0 110px; overflow: hidden; }
.services::before {
  content: ""; position: absolute; left: -160px; top: 120px; width: 420px; height: 420px;
  border-radius: 50%; border: 1.5px solid var(--line); pointer-events: none;
}
.services__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.services__grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.scard {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.scard::before { /* Akzent-Bogen oben rechts */
  content: ""; position: absolute; right: -60px; top: -60px; width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 70%, rgba(45,125,210,.12), transparent 70%);
  transition: transform .5s var(--ease);
}
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }
.scard:hover::before { transform: scale(1.7); }
.scard__num {
  position: absolute; right: 24px; top: 18px;
  font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.3px var(--line);
  transition: -webkit-text-stroke-color .4s;
}
.scard:hover .scard__num { -webkit-text-stroke-color: var(--blue-soft); }
.scard__icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--blue-bright), var(--blue-deep) 85%);
  box-shadow: 0 12px 26px rgba(45,125,210,.32);
  transition: transform .4s var(--ease);
}
.scard:hover .scard__icon { transform: scale(1.08) rotate(-5deg); }
.scard__icon svg { width: 27px; height: 27px; }
.scard h3 { margin-top: 20px; font-size: 1.12rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.scard p { margin-top: 8px; color: var(--muted); font-size: .93rem; font-weight: 500; }
.scard__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 800; font-size: .85rem; color: var(--blue-deep);
}
.scard__link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.scard:hover .scard__link svg { transform: translateX(5px); }

/* ============================================================
   WARUM E&A — USP-Liste + Bild
   ============================================================ */
.why { position: relative; background: var(--white); padding: 100px 0 90px; overflow: hidden; }
.why::before {
  content: ""; position: absolute; right: -130px; top: -130px; width: 380px; height: 380px;
  border-radius: 50%; background: var(--paper-2); z-index: 0;
}
.why__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.why__media { position: relative; }
.why__media .frame {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/6;
  background: linear-gradient(150deg, var(--blue), var(--navy));
}
.why__media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.why__media:hover .frame img { transform: scale(1.05); }
.why__media .accent-block {
  position: absolute; right: -20px; bottom: -20px; width: 140px; height: 140px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green), var(--green-soft)); z-index: -1;
}
.why__media .floatcard {
  position: absolute; left: -24px; top: 32px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: center;
}
.why__media .floatcard svg { width: 30px; height: 30px; color: var(--blue-deep); flex: none; }
.why__media .floatcard b { font-size: 1.02rem; color: var(--navy); display: block; line-height: 1.1; }
.why__media .floatcard i { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 600; }

.usps { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.usps li {
  display: flex; align-items: center; gap: 15px;
  font-weight: 700; font-size: 1.02rem; color: var(--navy);
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.usps li:hover { transform: translateX(6px); border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
.usps .check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 6px 14px rgba(45,125,210,.4);
}
.usps li:nth-child(2n) .check { background: linear-gradient(135deg, var(--green), var(--green-soft)); box-shadow: 0 6px 14px rgba(63,163,77,.35); }
.usps .check svg { width: 16px; height: 16px; }

.why__sign {
  margin-top: 26px; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.18rem; color: var(--blue-deep);
}

/* ============================================================
   KENNZAHLEN-BAND (Navy) — animierte Zähler
   ============================================================ */
.stats { position: relative; background: var(--navy); color: #fff; padding: 80px 0; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(55% 60% at 85% 10%, rgba(59,154,225,.22), transparent 60%),
    radial-gradient(45% 55% at 5% 95%, rgba(63,163,77,.13), transparent 60%);
}
.stats__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-item { text-align: center; padding: 10px 16px; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,.18), transparent);
}
.stat-item .num {
  font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(100deg, #fff 30%, var(--blue-sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item .num sup { font-size: .45em; vertical-align: super; }
.stat-item b { display: block; margin-top: 12px; font-size: .95rem; font-weight: 800; letter-spacing: .04em; }
.stat-item span { display: block; margin-top: 3px; font-size: .8rem; color: var(--muted-2); font-weight: 600; }

/* ============================================================
   SO FUNKTIONIERT'S — 3 Schritte mit Pfad-Animation
   ============================================================ */
.steps { position: relative; background: var(--white); padding: 100px 0; overflow: hidden; }
.steps__grid {
  margin-top: 70px; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.steps__path {
  position: absolute; left: 6%; right: 6%; top: 30px; height: 60px; z-index: 1;
  width: 88%; pointer-events: none;
}
.steps__path path {
  fill: none; stroke: var(--blue-soft); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out) .3s;
}
.steps__path.in path { stroke-dashoffset: 0; }
.pstep { position: relative; z-index: 2; text-align: center; padding: 0 12px; }
.pstep__num {
  position: relative;
  width: 76px; height: 76px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line);
  font-weight: 900; font-size: 1.3rem; color: var(--blue-deep);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s, color .4s;
}
.pstep:hover .pstep__num {
  transform: scale(1.1); border-color: var(--blue-bright); color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 16px 34px rgba(45,125,210,.35);
}
.pstep h3 { margin-top: 24px; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.pstep p { margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; max-width: 300px; margin-inline: auto; }

/* ============================================================
   EINSATZGEBIET — Städte-Chips
   ============================================================ */
.area { position: relative; background: var(--paper); padding: 96px 0; overflow: hidden; }
.area::after {
  content: ""; position: absolute; left: -100px; bottom: -100px; width: 280px; height: 280px;
  border: 30px solid var(--white); border-radius: 50%; z-index: 0;
}
.area__chips {
  position: relative; z-index: 2;
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 800; font-size: 1.02rem; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.chip:hover { transform: translateY(-4px); border-color: var(--blue-soft); box-shadow: var(--shadow-md); }
.chip svg { width: 18px; height: 18px; color: var(--blue-deep); flex: none; }
.chip--hl {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff; border-color: transparent;
}
.chip--hl svg { color: #fff; }
.area__note { position: relative; z-index: 2; margin-top: 22px; text-align: center; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { position: relative; background: var(--white); padding: 100px 0; overflow: hidden; }
.testimonials__grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tcard {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }
.tcard::before { /* Anführungszeichen */
  content: "\201E"; position: absolute; right: 22px; top: -8px;
  font-family: var(--serif); font-style: italic; font-size: 5.5rem; line-height: 1;
  color: var(--paper-2); pointer-events: none; user-select: none;
}
.tcard__stars { display: flex; gap: 3px; color: #b97700; }
.tcard__stars svg { width: 17px; height: 17px; }
.tcard blockquote { margin-top: 16px; font-size: .98rem; font-weight: 500; color: var(--ink); border: 0; }
.tcard footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .95rem;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
}
.tcard:nth-child(2) .avatar { background: linear-gradient(135deg, var(--green), var(--green-soft)); }
.tcard:nth-child(3) .avatar { background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.tcard cite { font-style: normal; }
.tcard cite b { display: block; font-size: .92rem; font-weight: 800; color: var(--navy); }
.tcard cite span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ============================================================
   FAQ — Accordion (Button + animierte Höhe)
   ============================================================ */
.faq { position: relative; background: var(--paper); padding: 100px 0; }
.faq__list { max-width: 800px; margin: 52px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .35s, box-shadow .35s;
}
.faq__item.open { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
.faq__q { margin: 0; }
.faq__btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-family: var(--ff); font-weight: 800; font-size: 1.02rem; color: var(--navy);
  transition: color .25s;
}
.faq__btn:hover { color: var(--blue-deep); }
.faq__btn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: -3px; border-radius: var(--radius); }
.faq__chev {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue-deep);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.faq__chev svg { width: 16px; height: 16px; }
.faq__item.open .faq__chev { transform: rotate(45deg); background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; color: var(--muted); font-size: .96rem; font-weight: 500; max-width: 680px; }

/* ============================================================
   KONTAKT — Flyer-Kreis + Formular (Navy)
   ============================================================ */
.contact { position: relative; background: var(--navy); color: #fff; padding: 90px 0 0; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(55% 60% at 80% 0%, rgba(59,154,225,.2), transparent 60%),
    radial-gradient(40% 50% at 5% 90%, rgba(63,163,77,.1), transparent 60%);
}
.contact__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start;
  margin-top: 26px;
}

/* linke Spalte: Kreis-CTA im Flyer-Stil + Direktkontakt */
.cta-circle {
  position: relative; width: min(280px, 78%); aspect-ratio: 1; margin: 26px auto 8px;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 35%, var(--navy-2), var(--navy-3));
  border: 3px solid var(--blue-bright);
  box-shadow: 0 0 0 10px rgba(59,154,225,.1), var(--shadow-md);
  color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cta-circle::after { /* rotierender gestrichelter Ring */
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed rgba(59,154,225,.45);
  animation: spin 22s linear infinite;
}
.cta-circle:hover { transform: scale(1.04); box-shadow: 0 0 0 14px rgba(59,154,225,.16), 0 30px 60px rgba(0,0,0,.4); }
.cta-circle__in { padding: 28px; }
.cta-circle .big { display: block; font-weight: 900; line-height: 1.05; letter-spacing: .02em; }
.cta-circle .l1 { font-size: 1rem; color: var(--blue-soft); letter-spacing: .14em; }
.cta-circle .l2 { font-size: 1.7rem; margin: 4px 0; }
.cta-circle .l3 { font-size: 1.4rem; }
.cta-circle .script { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; color: var(--blue-bright); margin-top: 4px; }
.cta-circle .spk-ic { color: var(--blue-bright); }

.contact__direct { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.dline {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line-dark);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
a.dline:hover { transform: translateX(6px); border-color: rgba(59,154,225,.6); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); }
.dline__ic {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--blue-bright), var(--blue-deep) 85%);
  box-shadow: 0 10px 22px rgba(45,125,210,.4);
}
.dline__ic svg { width: 22px; height: 22px; }
.dline__txt { display: block; }
.dline__label { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-soft); font-weight: 800; }
.dline .val { display: block; font-size: 1.15rem; font-weight: 800; color: #fff; word-break: break-word; }
.dline .val--sm { font-size: .98rem; }

/* rechte Spalte: Formular-Karte */
.form-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 40px 38px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.35rem; font-weight: 900; color: var(--navy); letter-spacing: -.01em; }
.form-card .form-hint { margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.form__grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .85rem; color: var(--navy); }
.field label .req { color: var(--blue-deep); }
.field input, .field select, .field textarea {
  font-family: var(--ff); font-size: .95rem; font-weight: 600; color: var(--ink);
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45,125,210,.15); background: #fff;
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--error); background: #fff7f6;
}
.field.invalid label { color: var(--error); }
.field .err { display: none; font-size: .8rem; font-weight: 700; color: var(--error); }
.field.invalid .err { display: block; }
.form__foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: .78rem; color: var(--muted); font-weight: 500; max-width: 300px; }
.form-msg {
  display: none; margin-top: 20px; padding: 16px 20px; border-radius: 14px;
  font-weight: 700; font-size: .92rem;
}
.form-msg.show { display: flex; align-items: center; gap: 12px; }
.form-msg svg { width: 22px; height: 22px; flex: none; }
.form-msg--ok { background: #ecf7ee; color: #226b2e; border: 1px solid #bfe3c6; }
.form-msg--err { background: #fdf0ee; color: var(--error); border: 1px solid #f2cfc9; }

/* Footer-Bereich unterhalb des Kontakts */
.foot-brand {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  padding: 56px 0 36px; margin-top: 70px; border-top: 1px solid var(--line-dark);
}
.foot-brand svg.flogo { height: 110px; width: auto; }
.foot-brand .claim {
  margin: 10px 0 0 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  font-size: .8rem; color: var(--blue-soft);
}
.foot-brand p.desc { color: var(--muted-2); font-size: .9rem; max-width: 380px; font-weight: 500; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a {
  font-weight: 700; font-size: .92rem; color: var(--muted-2);
  transition: color .25s;
}
.foot-links a:hover { color: var(--blue-sky); }

/* riesiges Wasserzeichen-Wordmark */
.foot-mark {
  position: relative; z-index: 1; overflow: hidden; pointer-events: none; user-select: none;
  margin-top: 8px; line-height: .82; text-align: center;
}
.foot-mark span {
  display: block;
  font-size: clamp(4.6rem, 16vw, 15rem); font-weight: 900; letter-spacing: -.04em;
  background: linear-gradient(to bottom, rgba(255,255,255,.085), rgba(255,255,255,0) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(.16em);
}

.bottombar {
  background: var(--navy-4); color: #fff; text-align: center; padding: 22px 0;
  position: relative; z-index: 2;
}
.bottombar .slogan {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-weight: 800; letter-spacing: .24em; text-transform: uppercase; font-size: .9rem;
}
.bottombar .slogan span { color: var(--blue-soft); }
.bottombar .slogan .spk { color: var(--blue-bright); }
.bottombar .copy { margin-top: 8px; font-size: .76rem; color: var(--muted-2); letter-spacing: .04em; opacity: .85; }
.bottombar .copy a { text-decoration: underline; text-underline-offset: 3px; }
.bottombar .copy a:hover { color: var(--blue-sky); }

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal { padding: 150px 0 90px; min-height: 70vh; }
.legal h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.legal h2 { margin-top: 38px; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.legal p, .legal li { margin-top: 12px; color: var(--muted); font-size: .98rem; font-weight: 500; max-width: 720px; }
.legal ul { padding-left: 22px; }
.legal .todo {
  display: block; margin-top: 14px; padding: 14px 18px; border-radius: 12px;
  background: #fff8e8; border: 1px solid #f0deb0; color: #7a5c12;
  font-size: .9rem; font-weight: 600; max-width: 720px;
}
.legal a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FLOATING ELEMENTS (mobiler Anruf-Button, Back-to-top)
   ============================================================ */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none;
  width: 58px; height: 58px; border-radius: 50%; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  box-shadow: 0 14px 30px rgba(63,163,77,.5); animation: fabpulse 2.4s var(--ease) infinite;
}
.fab svg { width: 26px; height: 26px; }
@keyframes fabpulse { 0%,100% { box-shadow: 0 14px 30px rgba(63,163,77,.5), 0 0 0 0 rgba(63,163,77,.5);} 60% { box-shadow: 0 14px 30px rgba(63,163,77,.5), 0 0 0 16px rgba(63,163,77,0);} }

.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  box-shadow: var(--shadow-blue);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 20px; height: 20px; }

/* ============================================================
   SCROLL-REVEAL + LOAD-IN + SPARKLES
   ============================================================ */
/* Progressive Enhancement: Inhalte werden nur versteckt, wenn JS
   aktiv ist (html.js). Ohne JS bleibt alles sichtbar. */
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
.reveal[data-d="6"] { transition-delay: .48s; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 8px;
}

.floatin { opacity: 0; transform: translateY(28px); animation: floatin 1s var(--ease-out) forwards; }
.floatin.d1 { animation-delay: .05s; }
.floatin.d2 { animation-delay: .18s; }
.floatin.d3 { animation-delay: .32s; }
.floatin.d4 { animation-delay: .46s; }
.floatin.d5 { animation-delay: .6s; }
@keyframes floatin { to { opacity: 1; transform: none; } }

@keyframes twinkle { 0%,100% { opacity: .55; transform: scale(.85);} 50% { opacity: 1; transform: scale(1.05);} }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s var(--ease) infinite; }
.spark.s2 { animation-delay: .9s; }
.spark.s3 { animation-delay: 1.7s; }

/* Hero-Sparkles (absolute, dezent) */
.hero-spark { position: absolute; color: var(--blue-bright); z-index: 1; pointer-events: none; }
.hero-spark--1 { left: 4%; top: 22%; width: 26px; }
.hero-spark--2 { left: 44%; top: 12%; width: 18px; }
.hero-spark--3 { left: 38%; bottom: 14%; width: 14px; }

/* ============================================================
   RESPONSIVE (Breakpoints: 360 / 768 / 1024 / 1440 getestet)
   ============================================================ */
@media (max-width: 1060px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 980px) {
  .hero { padding-top: 140px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat-item:nth-child(3)::before { display: none; }
  .steps__grid { grid-template-columns: 1fr; gap: 44px; }
  .steps__path { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__media { max-width: 440px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .nav__phone { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .fab { display: grid; }
  .totop { display: none; }

  /* Mobile-Menü: Slide-In von oben.
     Nur mit aktivem JS (html.js) wird das Panel versteckt —
     ohne JS bleiben die Links als normale Leiste erreichbar. */
  html.js .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 70px; flex-direction: column; gap: 4px;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 16px 20px 24px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .4s var(--ease), visibility .4s; align-items: stretch;
    visibility: hidden;
  }
  html.js body.menu-open .nav__links { visibility: visible; transform: none; }
  html.js .nav__links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav__links a::after { display: none; }
  .nav__links a:hover { background: var(--paper); }
}
@media (max-width: 700px) {
  .services__grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .foot-brand { justify-content: center; text-align: center; flex-direction: column; }
  .foot-links { flex-direction: row; gap: 18px; }
  .seal { display: none; }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .badge-1 { left: -8px; }
  .badge-2 { right: -8px; }
  .hero__title { font-size: clamp(2.1rem, 1.4rem + 5.6vw, 2.8rem); }
}

/* ============================================================
   REDUCED MOTION — alle Animationen deaktivieren
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal, .floatin { opacity: 1 !important; transform: none !important; }
  .ticker__track { transform: none !important; }
  .steps__path path { stroke-dashoffset: 0 !important; }
}
