/* ============================================================
   Blank Airsolutions GmbH, Website v2
   Cleaner vollbreiter Header, Split-Hero mit schwebenden Karten
   und Full-Bleed-Visual, vollbreites Counter-Band, Timeline,
   FAQ-Accordion. Outfit (Headlines) + Inter (Text), Markenblau.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --blue-600: #1863dc;
  --blue-700: #0056a7;
  --blue-800: #003f7d;
  --navy-900: #032a52;
  --navy-950: #021f3d;
  --cyan: #2fc1ff;
  --sky-tint: #eef4fc;
  --sky-tint-2: #e2edf9;
  --ink: #0e1b2a;
  --ink-2: #2b3d57;
  --muted: #51617a;
  --line: #dde7f2;
  --line-strong: #c3d5e8;
  --white: #ffffff;

  /* Radius-System: lg = grosse Flaechen, md = Karten, sm = kleine Chips/Icons */
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  /* Typo-Skala */
  --font-head: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --fs-h2: clamp(32px, 4.6vw, 54px);
  --fs-h3: 20px;
  --fs-lead: clamp(15.5px, 1.8vw, 17px);
  --fs-body: 15px;
  --fs-small: 14.5px;

  /* Abstands-System */
  --section-y: clamp(72px, 8.5vw, 116px);
  --head-mb: clamp(40px, 5vw, 56px);
  --gap: 24px;
  --card-pad: 28px;

  /* Schatten-System (drei Stufen, sonst nichts) */
  --shadow-sm: 0 10px 26px rgba(3, 42, 82, 0.07);
  --shadow-md: 0 16px 40px rgba(3, 42, 82, 0.11);
  --shadow-lg: 0 22px 50px rgba(3, 42, 82, 0.17);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section {
  scroll-margin-top: 96px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding-block: var(--section-y);
}

.section-tint {
  background: var(--sky-tint);
}

/* ---------- Icons ---------- */
.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons (Pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn .btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-700);
  box-shadow: 0 12px 30px -8px rgba(24, 99, 220, 0.55);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-800);
}

.btn-white:hover {
  background: var(--sky-tint);
  box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
}

.btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14.5px;
}

/* Grosse Variante fuer Haupt-CTAs (Hero + CTA-Band) */
.btn-lg {
  padding: 18px 34px;
  font-size: 17px;
}

.btn-lg .btn-arrow {
  width: 19px;
  height: 19px;
}

/* ---------- Header: clean, flach, vollbreit ----------
   Oben transparent ueber dem Hero; beim Scrollen dezent
   weiss mit feiner Trennlinie. Keine Pille, keine Karte. */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.scrolled,
.nav.open {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
}

.nav.scrolled {
  box-shadow: 0 8px 24px rgba(3, 42, 82, 0.05);
}

.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(20px, 4vw, 40px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

@media (max-width: 767.98px) {
  .nav-logo img {
    height: 46px;
  }
}

.nav-menu {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-800);
  padding: 10px 12px;
  transition: color 0.25s var(--ease);
}

.nav-phone:hover {
  color: var(--blue-600);
}

.nav-phone .ic {
  width: 16px;
  height: 16px;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav.open .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-burger span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobiles Menü: vollbreites, flaches Panel unter dem Header */
@media (max-width: 1019.98px) {
  .nav-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 6px 0 12px;
    box-shadow: 0 22px 36px -12px rgba(3, 42, 82, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav.open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 13px clamp(20px, 4vw, 40px);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 500;
  }

  .nav-menu a:hover {
    background: var(--sky-tint);
    color: var(--blue-700);
  }

  .nav-menu .nav-menu-phone {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 16px;
    color: var(--blue-700);
    font-weight: 600;
  }

  .nav-actions .nav-cta {
    display: none;
  }
}

@media (min-width: 1020px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nav-menu a {
    padding: 10px 12px;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s var(--ease);
  }

  .nav-menu a:hover {
    color: var(--blue-600);
  }

  .nav-menu .nav-menu-phone {
    display: none;
  }

  .nav-phone {
    display: inline-flex;
  }

  .nav-burger {
    display: none;
  }
}

/* ---------- Split-Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 55% at 88% 0%, rgba(47, 193, 255, 0.14) 0%, rgba(47, 193, 255, 0) 60%),
    linear-gradient(180deg, #f5f9fe 0%, var(--white) 88%);
  padding-top: clamp(120px, 15vw, 172px);
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--navy-900);
}

.hero-title .blue {
  color: var(--blue-600);
}

.hero-sub {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Klar gruppierte Liste statt ungleichmaessigem Zeilenumbruch */
.hero-trust {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  justify-items: start;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-trust .ic {
  width: 19px;
  height: 19px;
  color: var(--blue-600);
}

/* Hero-Foto rechts mit schwebenden Karten */
.hero-visual {
  position: relative;
  padding-bottom: 26px;
}

.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4.35;
}

/* Ab Desktop laeuft das Hero-Foto full-bleed bis an den
   rechten Viewport-Rand (Container-Max 1240px, Padding 40px) */
@media (min-width: 960px) {
  .hero-visual {
    margin-right: min(calc(580px - 50vw), calc(clamp(20px, 4vw, 40px) * -1));
  }

  .hero-photo {
    border-radius: var(--r-lg) 0 0 var(--r-lg);
  }
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: no-preference) {
  html.js .float-card {
    animation: floatBob 5.5s ease-in-out infinite;
  }

  html.js .float-chip {
    animation-delay: 1.4s;
  }
}

@keyframes floatBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.float-rating {
  left: clamp(-14px, -1vw, -8px);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
}

.float-rating .g-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.float-rating .rating-num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}

