/* =========================================================
   Burger Sicherheitstechnik – Design System
   Farbwelt: Blau (Logo), warmes Neutral, viel Ruhe
   Reine System-Schriften (kein Google Fonts -> DSGVO-sicher)
   ========================================================= */

:root {
  /* Marke */
  --blue-900: #0a2d5e;
  --blue-800: #0d3a78;
  --blue-700: #114a97;   /* Primär, nah am Logo-Blau */
  --blue-600: #1a5bb8;
  --blue-100: #e7effa;
  --blue-050: #f4f8fd;

  --ink: #16202e;        /* Fließtext */
  --ink-soft: #4a5768;   /* Sekundärtext */
  --line: #e3e8ef;       /* Trennlinien */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  --white: #ffffff;
  --amber: #f5a623;      /* Akzent für CTA-Aufmerksamkeit (sparsam) */

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 54, .06), 0 2px 8px rgba(16, 32, 54, .05);
  --shadow-md: 0 8px 30px rgba(16, 32, 54, .10);

  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; color: var(--blue-900); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: #dfe8f5; }
.section--blue h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px;
}
.section--blue .eyebrow { color: #7fb0ee; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-800); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--blue-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn--white { background: #fff; color: var(--blue-800); }
.btn--white:hover { background: #eef4fc; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 24px rgba(16, 32, 54, .08);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 74px;
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue-900); font-size: 1.05rem; letter-spacing: -.01em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem;
  flex: none; overflow: hidden;
  box-shadow: 0 2px 8px rgba(17, 74, 151, .25);
  transition: width .3s var(--ease), height .3s var(--ease);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.header.is-scrolled .brand__mark { width: 36px; height: 36px; }
.brand small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: .12em; color: var(--blue-600); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: 9px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--blue-050); color: var(--blue-700); }

