/* ==========================================================================
   Jorteo Glanz Gebäudereinigung
   Formsystem: Buttons = Pill, Karten/Medien = 20px, Eingabefelder = 12px
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a2540;
  --navy-2: #0f2f52;
  --blue: #0b63ce;
  --blue-dark: #0852ab;
  --blue-soft: #e8f1fc;
  --ink: #16263a;
  --muted: #55667b;
  --line: #dfe6ef;
  --bg: #fbfcfe;
  --bg-alt: #f2f6fb;
  --white: #ffffff;

  --r-card: 20px;
  --r-input: 12px;
  --shadow: 0 18px 50px -20px rgba(10, 37, 64, 0.28);
  --shadow-sm: 0 6px 20px -10px rgba(10, 37, 64, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Sicherung: nichts darf die Seite auf dem Handy breiter als den Bildschirm machen
   (sonst zoomt der Browser heraus und fixierte Elemente wie der Cookie-Banner rutschen aus dem Bild) */
html, body { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); max-width: 18ch; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-top: 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s, border-color .25s;
}
.btn i { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 99, 206, .7); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 16px 30px -12px rgba(11, 99, 206, .75); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: #c9d5e3; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(251, 252, 254, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(10,37,64,.45); }
.wordmark__name b, .wordmark__name span, .wordmark__tag, .nav__links a, .nav__phone i, .nav__toggle { transition: color .3s, background-color .3s, border-color .3s; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .wordmark__name b { color: #fff; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .wordmark__name span { color: #8cc0ff; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .wordmark__tag { color: rgba(255, 255, 255, .72); }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .nav__links a:not(.btn) { color: #fff; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .nav__links a:not(.btn)::after { background: #fff; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .nav__phone i { color: #8cc0ff; }
body:not(.menu-open) .nav--hero:not(.is-scrolled) .nav__toggle { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-size: 1.5rem; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark__name b { font-weight: 800; color: var(--navy); }
.wordmark__name span { font-weight: 600; color: var(--blue); }
.wordmark__tag { font-size: .62rem; font-weight: 700; letter-spacing: .22em; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: .95rem; }
.nav__links a:not(.btn) { position: relative; color: var(--ink); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav__phone i { color: var(--blue); font-size: 1.2rem; }
.nav__cta { padding: 11px 20px; font-size: .92rem; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.4rem; align-items: center; justify-content: center; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: 28px 24px 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a:not(.btn) { font-size: 1.5rem; font-weight: 700; color: var(--navy); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
.mobile-menu__phone { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }

/* ---------- Hero (vollflächiges Video, Text darüber) ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--navy); color: #fff; padding: calc(var(--nav-h) + 48px) 0 140px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, .93) 0%, rgba(10, 37, 64, .76) 38%, rgba(10, 37, 64, .3) 72%, rgba(10, 37, 64, .18) 100%),
    linear-gradient(180deg, rgba(10, 37, 64, .5) 0%, transparent 24%, transparent 68%, rgba(10, 37, 64, .7) 100%);
}
/* Glanz-Lichtstreif: einmaliger Glanzeffekt über das Video, Anspielung auf den Namen */
.hero__shine {
  position: absolute; top: -20%; bottom: -20%; left: -30%; width: 22%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .2) 50%, transparent);
  transform: skewX(-18deg); opacity: 0;
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow i { font-size: 1.05rem; }
.hero .eyebrow { color: #8cc0ff; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 22px; line-height: 1.04; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: normal; color: #8cc0ff; }
.hero__sub { font-size: 1.2rem; color: #d3dfec; margin-top: 26px; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.hero__badge {
  position: absolute; z-index: 1; bottom: 44px; right: max(24px, calc((100% - var(--container)) / 2 + 24px));
  display: flex; align-items: center; gap: 14px; max-width: 380px; padding: 16px 20px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 50px -20px rgba(0, 0, 0, .5);
}
.hero__badge-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.hero__badge strong { display: block; color: #fff; font-size: .98rem; line-height: 1.25; }
.hero__badge small { color: #c9d7e6; font-size: .85rem; }
@media (prefers-reduced-transparency: reduce) {
  .hero__badge { background: var(--navy-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Kennzahlen ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact__num { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact__num small { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-left: 2px; }
.fact__label { color: var(--muted); font-size: .94rem; }

/* ---------- Leistungen (interaktive Übersicht) ---------- */
.services__head { margin-bottom: 56px; }
.services__grid > * { min-width: 0; }
.services__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.svc-list { display: flex; flex-direction: column; }
.svc-tab {
  position: relative; display: flex; align-items: center; gap: 18px; width: 100%; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 8px 22px 22px; color: var(--ink);
  transition: background-color .3s;
}
.svc-tab:first-child { border-top: 1px solid var(--line); }
.svc-tab::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--blue);
  transform: scaleY(0); transition: transform .45s var(--ease);
}
.svc-tab__icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.55rem; background: var(--bg-alt); color: var(--navy); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.svc-tab__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.svc-tab__arrow { margin-left: auto; font-size: 1.25rem; color: var(--blue); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.svc-tab:hover .svc-tab__icon { transform: scale(1.06); }
.svc-tab.is-active { background: #fff; }
.svc-tab.is-active::before { transform: scaleY(1); }
.svc-tab.is-active .svc-tab__icon { background: var(--blue); color: #fff; }
.svc-tab.is-active .svc-tab__arrow { opacity: 1; transform: none; }
.svc-tab__body { display: none; }

.svc-panel { position: sticky; top: calc(var(--nav-h) + 28px); background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.svc-panel__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.svc-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc-panel__media img.is-active { opacity: 1; transform: scale(1); }
.svc-panel__body { padding: 32px 36px 36px; }
.svc-content { display: none; }
.svc-content.is-active { display: block; animation: fadeUp .55s var(--ease) both; }
.svc-content h3 { font-size: 1.6rem; }
.svc-content p { color: var(--muted); margin-top: 10px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 22px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; line-height: 1.45; }
.checklist i { color: var(--blue); font-size: 1.1rem; margin-top: 1px; flex: none; }
.svc-content__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.svc-content__for { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.svc-content__for i { color: var(--blue); font-size: 1.15rem; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.textlink i { transition: transform .35s var(--ease); }
.textlink:hover i { transform: translateX(4px); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Gewerbe-Band ---------- */
.b2b { background: var(--navy); color: #fff; padding: 88px 0 0; overflow: hidden; position: relative; }
.b2b::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 99, 206, .45), transparent 65%); pointer-events: none;
}
.b2b__inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: end; }
.b2b h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); max-width: 20ch; }
.b2b p { color: #b9c8da; margin-top: 16px; max-width: 58ch; font-size: 1.06rem; }
.marquee { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 34px; font-size: 1.25rem; font-weight: 700; color: #e3ebf5; white-space: nowrap; }
.marquee__item i { color: #6ea8ef; font-size: 1.4rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about__img--small { position: absolute; width: 46%; aspect-ratio: 1; right: -34px; bottom: -40px; border: 6px solid var(--bg); }
.about__img--small img { height: 100%; }
.about__text p { color: var(--muted); margin-top: 18px; max-width: 58ch; }
.about__text p.strong { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.signature__mono { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .02em; }
.signature strong { display: block; color: var(--navy); font-size: 1.08rem; }
.signature small { color: var(--muted); font-size: .92rem; }

/* ---------- Warum (Bento) ---------- */
.why__head { margin-bottom: 48px; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tile { border-radius: var(--r-card); padding: 32px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tile i { font-size: 2rem; color: var(--blue); }
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--muted); font-size: .98rem; }
.tile--image { grid-row: span 2; padding: 0; border: 0; overflow: hidden; position: relative; min-height: 460px; }
.tile--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--image:hover img { transform: scale(1.04); }
.tile--image .tile__cap { position: relative; margin-top: auto; padding: 32px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 37, 64, .88)); }
.tile--image .tile__cap h3 { color: #fff; }
.tile--image .tile__cap p { color: #d5e1ee; }
.tile--blue { background: var(--blue); border-color: var(--blue); }
.tile--blue i, .tile--blue h3 { color: #fff; }
.tile--blue p { color: #dce9fa; }
.tile--navy { background: var(--navy); border-color: var(--navy); }
.tile--navy i { color: #6ea8ef; }
.tile--navy h3 { color: #fff; }
.tile--navy p { color: #b9c8da; }

/* ---------- Einsatzgebiet ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.area__cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.area__cities li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .94rem; color: var(--navy); }
.area__cities li.is-home { background: var(--navy); border-color: var(--navy); color: #fff; }
.area__note { margin-top: 28px; }

.radar { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.radar__ring { position: absolute; border-radius: 50%; border: 1px solid #c8d8ec; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.radar__ring--1 { width: 20%; height: 20%; background: rgba(11, 99, 206, .06); }
.radar__ring--2 { width: 60%; height: 60%; }
.radar__ring--3 { width: 100%; height: 100%; border-style: dashed; }
.radar__pulse { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(11, 99, 206, .35); transform: translate(-50%, -50%) scale(.1); opacity: 0; animation: pulse 4.2s var(--ease) infinite; }
.radar__pulse:nth-of-type(2) { animation-delay: 2.1s; }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(.1); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.radar__label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 2px 6px; }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .88rem; color: var(--navy); white-space: nowrap; }
.pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(11, 99, 206, .18); flex: none; }
.pin--home { flex-direction: column; gap: 6px; font-size: 1rem; }
.pin--home::before { display: none; }
.pin--home span.home-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow-sm); }

/* ---------- Ablauf ---------- */
.steps__head { margin-bottom: 64px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps__line { position: absolute; left: 28px; right: calc((100% + 160px) / 3 - 108px); top: 28px; height: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-visible .steps__line span { transform: scaleX(1); }
.step { position: relative; }
.step__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 1.5rem; color: var(--navy); position: relative; z-index: 1; transition: background-color .5s, border-color .5s, color .5s; }
.steps.is-visible .step__icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps.is-visible .step:nth-child(3) .step__icon { transition-delay: .5s; }
.steps.is-visible .step:nth-child(4) .step__icon { transition-delay: 1s; }
.step h3 { font-size: 1.35rem; margin-top: 26px; }
.step p { color: var(--muted); margin-top: 10px; max-width: 34ch; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact__list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.35rem; flex: none; transition: transform .4s var(--ease); }
.contact__item:hover .contact__item-icon { transform: rotate(-8deg) scale(1.05); }
.contact__item small { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.contact__item a, .contact__item span { font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.contact__item a:hover { color: var(--blue); }
.hours { margin-top: 36px; padding: 24px 26px; border-radius: var(--r-card); background: var(--bg-alt); }
.hours h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.hours h3 i { color: var(--blue); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 14px 0 0; font-size: .95rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }

.form-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 44px; border: 1px solid var(--line); }
.form-card h3 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid #cdd8e5; border-radius: var(--r-input); padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2355667b' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: #7a8898; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9bbd0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 99, 206, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field__error { display: none; color: #b3261e; font-size: .85rem; font-weight: 600; }
.field.has-error .field__error { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error { color: #b3261e; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__submit small { color: var(--muted); font-size: .88rem; }
.hidden { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c8da; padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .wordmark__name b { color: #fff; }
.footer .wordmark__name span { color: #6ea8ef; }
.footer .wordmark__tag { color: #8ea3bc; }
.footer__about { margin-top: 20px; max-width: 34ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8ea3bc; }
.footer__bottom a { color: #b9c8da; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal address { font-style: normal; color: var(--ink); margin-top: 12px; line-height: 1.7; }
.thanks { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px 24px 80px; }
.thanks__icon { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 2.6rem; animation: pop .8s var(--ease) both; }
.thanks p { color: var(--muted); margin: 16px auto 32px; max-width: 46ch; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Scroll-Reveal & Intro-Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .js .hero h1 .line > span { transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .js .hero .eyebrow, .js .hero__sub, .js .hero__ctas { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
  .js .hero .eyebrow { animation-delay: .05s; }
  .js .hero__sub { animation-delay: .35s; }
  .js .hero__ctas { animation-delay: .5s; }
  .js .hero__bg { opacity: 0; animation: fadeIn 1.2s var(--ease) forwards; }
  .js .hero__bg video { transform: scale(1.12); animation: zoomOut 2.6s var(--ease) forwards; }
  .js .hero__shine { animation: shine 1.8s var(--ease) 1.1s forwards; }
  .js .hero__badge { opacity: 0; transform: translateY(20px); animation: badgeIn .9s var(--ease) 1s forwards; }

  .js .pin { opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translate(-50%, -30%); transition-delay: calc(var(--d, 0) * 120ms + 200ms); }
  .js .radar.is-visible .pin { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes zoomOut { to { transform: scale(1); } }
@keyframes shine { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 1; transform: skewX(-18deg) translateX(760%); } }
@keyframes badgeIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .radar__pulse { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a:not(.btn):not(.nav__phone) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 48px; min-height: 92dvh; }
  .about__grid, .area__grid, .contact__grid, .b2b__inner { grid-template-columns: 1fr; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 37, 64, .72) 0%, rgba(10, 37, 64, .62) 45%, rgba(10, 37, 64, .9) 100%); }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 3.6rem); }
  .hero h1 .line { white-space: normal; }
  .hero__badge { position: relative; right: auto; bottom: auto; align-self: flex-start; margin: 40px 24px 0; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  /* Leistungen als Akkordeon */
  .services__grid { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-tab__arrow { opacity: 1; transform: rotate(90deg); transition: transform .4s var(--ease); }
  .svc-tab.is-active .svc-tab__arrow { transform: rotate(-90deg); }
  .svc-item.is-open .svc-tab__body { display: block; animation: fadeUp .5s var(--ease) both; }
  .svc-tab__body { padding: 4px 4px 28px; border-bottom: 1px solid var(--line); }
  .svc-tab__body img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; margin-bottom: 18px; }
  .svc-tab__body p { color: var(--muted); }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile--image { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .about__media { max-width: 560px; margin-bottom: 40px; }
  .about__img--small { right: -8px; }
  .radar { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps__line { display: none; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; left: 27px; top: 56px; bottom: -36px; width: 2px; background: var(--blue);
    transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease) .3s;
  }
  .steps.is-visible .step:not(:last-child)::before { transform: scaleY(1); }
  .steps.is-visible .step:nth-child(3)::before { transition-delay: .8s; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
  .step h3 { margin-top: 12px; }
  .step p { grid-column: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero__badge { max-width: calc(100% - 32px); margin: 32px 16px 0; padding: 12px 14px; }
  .fact { padding: 24px 16px; }
  .fact__num { font-size: 1.8rem; }
  .checklist { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 26px; }
  .form-card { padding: 28px 20px; }
  .form { grid-template-columns: 1fr; }
  /* Auf kleinen Displays nur Punkte, die Städte stehen als Liste darüber */
  .pin:not(.pin--home) { font-size: 0; gap: 0; }
  .pin--home { font-size: .88rem; }
  .radar__label { font-size: .72rem; }
  .pin--home span.home-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .marquee__item { font-size: 1.05rem; padding: 0 22px; }
  .about__img--small { width: 42%; bottom: -28px; }
}

/* Parallaxe im Über-uns-Bild über CSS Scroll-Driven Animations (kein Scroll-Listener) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about__img:not(.about__img--small) img { animation: parallax linear both; animation-timeline: view(); }
  }
}
@keyframes parallax { from { transform: translateY(0); } to { transform: translateY(-13%); } }

/* ---------- Cookie-Banner (kompakt, ohne Seiten-Abdunklung) ---------- */
.cc-backdrop { display: none; }
.cc [hidden] { display: none !important; }
.cc {
  position: fixed; z-index: 91; left: 20px; bottom: 20px; width: min(360px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px -18px rgba(10, 37, 64, .45); padding: 18px 18px 16px;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.cc.show { opacity: 1; visibility: visible; transform: none; }
.cc h2 { font-size: 1rem; letter-spacing: -0.01em; }
.cc p { color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: 6px; }
.cc a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cc__opts { margin-top: 12px; display: grid; gap: 8px; }
.cc__opt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.cc__opt p { margin-top: 4px; font-size: .76rem; }
.cc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--navy); font-size: .86rem; }
.cc__fixed { font-size: .74rem; font-weight: 700; color: var(--blue); }
.cc__sw { position: relative; width: 38px; height: 22px; flex: none; cursor: pointer; }
.cc__sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc__sw span { position: absolute; inset: 0; border-radius: 999px; background: #c5d0dd; transition: background-color .25s; pointer-events: none; }
.cc__sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.cc__sw input:checked + span { background: var(--blue); }
.cc__sw input:checked + span::after { transform: translateX(16px); }
.cc__sw input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cc__actions .btn { justify-content: center; padding: 9px 12px; font-size: .82rem; box-shadow: none; }
.cc__actions .btn:hover { transform: none; }
.cc__actions #ccSave { grid-column: 1 / -1; }
.cc__link { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--muted); font-weight: 600; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  /* Handy: flache Leiste am unteren Rand des SICHTBAREN Bereichs (per visualViewport, siehe consent.js),
     Buttons bleiben immer sichtbar, nur der Inhalt darüber scrollt */
  .cc {
    left: 0; right: 0; bottom: var(--cc-bottom, 0px); width: auto;
    max-height: min(75svh, calc(var(--cc-vvh, 100svh) - 12px));
    border-radius: 16px 16px 0 0; border-width: 1px 0 0;
    padding: 12px 14px 0;
    box-shadow: 0 -10px 30px -12px rgba(10, 37, 64, .35);
  }
  .cc h2 { font-size: .92rem; }
  .cc p { font-size: .74rem; line-height: 1.45; margin-top: 4px; }
  .cc__link { position: absolute; top: 13px; right: 14px; margin: 0; font-size: .74rem; }
  .cc__opts { margin-top: 10px; gap: 6px; }
  .cc__opt { padding: 8px 10px; }
  .cc__opt p { font-size: .72rem; margin-top: 2px; }
  .cc__actions {
    position: sticky; bottom: 0; z-index: 1; background: #fff;
    margin-top: 8px; gap: 8px; padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
  }
  .cc__actions .btn { padding: 10px 10px; font-size: .82rem; min-height: 42px; }
}