.float-rating .rating-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.float-rating .stars {
  display: inline-flex;
  gap: 2px;
}

.float-rating .star {
  width: 14px;
  height: 14px;
  fill: #f5a623;
  stroke: none;
}

.float-rating .rating-label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.3;
}

.float-chip {
  top: 18px;
  right: clamp(-10px, -0.8vw, -6px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-800);
}

.float-chip .ic {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}

/* Beim Full-Bleed-Foto darf der Chip nicht ueberhaengen */
@media (min-width: 960px) {
  .float-chip {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .float-rating {
    left: 10px;
  }

  .float-chip {
    right: 8px;
  }
}

/* ---------- Zahlen-Band (Counter), full-bleed ---------- */
.stats {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  padding-block: clamp(44px, 6vw, 76px);
  margin-top: clamp(24px, 3vw, 40px);
}

.stats-band {
  display: grid;
  gap: 32px;
  color: var(--white);
}

@media (min-width: 640px) {
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .stats-band {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat {
    padding-inline: 28px;
  }

  .stat + .stat {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-num .stat-suffix {
  font-size: 0.62em;
  font-weight: 600;
  margin-left: 2px;
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Section-Header ---------- */
.section-head {
  margin-bottom: var(--head-mb);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-600);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--navy-900);
}

/* Einheitlicher Abstand Eyebrow -> Headline in allen Sektionen */
.section-eyebrow + h2 {
  margin-top: 16px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-eyebrow {
  justify-content: center;
}

/* Zentrierte Eyebrows: Strich symmetrisch auf beiden Seiten */
.section-head.center .section-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.section-lead {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.section-head.split {
  display: grid;
  gap: 18px;
}

.section-side {
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 430px;
}

@media (min-width: 820px) {
  .section-head.split {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-media {
  position: relative;
  height: clamp(200px, 24vw, 260px);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

/* VDI-Badge: kraeftig und klar erkennbar (Markenblau, gross) */
.vdi-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px rgba(3, 42, 82, 0.32);
}

.service-body {
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 22px;
  color: var(--navy-900);
}

.service-body > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--fs-body);
}

.service-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.service-list .ic {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
  margin-top: 2px;
}

/* ---------- Über uns (Split mit Illustration) ---------- */
.about-grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 920px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about-illu {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.5vw, 46px);
}

.about-illu img {
  width: min(100%, 380px);
  margin-inline: auto;
}

.about-illu .float-card {
  bottom: -16px;
  right: -10px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-800);
}

.about-illu .float-card .ic {
  color: var(--blue-600);
}

@media (max-width: 480px) {
  .about-illu .float-card {
    right: 6px;
  }
}

.about-copy h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--navy-900);
}

.about-copy .about-text {
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.about-points {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .about-points {
    grid-template-columns: 1fr 1fr;
  }
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink-2);
}

.about-points .check-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-tint-2);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: -1px;
}

.about-points .check-dot .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.about-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Vorteile ---------- */
.benefits-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--card-pad);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--sky-tint-2);
  color: var(--blue-700);
}

.benefit-icon .ic {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  margin-top: 20px;
  font-size: var(--fs-h3);
  color: var(--navy-900);
}

.benefit-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-body);
}

