/* ═════════════════════════════════════════════════════════════
   FunkelFix – Designsystem & Stylesheet
   Farben direkt aus dem Original-Logo gemessen.
   ═════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben (aus funkelfix-logo.png) */
  --blau: #005ffc;
  --blau-600: #004dd6;
  --blau-700: #003ea9;
  --blau-400: #4d8dff;
  --blau-200: #bcd3ff;
  --blau-100: #dde9ff;
  --blau-50: #eff5ff;
  --navy: #011b42;
  --navy-800: #082552;
  --navy-700: #123468;

  /* Ergänzung Gartenservice */
  --gruen: #1f8a5b;
  --gruen-600: #187049;
  --gruen-100: #d3eedf;
  --gruen-50: #edf8f2;

  /* Neutrale Töne */
  --text: #101828;
  --text-2: #475467;
  --text-3: #667085;
  --grau-50: #f5f7fa;
  --grau-100: #eef1f6;
  --linie: #e4e8f0;
  --weiss: #fff;
  --fehler: #d92d20;
  --erfolg: #067647;

  /* Form & Tiefe */
  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --schatten-s: 0 1px 2px rgb(16 24 40 / .05), 0 1px 3px rgb(16 24 40 / .06);
  --schatten: 0 2px 4px -2px rgb(16 24 40 / .05), 0 12px 24px -6px rgb(16 24 40 / .09);
  --schatten-l: 0 30px 60px -18px rgb(1 27 66 / .22);
  --schatten-blau: 0 10px 28px -8px rgb(0 95 252 / .5);

  /* Typografie & Raster */
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --rand: clamp(16px, 4vw, 32px);
  --sektion: clamp(72px, 10vw, 128px);
  --kopf-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Basis ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau-600); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; color: var(--blau); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blau-100); color: var(--navy); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-s); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ── Typografie ────────────────────────────────────────────── */