.header__cta { display: flex; align-items: center; gap: 14px; }
.phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--blue-900); white-space: nowrap;
}
.phone span { font-size: .72rem; font-weight: 600; color: var(--ink-soft); display: block; }
.phone__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; flex: none; }
.phone__ico svg { width: 18px; height: 18px; display: block; transform: translate(1px, 1px); }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blue-900); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 20%, rgba(26,91,184,.55), transparent 60%),
    linear-gradient(160deg, #0d3a78 0%, #0a2d5e 60%, #081f42 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { color: #fff; }
.hero__lead { font-size: 1.2rem; color: #cfdcf0; max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; color: #b7c8e2; font-size: .92rem; }
.hero__trust b { color: #fff; display: block; font-size: 1.3rem; }
.hero__visual {
  aspect-ratio: 4/3; border-radius: 18px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; color: #9fb6d8; text-align: center; padding: 24px;
  box-shadow: var(--shadow-md);
}

/* ---------- Leistungen Grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card__ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center; font-size: 1.4rem;
}
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Ablauf (Schritte) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12);
  color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.2);
}
.step h3 { color: #fff; }
.step p { color: #c3d3ea; font-size: .95rem; margin: 0; }

/* ---------- Split (Über uns) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media { aspect-ratio: 5/4; border-radius: 18px; background: var(--blue-050); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); text-align: center; padding: 20px; }
.ul-check { list-style: none; padding: 0; margin: 18px 0 0; }
.ul-check li { padding: 8px 0 8px 32px; position: relative; }
.ul-check li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--blue-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-600); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- CTA Band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #b9c8e0; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #cdd9ee; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-weight: 800; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8ea3c4; }
.footer__bar a { color: #8ea3c4; }

/* ---------- Reveal (funktioniert IMMER, endet sichtbar) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Gestaffelte Reveal-Animation für Karten-Grids (Kinder nacheinander) */
.reveal-grid > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-grid.is-in > * { opacity: 1; transform: none; }
.reveal-grid.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-grid.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-grid.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-grid.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-grid.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal-grid.is-in > *:nth-child(7) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-grid > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header__cta .phone span { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px;
    box-shadow: var(--shadow-md); gap: 2px; transform: translateY(-140%); transition: transform .3s var(--ease);
  }
  .nav.is-open { display: flex; transform: none; }
  .nav a { padding: 14px; font-size: 1.05rem; }
  .grid--3, .grid--4, .steps, .footer__grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* =========================================================
   HERO-SLIDESHOW  (Vollbild, Ken-Burns + sanftes Crossfade)
   ========================================================= */
.hero-slider {
  position: relative; overflow: hidden;
  height: min(86vh, 760px); min-height: 500px;
  background: var(--blue-900);
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slider__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s var(--ease);
  will-change: opacity, transform;
}
.hero-slider__slide.is-active {
  opacity: 1;
  animation: kenburns 8s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Hero-Bilder (Desktop): Querformat mit Logo */
.hero-slider__slide--1 { background-image: url('../img/slider/slide-1.jpg'); }
.hero-slider__slide--2 { background-image: url('../img/slider/slide-2.jpg'); }
.hero-slider__slide--3 { background-image: url('../img/slider/slide-3.jpg'); }

/* Scrim: oben leicht, unten kräftiger -> Text unten immer lesbar */
.hero-slider__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,25,55,.24) 0%, rgba(8,25,55,.10) 45%, rgba(8,25,55,.40) 100%),
    linear-gradient(90deg, rgba(8,25,55,.22) 0%, rgba(8,25,55,0) 42%, rgba(8,25,55,.30) 100%);
}
.hero-slider__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(40px, 6vw, 76px);
  padding-top: clamp(24px, 5vw, 48px);
}
.hero-slider__content {
  max-width: 620px; color: #fff;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(9,24,48,.64), rgba(9,24,48,.44));
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 60px rgba(0,0,0,.30);
}
.hero-slider__content h1 { color: #fff; }
.hero-slider__content .hero__lead { color: #eaf1fb; }

/* Navigations-Punkte */
.hero-slider__dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 20px;
  display: flex; gap: 10px; justify-content: center;
}
.hero-slider__dots button {
  width: 34px; height: 4px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-slider__dots button:hover { background: rgba(255,255,255,.7); }
.hero-slider__dots button.is-active { background: #fff; }

/* Einheitliches Marken-Logo rechts (liegt über allen Slides, wie Slide 1) */
.hero-slider__brand {
  position: absolute; z-index: 2; top: 24%;
  right: clamp(24px, 5vw, 72px);
  display: flex; align-items: center; gap: 16px;
  pointer-events: none;
}
.hero-slider__brand img {
  width: clamp(58px, 6.5vw, 86px); height: auto; border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
}
.hero-slider__brand .wm { line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero-slider__brand .wm b {
  display: block; color: #fff; font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: .02em;
}
.hero-slider__brand .wm i {
  display: block; font-style: normal; color: #cfe0f6;
  font-size: clamp(.62rem, .95vw, .8rem); font-weight: 600;
  letter-spacing: .26em; margin-top: .4em;
}
@media (max-width: 900px) { .hero-slider__brand { display: none; } }

/* =========================================================
   HERO-SPLIT  (Text links im blauen Kasten, Slides klar rechts)
   ========================================================= */
.hero-split {
  background: var(--bg); padding: clamp(20px, 3vw, 40px) 0;
  min-height: calc(100svh - 74px);
  display: flex; align-items: stretch;
}
.hero-split__inner {
  width: 100%;
  display: grid; grid-template-columns: 1fr 1.08fr;
  gap: clamp(18px, 2.4vw, 32px); align-items: stretch;
}
.hero-split__text {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #fff; border-radius: 24px;
  padding: clamp(30px, 4vw, 56px);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.hero-split__text::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 380px at 88% 8%, rgba(26,91,184,.45), transparent 62%);
}
.hero-split__text > * { position: relative; }
.hero-split__text h1 { color: #fff; }
.hero-split__text .eyebrow { color: #9cc2f0; }
.hero-split__text .hero__lead { color: #cfe0f6; max-width: none; }
.hero-split__text .hero__trust { color: #b7c8e2; }
.hero-split__text .hero__trust b { color: #fff; }

.hero-split__media {
  position: relative; min-height: 380px;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--blue-900);
}
.hero-split__media .hero-slider {
  position: absolute; inset: 0; height: 100%; min-height: 0;
}
/* dezenter Verlauf unten, damit die weißen Punkte immer sichtbar sind */
.hero-split__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(transparent, rgba(8,25,55,.42)); pointer-events: none; z-index: 1;
}
.hero-split__media .hero-slider__dots { z-index: 2; }

@media (max-width: 900px) {
  .hero-split { min-height: 0; display: block; }
  .hero-split__inner { grid-template-columns: 1fr; }
  .hero-split__media { aspect-ratio: 16 / 11; min-height: 0; }
}

/* =========================================================
   HERO – Full-Bleed Bild-Band oben + blauer Balken darunter
   ========================================================= */
.hero-band {
  position: relative; width: 100%;
  height: clamp(420px, 62vh, 660px);
  overflow: hidden; background: var(--blue-900);
}
.hero-band .hero-slider {
  position: absolute; inset: 0; height: 100%; min-height: 0;
}
/* weicher Übergang ins blaue Band unten */
.hero-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(transparent, rgba(10,45,94,.60)); pointer-events: none; z-index: 1;
}
.hero-band .hero-slider__dots { z-index: 2; bottom: 18px; }

.hero-bar {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #fff; position: relative; overflow: hidden;
}
.hero-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 360px at 82% -10%, rgba(26,91,184,.40), transparent 60%);
}
.hero-bar__inner {
  position: relative;
  display: grid; grid-template-columns: 1.35fr auto;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-top: clamp(36px, 5vw, 62px); padding-bottom: clamp(36px, 5vw, 62px);
}
.hero-bar__main .eyebrow { color: #9cc2f0; }
.hero-bar__main h1 { color: #fff; margin: 0 0 .45em; }
.hero-bar__lead { color: #cfe0f6; font-size: 1.16rem; max-width: 56ch; margin: 0; }
.hero-bar__side { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.hero-bar__side .btn { justify-content: center; }
.hero-bar__trust {
  display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px;
  color: #b7c8e2; font-size: .92rem;
}
.hero-bar__trust b { color: #fff; display: block; font-size: 1.25rem; }

@media (max-width: 820px) {
  /* Handy: kein Hero-Bild – Seite startet direkt mit dem blauen Abschnitt */
  .hero-band { display: none; }
  .hero-bar__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-bar__side { align-items: stretch; }
}

/* =========================================================
   PRODUKT-KARTEN mit echtem Foto
   ========================================================= */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.pcard__media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-050);
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: grid; place-items: center; font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { margin-bottom: .35em; }
.pcard__body p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Bild-Media im Split (Über-uns / Teaser) */
.split__media.has-img { padding: 0; overflow: hidden; background: var(--blue-050); }
.split__media.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   MOBILE-ANPASSUNGEN für neue Komponenten
   ========================================================= */
@media (max-width: 900px) {
  .hero-slider { height: auto; min-height: 0; }
  .hero-slider__slide { position: absolute; }
}
@media (max-width: 720px) {
  .hero-slider { min-height: 0; }
  .hero-slider__content .hero__lead { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide { transition: opacity .3s linear; transform: none; }
  .hero-slider__slide.is-active { animation: none; transform: none; }
  .pcard:hover .pcard__media img { transform: none; }
}