/* ---------- Ablauf-Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--sky-tint-2);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
}

.step-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.step:hover .step-body {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-body h3 {
  font-size: var(--fs-h3);
  color: var(--navy-900);
}

.step-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-body);
  max-width: 72ch;
}

@media (min-width: 980px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap);
  }

  .timeline::before {
    left: 8%;
    right: 8%;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .step {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 16px;
    justify-items: start;
    height: 100%;
    min-width: 0;
  }

  /* Gleiche Kartenhoehe pro Reihe */
  .step-body {
    padding: 20px 22px;
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  .step-body h3 {
    font-size: 17.5px;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .step-body p {
    font-size: 14px;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* ---------- Intervalle (Tabelle + Illu) ---------- */
.intervals-grid {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

/* Grid-Kinder duerfen unter ihre Inhaltsbreite schrumpfen
   (sonst drueckt die Tabelle die Seite in den Overflow) */
.intervals-grid > *,
.hero-grid > *,
.about-grid > *,
.contact-grid > * {
  min-width: 0;
}

@media (min-width: 980px) {
  .intervals-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.interval-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-body);
}

.interval-table th,
.interval-table td {
  text-align: left;
  padding: 15px 20px;
}

.interval-table th:first-child,
.interval-table td:first-child {
  padding-left: 24px;
}

.interval-table th:last-child,
.interval-table td:last-child {
  padding-right: 24px;
}

.interval-table thead th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
}

.interval-table tbody tr:nth-child(even) {
  background: var(--sky-tint);
}

.interval-table tbody td {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.interval-table .norm {
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}

.table-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.table-note a {
  color: var(--blue-600);
  font-weight: 600;
}

.table-note a:hover {
  text-decoration: underline;
}

.intervals-aside {
  text-align: center;
}

.intervals-aside img {
  width: min(100%, 340px);
  margin-inline: auto;
}

.intervals-aside figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Referenzen ---------- */
.reviews-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 900px) {
  .reviews-grid {
    grid-template-columns: 0.9fr 1.05fr 1.05fr;
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-score {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.review-score .g-mark {
  width: 44px;
  height: 44px;
}

.review-score .score {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}

.stars-row {
  display: inline-flex;
  gap: 3px;
}

.stars-row .star {
  width: 18px;
  height: 18px;
  fill: #f5a623;
  stroke: none;
}

.review-score p {
  color: var(--muted);
  font-size: 14px;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  flex: 1;
}

.review-card cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-800);
  background: var(--sky-tint-2);
  flex: none;
}

.review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.review-meta strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--navy-900);
}

.review-meta span {
  font-size: 13px;
  color: var(--muted);
}

.branches {
  margin-top: var(--head-mb);
  text-align: center;
}

.branches h3 {
  font-size: var(--fs-h3);
  color: var(--navy-900);
}

.chip-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Staedte-Chips unter den Einsatzgebiet-Karten */
.areas-grid + .chip-row {
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.chip:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  transform: translateY(-2px);
}

.chip .ic {
  width: 15px;
  height: 15px;
  color: var(--blue-600);
}

/* ---------- Einsatzgebiete ---------- */
.areas-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 860px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--card-pad);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.area-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-h3);
  color: var(--navy-900);
}

.area-card h3 .ic {
  color: var(--blue-600);
  width: 24px;
  height: 24px;
}

.area-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--fs-body);
}

.area-card strong {
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-900);
}

.faq-plus {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
  transition: transform 0.35s var(--ease);
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

html:not(.js) .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 72ch;
}

.faq-a-inner a {
  color: var(--blue-600);
  font-weight: 600;
}

.faq-a-inner a:hover {
  text-decoration: underline;
}

/* ---------- CTA-Band (Foto-Hintergrund) ---------- */
.cta-band {
  position: relative;
  background-color: var(--navy-950);
  background-image:
    linear-gradient(100deg, rgba(2, 24, 47, 0.93) 18%, rgba(0, 63, 125, 0.72) 60%, rgba(0, 86, 167, 0.5) 100%),
    url("img/Header-2.jpg.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-block: var(--section-y);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  max-width: 720px;
}

.cta-inner h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--white);
}

.cta-inner p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-lead);
  max-width: 56ch;
}

.cta-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-small);
}

.cta-meta span,
.cta-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-meta a:hover {
  color: var(--white);
}

.cta-meta .ic {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

@media (min-width: 920px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(28px, 3.5vw, 40px);
}

.contact-card h3 {
  font-size: 22px;
  color: var(--navy-900);
}

.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list .ic {
  width: 21px;
  height: 21px;
  color: var(--blue-600);
  margin-top: 3px;
}

.contact-list .label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
  font-size: 15.5px;
  color: var(--ink-2);
}

.contact-list a:hover {
  color: var(--blue-600);
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  background: var(--sky-tint);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding-top: clamp(56px, 7vw, 84px);
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: clamp(40px, 5vw, 60px);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
    gap: 48px;
  }
}

.footer-brand .footer-word {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-brand .footer-word .cyan {
  color: var(--cyan);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 36ch;
  font-size: var(--fs-body);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-body);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 6px;
}

.footer-col a {
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--white);
}

.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.to-top:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.to-top .ic {
  width: 17px;
  height: 17px;
}

/* ---------- Sticky Mobile-CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(3, 42, 82, 0.12);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.mobile-cta .btn {
  flex: 1;
  padding: 13px 10px;
  font-size: 15px;
}

@media (max-width: 767.98px) {
  .mobile-cta {
    display: flex;
  }

  body.show-mobile-cta .mobile-cta {
    transform: translateY(0);
  }

  body.show-mobile-cta .footer {
    padding-bottom: 74px;
  }
}

/* ============================================================
   Reveal-on-Scroll
   Grundzustand IMMER sichtbar; Einblendung nur als einmaliger
   Keyframe, wenn JS + IntersectionObserver vorhanden sind.
   ============================================================ */
.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal.in {
    animation: revealIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--d, 0s);
  }
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Politur: geschmeidige, elegante Hovers ---------- */
.service-card,
.benefit-card,
.review-card,
.area-card,
.step .step-body {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover,
.benefit-card:hover,
.review-card:hover,
.area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #bcd4f5;
}
.step:hover .step-body {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: #bcd4f5;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