.h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -.035em; line-height: 1.06; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .5em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: .5em; }
.h4 { font-size: 1.15rem; margin-bottom: .4em; letter-spacing: -.01em; }
.h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .8em; }
.lead { font-size: clamp(1.075rem, 1.4vw, 1.2rem); color: var(--text-2); line-height: 1.7; max-width: 62ch; }
.klein { font-size: .9rem; color: var(--text-3); }
.text-blau { color: var(--blau); }
.text-hellblau { color: var(--blau-400); }
.text-verlauf {
  background: linear-gradient(100deg, var(--blau) 10%, var(--blau-400) 55%, var(--blau) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 1.1rem;
}
.eyebrow .icon { width: 14px; height: 14px; }
.eyebrow--chip { background: var(--blau-50); border: 1px solid var(--blau-100); padding: .5em 1em; border-radius: 999px; letter-spacing: .06em; text-transform: none; font-size: .875rem; }
.eyebrow--hell { color: var(--blau-200); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primaer { background: var(--blau); color: #fff; box-shadow: var(--schatten-blau); }
.btn--primaer:hover { background: var(--blau-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgb(0 95 252 / .6); }
.btn--hell { background: #fff; color: var(--navy); border-color: var(--linie); box-shadow: var(--schatten-s); }
.btn--hell:hover { color: var(--navy); border-color: var(--blau-200); background: var(--blau-50); }
.btn--dunkel { background: var(--navy); color: #fff; }
.btn--dunkel:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--weiss { background: #fff; color: var(--navy); }
.btn--weiss:hover { background: var(--blau-50); color: var(--navy); transform: translateY(-2px); }
.btn--umriss-hell { color: #fff; border-color: rgb(255 255 255 / .3); }
.btn--umriss-hell:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / .08); }
.btn--gross { --h: 58px; padding: 0 1.7em; font-size: 1.05rem; }
.btn--klein { --h: 42px; padding: 0 1.15em; font-size: .925rem; }
.btn--breit { width: 100%; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

.link-pfeil { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blau); text-decoration: none; }
.link-pfeil .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-pfeil:hover .icon { transform: translateX(4px); }

/* ── Karten & Listen ───────────────────────────────────────── */
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--schatten); }
.hakenliste { display: grid; gap: .55em; margin: 1.1em 0 1.4em; }
.hakenliste li { display: flex; gap: .65em; align-items: flex-start; font-size: .975rem; color: var(--text-2); }
.hakenliste .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--blau); stroke-width: 2.4; padding: 2px; background: var(--blau-50); border-radius: 50%; box-sizing: content-box; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .45em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--linie); font-size: .9rem; font-weight: 600; color: var(--text-2); }
.chips--orte li { display: inline-flex; align-items: center; gap: .35em; }
.chips--orte .icon { width: 14px; height: 14px; color: var(--blau); }

/* ── Bildflächen (echtes Foto oder Platzhalter) ────────────── */
.media { position: relative; aspect-ratio: var(--ar, 16 / 10); overflow: hidden; background: var(--grau-100); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media--hoch { --ar: 4 / 5; }
.media--platzhalter {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgb(255 255 255 / .9), transparent 45%),
    radial-gradient(circle at 85% 90%, var(--blau-100), transparent 55%),
    linear-gradient(135deg, var(--blau-50), #f8fbff 55%, var(--blau-100));
}
.media--platzhalter::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(var(--blau-200) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(160deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(160deg, transparent 20%, #000 90%);
}
.media__icon { position: relative; width: clamp(48px, 18%, 76px); height: auto; color: var(--blau); opacity: .35; stroke-width: 1.25; transition: transform .8s var(--ease); }
.media__glanz { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .7) 50%, transparent 60%); transform: translateX(-100%); }
.media__hinweis { position: absolute; right: 12px; top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--text-3); background: rgb(255 255 255 / .8); border: 1px solid var(--linie); padding: .3em .7em; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ═════════════════ INTRO ═════════════════ */
.intro { display: none; }
.intro-aktiv .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1500; background: #fff;
  animation: intro-aus .8s var(--ease) 2.15s forwards;
}
.intro__buehne { display: grid; justify-items: center; gap: 28px; padding: 24px; text-align: center; }
.intro__logo {
  position: relative; width: min(220px, 52vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgb(0 95 252 / .35);
  animation: intro-logo 1s var(--ease) both;
}
.intro__logo img { width: 100%; height: 100%; }
.intro__licht {
  position: absolute; inset: -10%;
  background: linear-gradient(105deg, transparent 30%, rgb(0 95 252 / .0) 38%, rgb(0 95 252 / .28) 47%, rgb(255 255 255 / .85) 50%, rgb(0 95 252 / .28) 53%, transparent 64%);
  transform: translateX(-110%);
  animation: intro-licht 1.15s cubic-bezier(.45, 0, .2, 1) .5s forwards;
}
.intro__slogan { margin: 0; font-size: clamp(1rem, 2.6vw, 1.3rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.intro__slogan span { display: inline-block; margin: 0 .2em; opacity: 0; transform: translateY(10px); animation: intro-wort .6s var(--ease) calc(1.05s + var(--i) * .16s) forwards; }
.intro__slogan span:last-child { color: var(--blau); }

@keyframes intro-logo { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes intro-licht { to { transform: translateX(110%); } }
@keyframes intro-wort { to { opacity: 1; transform: none; } }
@keyframes intro-aus { to { opacity: 0; visibility: hidden; transform: scale(1.03); } }

/* ═════════════════ KOPFBEREICH ═════════════════ */
.kopf {
  position: sticky; top: 0; z-index: 900;
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 6px 24px -12px rgb(16 24 40 / .12); background: rgb(255 255 255 / .92); }
.kopf__innen { display: flex; align-items: center; gap: 24px; height: var(--kopf-h); }

.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marke__logo { width: 52px; height: 52px; border-radius: 50%; }
.marke__text { display: grid; line-height: 1.05; }
.marke__name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.marke__name span { color: var(--blau); }
.marke__zusatz { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }

.nav { display: none; }
.nav__liste { display: flex; align-items: center; gap: 4px; }
.nav__punkt { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .96rem; font-weight: 600; color: var(--navy); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__punkt--drop.ist-offen > .nav__link { background: var(--grau-100); color: var(--navy); }
.nav__link[aria-current="page"], .nav__punkt.ist-aktiv > .nav__link { color: var(--blau); }
.nav__pfeil { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__punkt--drop.ist-offen .nav__pfeil { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 360px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--schatten-l);
  padding: 10px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.drop::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__punkt--drop.ist-offen .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.drop--mega { width: min(780px, 92vw); padding: 14px; }
.drop__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__eintrag { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r); text-decoration: none; color: var(--navy); transition: background-color .2s; }
.drop__eintrag:hover { background: var(--blau-50); color: var(--navy); }
.drop__eintrag strong { display: block; font-size: .96rem; }
.drop__eintrag small { display: block; font-size: .84rem; color: var(--text-3); font-weight: 500; }
.drop__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-50); color: var(--blau); flex-shrink: 0; transition: background-color .2s, color .2s; }
.drop__eintrag:hover .drop__icon { background: var(--blau); color: #fff; }
.drop__eintrag--gruen .drop__icon { background: var(--gruen-50); color: var(--gruen); }
.drop__eintrag--gruen:hover .drop__icon { background: var(--gruen); color: #fff; }
.drop__fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding: 14px 16px; border-radius: var(--r); background: var(--grau-50); font-size: .9rem; color: var(--text-2); }

.kopf__aktionen { display: flex; align-items: center; gap: 10px; }
.kopf__tel { display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; padding: 0 10px; white-space: nowrap; }
.kopf__tel .icon { width: 18px; height: 18px; color: var(--blau); }
.kopf__cta { display: none; }

.menue-knopf { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--linie); background: #fff; border-radius: 50%; cursor: pointer; }
.menue-knopf__linien { position: relative; width: 18px; height: 12px; }
.menue-knopf__linien span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menue-knopf__linien span:nth-child(1) { top: 0; }
.menue-knopf__linien span:nth-child(2) { top: 5px; }
.menue-knopf__linien span:nth-child(3) { top: 10px; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobilmenue {
  position: fixed; inset: var(--kopf-h) 0 0; z-index: 899; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; padding: 8px var(--rand) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  animation: menue-ein .35s var(--ease);
}
@keyframes menue-ein { from { opacity: 0; transform: translateY(-8px); } }
.mobilmenue__nav li a {
  display: flex; align-items: center; gap: 14px; padding: 15px 4px;
  border-bottom: 1px solid var(--grau-100); font-size: 1.1rem; font-weight: 700; color: var(--navy); text-decoration: none;
}
.mobilmenue__nav .icon { width: 22px; height: 22px; color: var(--blau); }
.mobilmenue__nav a[aria-current="page"] { color: var(--blau); }
.mobilmenue__unter a { padding-left: 40px !important; font-size: .98rem !important; font-weight: 600 !important; color: var(--text-2) !important; }
.mobilmenue__fuss { display: grid; gap: 10px; }
body.menue-offen { overflow: hidden; }

@media (min-width: 640px) { .kopf__cta { display: inline-flex; } }
@media (min-width: 1140px) {
  .nav { display: block; }
  .menue-knopf, .mobilmenue { display: none !important; }
}
@media (min-width: 1360px) { .kopf__tel { display: inline-flex; } }
@media (hover: hover) and (min-width: 1140px) {
  .nav__punkt--drop:hover .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav__punkt--drop:hover > .nav__link { background: var(--grau-100); }
}

/* ═════════════════ HERO ═════════════════ */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero__hintergrund {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 25%, var(--blau-50), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, #f3f7ff, transparent 70%);
}
.hero__hintergrund::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(1 27 66 / .09) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 75% 35%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 75% 35%, #000, transparent 75%);
}
.hero__innen { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__titel { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.04em; line-height: 1.04; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.075rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 58ch; margin-bottom: 2em; }
.hero__tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-decoration: none; color: var(--navy); }
.hero__tel small { display: block; font-size: .82rem; color: var(--text-3); font-weight: 600; }
.hero__tel strong { font-size: 1.25rem; letter-spacing: -.01em; }
.hero__tel-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--linie); color: var(--blau); box-shadow: var(--schatten-s); position: relative; }
.hero__tel-icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--blau); opacity: 0; animation: puls 2.6s ease-out infinite; }
.hero__tel:hover { color: var(--blau); }

.hero__visual { position: relative; display: grid; place-items: center; padding-bottom: 8%; }
.hero__buehne { position: relative; width: min(420px, 74vw, 100%); }
.hero__emblem { position: relative; width: 100%; aspect-ratio: 1; }
.hero__emblem img { position: relative; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 40px 90px -30px rgb(0 95 252 / .45), 0 0 0 10px rgb(255 255 255 / .8), 0 0 0 11px var(--blau-100); }
.hero__ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--blau-200); pointer-events: none; }
.hero__ring--1 { inset: -9%; animation: drehen 60s linear infinite; }
.hero__ring--2 { inset: -19%; border-style: solid; border-color: rgb(0 95 252 / .08); }
.hero__funke { position: absolute; color: var(--blau); animation: funkeln 3.2s ease-in-out infinite; }
.hero__funke .icon { width: 100%; height: 100%; }
.hero__funke--1 { width: 34px; top: -4%; right: 6%; }
.hero__funke--2 { width: 20px; top: 14%; right: -6%; animation-delay: .9s; }
.hero__funke--3 { width: 24px; bottom: 6%; left: -5%; animation-delay: 1.7s; color: var(--blau-400); }
.hero__foto { --ar: 5 / 6; width: min(520px, 100%); border-radius: var(--r-xl); box-shadow: var(--schatten-l); }

