/* ==========================================================================
   NRW-KFZ-Gutachter: Design System
   Editorial, foto-getrieben, ruhig: scharfkantige Bildflächen, flache Buttons,
   Akzentfarbe als Textmarkierung statt Glow/Verlauf. Bewusst ohne
   Deko-Animationen (keine Pulse-Rings, kein Scroll-Parallax, keine
   Reveal-Bounces), nur funktionale Übergänge (Menü, Sticky-Header).
   ========================================================================== */

:root {
  color-scheme: light;

  /* Colors */
  --bg: #ffffff;
  --bg-alt: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --border: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.22);
  --text: #12181f;
  --text-muted: #4b5566;
  --text-faint: #6b7686;

  --accent: #1653b0;
  --accent-dark: #0f3f85;
  --accent-contrast: #ffffff;
  --accent-soft: rgba(22, 83, 176, 0.08);
  --success: #16a34a;

  /* Type */
  --font-heading: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Spacing / layout */
  --container-w: 1180px;
  --radius-s: 4px;
  --radius-m: 6px;
  --radius-l: 6px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { position: relative; padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}


.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { color: var(--text-muted); font-size: 17px; }

.text-muted { color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inline Textmarkierung in Überschriften (statt Badge/Glow) */
.hl { color: var(--accent); }

/* ==========================================================================
   Buttons, flach und rechteckig, ohne Verlauf oder Glow
   ========================================================================== */

.btn {
  --btn-h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 26px;
  border-radius: var(--radius-s);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--block { width: 100%; }
.btn--sm { --btn-h: 44px; padding: 0 20px; font-size: 14px; }

.btn--whatsapp { background: #25963f; color: #fff; }
.btn--whatsapp:hover { background: #1f7f35; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  background: linear-gradient(to bottom, rgba(8, 12, 22, 0.4), rgba(8, 12, 22, 0));
  --hdr-text: #ffffff;
  --hdr-text-muted: rgba(255, 255, 255, 0.85);
  --hdr-toggle-border: rgba(255, 255, 255, 0.4);
  --hdr-toggle-bg: rgba(255, 255, 255, 0.1);
  color: var(--hdr-text);
}

.site-header.is-scrolled,
body.light-top .site-header {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--border);
  --hdr-text: var(--text);
  --hdr-text-muted: var(--text-muted);
  --hdr-toggle-border: var(--border-strong);
  --hdr-toggle-bg: var(--surface);
}

.site-header.menu-open {
  --hdr-text: var(--text);
  --hdr-text-muted: var(--text-muted);
  --hdr-toggle-border: var(--border-strong);
  --hdr-toggle-bg: var(--surface);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  color: var(--hdr-text, var(--text));
}

.nav-desktop { display: flex; align-items: center; gap: 20px; }

.nav-desktop a {
  position: relative;
  padding: 6px 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hdr-text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-desktop a:hover { color: var(--hdr-text); }
.nav-desktop a.is-active { color: var(--hdr-text); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn--ghost { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--hdr-toggle-border);
  background: var(--hdr-toggle-bg);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 210;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hdr-text);
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}
.nav-toggle span::before { position: absolute; transform: translateY(-6px); }
.nav-toggle span::after { position: absolute; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(0) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 36px; }

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__footer { display: flex; flex-direction: column; gap: 14px; }
.mobile-menu__footer .btn {
  height: auto;
  min-height: var(--btn-h);
  padding: 14px 22px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.btn--twoline { flex-direction: column; gap: 3px; }
.btn--twoline .btn__line1 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.btn--twoline .btn__line2 { font-size: 16px; font-weight: 700; }

@media (max-width: 1100px) {
  .nav-desktop { display: none; }
  .header-actions .btn--ghost { display: none; }
  .header-actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1101px) {
  .mobile-menu { display: none; }
  .header-actions .btn--primary { display: inline-flex; }
}

/* ==========================================================================
   Hero, Foto und Text, kompakt statt bildschirmfüllend, keine Textanimation
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero__bg, .hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.62) 0%, rgba(8, 12, 22, 0.72) 55%, #0a1120 100%);
}

.hero__content {
  position: relative;
  padding: 210px 0 88px;
  width: 100%;
}

.hero__title { font-size: clamp(34px, 5.4vw, 54px); margin-bottom: 16px; max-width: 26ch; }

.hero__sub { font-size: clamp(16px, 2vw, 18px); color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin-bottom: 30px; }
.hero__sub a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.hero__facts span:not(.hero__facts-sep) { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts-sep { color: rgba(255, 255, 255, 0.32); }

.hero .eyebrow { color: #a9cbff; }
.hero .btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }

/* Page (non-home) header banner */
.page-hero { position: relative; padding: 168px 0 76px; overflow: hidden; color: #fff; }

.page-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.7);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.58) 0%, rgba(8, 12, 22, 0.7) 55%, #0a1120 100%);
}

.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); max-width: 22ch; color: #fff; }
.page-hero .eyebrow { color: #a9cbff; }
.page-hero p { color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 56ch; }

/* Plain (foto-loser) Seitenkopf für rechtliche / FAQ-Seiten */
.page-hero--plain {
  padding-top: 156px;
  color: var(--text);
  background: var(--bg);
}
.page-hero--plain h1 { color: var(--text); }
.page-hero--plain .eyebrow { color: var(--accent); }
.page-hero--plain p { color: var(--text-muted); }
.page-hero--plain .breadcrumb { color: var(--text-faint); }
.page-hero--plain .breadcrumb a:hover { color: var(--text-muted); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: rgba(255, 255, 255, 0.92); }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }

