/* ═══════════════════════════════════════════════════════════════════
   PURIMAX REDESIGN — "Klarblau"
   Neue visuelle Welt für die Startseite: Sora + Manrope, tiefes
   Tinten-Navy + elektrisches Blau, schwebende Pill-Navigation,
   Bento-Grids, getönte Schatten. Lädt nach den Inline-Styles und
   überschreibt sie gezielt.
   ═══════════════════════════════════════════════════════════════════ */

/* ── SCHRIFTEN ─────────────────────────────────────────────────────
   Remap: 'Poppins' → Sora (Display), 'Open Sans' → Manrope (Body).
   Diese Deklarationen laden NACH fonts.css und gewinnen dadurch —
   jede bestehende font-family-Regel nutzt automatisch die neuen
   Schnitte. Selbst gehostet, DSGVO-konform. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/sora-v17-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/sora-v17-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/sora-v17-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/sora-v17-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/sora-v17-latin-800.woff2') format('woff2'); }

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/manrope-v20-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-v20-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-v20-latin-700.woff2') format('woff2'); }

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --blue:       #1D5BFF;
  --blue-light: #EDF2FF;
  --blue-mid:   #D9E4FF;
  --blue-dark:  #0B3ADB;
  --ink:        #0A1733;
  --ink-deep:   #060E22;
  --black:      #0A1733;
  --gray:       #5B6B85;
  --gray-light: #EFF3FA;
  --border:     #DCE4F2;
  --white:      #FFFFFF;
  --bg:         #F5F7FC;
  --green:      #0FA968;
  --radius:     18px;
  --shadow-sm:  0 1px 2px rgba(10,23,51,.05), 0 4px 14px rgba(10,23,51,.05);
  --shadow:     0 2px 6px rgba(10,23,51,.04), 0 18px 44px -12px rgba(29,91,255,.22);
  --grad-blue:  linear-gradient(135deg, #2E6BFF 0%, #0B3ADB 100%);
  --grad-ink:   linear-gradient(150deg, #0F2049 0%, #060E22 100%);
}

/* Seiten-Grund im Hero-Ton: die Zone hinter der schwebenden Nav und der
   Overscroll-Bereich zeigen sonst ein weißes Band über dem hellblauen Hero */
