/* =========================================================
   secureAir — Design System
   Palette: Weiss / Anthrazit / Schwarz + Navy & Orange (getrennt)
   Typografie: Avenir Next (Systemfont-Stack als Fallback)
   ========================================================= */

:root {
  --white: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #eceef0;
  --anthracite: #1d1d1f;
  --anthracite-70: rgba(29, 29, 31, 0.7);
  --anthracite-45: rgba(29, 29, 31, 0.45);
  --black: #000000;
  --navy: #0f2a4a;
  --navy-light: #1c4270;
  --orange: #e8630f;
  --orange-light: #ff8a3d;
  --line: rgba(29, 29, 31, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  --font: "Avenir Next", "Avenir", "Century Gothic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 28px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--anthracite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: 1.02; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.62; color: var(--anthracite-70); font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 1;
}
.eyebrow.navy { color: var(--navy); }
.eyebrow.orange { color: var(--orange); }
/* Markenname soll immer "secureAir" geschrieben bleiben, nicht "SECUREAIR" */
.eyebrow.brand-case { text-transform: none; letter-spacing: 0.02em; font-size: 1.5rem; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--anthracite-70);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 4px 16px rgba(15,42,74,0.28); }
.btn-primary:hover { background: var(--navy-light); }
/* Header-CTA: garantiert deckender Navy-Hintergrund mit Schatten, damit der
   Button beim Scrollen (Wechsel von dunklem zu hellem Header) nie an
   Kontrast/Lesbarkeit verliert — Farbe bleibt wie gehabt Navy */
.main-nav .btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 4px 14px rgba(15,42,74,0.35); }
.main-nav .btn-primary:hover { background: var(--navy-light); }
.btn-ghost-dark { border-color: var(--orange); border-width: 1.5px; color: var(--white); background: rgba(0,0,0,0.28); }
.btn-ghost-dark:hover { border-color: var(--orange-light); color: var(--orange-light); background: rgba(0,0,0,0.4); }
.btn-ghost { border-color: var(--line); color: var(--anthracite); }
.btn-ghost:hover { border-color: var(--anthracite); }
.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.on-dark {
  background: rgba(10, 10, 12, 0.35);
  border-bottom-color: var(--line-on-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 24px; width: auto; }
.on-dark .brand-word { color: var(--white); }

/* Header-Icon: weisse Variante über dunklem Hero, farbige Variante sobald
   der Header beim Scrollen auf hellen Hintergrund wechselt (Kontrast-Fix) */
.brand .logo-icon { height: 86px; width: auto; }
.brand .logo-icon.logo-dark { display: none; }
.brand .logo-icon.logo-light { display: block; }
.on-dark .brand .logo-icon.logo-dark { display: block; }
.on-dark .brand .logo-icon.logo-light { display: none; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--anthracite);
  position: relative;
  padding: 6px 0;
}
.on-dark .main-nav a { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .btn { padding: 10px 22px; font-size: 0.92rem; }

.lang-switch { display: flex; align-items: center; gap: 10px; margin-right: 6px; }
.lang-switch a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--anthracite-45);
  padding: 4px 2px;
}
.on-dark .lang-switch a { color: rgba(255,255,255,0.55); }
.lang-switch a:hover { color: var(--anthracite); }
.on-dark .lang-switch a:hover { color: var(--white); }
.lang-switch a.active { color: var(--anthracite); border-bottom: 1.5px solid var(--orange); }
.on-dark .lang-switch a.active { color: var(--white); }
@media (max-width: 900px) {
  .lang-switch { margin: 6px 0 4px; }
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--anthracite); border-radius: 2px; transition: all 0.3s ease; }
.on-dark .nav-toggle span { background: var(--white); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 112px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--anthracite) !important; }
  /* Der Button "Beratung anfragen" ist auch ein <a> — obige Regel machte
     seinen Text sonst dunkel auf dunkelblauem Grund und damit unlesbar. */
  .main-nav a.btn, .main-nav a.btn-primary { color: var(--white) !important; border-bottom: none; width: auto; }
  .main-nav .btn { margin-top: 14px; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero video, .hero .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(0,0,0,0.55);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 30%, rgba(0,0,0,0.12) 52%, rgba(4,9,16,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 96px; width: 100%; }
.hero-content .eyebrow { opacity: 0; animation: heroFadeUp 0.9s var(--ease) 0.15s forwards; }
.hero-content h1 { opacity: 0; animation: heroFadeUp 1s var(--ease) 0.3s forwards; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero-tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,0.98);
  margin-top: 18px;
  max-width: 46ch;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease) 0.5s forwards;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(4, 9, 16, 0.16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
}
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; opacity: 0; animation: heroFadeUp 1s var(--ease) 0.68s forwards; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
  .hero-content .eyebrow, .hero-content h1, .hero-tagline, .hero-actions { animation: none; opacity: 1; }
}
.hero-langs {
  position: relative; z-index: 2;
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

/* small page hero (subpages) */
.page-hero {
  position: relative;
  padding: 176px 0 80px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.page-hero.pollutants-tone { background: var(--navy) url("/assets/hero-bg-pollutants.svg") center / cover no-repeat; }
.page-hero.firedamper-tone { background: var(--navy) url("/assets/hero-bg-firedampers.svg") center / cover no-repeat; }
.page-hero.dehumidification-tone { background: var(--navy) url("/assets/hero-bg-dehumidification.svg") center / cover no-repeat; }
.page-hero.maintenance-tone { background: var(--navy) url("/assets/hero-bg-maintenance.svg") center / cover no-repeat; }
.page-hero.commissioning-tone { background: var(--navy) url("/assets/hero-bg-commissioning.svg") center / cover no-repeat; }
.page-hero.retrofit-tone { background: var(--navy) url("/assets/hero-bg-retrofit.svg") center / cover no-repeat; }
.page-hero.residential-tone { background: var(--navy) url("/assets/hero-bg-residential.svg") center / cover no-repeat; }
.page-hero.newbuild-tone { background: var(--navy) url("/assets/hero-bg-newbuild.svg") center / cover no-repeat; }
.page-hero .swirl { position: absolute; right: -80px; top: -60px; opacity: 0.14; width: 420px; }
.page-hero p.lede { color: rgba(255,255,255,0.78); }
/* Unterseiten-Titel dezenter als der grosse Startseiten-Hero — sonst wirkt
   er auf breiten Screens überdimensioniert statt elegant. */
.page-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.08; }
.page-hero .eyebrow { font-size: 1rem; margin-bottom: 14px; }

/* ---------- Sections ---------- */
section { padding: 148px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--anthracite); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.68); }
.section-head { max-width: 720px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grid / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: transform 0.5s var(--ease), background 0.5s ease;
}
.card:hover { transform: translateY(-4px); background: var(--surface-2); }
.section-alt .card { background: var(--white); }
.section-alt .card:hover { background: var(--surface); }