.stat { text-align: center; padding: 30px 12px; background: var(--surface); }
.stat__num { font-family: var(--font-heading); font-size: clamp(30px, 4.6vw, 40px); font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat__label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cards und Grids, scharfkantige Fotoflächen, keine Hover-Lift-Spielerei
   ========================================================================== */

.grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}

.card { position: relative; background: var(--surface); overflow: hidden; }

.card__media { height: 220px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 28px; }
.card__body h3 { font-size: 20px; margin-bottom: 10px; }
.card__body p { color: var(--text-muted); font-size: 15px; margin-bottom: 0; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 23px; height: 23px; }

.card--icon .card__body { padding: 30px 28px; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.card__link svg { width: 15px; height: 15px; }

/* Service list rows (Leistungen page) */
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row .icon-badge { margin-bottom: 0; }
.service-row h3 { font-size: 19px; margin-bottom: 6px; }
.service-row p { color: var(--text-muted); margin-bottom: 0; }

/* Split section (Text + Foto, scharfkantig) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }

.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.split__content h2 { font-size: clamp(24px, 3.2vw, 34px); }
.split__content p { color: var(--text-muted); font-size: 16.5px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
}

.checklist { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15.5px; }
.checklist svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Step numbers */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--surface); }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--text-muted); margin-bottom: 0; font-size: 15px; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Callout box */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-radius: var(--radius-m);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.callout h3 { font-size: 19px; margin-bottom: 6px; }
.callout p { color: var(--text-muted); margin-bottom: 0; max-width: 48ch; }

/* ==========================================================================
   CTA band, flach, kein Glow
   ========================================================================== */

.cta-band {
  border-radius: var(--radius-m);
  padding: 56px 44px;
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); max-width: 20ch; margin-inline: auto; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0 auto 26px; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }
.cta-band .btn--primary { background: #fff; color: var(--accent); }
.cta-band .btn--primary:hover { background: rgba(255, 255, 255, 0.88); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1px; background: var(--border); border: 1px solid var(--border); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { background: var(--surface); padding: 34px; }

.contact-line { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: none; }
.contact-line .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-line h4 { font-size: 13px; color: var(--text-faint); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-line a, .contact-line span { font-size: 16.5px; font-weight: 600; }
.contact-line a:hover { color: var(--accent); }

.map-card { background: var(--surface); display: flex; flex-direction: column; }
.map-card__visual { position: relative; aspect-ratio: 16 / 11; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 1; }
@media (max-width: 720px) { .map-card__visual { aspect-ratio: 16 / 9; } }
.map-card__visual svg.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }

.map-pin-anim {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-s);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.map-pin-anim svg { width: 24px; height: 24px; }

.map-card__body { padding: 22px 26px; }
.map-card__body p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }

.field__error {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.field__error svg { width: 16px; height: 16px; flex-shrink: 0; }

.field--invalid input,
.field--invalid textarea { border-color: var(--accent); }
.field--invalid .field__error { display: flex; }

.field--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 13px; color: var(--text-faint); margin-top: 14px; }

.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-s); font-size: 14.5px; font-weight: 500; }
.form-status.is-success { display: block; background: rgba(22, 163, 74, 0.1); color: #0f7a37; border: 1px solid rgba(22, 163, 74, 0.25); }
.form-status.is-error { display: block; background: rgba(220, 38, 38, 0.08); color: #b91c1c; border: 1px solid rgba(220, 38, 38, 0.22); }

/* Download cards (Auftrag page) */
.download-card { display: flex; align-items: center; gap: 20px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); }
.download-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.download-card__body { flex: 1; }
.download-card__body h3 { font-size: 17px; margin-bottom: 4px; }
.download-card__body p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 0; }