.hero__karten { display: none; }
.schwebekarte {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / .9); border-radius: 18px; box-shadow: var(--schatten-l);
  animation: schweben 6s ease-in-out infinite;
}
.schwebekarte strong { display: block; font-size: .95rem; color: var(--navy); }
.schwebekarte small { display: block; font-size: .8rem; color: var(--text-3); }
.schwebekarte__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blau); color: #fff; }
.schwebekarte__icon--gruen { background: var(--gruen); }
.schwebekarte--1 { top: -2%; left: -22%; }
.schwebekarte--2 { bottom: -6%; right: -20%; animation-delay: -2s; }
.schwebekarte--3 { bottom: -15%; left: -6%; animation-delay: -4s; }

.vertrauen { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--linie); }
.vertrauen li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--text-2); line-height: 1.4; }
.vertrauen strong { color: var(--navy); }
.vertrauen .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--blau-50); color: var(--blau); }

@media (min-width: 640px) {
  .hero__karten { display: block; position: absolute; inset: 0; }
  .vertrauen { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
}
@media (min-width: 1024px) {
  .hero__innen { grid-template-columns: 1.15fr .85fr; }
  .vertrauen { grid-template-columns: repeat(4, 1fr); }
}

/* Hero-Einblendung (nach dem Intro verzögert) */
.js .hero__anim { animation: hoch .9s var(--ease) calc(var(--d, 0) * .09s + var(--start, .05s)) both; }
.intro-aktiv { --start: 2.35s; }

@keyframes hoch { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes funkeln { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .45; } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes puls { 0% { transform: scale(.9); opacity: .55; } 100% { transform: scale(1.35); opacity: 0; } }

/* ═════════════════ SEKTIONEN ═════════════════ */
.sektion { padding: var(--sektion) 0; position: relative; }
.sektion--hell { background: var(--grau-50); }
.sektion--dunkel { background: var(--navy); color: rgb(255 255 255 / .78); overflow: hidden; }
.sektion--dunkel .h2 { color: #fff; }
.sektion--dunkel .lead { color: rgb(255 255 255 / .74); }
.sektion__kopf { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sektion__kopf--zentriert { margin-inline: auto; text-align: center; }
.sektion__kopf--zentriert .lead { margin-inline: auto; }

/* Scroll-Einblendungen */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--verz, 0) * .09s); }
.js .reveal.ist-sichtbar { opacity: 1; transform: none; }
/* Notfall: Läuft main.js nicht, werden Inhalte nach 2 s trotzdem sichtbar */
.js:not(.ff-bereit) .reveal { animation: sichtbar 0s 2s forwards; }
@keyframes sichtbar { to { opacity: 1; transform: none; } }

/* ── Geschäftsbereich-Karten ───────────────────────────────── */
.bereichsraster { display: grid; gap: 24px; }
.bereichskarte { --akzent: var(--blau); --akzent-hell: var(--blau-50); }
.bereichskarte--navy { --akzent: var(--navy); --akzent-hell: var(--grau-100); }
.bereichskarte--gruen { --akzent: var(--gruen); --akzent-hell: var(--gruen-50); }
.bereichskarte__link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--schatten-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.bereichskarte__link:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--schatten-l); border-color: transparent; }
.bereichskarte__bild { position: relative; }
.bereichskarte--gruen .media--platzhalter { background: radial-gradient(circle at 85% 90%, var(--gruen-100), transparent 55%), linear-gradient(135deg, var(--gruen-50), #f9fdfb 55%, var(--gruen-100)); }
.bereichskarte--gruen .media--platzhalter::before { background-image: radial-gradient(var(--gruen-100) 1.2px, transparent 1.5px); }
.bereichskarte--gruen .media__icon { color: var(--gruen); }
.bereichskarte--navy .media__icon { color: var(--navy); }
.bereichskarte__link:hover .media img, .bereichskarte__link:hover .media__icon { transform: scale(1.06); }
.bereichskarte__link:hover .media__glanz { transform: translateX(100%); transition: transform 1.1s var(--ease); }
.bereichskarte__icon {
  position: absolute; left: 24px; bottom: -24px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px; background: var(--akzent); color: #fff;
  box-shadow: 0 10px 24px -8px var(--akzent); transition: transform .5s var(--ease);
}
.bereichskarte__link:hover .bereichskarte__icon { transform: translateY(-4px) rotate(-6deg); }
.bereichskarte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 40px 26px 26px; }
.bereichskarte__zusatz { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); margin-bottom: .4em; }
.bereichskarte--navy .bereichskarte__zusatz { color: var(--blau); }
.bereichskarte__titel { font-size: 1.35rem; margin-bottom: .55em; }
.bereichskarte__text { color: var(--text-2); font-size: .98rem; margin: 0; }
.bereichskarte .hakenliste { margin-bottom: 1.6em; }
.bereichskarte--gruen .hakenliste .icon { color: var(--gruen); background: var(--gruen-50); }
.bereichskarte .link-pfeil { margin-top: auto; color: var(--akzent); }
.bereichskarte--navy .link-pfeil { color: var(--blau); }
.bereichskarte__link:hover .link-pfeil .icon { transform: translateX(4px); }