.icon-tile {
  width: 40px; height: 40px;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  background: none;
  margin-bottom: 26px;
  transition: transform 0.5s var(--ease);
}
.card:hover .icon-tile { transform: translateY(-3px); }
.icon-tile svg { width: 34px; height: 34px; stroke: var(--orange); fill: none; stroke-width: 1.3; transition: stroke 0.4s ease; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.card-link .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* value cards on dark */
.value-card { padding: 4px 0; }
.value-card .icon-tile svg { stroke: var(--orange); }
.value-card h3 { color: var(--white); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: 0; } }
.split-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.split-media svg { width: 62%; fill: none; stroke: var(--orange); stroke-width: 0.7; }

.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--anthracite);
}
.check-list li:first-child { border-top: none; }
.check-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--orange); fill: none; stroke-width: 2; }
.section-dark .check-list li { border-top-color: var(--line-on-dark); color: rgba(255,255,255,0.9); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem,3.4vw,2.8rem); font-weight: 700; color: var(--navy); }
.stat .label { font-size: 0.92rem; color: var(--anthracite-70); margin-top: 6px; }
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } }

/* ---------- Services overview (index) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-tile {
  display: block;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.5s var(--ease), background 0.5s ease;
}
.service-tile:hover { transform: translateY(-4px); background: var(--surface); }
.service-tile .icon-tile { margin-bottom: 24px; }
.service-tile h3 { font-size: 1.08rem; margin-bottom: 9px; }
.service-tile p { font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--anthracite);
  color: var(--white);
  border-radius: 32px;
  padding: 84px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band > div:first-child { min-width: 0; flex: 1 1 320px; }
.cta-band h2 { color: var(--white); max-width: 18ch; overflow-wrap: break-word; }
.cta-band p { color: rgba(255,255,255,0.6); margin-top: 12px; }
.cta-band .btn-ghost-dark { border-color: rgba(255,255,255,0.3); }
@media (max-width: 640px) {
  .cta-band { padding: 44px 28px; }
  .cta-band h2 { max-width: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info-item:first-child { border-top: none; }
.contact-info-item svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 1.7; flex: none; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.98rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.94rem; color: var(--anthracite-70); }

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 320px;
}
.map-art { background: var(--surface); display: flex; align-items: center; justify-content: center; }
.map-art svg { width: 100%; height: 100%; }
.map-art iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 260px; }
#w3w-map { width: 100%; height: 100%; min-height: 320px; }
#w3w-map .leaflet-popup-content { font-family: var(--font); font-size: 0.92rem; line-height: 1.5; }
.w3w-line { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--anthracite-70); margin-top: 6px; }
.w3w-line a { color: var(--navy); font-weight: 600; }
.w3w-line a:hover { text-decoration: underline; }
.map-info { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.map-info h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 8px; }
.map-info p { margin-bottom: 26px; }
.map-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.map-actions .btn { padding: 12px 22px; font-size: 0.92rem; }
@media (max-width: 800px) { .map-card { grid-template-columns: 1fr; } .map-art { min-height: 200px; } .map-info { padding: 40px 32px; } }

.form-field { margin-bottom: 18px; }
.form-section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 26px; }
.form-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.form-field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.98rem;
  background: var(--surface);
  color: var(--anthracite);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--navy); background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.cols-3 { grid-template-columns: 0.8fr 1.1fr 1.1fr; }
.form-row.address { grid-template-columns: 1.8fr 0.7fr 1.3fr; }
@media (max-width: 560px) { .form-row, .form-row.cols-3, .form-row.address { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--anthracite-45); margin-top: 12px; }
#form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; display: none; }
#form-status.ok { display: block; color: #1c7a3f; }
#form-status.err { display: block; color: #c23b22; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.62); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-on-dark); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo-icon { height: 116px; width: auto; margin-bottom: 0; opacity: 0.98; }
.footer-wordmark { font-size: 2.9rem; font-weight: 500; color: var(--white); letter-spacing: -0.01em; }
@media (max-width: 520px) {
  .footer-logo-icon { height: 88px; }
  .footer-wordmark { font-size: 2.3rem; }
}
.footer-tagline { font-size: 1rem; color: rgba(255,255,255,0.68); max-width: 260px; margin-bottom: 4px; margin-top: -2px; }
.footer-grid h4 { color: var(--white); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid li { padding: 6px 0; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Breadcrumb / service nav ---------- */
.subnav { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); position: sticky; top: 112px; z-index: 40; }
.subnav .wrap { padding-top: 18px; padding-bottom: 18px; }
.subnav-desktop { display: flex; flex-wrap: wrap; gap: 14px 30px; width: 100%; }
.subnav a { font-size: 0.86rem; font-weight: 500; color: var(--anthracite-45); white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color 0.25s ease; flex-shrink: 0; }
.subnav a:hover, .subnav a.active { color: var(--anthracite); border-color: var(--orange); }