@media (max-width: 640px) {
  .download-card { flex-wrap: wrap; }
  .download-card .btn { width: 100%; }
}

/* Accordion (Wissenswertes / FAQ) */
.accordion { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.accordion-item { background: var(--surface); overflow: hidden; }
.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-item[open] summary .accordion-icon { transform: rotate(45deg); }
.accordion-item__body { padding: 0 24px 24px; color: var(--text-muted); font-size: 15.5px; }
.accordion-item__body p:last-child { margin-bottom: 0; }

/* Qualifikationen / Trust-Leiste */
.trust-bar { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.trust-chip svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.to-top svg { width: 19px; height: 19px; }

@media (max-width: 720px) { .to-top { right: 16px; bottom: 96px; } }

/* Sticky mobile action bar */
.mobile-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
}
.mobile-actionbar .btn { flex: 1; }

@media (max-width: 720px) {
  .mobile-actionbar { display: flex; }
  body { padding-bottom: 78px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 26px; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: var(--text-muted); font-size: 15px; }
.footer-grid a:hover { color: var(--accent); }

.footer-brand p { color: var(--text-muted); max-width: 36ch; font-size: 15px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-bottom a:hover { color: var(--text-muted); }

/* Legal pages (Impressum / Datenschutz) */
.legal { max-width: 780px; }
.legal h2 { font-size: 21px; margin-top: 38px; }
.legal p, .legal li { color: var(--text-muted); font-size: 15.5px; }
.legal ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--accent); }

/* No-op placeholders kept so existing markup classes don't break anything
   (scroll-reveal / motif classes intentionally do nothing now). */
.reveal, .reveal-stagger > * { opacity: 1; }
.road-divider { display: none; }

/* Einsatzgebiet-Liste */
.area-list { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.area-list li { display: flex; background: var(--surface); font-size: 15px; font-weight: 500; line-height: 1.4; }
.area-list li:not(:has(a)):not(.area-fill) { align-items: center; padding: 14px 18px; }
.area-list a { display: flex; align-items: center; flex: 1; padding: 14px 18px; }
.area-list a:hover { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 900px) { .area-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .area-list { grid-template-columns: repeat(2, 1fr); } }

/* Städte-Zeile im Footer */
.footer-areas { padding: 26px 0; border-top: 1px solid var(--border); margin-bottom: 26px; }
.footer-areas h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-areas ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-areas a { color: var(--text-muted); font-size: 14px; }
.footer-areas a:hover { color: var(--accent); }

.hero__highlights { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 30px; }
.hero__highlights li { display: flex; flex-direction: column; gap: 2px; padding: 14px 22px 14px 18px; border-left: 3px solid #a9cbff; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.hero__highlights strong { font-family: var(--font-heading); font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; color: #fff; line-height: 1.25; }
.hero__highlights span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.hero__highlights strong span { font-size: inherit; color: inherit; }

/* Urlaubshinweis (wird per urlaub.php nur im eingetragenen Zeitraum angezeigt) */
.vacation-banner { display: flex; flex-direction: column; gap: 4px; max-width: 640px; margin-bottom: 26px; padding: 16px 20px; background: #fff; color: var(--text); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.vacation-banner[hidden] { display: none; }
.vacation-banner strong { font-family: var(--font-heading); font-size: 17px; color: var(--accent); }
.vacation-banner__text { font-size: 15.5px; line-height: 1.5; }