@media (min-width: 640px) { .bereichsraster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bereichsraster { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ── FewoFix-Band ──────────────────────────────────────────── */
.fewo-band__glanz {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 0% 0%, rgb(0 95 252 / .35), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgb(0 95 252 / .25), transparent 70%);
}
.fewo-band__innen { position: relative; display: grid; gap: 48px; align-items: center; }
.fewo-band__liste { display: grid; gap: 14px; }
.fewo-band__punkt {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border-radius: var(--r); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1);
  transition: background-color .3s, border-color .3s;
}
.fewo-band__punkt:hover { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .2); }
.fewo-band__punkt strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
.fewo-band__punkt small { display: block; font-size: .92rem; line-height: 1.5; }
.fewo-band__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau); color: #fff; flex-shrink: 0; }
@media (min-width: 640px) { .fewo-band__liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fewo-band__innen { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* ── Warum FunkelFix ───────────────────────────────────────── */
.warum { display: grid; gap: 48px; }
.zitat { margin: 2em 0 0; padding: 28px 30px; border-radius: var(--r-l); background: linear-gradient(135deg, var(--blau-50), #fff); border: 1px solid var(--blau-100); position: relative; }
.zitat p { font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.35; margin: 0 0 .6em; }
.zitat footer { font-size: .9rem; color: var(--text-3); font-weight: 600; }
.vorteile { display: grid; gap: 16px; }
.vorteil { padding: 26px; border-radius: var(--r-l); border: 1px solid var(--linie); background: #fff; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.vorteil:hover { border-color: var(--blau-100); box-shadow: var(--schatten); transform: translateY(-3px); }
.vorteil p { margin: 0; color: var(--text-2); font-size: .97rem; }
.vorteil__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blau-50); color: var(--blau); margin-bottom: 18px; }
@media (min-width: 640px) { .vorteile { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .warum { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .warum__intro { position: sticky; top: calc(var(--kopf-h) + 32px); } }

/* ── Alle Dienstleistungen ─────────────────────────────────── */
.dienste { display: grid; gap: 16px; }
.dienste__gruppe { padding: 26px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--linie); }
.dienste__titel { font-size: 1.1rem; margin-bottom: 16px; }
.dienste__titel a { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.dienste__titel a:hover { color: var(--blau); }
.dienste__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blau-50); color: var(--blau); }
.dienste__gruppe--gruen .dienste__icon { background: var(--gruen-50); color: var(--gruen); }
.dienste__gruppe .chips li { background: var(--grau-50); border-color: transparent; font-size: .86rem; }
@media (min-width: 640px) { .dienste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dienste { grid-template-columns: repeat(3, 1fr); } }

/* ── Ablauf ────────────────────────────────────────────────── */
.ablauf { display: grid; gap: 20px; counter-reset: schritt; }
.ablauf__schritt { position: relative; padding: 30px 26px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--linie); }
.ablauf__schritt p { margin: 0; color: var(--text-2); font-size: .97rem; }
.ablauf__nr { position: absolute; top: 20px; right: 24px; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--blau-100); line-height: 1; }
.ablauf__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blau); color: #fff; margin-bottom: 22px; box-shadow: 0 0 0 8px var(--blau-50); }
@media (min-width: 640px) { .ablauf { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .ablauf { grid-template-columns: repeat(4, 1fr); }
  .ablauf__schritt:not(:last-child)::after {
    content: ""; position: absolute; top: 58px; right: -21px; width: 22px; height: 2px;
    background: linear-gradient(90deg, var(--blau-200), transparent);
  }
}

/* ── Zielgruppen ───────────────────────────────────────────── */
.zielgruppen { display: grid; gap: 24px; }
.zielgruppe { padding: clamp(28px, 4vw, 44px); box-shadow: var(--schatten-s); }
.zielgruppe p { color: var(--text-2); }
.zielgruppe__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blau-50); color: var(--blau); margin-bottom: 22px; }
.zielgruppe--dunkel { background: var(--navy); border-color: var(--navy); color: rgb(255 255 255 / .75); }
.zielgruppe--dunkel .h3 { color: #fff; }
.zielgruppe--dunkel p, .zielgruppe--dunkel .hakenliste li { color: rgb(255 255 255 / .75); }
.zielgruppe--dunkel .zielgruppe__icon { background: var(--blau); color: #fff; }
.zielgruppe--dunkel .hakenliste .icon { background: rgb(255 255 255 / .1); color: var(--blau-400); }
.zielgruppe--dunkel .link-pfeil { color: var(--blau-400); }
@media (min-width: 768px) { .zielgruppen { grid-template-columns: 1fr 1fr; } }

/* ── Einsatzgebiete ────────────────────────────────────────── */
.gebiete { display: grid; gap: 48px; align-items: center; }
.gebiete__gruppen { display: grid; gap: 24px; margin: 2em 0 1.5em; }
.gebiete__karte { margin: 0; padding: clamp(16px, 3vw, 28px); background: linear-gradient(180deg, #fff, var(--grau-50)); }
.gebiete__karte svg { width: 100%; height: auto; overflow: visible; }
.gebiete__karte figcaption { text-align: center; font-size: .8rem; color: var(--text-3); margin-top: 8px; }
.karte__region { font-size: 15px; font-weight: 700; font-style: italic; fill: var(--text-3); opacity: .6; letter-spacing: .04em; }
.karte__route { fill: none; stroke: var(--blau); stroke-width: 2; stroke-dasharray: 6 8; opacity: .45; animation: route 30s linear infinite; }
.karte__ort circle { fill: var(--blau); stroke: #fff; stroke-width: 2; }
.karte__ort text { font-size: 14px; font-weight: 600; fill: var(--text-2); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.karte__ort--haupt circle { fill: var(--navy); stroke-width: 3; }
.karte__ort--haupt text { font-size: 17px; font-weight: 800; fill: var(--navy); }
.karte__puls { fill: var(--blau) !important; stroke: none !important; opacity: .3; transform-box: fill-box; transform-origin: center; animation: kartenpuls 2.4s ease-out infinite; }
@keyframes route { to { stroke-dashoffset: -280; } }
@keyframes kartenpuls { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.6); opacity: 0; } }
@media (min-width: 1024px) { .gebiete { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ── Über uns ──────────────────────────────────────────────── */
.ueber { display: grid; gap: 48px; align-items: center; }
.ueber__bild { position: relative; }
.ueber__bild .media { border-radius: var(--r-xl); box-shadow: var(--schatten-l); }
.ueber__siegel { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--r); box-shadow: var(--schatten); }
.ueber__siegel img { width: 48px; height: 48px; border-radius: 50%; }
.ueber__siegel strong { display: block; color: var(--navy); }
.ueber__siegel small { color: var(--text-3); font-size: .85rem; }
.ueber__text p { color: var(--text-2); }
.slogan-zeile { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--blau) !important; margin: 1.8em 0; }
@media (min-width: 1024px) { .ueber { grid-template-columns: .8fr 1.2fr; gap: 80px; } .ueber__bild { max-width: 460px; } }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-layout { display: grid; gap: 40px; }
.faq { display: grid; gap: 12px; }
.faq__eintrag { border: 1px solid var(--linie); border-radius: var(--r); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq__eintrag[open] { border-color: var(--blau-100); box-shadow: var(--schatten); }
.faq__eintrag summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blau-50); color: var(--blau); flex-shrink: 0; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq__plus .icon { width: 18px; height: 18px; }
.faq__eintrag[open] .faq__plus { transform: rotate(45deg); background: var(--blau); color: #fff; }
.faq__antwort { padding: 0 22px 20px; color: var(--text-2); }
.faq__antwort p { margin: 0; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } }

/* ═════════════════ KONTAKT & FORMULARE ═════════════════ */
.sektion--kontakt { background: linear-gradient(180deg, #fff, var(--blau-50)); }
.kontakt { display: grid; gap: 48px; align-items: start; }
.kontaktwege { display: grid; gap: 12px; margin: 2em 0 12px; }
.kontaktweg, .rueckruf-box summary {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--navy);
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.kontaktweg:hover { color: var(--navy); border-color: var(--blau-200); box-shadow: var(--schatten); transform: translateY(-2px); }
.kontaktweg small, .rueckruf-box summary small { display: block; font-size: .82rem; color: var(--text-3); font-weight: 600; }
.kontaktweg strong { font-size: 1.05rem; word-break: break-word; }
.kontaktweg__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blau); color: #fff; flex-shrink: 0; }
.kontaktweg__icon--gruen { background: #25a35a; }
.rueckruf-box { border-radius: var(--r); }
.rueckruf-box summary { cursor: pointer; list-style: none; }
.rueckruf-box summary::-webkit-details-marker { display: none; }
.rueckruf-box summary > span:nth-child(2) { flex: 1; }
.rueckruf-box summary .kontaktweg__icon { background: var(--navy); }
.rueckruf-box__pfeil { color: var(--text-3); transition: transform .3s var(--ease); }
.rueckruf-box[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rueckruf-box[open] .rueckruf-box__pfeil { transform: rotate(180deg); }
.rueckruf { display: grid; gap: 16px; padding: 20px 18px; background: #fff; border: 1px solid var(--linie); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.kontakt__formular { padding: clamp(22px, 4vw, 44px); }
@media (min-width: 1024px) { .kontakt { grid-template-columns: .8fr 1.2fr; gap: 64px; } .kontakt__info { position: sticky; top: calc(var(--kopf-h) + 32px); } }

.formular { display: grid; gap: 34px; }
.formular__falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.formular__titel { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 18px; padding: 0; letter-spacing: -.01em; }
.formular__titel small { font-size: .8rem; font-weight: 600; color: var(--text-3); }
.formular__nr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blau); color: #fff; font-size: .9rem; }
.formular__hinweis { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); background: var(--blau-50); padding: 12px 14px; border-radius: var(--r-s); margin-bottom: 18px; }
.formular__hinweis .icon { width: 18px; height: 18px; color: var(--blau); margin-top: 2px; }
.formular__raster { display: grid; gap: 18px; }
.formular__bereich:not([hidden]) { animation: hoch .5s var(--ease); }
.formular__abschluss { display: grid; gap: 16px; }
.formular__klein { font-size: .88rem; color: var(--text-3); margin: 0; text-align: center; }
@media (min-width: 640px) { .formular__raster { grid-template-columns: 1fr 1fr; } .feld--breit { grid-column: 1 / -1; } }

.feld { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.feld__label { font-size: .92rem; font-weight: 700; color: var(--navy); padding: 0; }
.feld__label small { font-weight: 500; color: var(--text-3); margin-left: 4px; }
.feld input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--linie); border-radius: 12px; background: #fff;
  font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.feld textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.feld input::placeholder, .feld textarea::placeholder { color: #98a2b3; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--blau-200); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgb(0 95 252 / .14); }
.feld .ist-fehlerhaft { border-color: var(--fehler) !important; }
.feld__select { position: relative; }
.feld__select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); }
.feld__select select { padding-right: 44px; cursor: pointer; }
.feld__fehler { margin: 6px 0 0; font-size: .87rem; font-weight: 600; color: var(--fehler); }

.pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.pille { position: relative; cursor: pointer; }
.pille input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pille span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--linie); background: #fff; font-size: .93rem; font-weight: 600; color: var(--text-2); transition: all .2s; }
.pille:hover span { border-color: var(--blau-200); }
.pille input:checked + span { background: var(--blau); border-color: var(--blau); color: #fff; }
.pille input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }

.leistungswahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.leistungswahl__option { position: relative; cursor: pointer; }
.leistungswahl__option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.leistungswahl__karte {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
  padding: 16px; border-radius: var(--r); border: 1.5px solid var(--linie); background: #fff;
  font-size: .93rem; font-weight: 700; color: var(--navy); line-height: 1.3;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.leistungswahl__karte .icon { width: 24px; height: 24px; color: var(--blau); }
.leistungswahl__option:hover .leistungswahl__karte { border-color: var(--blau-200); transform: translateY(-2px); }
.leistungswahl__option input:checked + .leistungswahl__karte { border-color: var(--blau); background: var(--blau-50); box-shadow: 0 0 0 3px rgb(0 95 252 / .12); }
.leistungswahl__option input:focus-visible + .leistungswahl__karte { outline: 3px solid var(--blau); outline-offset: 2px; }
@media (min-width: 640px) { .leistungswahl { grid-template-columns: repeat(4, 1fr); } }

.upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 2px dashed var(--blau-200); border-radius: var(--r); background: var(--blau-50); cursor: pointer; transition: border-color .2s, background-color .2s; }
.upload:hover, .upload.ist-drueber { border-color: var(--blau); background: #e6efff; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blau); flex-shrink: 0; box-shadow: var(--schatten-s); }
.upload__text { font-size: .95rem; color: var(--text-2); line-height: 1.45; }
.upload__text strong { color: var(--blau); }
.upload__text small { color: var(--text-3); }
.upload:focus-within { outline: 3px solid var(--blau); outline-offset: 2px; }
.upload__liste { display: flex; flex-wrap: wrap; gap: 10px; }
.upload__liste:empty { display: none; }
.upload__liste li { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--grau-100); box-shadow: var(--schatten-s); }
.upload__liste img { width: 100%; height: 100%; object-fit: cover; }
.upload__liste button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgb(1 27 66 / .75); color: #fff; cursor: pointer; }
.upload__liste button .icon { width: 14px; height: 14px; }
.upload__liste .upload__name { display: grid; place-items: center; height: 100%; padding: 6px; font-size: .7rem; text-align: center; color: var(--text-3); word-break: break-all; }

.haken { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blau); cursor: pointer; }

.formular__status { padding: 16px 18px; border-radius: var(--r); font-weight: 600; font-size: .96rem; display: flex; gap: 12px; align-items: flex-start; }
.formular__status .icon { margin-top: 2px; }
.formular__status--ok { background: #ecfdf3; color: var(--erfolg); border: 1px solid #abefc6; }
.formular__status--fehler { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.formular__status--info { background: var(--blau-50); color: var(--navy); border: 1px solid var(--blau-100); }
[data-senden][aria-busy="true"] { opacity: .7; pointer-events: none; }
[data-senden][aria-busy="true"] .icon { animation: drehen 1s linear infinite; }

.formular-erfolg { text-align: center; padding: 32px 8px; animation: hoch .6s var(--ease); }
.formular-erfolg__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--blau); color: #fff; box-shadow: 0 0 0 12px var(--blau-50); }
.formular-erfolg__icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.formular-erfolg p { color: var(--text-2); max-width: 46ch; margin-inline: auto; }

/* ═════════════════ UNTERSEITEN ═════════════════ */
.seitenkopf { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); background: radial-gradient(60% 80% at 90% 10%, var(--blau-50), transparent 70%), #fff; border-bottom: 1px solid var(--linie); }
.seitenkopf__innen { max-width: 820px; }
.seitenkopf .lead { margin-bottom: 1.6em; }
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.4rem; margin: 2.2em 0 .7em; }
.rechtstext h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.platzhalter-markierung { background: #fff4d6; color: #7a4b00; padding: .05em .35em; border-radius: 4px; font-weight: 600; }
.hinweisbox { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: #fffaeb; border: 1px solid #fedf89; color: #7a4b00; font-size: .95rem; margin-bottom: 2em; }
.hinweisbox .icon { color: #dc6803; margin-top: 2px; }

/* ═════════════════ FUSSBEREICH ═════════════════ */
.fuss { background: var(--navy); color: rgb(255 255 255 / .68); padding: clamp(64px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .96rem; position: relative; overflow: hidden; }
.fuss::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgb(0 95 252 / .22), transparent 70%); pointer-events: none; }
.fuss .container { position: relative; }
.fuss a { color: rgb(255 255 255 / .78); text-decoration: none; transition: color .2s; }
.fuss a:hover { color: #fff; }
.fuss__oben { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.fuss__logo img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 4px rgb(255 255 255 / .08); }
.fuss__slogan { margin: 20px 0 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: #fff; }
.fuss__text { max-width: 36ch; }
.fuss__titel { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.fuss__spalte ul { display: grid; gap: 10px; }
.fuss__kontakt li a, .fuss__kontakt li span { display: inline-flex; align-items: center; gap: 10px; }
.fuss__kontakt .icon { width: 18px; height: 18px; color: var(--blau-400); }
.fuss__orte { padding: 24px 0; border-bottom: 1px solid rgb(255 255 255 / .1); font-size: .88rem; line-height: 1.8; }
.fuss__orte span { color: #fff; font-weight: 700; margin-right: 6px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .88rem; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 20px; }
@media (min-width: 768px) { .fuss__oben { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .fuss__oben { grid-template-columns: 1.4fr 1fr 1.1fr .8fr 1.2fr; gap: 32px; } .fuss__marke { grid-column: auto; } }

/* ── Mobile Schnellleiste ──────────────────────────────────── */
.schnellleiste {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 800;
  display: flex; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgb(255 255 255 / .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--linie); box-shadow: 0 16px 40px -12px rgb(1 27 66 / .3);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.schnellleiste.ist-sichtbar { transform: none; }
.schnellleiste a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px; border-radius: 15px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.schnellleiste__tel, .schnellleiste__wa { color: var(--navy); background: var(--grau-100); }
.schnellleiste__wa span, .schnellleiste__tel span { display: none; }
.schnellleiste__cta { flex: 1; background: var(--blau); color: #fff !important; }
.schnellleiste .icon { width: 20px; height: 20px; }
@media (min-width: 400px) { .schnellleiste__tel span { display: inline; } }
@media (min-width: 768px) { .schnellleiste { display: none; } }
@media (max-width: 767px) { .fuss { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* ── Bewegung reduzieren ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__anim { opacity: 1; transform: none; }
  .intro { display: none !important; }
}

/* ── Druck ─────────────────────────────────────────────────── */
@media print {
  .kopf, .schnellleiste, .intro, .fuss__oben, .formular, .rueckruf-box { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ═════════════════ LEISTUNGSSEITEN ═════════════════ */
/* Akzentfarbe je Bereich (Gartenservice = Grün) */
:root { --a: var(--blau); --a-600: var(--blau-600); --a-50: var(--blau-50); --a-100: var(--blau-100); }
.akzent-gruen { --a: var(--gruen); --a-600: var(--gruen-600); --a-50: var(--gruen-50); --a-100: var(--gruen-100); }
.akzent-gruen .bkopf .eyebrow--chip, .akzent-gruen .leistung__icon, .akzent-gruen .vorteil__icon { background: var(--gruen-50); color: var(--gruen); border-color: var(--gruen-100); }
.akzent-gruen .bkopf .text-blau, .akzent-gruen .intro-block .text-blau, .akzent-gruen #leistungen .text-blau { color: var(--gruen); }
.akzent-gruen .leistung .hakenliste .icon, .akzent-gruen .blick .hakenliste .icon { color: var(--gruen); background: var(--gruen-50); }
.akzent-gruen .bkopf .media--platzhalter { background: radial-gradient(circle at 85% 90%, var(--gruen-100), transparent 55%), linear-gradient(135deg, var(--gruen-50), #f9fdfb 55%, var(--gruen-100)); }
.akzent-gruen .bkopf .media__icon { color: var(--gruen); }

.text-2 { color: var(--text-2); }
.sektion--eng { padding: clamp(40px, 6vw, 72px) 0; }

.brotkrumen { margin-bottom: clamp(24px, 4vw, 40px); font-size: .875rem; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brotkrumen li { display: flex; align-items: center; gap: 6px; color: var(--text-3); }
.brotkrumen li + li::before { content: "›"; color: var(--text-3); }
.brotkrumen a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.brotkrumen a:hover { color: var(--blau); }
.brotkrumen [aria-current] { color: var(--navy); font-weight: 600; }

.bkopf { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.bkopf__hintergrund { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 90% 20%, var(--a-50), transparent 70%), radial-gradient(40% 50% at 0% 100%, #f5f8ff, transparent 70%); }
.bkopf__innen { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.bkopf .h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .45em; }
.bkopf .lead { margin-bottom: 1.4em; }
.hakenliste--hero { margin: 0 0 2em; }
.hakenliste--hero li { color: var(--text); font-weight: 600; }
.bkopf__bild { position: relative; }
.media--kopf { --ar: 4 / 3; border-radius: var(--r-xl); box-shadow: var(--schatten-l); }
.bkopf__slogan { position: absolute; left: 20px; bottom: -22px; right: 20px; max-width: 380px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgb(255 255 255 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--r); box-shadow: var(--schatten-l); }
.bkopf__slogan img { width: 44px; height: 44px; border-radius: 50%; }
.bkopf__slogan small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.bkopf__slogan strong { color: var(--navy); font-size: .98rem; line-height: 1.3; }
@media (min-width: 1024px) { .bkopf__innen { grid-template-columns: 1.05fr .95fr; } }

.intro-block { display: grid; gap: 40px; align-items: start; }
.intro-block__text p:not(.eyebrow) { color: var(--text-2); font-size: 1.075rem; }
.blick { padding: 28px; }
.blick .h4 { display: flex; align-items: center; gap: 10px; }
.blick .h4 .icon { color: var(--a); }
@media (min-width: 1024px) { .intro-block { grid-template-columns: 1.3fr .7fr; gap: 72px; } .blick { position: sticky; top: calc(var(--kopf-h) + 32px); } }

.leistungsraster { display: grid; gap: 20px; }
.leistung { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--linie); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.leistung:hover { border-color: var(--a-100); box-shadow: var(--schatten); transform: translateY(-3px); }
.leistung p { color: var(--text-2); font-size: .97rem; margin-bottom: .6em; }
.leistung .hakenliste { margin: .6em 0 1em; }
.leistung .hakenliste li { font-size: .94rem; }
.leistung .link-pfeil { margin-top: auto; color: var(--a); }
.leistung__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blau-50); color: var(--blau); margin-bottom: 18px; }
@media (min-width: 640px) { .leistungsraster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .leistungsraster { grid-template-columns: repeat(3, 1fr); } }

.hinweis-gross { display: flex; gap: 20px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); background: linear-gradient(135deg, var(--blau-50), #fff); border: 1px solid var(--blau-100); }
.hinweis-gross p { color: var(--text-2); }
.hinweis-gross__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; flex-shrink: 0; }
.hinweis-gross__liste { display: grid; gap: 8px; margin-top: .6em; }
.hinweis-gross__liste li { display: flex; gap: 10px; align-items: center; color: var(--text-2); font-size: .97rem; }
.hinweis-gross__liste .icon { width: 18px; height: 18px; color: var(--fehler); stroke-width: 2.4; }
@media (max-width: 639px) { .hinweis-gross { flex-direction: column; } }

.zweispaltig { display: grid; gap: 48px; }
.hakenliste--zweispaltig { display: grid; gap: .55em; }
@media (min-width: 640px) { .hakenliste--zweispaltig { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .zweispaltig { grid-template-columns: 1fr 1fr; gap: 72px; } }

.verwandt { display: grid; gap: 14px; margin-top: 24px; }
.verwandt__link { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--navy); height: 100%; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.verwandt__link:hover { color: var(--navy); border-color: var(--blau-200); box-shadow: var(--schatten); transform: translateY(-2px); }
.verwandt__link > span:nth-child(2) { flex: 1; }
.verwandt__link strong { display: block; }
.verwandt__link small { display: block; color: var(--text-3); font-size: .88rem; }
.verwandt__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-50); color: var(--blau); flex-shrink: 0; }
.verwandt__pfeil { color: var(--blau); transition: transform .3s var(--ease); }
.verwandt__link:hover .verwandt__pfeil { transform: translateX(4px); }
@media (min-width: 768px) { .verwandt { grid-template-columns: repeat(3, 1fr); } }

/* ── Vorher-Nachher-Vergleich ──────────────────────────────── */
.vergleich { --pos: 50%; position: relative; margin: 0 0 24px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--schatten-l); aspect-ratio: 16 / 10; max-width: 1000px; user-select: none; -webkit-user-select: none; }
.vergleich__bild { position: absolute; inset: 0; }
.vergleich__bild img, .vergleich__bild .media { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.vergleich__vorher { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich--platzhalter .vergleich__vorher .media { padding-right: 50%; }
.vergleich--platzhalter .vergleich__nachher .media { padding-left: 50%; }
.media--grau { background: linear-gradient(135deg, #eceff4, #f7f8fa 60%, #e3e7ee) !important; }
.media--grau .media__icon { color: var(--text-3); }
.vergleich__label { position: absolute; top: 16px; padding: .35em .9em; border-radius: 999px; background: rgb(1 27 66 / .75); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.vergleich__label--links { left: 16px; }
.vergleich__label--rechts { right: 16px; background: var(--blau); }
.vergleich--platzhalter .media__hinweis { top: auto; bottom: 16px; }
.vergleich__griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgb(0 0 0 / .25); }
.vergleich__griff::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: var(--schatten); color: var(--navy); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.vergleich__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.vergleich__regler:focus-visible + * , .vergleich:focus-within { outline: 3px solid var(--blau); outline-offset: 4px; }

.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galerie a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie a:hover img { transform: scale(1.05); }
@media (min-width: 1024px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ── Über uns ──────────────────────────────────────────────── */
.werte { display: grid; gap: 16px; }
@media (min-width: 640px) { .werte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .werte { grid-template-columns: repeat(4, 1fr); } }

/* ═════════════════ STARTSEITEN-HERO MIT GOSLAR-MOTIV ═════════════════ */
/* Kaiserpfalz Goslar als Hintergrund, Marineblau-/Blau-Verlauf für Lesbarkeit */
.hero--goslar { isolation: isolate; background: var(--navy); color: #fff; }
.hero--goslar .hero__hintergrund { background: var(--navy); isolation: isolate; }
.hero__stadtbild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; z-index: 0; }
/* Farbton an die Markenfarben angleichen */
.hero--goslar .hero__hintergrund::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--navy); mix-blend-mode: color; opacity: .42; }
.hero--goslar .hero__hintergrund::after {
  z-index: 2; -webkit-mask-image: none; mask-image: none; background-size: auto;
  background:
    linear-gradient(180deg, rgb(1 27 66 / .45) 0%, transparent 28%, transparent 62%, rgb(1 27 66 / .92) 100%),
    linear-gradient(100deg, rgb(1 27 66 / .95) 0%, rgb(1 27 66 / .86) 38%, rgb(1 27 66 / .42) 70%, rgb(0 95 252 / .3) 100%);
}
.hero--goslar .hero__titel { color: #fff; }
.hero--goslar .text-verlauf { background: linear-gradient(100deg, #8ab8ff 10%, #d6e6ff 55%, #8ab8ff 90%); -webkit-background-clip: text; background-clip: text; }
.hero--goslar .hero__lead { color: rgb(255 255 255 / .84); }
.hero--goslar .eyebrow--chip { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero--goslar .hero__tel { color: #fff; }
.hero--goslar .hero__tel:hover { color: var(--blau-200); }
.hero--goslar .hero__tel small { color: rgb(255 255 255 / .7); }
.hero--goslar .hero__tel-icon { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .28); color: #fff; box-shadow: none; }
.hero--goslar .hero__emblem img { box-shadow: 0 40px 90px -25px rgb(0 0 0 / .6), 0 0 0 10px rgb(255 255 255 / .12), 0 0 0 11px rgb(255 255 255 / .3); }
.hero--goslar .hero__ring--1 { border-color: rgb(255 255 255 / .3); }
.hero--goslar .hero__ring--2 { border-color: rgb(255 255 255 / .1); }
.hero--goslar .hero__funke { color: #8ab8ff; }
.hero--goslar .hero__funke--3 { color: #fff; }
.hero--goslar .vertrauen { border-top-color: rgb(255 255 255 / .16); }
.hero--goslar .vertrauen li { color: rgb(255 255 255 / .75); }
.hero--goslar .vertrauen strong { color: #fff; }
.hero--goslar .vertrauen .icon { background: rgb(255 255 255 / .1); color: #a9c9ff; }
.hero__ortsangabe { position: absolute; right: var(--rand); bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 6px; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: rgb(255 255 255 / .6); }
.hero__ortsangabe .icon { width: 14px; height: 14px; }
@media (max-width: 1023px) {
  .hero__stadtbild { object-position: 55% 50%; }
  .hero--goslar .hero__hintergrund::after { background: linear-gradient(180deg, rgb(1 27 66 / .9) 0%, rgb(1 27 66 / .78) 45%, rgb(1 27 66 / .82) 75%, rgb(1 27 66 / .95) 100%); }
}