/* Mobile: die Leistungsliste blockiert sonst dauerhaft den Bildschirm beim
   Scrollen — auf schmalen Screens wird daraus ein kompakter, zuklappbarer
   Menü-Button statt einer permanent sichtbaren Pillen-Liste. */
.subnav-toggle { display: none; }
@media (max-width: 780px) {
  .subnav { top: 112px; padding: 0; }
  .subnav .wrap { display: block; padding: 0; }
  .subnav-desktop { display: none; }
  .subnav-toggle { display: block; }
  .subnav-toggle summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--anthracite);
  }
  .subnav-toggle summary::-webkit-details-marker { display: none; }
  .subnav-toggle summary .chevron { flex: none; width: 16px; height: 16px; stroke: var(--orange); fill: none; stroke-width: 2.4; transition: transform 0.25s ease; }
  .subnav-toggle[open] summary .chevron { transform: rotate(180deg); }
  .subnav-toggle-links { display: flex; flex-direction: column; padding: 0 24px 12px; max-height: 60vh; overflow-y: auto; }
  .subnav-toggle-links a { padding: 12px 2px; font-size: 0.92rem; color: var(--anthracite-70); border-top: 1px solid var(--line); white-space: normal; }
  .subnav-toggle-links a.active { color: var(--orange); font-weight: 600; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 0; }
.pill { display: inline-block; padding: 5px 13px; border-radius: 100px; background: var(--surface); font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.text-center { text-align: center; }
.mt-56 { margin-top: 56px; }

/* ---------- FAQ / Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--anthracite);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 4px 24px;
  color: var(--anthracite-70);
  line-height: 1.6;
  max-width: 700px;
}