html { background: #F2F6FF; }
body {
  color: var(--ink);
  background: #F2F6FF;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #1D5BFF; color: #fff; }
::-moz-selection { background: #1D5BFF; color: #fff; }
input, select, textarea { caret-color: #1D5BFF; }
input[type="checkbox"], input[type="radio"] { accent-color: #1D5BFF; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible { outline-color: #1D5BFF; }

/* ── NAVIGATION: schwebende Pill-Bar ──────────────────────────────── */
body > nav {
  position: sticky; top: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 14px 16px 0;
  transition: padding 260ms cubic-bezier(.23,1,.32,1);
}
body > nav.nav-scrolled { box-shadow: none; padding-top: 10px; }
.nav-inner {
  max-width: 1200px;
  height: 66px;
  padding: 0 12px 0 24px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(220,228,242,.9);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(10,23,51,.04), 0 12px 32px -8px rgba(10,23,51,.10);
  transition: height 260ms cubic-bezier(.23,1,.32,1), box-shadow 260ms ease;
}
nav.nav-scrolled .nav-inner {
  height: 58px;
  box-shadow: 0 2px 4px rgba(10,23,51,.05), 0 18px 44px -10px rgba(10,23,51,.16);
}
.logo { font-size: 1.42rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.logo::before {
  width: 26px; height: 26px; border-radius: 9px;
  background: var(--grad-blue);
  box-shadow: 0 4px 12px rgba(29,91,255,.35);
  margin-right: 11px;
  /* Funken-Glyph statt Punkt */
  content: '';
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.logo span { color: var(--blue); }
.nav-left { gap: 34px; }
.nav-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem; font-weight: 600;
  color: #33435F;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-links a::after { display: none; }
/* Dropdown-Link: Platz für den Chevron rechts vom Text */
.nav-links .nav-dropdown > a { padding-right: 32px; }
.nav-chevron { right: 12px; }
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-submenu { border-radius: 22px; border-color: var(--border); box-shadow: 0 24px 60px rgba(10,23,51,.16), 0 4px 12px rgba(10,23,51,.05); }
/* Breadcrumb der Unterseiten: sitzt jetzt IN der Pill-Bar — eigene Hülle weg */
.nav-inner .breadcrumb { background: transparent; border: none; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-inner .breadcrumb a:hover { color: var(--blue); }
/* Grid-Nav der Unterseiten: CTA nie über die 1fr-Spalte strecken */
.nav-inner > .nav-cta, .nav-inner > .nav-right { justify-self: end; }
.nav-sub-icon { border-radius: 14px; }
.nav-phone {
  border: none;
  background: var(--gray-light);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; font-size: .88rem;
  padding: 10px 16px;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--blue-light); }
.nav-cta {
  background: var(--grad-blue);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  padding: 11px 24px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(29,91,255,.35), inset 0 1px 0 rgba(255,255,255,.18);
}
.nav-cta:hover { background: var(--grad-blue); filter: brightness(1.08); transform: translateY(-1px); }

/* Responsive-Fix: die Leiste bricht auf keiner Breite mehr um */
@media (max-width: 1200px) {
  .nav-left { gap: 20px; }
  .nav-links a { padding: 9px 10px; }
  .nav-phone { display: none; }
}
@media (max-width: 1000px) {
  .nav-left .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-inner { padding-left: 20px; }
  .nav-right { margin-left: auto; margin-right: 10px; }
  .mobile-menu {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(10,23,51,.18);
    overflow: hidden;
    z-index: 199;
    flex-direction: column;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 15px 24px; text-decoration: none; color: var(--ink);
    font-size: .96rem; font-weight: 600; border-bottom: 1px solid var(--gray-light);
  }
  .mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }
  .mobile-menu .mobile-phone { color: var(--blue); border-bottom: none; }
  .mobile-menu .mobile-cta {
    margin: 10px 18px 18px; padding: 14px; text-align: center;
    background: var(--grad-blue); color: var(--white); border-radius: 999px;
    font-weight: 700; border-bottom: none;
  }
}
@media (max-width: 640px) {
  body > nav { padding: 10px 10px 0; }
  .nav-inner { height: 60px; gap: 10px; }
  .nav-cta { font-size: .82rem; padding: 9px 15px; }
  .logo { font-size: 1.28rem; }
  /* CTA bleibt auch mobil sichtbar (Inline-CSS versteckt sonst .nav-right) */
  .nav-right { display: flex; }
  .nav-right .nav-phone { display: none; }
  /* Logo bleibt sichtbar (Inline-CSS versteckt .nav-left ab 640px) */
  .nav-left { display: flex; }
  .nav-left .nav-links { display: none; }
}
@media (max-width: 360px) {
  /* Nur auf sehr schmalen Geräten zu eng: CTA wandert ins Menü */
  .nav-right { display: none; }
}

/* Gradient-Buttons: filter/transform sauber animieren */
.nav-cta, .btn-primary, .form-submit, .cookie-accept, .testimonials-cta-btn, .calc-cta {
  transition: background-color 200ms cubic-bezier(.23,1,.32,1),
              color 200ms cubic-bezier(.23,1,.32,1),
              border-color 200ms cubic-bezier(.23,1,.32,1),
              box-shadow 250ms cubic-bezier(.23,1,.32,1),
              transform 200ms cubic-bezier(.23,1,.32,1),
              filter 200ms cubic-bezier(.23,1,.32,1);
}

/* ── HERO ─────────────────────────────────────────────────────────── */
/* Der Hero rutscht hinter die schwebende Nav (Flow-Höhe 80px), damit sein
   Verlauf + Punktraster ganz oben beginnen — sonst bleibt ein helles Band. */
.hero { margin-top: -80px; padding-top: 170px; }
.hero {
  padding: 90px 24px 96px;
  padding-top: 170px;
  background:
    radial-gradient(720px 420px at 12% -8%, rgba(29,91,255,.10) 0%, transparent 65%),
    radial-gradient(640px 420px at 96% 18%, rgba(46,107,255,.09) 0%, transparent 60%),
    linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 78%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,23,51,.07) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 62%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; gap: 72px; }
.hero-badge {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .01em;
  padding: 8px 16px;
}
.hero-badge svg { color: var(--blue); }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--blue); }
.underline-keyword .scribble-svg path { stroke: #1D5BFF; }
.hero-lead {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 38px;
}
.btn-primary {
  background: var(--grad-blue);
  border-radius: 999px;
  padding: 16px 30px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; font-size: .98rem;
  box-shadow: 0 8px 24px rgba(29,91,255,.35), inset 0 1px 0 rgba(255,255,255,.2);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(.23,1,.32,1);
}
.btn-primary:hover { background: var(--grad-blue); filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(29,91,255,.42), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 16px 30px;
  background: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; font-size: .98rem;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-light); }
.hero-check { font-family: 'Open Sans', sans-serif; font-weight: 600; color: #33435F; }
.hero-check svg { color: var(--green); }

.hero-image-wrap { border-radius: 28px; box-shadow: 0 4px 12px rgba(10,23,51,.06), 0 40px 90px -20px rgba(11,58,219,.35); }
.hero-image-inner { border-radius: 28px; background: var(--grad-ink); }
.hero-badge-float { background: var(--grad-blue); box-shadow: 0 8px 24px rgba(29,91,255,.5); font-family: 'Open Sans', sans-serif; font-weight: 700; }
.hero-stat-float { border-top: none; border-left: 4px solid var(--blue); border-radius: 16px; }
.hero-stat-float .num { color: var(--blue); letter-spacing: -.03em; }
.hero-rating-float { border-radius: 16px; }

/* ── TRUST BAR ────────────────────────────────────────────────────── */
.trust-bar { background: var(--ink-deep); padding: 16px 0; }
.trust-item { color: rgba(255,255,255,.82); font-family: 'Open Sans', sans-serif; font-weight: 600; }
.trust-item svg { color: #4D7EFF; }

/* ── SECTION-KOPF ─────────────────────────────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border: 1px solid var(--blue-mid);
  font-family: 'Open Sans', sans-serif;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
}
.section-sub { font-size: 1.06rem; line-height: 1.75; }

/* ── LEISTUNGEN: Bento-Grid ───────────────────────────────────────── */
.services-section { padding: 110px 24px; background: var(--bg); }
.services-grid { gap: 22px; }
@media (min-width: 1080px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(6) { grid-column: span 2; }
}
.service-card {
  border: 1px solid rgba(220,228,242,.7);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.service-card::before { background: var(--grad-blue); }
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(10,23,51,.05), 0 28px 60px -16px rgba(11,58,219,.30);
}
.service-card h3 { letter-spacing: -.02em; }
.service-icon { border-radius: 14px; }
.service-card:hover .service-icon { background: var(--grad-blue); }
a.service-card::after { font-family: 'Open Sans', sans-serif; font-weight: 700; }

/* ── GARANTIE ─────────────────────────────────────────────────────── */
.guarantee-section { background: var(--grad-ink); }
.guarantee-section::before { background: radial-gradient(circle, rgba(77,126,255,.22) 0%, transparent 70%); }
.guarantee-section::after { background: radial-gradient(circle, rgba(29,91,255,.28) 0%, transparent 70%); }
.guarantee-badge { background: radial-gradient(circle, #FFFFFF 0%, #EDF2FF 100%); }
.guarantee-badge::before { border-color: rgba(77,126,255,.45); }
.guarantee-badge-num { color: var(--blue); }
.guarantee-badge-text { color: var(--blue-dark); }
.guarantee-title { letter-spacing: -.03em; }
.guarantee-title em {
  background: linear-gradient(120deg, #7CA4FF, #4D7EFF);
  -webkit-background-clip: text; background-clip: text;
}
.guarantee-point-check { background: rgba(77,126,255,.22); color: #8FB0FF; }
.guarantee-cta { border-radius: 999px; color: var(--blue-dark) !important; font-family: 'Open Sans', sans-serif; }
.section-tag-light { letter-spacing: .12em; color: #A8C2FF; }

/* ── KOSTENRECHNER ────────────────────────────────────────────────── */
.calculator-section { background: linear-gradient(180deg, var(--white) 0%, #EDF2FF 100%); }
.calc-wrap { border-radius: 26px; border-color: var(--blue-mid); box-shadow: 0 4px 10px rgba(10,23,51,.04), 0 30px 70px -18px rgba(11,58,219,.28); }
.calc-result { background: var(--grad-blue); }
.calc-result-price { letter-spacing: -.035em; }
.calc-cta { border-radius: 999px; font-family: 'Open Sans', sans-serif; font-weight: 700; }
.calc-field select, .calc-field input[type="number"] { border-radius: 12px; }

/* ── STANDORTE ────────────────────────────────────────────────────── */
.location-card { border-radius: 22px; border-width: 1px; }
.location-card:hover { box-shadow: 0 4px 10px rgba(10,23,51,.05), 0 24px 55px -14px rgba(11,58,219,.28); }
.location-card.primary { background: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 100%); }
.location-card h3 { letter-spacing: -.025em; }
.location-badge { background: var(--grad-blue); border-radius: 999px; font-family: 'Open Sans', sans-serif; }

/* ── PROZESS ──────────────────────────────────────────────────────── */
.step-num {
  background: var(--grad-blue);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(29,91,255,.32);
  letter-spacing: -.02em;
}
.process-steps::before { background: var(--blue-mid); }

/* ── INHABER: Gründer-Duo ─────────────────────────────────────────── */
.founder-monogram { background: var(--grad-ink); letter-spacing: -.01em; }
.founder-section .founder-photo { border-radius: 22px; margin: 0; }
@media (min-width: 861px) {
  .founder-section .founder-grid { grid-template-columns: 1.05fr 1fr; }
}
.founder-section .founder-photo-wrap { max-width: 560px; }
.founder-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.founder-photo--second { margin-top: 36px; }
.founder-photo img { object-position: 50% 22%; }
/* Namens-Overlay sitzt jetzt IN jeder Foto-Karte */
.founder-photo .founder-card-overlay { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.founder-photo .founder-name { font-size: clamp(.95rem, 1.4vw, 1.15rem); margin-bottom: 5px; }
.founder-photo .founder-role-badge { font-size: .62rem; padding: 4px 10px; letter-spacing: .03em; }
/* Doppelte Signatur */
.founder-content .founder-signature { flex-wrap: wrap; row-gap: 14px; column-gap: 32px; }
.founder-sig-person { display: flex; align-items: center; gap: 14px; }
@media (max-width: 480px) {
  .founder-duo { gap: 12px; }
  .founder-photo--second { margin-top: 24px; }
  .founder-photo .founder-role-badge { display: none; }
}
.founder-content .founder-quote { color: var(--ink); font-style: normal; letter-spacing: -.028em; }
.founder-signature .founder-sig-mark { background: var(--grad-blue); border-radius: 16px; }
.founder-signature .founder-sig-mark--alt { background: var(--grad-ink); box-shadow: 0 6px 18px rgba(10,23,51,.3); }
.founder-role-badge { font-family: 'Open Sans', sans-serif; }

/* ── TESTIMONIALS ─────────────────────────────────────────────────── */
.testimonial-card { border-radius: 20px; background: var(--white); border-color: var(--border); box-shadow: var(--shadow-sm); }
.testimonials-section { background: var(--bg); }
.t-text { font-style: normal; color: #33435F; }
.t-avatar { background: var(--grad-blue); border-radius: 14px; }
.testimonials-cta-btn { background: var(--grad-blue); font-family: 'Open Sans', sans-serif; }
.slider-nav { box-shadow: 0 10px 28px rgba(10,23,51,.14); }
.slider-nav:hover { background: var(--blue); border-color: var(--blue); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-section { background: var(--white); }
.faq-item { border-radius: 16px; border-color: var(--border); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--blue-mid); box-shadow: 0 2px 6px rgba(10,23,51,.04), 0 16px 40px -12px rgba(11,58,219,.18); }
.faq-q { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: .98rem; }

/* ── KONTAKT ──────────────────────────────────────────────────────── */
.contact-section { background: var(--bg); }
form { border-radius: 24px; border-color: var(--border); box-shadow: 0 2px 6px rgba(10,23,51,.04), 0 24px 60px -16px rgba(10,23,51,.10); padding: 40px; }
input, select, textarea { border-radius: 12px; border-width: 1.5px; font-size: .95rem; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,91,255,.12); }
label { font-family: 'Open Sans', sans-serif; font-weight: 700; }
.form-submit { background: var(--grad-blue); border-radius: 999px; padding: 16px 28px; font-family: 'Open Sans', sans-serif; font-weight: 700; }
.form-submit:hover { background: var(--grad-blue); filter: brightness(1.07); }
.contact-icon { border-radius: 14px; }
.contact-note { border-radius: 14px; border: 1px solid var(--blue-mid); color: var(--blue-dark); }

/* ── CTA-BANNER ───────────────────────────────────────────────────── */
.cta-banner { background: var(--grad-blue); }
.btn-white { border-radius: 999px; color: var(--blue-dark); font-family: 'Open Sans', sans-serif; }
.btn-outline-white { border-radius: 999px; font-family: 'Open Sans', sans-serif; }

/* ── FOOTER ───────────────────────────────────────────────────────── */
footer { background: var(--grad-ink); }
.footer-logo { font-size: 1.5rem; letter-spacing: -.035em; }
.footer-logo span { color: #4D7EFF; }
.footer-contact-item svg { color: #6E96FF; }
.footer-col h4 { letter-spacing: .1em; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-links a:hover { color: #A8C2FF; }

/* ── COOKIE-BANNER & FABS ─────────────────────────────────────────── */
#cookieBanner {
  border-top: none;
  margin: 0 16px 16px;
  left: 0; right: 0;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(10,23,51,.05), 0 24px 60px rgba(10,23,51,.22);
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
  bottom: 16px;
}
@media (max-width: 1240px) { #cookieBanner { margin-left: 16px; margin-right: 16px; } }
.cookie-accept { background: var(--grad-blue); border-radius: 999px; }
.cookie-accept:hover { background: var(--grad-blue); filter: brightness(1.08); }
.cookie-decline { border-radius: 999px; }
.fab-call { background: var(--grad-blue); }

/* ── SCROLLBAR (neue Markenfarben) ────────────────────────────────── */
html { scrollbar-color: #C6D3EC #F5F7FC; }
::-webkit-scrollbar-track { background: #F5F7FC; }
::-webkit-scrollbar-thumb { background: #C6D3EC; border-color: #F5F7FC; }
::-webkit-scrollbar-thumb:hover { background: #8FA6CC; }

/* ═══ VORHER / NACHHER SLIDER ═════════════════════════════════════ */
.ba-section { padding: 100px 24px; background: var(--white); }
.ba-slider {
  position: relative;
  max-width: 920px;
  margin: 52px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10,23,51,.06), 0 34px 80px -20px rgba(11,58,219,.30);
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0);
}
/* "Vorher"-Look: entsättigt, dunkler, leicht vergilbt */
.ba-before .ba-img { filter: saturate(.35) brightness(.68) contrast(.9) sepia(.28); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba, 50%);
  width: 3px; margin-left: -1.5px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 12px rgba(10,23,51,.35);
  z-index: 3; pointer-events: none;
}
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(10,23,51,.35);
}
.ba-range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  margin: 0; touch-action: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.ba-range::-moz-range-thumb { width: 60px; height: 100%; border: none; background: transparent; }
.ba-tag {
  position: absolute; top: 18px; z-index: 3;
  font-family: 'Open Sans', sans-serif; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 18px; background: rgba(10,23,51,.72); color: #fff; backdrop-filter: blur(8px); }
.ba-tag-after { right: 18px; background: rgba(255,255,255,.92); color: var(--blue-dark); backdrop-filter: blur(8px); }
.ba-symbol {
  position: absolute; bottom: 12px; right: 16px; z-index: 3;
  font-size: .68rem; color: rgba(255,255,255,.75);
  pointer-events: none;
}
@media (max-width: 640px) {
  .ba-section { padding: 70px 18px; }
  .ba-slider { aspect-ratio: 4 / 3; border-radius: 18px; }
  .ba-handle-btn { width: 44px; height: 44px; }
}

/* ═══ WHATSAPP SCHNELL-ANGEBOT ════════════════════════════════════ */
.wa-section { padding: 40px 24px 100px; background: linear-gradient(180deg, #EDF2FF 0%, var(--white) 60%); }
.wa-card {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px;
  box-shadow: 0 4px 10px rgba(10,23,51,.04), 0 30px 70px -18px rgba(10,23,51,.14);
  position: relative; overflow: hidden;
}
.wa-card::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(37,211,102,.14) 0%, transparent 70%);
  pointer-events: none;
}
.wa-tag { background: #E7F9EE; color: #128C4B; border-color: #BEEED2; }
.wa-tag::before { background: #25D366; }
.wa-lead { color: var(--gray); line-height: 1.75; margin: 6px 0 22px; max-width: 460px; }
.wa-steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.wa-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #33435F; font-size: .95rem; }
.wa-step-num {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background: #E7F9EE; color: #128C4B;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
}
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #2BD46E 0%, #17A74E 100%);
  color: #fff; text-decoration: none;
  font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: .98rem;
  padding: 16px 30px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(23,167,78,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform 200ms cubic-bezier(.23,1,.32,1), box-shadow 250ms cubic-bezier(.23,1,.32,1), filter 200ms ease;
}
.wa-btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 34px rgba(23,167,78,.42), inset 0 1px 0 rgba(255,255,255,.2); }
.wa-btn:active { transform: scale(.97); }
.wa-note { margin-top: 14px; font-size: .84rem; color: var(--gray); }
.wa-chat { display: flex; flex-direction: column; gap: 12px; max-width: 330px; margin: 0 auto; }
.wa-bubble {
  padding: 12px 16px; border-radius: 18px;
  font-size: .9rem; line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.wa-bubble-out {
  background: #DCF8C6; color: #1B3A2A;
  border-bottom-right-radius: 6px;
  align-self: flex-end; max-width: 85%;
}
.wa-bubble-in {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  align-self: flex-start; max-width: 85%;
}
.wa-bubble-img { padding: 6px; }
.wa-bubble-img img { display: block; width: 220px; height: 140px; object-fit: cover; border-radius: 12px; }
@media (max-width: 900px) {
  .wa-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
  .wa-visual { order: -1; }
}

/* ═══ ZAHLEN-BAND ═════════════════════════════════════════════════ */
.stats-band {
  background: var(--grad-ink);
  padding: 72px 24px;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 1; text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num .stat-sub { font-size: .45em; color: #6E96FF; font-weight: 700; }
.stat-label {
  margin-top: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
@media (max-width: 760px) {
  .stats-band { padding: 56px 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}

/* ═══ MOBILE-AKTIONSLEISTE ════════════════════════════════════════ */
.pv-actionbar { display: none; }
@media (max-width: 768px) {
  .pv-actionbar {
    /* top:auto zwingend — als <nav> erbt sie sonst top:0 von der body>nav-Regel */
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 998;
    height: auto;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(10,23,51,.12);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .pv-ab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 4px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif; font-size: .72rem; font-weight: 700;
    color: var(--ink);
    background: var(--gray-light);
    transition: transform 150ms cubic-bezier(.23,1,.32,1), background-color 150ms ease;
  }
  .pv-ab-item:active { transform: scale(.96); }
  .pv-ab-item svg { width: 20px; height: 20px; }
  .pv-ab-item:first-child svg { color: var(--blue); }
  .pv-ab-wa { background: #E7F9EE; color: #128C4B; }
  .pv-ab-wa svg { color: #17A74E; }
  .pv-ab-cta { background: var(--grad-blue); color: #fff; }
  .pv-ab-cta svg { color: #fff; }
  /* Die schwebenden FABs ersetzen — Leiste übernimmt deren Job */
  body .contact-fab, body .contact-fab.fab-raised { display: none; }
  /* Inhalt & Cookie-Banner über der Leiste halten */
  body { padding-bottom: 76px; }
  #cookieBanner { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ═══ HERO: LIVE-STATUS + GARANTIE-SIEGEL ═════════════════════════ */
.hero-live {
  position: absolute; top: 18px; left: 18px; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(6,14,34,.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: .8rem; font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(6,14,34,.35);
  transition: transform 200ms cubic-bezier(.23,1,.32,1), background-color 200ms ease;
}
.hero-live:hover { transform: translateY(-1px); background: rgba(6,14,34,.85); }
.hero-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #34D399; flex-shrink: 0;
  box-shadow: 0 0 10px rgba(52,211,153,.9);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-live.is-offline .hero-live-dot { background: #94A3B8; box-shadow: none; animation: none; }
.hero-seal {
  position: absolute; top: 18px; right: 18px; z-index: 4;
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  padding: 11px 16px 11px 12px;
  box-shadow: 0 12px 36px rgba(10,23,51,.22);
}
.hero-seal-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(29,91,255,.35);
}
.hero-seal-icon svg { width: 21px; height: 21px; }
.hero-seal-title {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.1;
}
.hero-seal-sub { font-size: .68rem; color: var(--gray); font-weight: 600; margin-top: 3px; }
@media (max-width: 600px) {
  .hero-live { top: 12px; left: 12px; font-size: .72rem; padding: 7px 13px; }
  .hero-seal { top: 12px; right: 12px; padding: 8px 12px 8px 9px; border-radius: 13px; }
  .hero-seal-icon { width: 30px; height: 30px; border-radius: 9px; }
  .hero-seal-icon svg { width: 17px; height: 17px; }
  .hero-seal-title { font-size: .8rem; }
  .hero-seal-sub { font-size: .6rem; }
}

/* ═══ HERO-VIDEO: CROSSFADE-LOOP ══════════════════════════════════ */
.hero-image-inner video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.9s linear;
}
.hero-video-b { opacity: 0; }

/* ═══ MARQUEE: NAHTLOSER LOOP (px-genau statt Prozent) ════════════ */
.trust-track { animation: pv-marquee 26s linear infinite; }
@keyframes pv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-shift, -12.5%)); }
}

/* ═══ WHATSAPP: BUTTON + HINWEIS ZENTRIERT GESTAPELT ══════════════ */
.wa-cta-block { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.wa-cta-block .wa-note { margin-top: 0; text-align: center; }

/* Preis-Beispiele (Solar u.a. Leistungsseiten) */
.price-examples { max-width: 460px; margin: 20px auto 16px; text-align: left; }
.price-ex-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
  font-size: .92rem; color: var(--gray);
}
.price-ex-row:last-child { border-bottom: none; }
.price-ex-row strong { color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
