/* ---- base.css ---- */
/* =========================================================
   ViPoint-Air – Grundlagen: Farben, Schrift, Reset, Hilfsklassen
   ========================================================= */

:root {
  /* Marke */
  --ink: #050c18;
  --navy-950: #071122;
  --navy-900: #0a1628;
  --navy-800: #11243f;
  --navy-700: #1b3459;
  --blue-700: #0f4c94;
  --blue-600: #1560b7;
  --blue-500: #2a78d6;
  --blue-400: #4a9bf0;
  --sky-300: #8ccaff;
  --cyan-300: #6fe3ff;
  --heat-500: #ff6a2b;
  --heat-400: #ffa94d;
  --heat-600: #c2410c;
  --magenta-500: #d6336c;
  --green-600: #15803d;

  /* Text und Flächen */
  --text: #0a1628;
  --text-muted: #46566c;
  --text-on-dark: #eef3fa;
  --muted-on-dark: #aab8cb;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --surface-3: #e8eef5;
  --line: #dbe3ee;
  --line-strong: #c3cfdf;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Form */
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 14px;
  --shadow-1: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-2: 0 10px 30px rgba(10, 22, 40, 0.12);

  /* Schrift: Systemschriften – schnell, datensparsam, ohne externe Anbieter */
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(2.45rem, 1.5rem + 4.1vw, 5.1rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.5vw, 3.35rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.45vw, 1.32rem);

  /* Raster */
  --container: 1520px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-space: clamp(72px, 9vw, 136px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
  background: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

/* Dekorative Elemente (Glow, Schatten) dürfen nie seitliches Scrollen auslösen */
main {
  display: block;
  overflow-x: hidden;
  overflow-x: clip;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  text-wrap: pretty;
}

/* Lange deutsche Komposita in schmalen Spalten sauber trennen */
h3,
.card p,
.tile p,
.facts dd,
.industries p,
.checklist li {
  -webkit-hyphens: auto;
  hyphens: auto;
}


.muted {
  color: var(--text-muted);
}

/* Hervorgehobene Wörter in Überschriften */
h1 em,
h2 em {
  font-style: normal;
  color: var(--blue-600);
}

.on-dark h1 em,
.on-dark h2 em {
  color: var(--sky-300);
}

a {
  color: inherit;
}

strong {
  font-weight: 650;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blue-600);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Wiederkehrende Textbausteine */
.eyebrow {
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-600);
}

.on-dark .eyebrow {
  color: var(--sky-300);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
}

.on-dark {
  color: var(--text-on-dark);
}

.on-dark .lead,
.on-dark p {
  color: var(--muted-on-dark);
}

.mono {
  font-weight: 700;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Seitenwechsel: sanfter Übergang zwischen Seiten (moderne Browser) */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---- layout.css ---- */
/* =========================================================
   Layout: Container, Abschnitte, Raster
   ========================================================= */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(860px + 2 * var(--gutter));
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}

.section--soft {
  background: var(--surface-2);
}

/* Heller Abschnitt mit Höhenlinien-Grafik */
.section--topo {
  background:
    linear-gradient(rgba(243, 246, 250, 0.8), rgba(243, 246, 250, 0.8)),
    url("/assets/img/einsatzbereiche-bg.jpg") center / cover no-repeat;
}

.section--dark {
  background: var(--navy-950);
  color: var(--text-on-dark);
  isolation: isolate;
}

.section--ink {
  background: var(--ink);
  color: var(--text-on-dark);
  isolation: isolate;
}

.bg-glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -10%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 120, 214, 0.32) 0%, transparent 65%);
  pointer-events: none;
}

/* Kopf eines Abschnitts */
.section-head {
  max-width: 900px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 + .lead,
.section-head h2 + p {
  margin-top: 20px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

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

.section-head--split {
  display: grid;
  max-width: none;
  gap: 24px 64px;
  align-items: end;
}

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: 1.15fr 1fr;
  }

  .section-head--split .lead {
    margin-top: 0;
  }
}

/* Raster */
.grid {
  display: grid;
  gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px);
}

@media (min-width: 700px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Breite Bildschirme: vier Textspalten nebeneinander statt 2 × 2 (nicht in geteilten Layouts) */
@media (min-width: 1200px) {
  :not(.split) > .grid--2:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--wide-media {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .split--reverse > :first-child {
    order: 2;
  }

  .split--top {
    align-items: start;
  }
}

/* Kurze Überschrift + langer Inhalt: Überschrift oben, Inhalt darunter zweispaltig über die volle
   Breite – so entstehen keine Leerflächen neben einer schmalen Textspalte. Abschnitte mit Bild in
   der linken Spalte bleiben nebeneinander. */
@media (min-width: 960px) {
  .split--top:not(:has(> :first-child .media)) {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 3.5vw, 48px);
  }

  .split--top:not(:has(> :first-child .media)) > :first-child {
    max-width: 920px;
  }

  .split--top:not(:has(> :first-child .media)) > .checklist:not(.checklist--2),
  .split--top:not(:has(> :first-child .media)) > div > .checklist,
  .split--top:not(:has(> :first-child .media)) > .tech__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 64px);
  }

  .split--top:not(:has(> :first-child .media)) > .tech__list {
    margin-top: 0;
  }

  .split--top:not(:has(> :first-child .media)) > .prose:has(> :nth-child(2)) {
    max-width: none;
    columns: 2;
    column-gap: clamp(40px, 5vw, 80px);
  }

  .split--top:not(:has(> :first-child .media)) > .prose > * {
    break-inside: avoid;
  }

  .split--top:not(:has(> :first-child .media)) > .prose > h3 {
    break-after: avoid;
  }

  .split--top:not(:has(> :first-child .media)) > .stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px clamp(24px, 3vw, 48px);
  }

  .split--top:not(:has(> :first-child .media)) > .stack > * + * {
    margin-top: 0;
  }

  .split--top:not(:has(> :first-child .media)) > .answer {
    max-width: 920px;
  }
}

@media (min-width: 1200px) {
  .split--top:not(:has(> :first-child .media)) > .grid--2:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---- header.css ---- */
/* =========================================================
   Header, Mega-Menü, mobile Navigation, Seiten-Navigation, Footer
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: rgba(5, 12, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 12, 24, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.site-header__logo {
  position: relative;
  z-index: 120;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  width: auto;
  height: 54px;
}

.nav-toggle {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav__link:hover,
.main-nav__link[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav__link[aria-current="page"],
.main-nav__link.is-active {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--cyan-300);
  border-radius: 0;
}

.main-nav__phone .icon {
  color: var(--cyan-300);
}

.main-nav__cta {
  margin-left: 8px;
  min-height: 44px;
  padding: 10px 20px;
}

.main-nav__sub-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.main-nav__sub-toggle[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(-135deg);
}

/* ---------- Mega-Menü ---------- */

.mega {
  display: none;
}

.main-nav__item--mega.is-open .mega {
  display: block;
}

.mega__inner {
  display: grid;
  gap: 28px;
}

.mega__title {
  margin-bottom: 10px;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.mega__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega__link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mega__link:hover,
.mega__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
}

.mega__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(42, 120, 214, 0.2);
  color: var(--sky-300);
}

.mega__icon .icon {
  width: 22px;
  height: 22px;
}

.mega__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
}

.mega__text small {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted-on-dark);
}

.mega__feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.mega__feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.mega__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.05) 20%, rgba(5, 12, 24, 0.88) 100%);
}

.mega__feature:hover img {
  transform: scale(1.06);
}

.mega__feature strong {
  display: block;
  font-size: 1.1rem;
}

.mega__feature span {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

@media (min-width: 1024px) {
  .mega {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 36px 0 40px;
    background: rgba(5, 12, 24, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  }

  .main-nav__item--mega.is-open .mega {
    animation: mega-in 0.35s var(--ease-out);
  }

  .mega__inner {
    grid-template-columns: 1fr 1fr 0.9fr;
    gap: 40px;
  }
}

@keyframes mega-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Breite Bildschirme mit wenig Platz: Telefonnummer ausblenden */
@media (min-width: 1024px) and (max-width: 1180px) {
  .main-nav__item--phone {
    display: none;
  }
}

/* ---------- Mobile Navigation ---------- */

@media (max-width: 1023px) {
  :root {
    --header-h: 68px;
  }

  .site-header__logo img {
    height: 46px;
  }

  .nav-toggle {
    position: relative;
    z-index: 120;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .nav-toggle__bar {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    overflow-y: auto;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ink);
  }

  .main-nav.is-open {
    display: block;
    animation: mobile-nav-in 0.35s var(--ease-out);
  }

  /* backdrop-filter und transform machen den Header zum Bezugsrahmen für position: fixed –
     das offene Menü wäre dann nur so hoch wie der Header. Bei offenem Menü deshalb abschalten. */
  .nav-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    font-size: 1.35rem;
    font-weight: 650;
  }

  .main-nav__link:hover,
  .main-nav__link[aria-expanded="true"] {
    background: none;
  }

  .main-nav__link[aria-current="page"],
  .main-nav__link.is-active {
    box-shadow: none;
    color: var(--cyan-300);
  }

  .main-nav__phone {
    justify-content: flex-start;
    font-size: 1.1rem;
  }

  .main-nav__cta {
    justify-content: center;
    width: 100%;
    margin: 24px 0 0;
    min-height: 54px;
  }

  .mega {
    padding: 8px 0 16px;
  }

  .mega .container {
    padding-inline: 0;
  }

  .mega__feature {
    display: none;
  }
}

@keyframes mobile-nav-in {
  from {
    opacity: 0;
  }
}

/* ---------- Brotkrumen ---------- */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted-on-dark);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

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

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: #fff;
}

/* ---------- Seiten-Navigation (Inhaltsverzeichnis) ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: top 0.45s var(--ease-out);
}

.header-hidden .subnav {
  top: 0;
}

.subnav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.subnav__label {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.subnav__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  counter-reset: toc;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__link {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.subnav__link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.subnav__link.is-current {
  color: #fff;
  background: var(--navy-900);
}

@media (max-width: 760px) {
  .subnav__label {
    display: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  isolation: isolate;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  padding-block: clamp(56px, 7vw, 88px) 48px;
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.site-footer__brand img {
  width: auto;
  height: 64px;
  margin-bottom: 18px;
}

.site-footer__brand p {
  max-width: 340px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}

.site-footer__title {
  margin-bottom: 16px;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.site-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.site-footer__list a,
.site-footer__contact a {
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__list a:hover,
.site-footer__contact a:hover {
  color: var(--cyan-300);
  text-decoration: underline;
}

.site-footer__contact {
  display: grid;
  gap: 14px;
  font-style: normal;
  font-size: 0.97rem;
  color: var(--muted-on-dark);
}

.site-footer__contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__contact .icon {
  margin-top: 3px;
  color: var(--cyan-300);
}

.site-footer__note {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--muted-on-dark);
}

.site-footer__note strong {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
  color: var(--muted-on-dark);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  color: var(--text-on-dark);
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a[aria-current="page"] {
  color: var(--cyan-300);
  text-decoration: underline;
}

/* Großer Schriftzug als ruhiger Abschluss */
.site-footer__wordmark {
  margin: 0;
  padding-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 13rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.04);
  user-select: none;
}

/* Reine Dekoration: Der Schriftzug kommt aus CSS, damit er nicht als Text mit zu wenig Kontrast zählt */
.site-footer__wordmark::before {
  content: "VIPOINT AIR";
}

/* ---- components.css ---- */
/* =========================================================
   Bausteine: Buttons, Karten, Kacheln, Listen, Tabellen, FAQ …
   Bewusst ruhig gestaltet: Flächen statt feiner Rahmenlinien.
   ========================================================= */

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}

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

.btn--primary {
  background: var(--blue-600);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-700);
}

.btn--light {
  background: #fff;
  color: var(--navy-900);
}

.btn--light:hover {
  background: var(--surface-3);
}

.btn--ghost {
  border-color: var(--navy-900);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--navy-900);
  color: #fff;
}

.on-dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.on-dark .btn--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy-900);
}

.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--blue-600);
  text-decoration: none;
}

.text-link:hover,
p .text-link,
li .text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Links im Fließtext immer unterstrichen – nicht nur über die Farbe erkennbar */
p .text-link,
li .text-link {
  display: inline;
  text-decoration-thickness: 1px;
}

.on-dark .text-link {
  color: var(--sky-300);
}

/* ---------- Chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface-3);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.on-dark .chip {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

/* ---------- Karten ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0 0;
  border-top: 2px solid var(--line-strong);
  transition: border-color 0.3s ease;
}

.card p {
  color: var(--text-muted);
}

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

a.card:hover,
.card--hover:hover {
  border-top-color: var(--blue-600);
}

/* Karte mit Bild: Bild oben, ohne Linie */
.card:has(> .media) {
  padding-top: 0;
  border-top: 0;
}

.card > .media {
  aspect-ratio: 4 / 3;
  margin-bottom: 6px;
  border-radius: var(--radius);
  box-shadow: none;
}

.card__icon {
  display: block;
  color: var(--blue-600);
}

.card__icon .icon {
  width: 30px;
  height: 30px;
}

.card__num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-600);
}

.card--dark {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: var(--text-on-dark);
}

a.card--dark:hover,
.card--dark.card--hover:hover {
  border-top-color: var(--sky-300);
}

.card--dark p {
  color: var(--muted-on-dark);
}

.card--dark .card__icon {
  color: var(--cyan-300);
}

.card--dark .card__num {
  color: var(--cyan-300);
}

/* Lichtkegel, der dem Mauszeiger folgt (per JS gesetzt: --mx, --my) */
.spotlight {
  isolation: isolate;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(111, 227, 255, 0.12), transparent 60%);
  transition: opacity 0.4s ease;
}

.spotlight:hover::before {
  opacity: 1;
}

/* ---------- Bildkacheln (Leistungen) ---------- */

.bento {
  display: grid;
  gap: clamp(12px, 1.4vw, 18px);
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .bento > :nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }

  .bento > :nth-child(2) {
    grid-column: span 5;
  }

  .bento > :nth-child(3) {
    grid-column: span 5;
  }

  .bento > :nth-child(4),
  .bento > :nth-child(5),
  .bento > :nth-child(6) {
    grid-column: span 4;
  }

  /* Sieben Kacheln: untere Reihe mit vier Kacheln */
  .bento:has(> :nth-child(7)) > :nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (min-width: 760px) and (max-width: 1099px) {
  .bento > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

@media (min-width: 1100px) {
  .bento .tile {
    min-height: 0;
  }
}

.tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.tile__media img,
.tile__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0) 25%, rgba(5, 12, 24, 0.78) 72%, rgba(5, 12, 24, 0.94) 100%);
}

.tile:hover .tile__media img,
.tile:hover .tile__media video,
.tile:focus-visible .tile__media img {
  transform: scale(1.07);
}

.tile__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(5, 12, 24, 0.78);
  font-size: 0.8rem;
  font-weight: 650;
}

.tile h3 {
  max-width: 460px;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  margin-top: 24px;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Schmale Kacheln in der unteren Reihe: kleinere Überschrift, damit lange Wörter passen */
@media (min-width: 1100px) {
  .bento:has(> :nth-child(7)) > :nth-child(n + 4) h3 {
    font-size: clamp(1.2rem, 0.8rem + 0.7vw, 1.5rem);
  }

  .bento:has(> :nth-child(7)) > :nth-child(n + 4) p {
    font-size: 0.93rem;
  }
}

.tile p {
  max-width: 520px;
  margin-top: 8px;
  font-size: 0.98rem;
  color: rgba(238, 243, 250, 0.85);
}

.tile__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 650;
}

.tile__more .icon {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-900);
  transition: transform 0.35s var(--ease-out);
}

.tile:hover .tile__more .icon {
  transform: translateX(4px) rotate(-45deg);
}

/* Abstrakte Wärmebild-Fläche (ohne Foto) */
.tile__media--thermal {
  background:
    radial-gradient(circle at 30% 35%, #fff3c4 0%, #ffb347 8%, #ff6a2b 18%, #d6336c 32%, transparent 52%),
    radial-gradient(circle at 75% 65%, #ffd166 0%, #ff6a2b 10%, #b5179e 26%, transparent 46%),
    linear-gradient(160deg, #2b0a4f 0%, #170632 55%, #0b0420 100%);
}

.tile__media--thermal i {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.8;
}

.tile__media--thermal i:nth-child(1) {
  top: 18%;
  left: 58%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #ffe08a, #ff6a2b 60%, transparent 70%);
}

.tile__media--thermal i:nth-child(2) {
  top: 55%;
  left: 18%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #ffb347, #d6336c 60%, transparent 70%);
}

.tile__media--thermal i:nth-child(3) {
  top: 30%;
  left: 12%;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle, #ffd166, #ff6a2b 60%, transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
  .tile__media--thermal i {
    animation: thermal-drift 9s ease-in-out infinite alternate;
  }

  .tile__media--thermal i:nth-child(2) {
    animation-duration: 11s;
    animation-delay: -3s;
  }

  .tile__media--thermal i:nth-child(3) {
    animation-duration: 7s;
    animation-delay: -5s;
  }
}

@keyframes thermal-drift {
  to {
    transform: translate(30px, -24px) scale(1.25);
  }
}

/* ---------- Bilder und Videos ---------- */

.frame {
  position: relative;
}

.media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-3);
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--contain {
  background: #fff;
}

.media--contain img {
  object-fit: contain;
}

.media--dark {
  background: var(--navy-900);
}

/* Bildschirmaufnahmen aus der Auswertesoftware: Bedienleisten, Wasserzeichen und
   schwarze Ränder liegen außerhalb des Ausschnitts (Quelle 1920 × 1080,
   sichtbar ist x 10–1690, y 75–915). */
.video-crop {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
}

.video-crop video {
  position: absolute;
  top: -8.93%;
  left: -0.6%;
  width: 114.29%;
  max-width: none;
  height: auto;
}

.figure figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.on-dark .figure figcaption {
  color: var(--muted-on-dark);
}

.figure--small {
  max-width: 460px;
  margin-inline: auto;
}

/* Bilder in einer Reihe: gleiches Format, damit Bildunterschriften auf einer Linie liegen */
.grid > .figure > .media {
  aspect-ratio: 4 / 3;
}

/* Bildergalerie mit einheitlichem Bildformat (Pläne und Scans auf weißem Grund) */
.gallery {
  display: grid;
  gap: clamp(24px, 2.6vw, 36px);
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery .media {
  aspect-ratio: 3 / 2;
  padding: 14px;
  border: 1px solid var(--line);
}

/* Referenzen: Kennzahl groß über dem Titel */
.ref__figure {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-600);
}

.card p.ref__figure {
  color: var(--blue-600);
}

.ref .chips {
  margin-top: auto;
  padding-top: 6px;
}

/* Etiketten auf Bildern */
.spec {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-2);
  color: var(--text);
}

.spec small {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.spec strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.spec--tl { top: 18px; left: -14px; }
.spec--br { right: -14px; bottom: 22px; }
.spec--bl { left: -14px; bottom: 22px; }

@media (max-width: 600px) {
  .spec--tl { left: 10px; }
  .spec--br { right: 10px; }
  .spec--bl { left: 10px; }
}

/* ---------- Listen ---------- */

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

/* klare Trennung zwischen den Punkten */
.checklist li + li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checklist li + li::before {
  top: 17px;
}

.on-dark .checklist li + li {
  border-top-color: rgba(255, 255, 255, 0.16);
}

/* zweispaltig: erste Zeile ohne Linie, danach jede Zeile mit Linie */
@media (min-width: 700px) {
  .checklist--2 li:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }

  .checklist--2 li:nth-child(2)::before {
    top: 3px;
  }
}

@media (min-width: 960px) {
  .split--top:not(:has(> :first-child .media)) .checklist li:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }

  .split--top:not(:has(> :first-child .media)) .checklist li:nth-child(2)::before {
    top: 3px;
  }
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.on-dark .checklist li::before {
  background-color: var(--blue-500);
}

.checklist--2 {
  gap: 12px 32px;
}

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

.checklist strong {
  display: block;
  color: var(--text);
}

.on-dark .checklist strong {
  color: #fff;
}

/* Kennzahlen / Fakten: Beschriftung über Wert, jede Angabe mit eigener Trennlinie */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 0;
}

@media (min-width: 1024px) {
  .facts--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.facts > div {
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.on-dark .facts > div {
  border-top-color: rgba(255, 255, 255, 0.22);
}

/* Kennzahlen als Band unter einem Abschnitt */
.facts--band {
  margin-top: clamp(40px, 5vw, 64px);
}

.facts dt {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.facts dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Sehr schmale Bildschirme: Kennzahlen untereinander, damit lange Fachbegriffe Platz haben */
@media (max-width: 479px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Auf breiten Bildschirmen Wörter nicht trennen, auf dem Smartphone schon (lange Fachbegriffe) */
@media (min-width: 700px) {
  .facts dd {
    -webkit-hyphens: manual;
    hyphens: manual;
  }
}

.on-dark .facts dt {
  color: var(--muted-on-dark);
}

/* ---------- „Kurz erklärt“-Box (Antwortblock) ---------- */

.answer {
  padding-top: 18px;
  border-top: 2px solid var(--blue-600);
}

.answer__label {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-700);
}

.answer__label .icon {
  display: none;
}

.answer p {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}

/* Hinweis zur hoheitlichen Vermessung */
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 980px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.disclaimer .icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--blue-600);
}

.disclaimer strong {
  color: var(--text);
}

/* ---------- Fließtext ---------- */

.prose {
  max-width: 760px;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.15rem;
}

.prose > h3:first-child {
  margin-top: 0;
}

/* Zwischenüberschrift direkt über ihrem Absatz */
.prose h3 + p {
  margin-top: 0.4em;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose strong {
  color: var(--text);
}

.prose ul:not([class]),
.prose ol:not([class]) {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}

.prose a:not([class]) {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.on-dark .prose p,
.on-dark .prose li {
  color: var(--muted-on-dark);
}

.on-dark .prose strong {
  color: #fff;
}

.on-dark .prose a:not([class]) {
  color: var(--sky-300);
}

/* ---------- Tabellen ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.section--soft .table-wrap {
  box-shadow: none;
}

.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.table th,
.table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--surface-3);
  text-align: left;
  vertical-align: top;
}

.table thead th {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy-900);
}

.table tbody th {
  font-weight: 650;
}

.table td {
  color: var(--text-muted);
}

.table tbody tr:last-child > * {
  border-bottom: 0;
}

.table .is-yes {
  color: var(--green-600);
  font-weight: 650;
}

/* ---------- Ablauf (Prozess) ---------- */

.process {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-content: start;
  gap: 4px 22px;
  padding-bottom: 36px;
}

.process__step:last-child {
  padding-bottom: 0;
}

/* Verbindungslinie zwischen den Schritten */
.process__step::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: var(--blue-500);
  opacity: 0.35;
  transform-origin: top;
}

.process__step:last-child::before {
  display: none;
}

.process__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  font-weight: 700;
  color: #fff;
}

.process__step h3 {
  padding-top: 10px;
}

.process__step p {
  color: var(--text-muted);
}

.process__step > .chips {
  grid-column: 2;
  margin-top: 10px;
}

.on-dark .process__num {
  background: var(--blue-600);
}

.on-dark .process__step p {
  color: var(--muted-on-dark);
}

@media (min-width: 1100px) {
  .process--row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .process--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .process--row .process__step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .process--row .process__step::before {
    top: 23px;
    bottom: auto;
    left: 56px;
    right: -16px;
    width: auto;
    height: 2px;
    transform-origin: left;
  }

  .process--row .process__num {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .process--row .process__step h3 {
    padding-top: 0;
  }

  .process--row .process__step > .chips {
    grid-column: auto;
  }
}

/* ---------- FAQ: kompakte Liste, auf breiten Bildschirmen zweispaltig ---------- */

.faq {
  display: grid;
  gap: 0 48px;
  align-items: start;
}

@media (min-width: 960px) {
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  position: relative;
  display: block;
  padding: 16px 36px 16px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--blue-600);
}

.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--blue-600), var(--blue-600)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue-600), var(--blue-600)) center / 2px 14px no-repeat;
  transition: transform 0.3s var(--ease-out);
}

.faq__item[open] summary::after {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 0 18px;
  font-size: 0.97rem;
  color: var(--text-muted);
}

.faq__answer > * + * {
  margin-top: 0.8em;
}

/* Sanftes Aufklappen in modernen Browsern */
@supports (interpolate-size: allow-keywords) {
  .faq__item {
    interpolate-size: allow-keywords;
  }

  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
  }

  .faq__item[open]::details-content {
    height: auto;
  }
}

/* ---------- Hinweis-Boxen ---------- */

.note {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.section--soft .note {
  background: #fff;
}

.note .icon {
  width: 24px;
  height: 24px;
  color: var(--blue-600);
}

.note p {
  color: var(--text-muted);
}

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.note--heat .icon {
  color: var(--heat-600);
}

/* ---------- Ergebnis-Explorer (Tabs) ---------- */

.explorer__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}

.explorer__tabs::-webkit-scrollbar {
  display: none;
}

.explorer__tab {
  flex: 1 0 auto;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 650;
  white-space: nowrap;
  color: var(--muted-on-dark);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.explorer__tab:hover {
  color: #fff;
}

.explorer__tab[aria-selected="true"] {
  background: #fff;
  color: var(--navy-900);
}

.explorer__panel {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.explorer__panel[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .explorer__panel {
    grid-template-columns: 1.35fr 1fr;
  }
}

.explorer__panel.is-entering .explorer__media {
  animation: explorer-in 0.7s var(--ease-out);
}

.explorer__media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.explorer__media .media {
  height: 100%;
}

.explorer__media--wide {
  aspect-ratio: 2 / 1;
}

.explorer__text h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  margin-bottom: 14px;
}

.explorer__text .chips {
  margin-top: 22px;
}

@keyframes explorer-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 30%);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- Karte des Einsatzgebiets ---------- */

.map {
  margin: 0;
}

.map__svg {
  width: 100%;
  height: auto;
}

.map__land {
  fill: #dde7f2;
}

.section--topo .map__land,
.section--soft .map__land {
  fill: #fff;
}

.map__district {
  fill: none;
  stroke: #8fa6c0;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map__border {
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.map__state {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  fill: rgba(10, 22, 40, 0.16);
  text-anchor: middle;
}

.map__city circle {
  fill: var(--navy-900);
}

.map__city text {
  font-size: 17px;
  font-weight: 650;
  fill: var(--text);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 4px;
}

.map__dot {
  fill: var(--blue-600);
  stroke: #fff;
  stroke-width: 3;
}

.map__pulse {
  fill: rgba(21, 96, 183, 0.3);
  transform-box: fill-box;
  transform-origin: center;
}

.map__hq text {
  font-size: 20px;
  font-weight: 800;
  fill: var(--blue-700);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 5px;
}

.map__caption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.map__caption a {
  color: inherit;
}

@media (max-width: 700px) {
  .map__city text {
    font-size: 26px;
  }

  .map__city--minor text {
    display: none;
  }

  .map__hq text {
    font-size: 28px;
  }

  .map__state {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .map__pulse {
    animation: map-pulse 2.6s ease-out infinite;
  }
}

@keyframes map-pulse {
  from {
    transform: scale(0.8);
    opacity: 0.9;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------- Autor & Aktualität ---------- */

.author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

.author__text {
  flex: 1 1 280px;
}

.author__text strong {
  display: block;
  font-size: 1.05rem;
}

.author__text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.author__date {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.author-wrap {
  padding-top: clamp(48px, 6vw, 80px);
}

/* ---------- Abschluss-CTA mit Bild ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--radius-l);
  color: #fff;
  isolation: isolate;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(5, 12, 24, 0.94) 0%, rgba(5, 12, 24, 0.8) 50%, rgba(10, 40, 80, 0.5) 100%);
}

.cta-band h2 {
  max-width: 720px;
}

.cta-band p {
  max-width: 600px;
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: var(--muted-on-dark);
}

.cta-band__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 0.97rem;
}

.cta-band__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.cta-band__contact a:hover {
  text-decoration: underline;
}

.cta-band__contact .icon {
  color: var(--cyan-300);
}

/* ---------- Verwandte Leistungen ---------- */

.related {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.related .tile {
  min-height: 260px;
}

/* ---- animations.css ---- */
/* =========================================================
   Animationen
   ---------------------------------------------------------
   Scroll-Animationen laufen rein über CSS (Scroll-Driven
   Animations). Browser ohne Unterstützung zeigen alles sofort
   an – Inhalte sind nie von JavaScript abhängig. Bei
   „Bewegung reduzieren“ im Betriebssystem ist alles statisch.
   ========================================================= */

/* ---------- Fortschrittsbalken oben ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-300));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

@keyframes grow-x {
  to {
    transform: scaleX(1);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes reveal-clip {
  from {
    clip-path: inset(12% 12% 12% 12% round 28px);
    transform: scale(1.04);
  }
  to {
    clip-path: inset(0 0 0 0 round 0);
    transform: none;
  }
}

@keyframes parallax {
  from {
    transform: translateY(-6%) scale(1.12);
  }
  to {
    transform: translateY(6%) scale(1.12);
  }
}

@keyframes draw-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes draw-line {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      animation: grow-x linear both;
      animation-timeline: scroll(root block);
    }

    [data-reveal] {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    [data-reveal="fade"] {
      animation-name: reveal-fade;
    }

    [data-reveal="clip"] {
      animation-name: reveal-clip;
      animation-range: entry 0% cover 40%;
    }

    /* Kinder nacheinander einblenden */
    [data-stagger] > * {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    [data-stagger] > :nth-child(2) { animation-range: entry 5% entry 65%; }
    [data-stagger] > :nth-child(3) { animation-range: entry 10% entry 70%; }
    [data-stagger] > :nth-child(4) { animation-range: entry 15% entry 75%; }
    [data-stagger] > :nth-child(5) { animation-range: entry 20% entry 80%; }
    [data-stagger] > :nth-child(6) { animation-range: entry 25% entry 85%; }

    [data-parallax] {
      animation: parallax linear both;
      animation-timeline: view();
    }

    .process__step::before {
      animation: draw-y linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 55%;
    }

    .process--row .process__step::before {
      animation-name: draw-x;
    }

    /* Karte: Grenzen zeichnen sich beim Hineinscrollen */
    .map {
      view-timeline-name: --karte;
    }

    .map__border {
      stroke-dasharray: 1;
      animation: draw-line linear both;
      animation-timeline: --karte;
      animation-range: entry 5% cover 45%;
    }

    .map__district,
    .map__city,
    .map__state {
      animation: reveal-fade linear both;
      animation-timeline: --karte;
      animation-range: entry 30% cover 50%;
    }
  }
}

/* ---------- Hero: Auftritt beim Laden ---------- */

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken-burns {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scan {
  0% {
    transform: translateY(-10vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .anim-in {
    animation: hero-in 1s var(--ease-out) both;
  }

  .anim-in--1 { animation-delay: 0.1s; }
  .anim-in--2 { animation-delay: 0.22s; }
  .anim-in--3 { animation-delay: 0.34s; }
  .anim-in--4 { animation-delay: 0.46s; }
  .anim-in--5 { animation-delay: 0.58s; }

  .anim-float {
    animation: float 6s ease-in-out infinite;
  }
}


/* ---- home.css ---- */
/* =========================================================
   Startseite
   ========================================================= */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__img {
    animation: ken-burns 14s var(--ease-out) both;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.9) 0%, rgba(5, 12, 24, 0.62) 42%, rgba(5, 12, 24, 0.08) 75%),
    linear-gradient(0deg, rgba(5, 12, 24, 0.92) 0%, rgba(5, 12, 24, 0) 45%);
}

@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(0deg, rgba(5, 12, 24, 0.96) 15%, rgba(5, 12, 24, 0.55) 60%, rgba(5, 12, 24, 0.3) 100%);
  }

  .hero__img {
    object-position: 70% 30%;
  }
}

/* Sucher-Overlay („HUD“) */
.hero__hud {
  position: absolute;
  inset: calc(var(--header-h) + 20px) var(--gutter) 24px;
  z-index: -1;
  pointer-events: none;
  --c: rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(var(--c), var(--c)) top left / 34px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1.5px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 34px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1.5px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 34px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1.5px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 34px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1.5px 34px no-repeat;
}

.hero__scan {
  position: absolute;
  inset: 0 0 auto 48%;
  height: 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  background: linear-gradient(180deg, transparent, rgba(111, 227, 255, 0.1) 85%, rgba(111, 227, 255, 0.5) 100%);
  border-bottom: 1px solid rgba(111, 227, 255, 0.55);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scan {
    animation: scan 7s var(--ease-in-out) 1.2s infinite;
  }
}

.hero__reticle {
  position: absolute;
  top: 38%;
  left: 66%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 1px solid rgba(111, 227, 255, 0.5);
  border-radius: 50%;
}

.hero__reticle::before,
.hero__reticle::after {
  content: "";
  position: absolute;
  background: rgba(111, 227, 255, 0.55);
}

.hero__reticle::before {
  top: 50%;
  left: -18px;
  right: -18px;
  height: 1px;
  -webkit-mask: linear-gradient(90deg, #000 22px, transparent 22px calc(100% - 22px), #000 calc(100% - 22px));
  mask: linear-gradient(90deg, #000 22px, transparent 22px calc(100% - 22px), #000 calc(100% - 22px));
}

.hero__reticle::after {
  left: 50%;
  top: -18px;
  bottom: -18px;
  width: 1px;
  -webkit-mask: linear-gradient(180deg, #000 22px, transparent 22px calc(100% - 22px), #000 calc(100% - 22px));
  mask: linear-gradient(180deg, #000 22px, transparent 22px calc(100% - 22px), #000 calc(100% - 22px));
}

@media (prefers-reduced-motion: no-preference) {
  .hero__reticle {
    animation: hero-in 1.4s var(--ease-out) 0.6s both;
  }
}

@media (max-width: 1023px) {
  .hero__reticle {
    display: none;
  }
}

.hero__readout {
  position: absolute;
  top: 20px;
  right: 24px;
  display: grid;
  gap: 4px;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__readout span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  vertical-align: 1px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__readout span:first-child::before {
    animation: blink 2s ease-in-out infinite;
  }
}

@media (max-width: 760px) {
  .hero__readout {
    display: none;
  }
}

.hero__content {
  position: relative;
}

.hero__title {
  max-width: 1120px;
  font-size: clamp(2.4rem, 1.3rem + 4vw, 4.7rem);
  font-weight: 750;
}

.hero__lead {
  max-width: 640px;
  margin-top: 26px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(238, 243, 250, 0.86);
}

.hero__trust {
  display: grid;
  gap: 14px 32px;
  margin: 48px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

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

@media (min-width: 1100px) {
  .hero__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(238, 243, 250, 0.82);
}

.hero__trust strong {
  display: block;
  color: #fff;
}

.hero__trust .icon {
  width: 26px;
  height: 26px;
  color: var(--cyan-300);
}

/* ---------- Einleitung / Kurz erklärt ---------- */

.intro {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 1024px) {
  .intro {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  /* Kennzahlen rechts als Liste neben Überschrift und Kurzantwort */
  .intro .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.intro__text > .answer {
  margin-top: 26px;
}

.intro__text .answer p {
  color: var(--text);
}

.intro__text > * + * {
  margin-top: 18px;
}

.intro__text p {
  color: var(--text-muted);
}

/* ---------- Branchen ---------- */

.industries {
  display: grid;
  gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.industries li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.industries h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.industries .icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--cyan-300);
}

.industries p {
  font-size: 0.97rem;
}

.industries a {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.93rem;
}

/* ---------- Technik ---------- */

.tech {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

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

.tech__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.tech__media .media {
  height: 100%;
}

.tech__list {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tech__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2px 16px;
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tech__list .mono {
  grid-row: span 2;
  align-self: start;
  padding: 4px 0;
  border-radius: 6px;
  background: rgba(111, 227, 255, 0.14);
  font-size: 0.78rem;
  text-align: center;
  color: var(--cyan-300);
}

.tech__list strong {
  color: #fff;
}

.tech__list span:last-child {
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}

/* ---------- Einsatzgebiet (Karte) ---------- */

.region {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

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

/* ---------- Scan-to-BIM (Alleinstellungsmerkmal) ---------- */

.usp {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

@media (min-width: 1024px) {
  .usp {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.usp__media {
  max-width: 560px;
}

.usp__media .media {
  aspect-ratio: 1;
}

.usp__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 700px) {
  .usp__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.usp__steps li {
  counter-increment: step;
  padding-top: 14px;
  border-top: 2px solid var(--blue-600);
}

.usp__steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
}

.usp__steps strong {
  display: block;
  font-family: var(--font-display);
  line-height: 1.3;
}

.usp__steps span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Gründer ---------- */

.founder {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 960px) {
  .founder {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.founder__media {
  position: relative;
  max-width: 460px;
}

.founder__media .media {
  aspect-ratio: 4 / 5;
}

.founder__badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: 128px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-2);
}

@media (max-width: 600px) {
  .founder__badge {
    right: 10px;
    width: 104px;
  }
}

.founder blockquote {
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--blue-600);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

/* ---- pages.css ---- */
/* =========================================================
   Unterseiten: Seitenkopf, Leistungsseiten, Wärmebild-Thema,
   Über uns, Kontakt, Danke- und Fehlerseite
   ========================================================= */

/* ---------- Seitenkopf ---------- */

.phero {
  position: relative;
  padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(42, 120, 214, 0.28), transparent 70%),
    var(--navy-950);
  isolation: isolate;
}

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

@media (min-width: 1024px) {
  .phero__grid {
    grid-template-columns: 1.08fr 1fr;
  }
}

.phero h1 {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem);
}

.phero .lead {
  max-width: 620px;
  margin-top: 22px;
}

.phero__visual {
  position: relative;
}

.phero__visual .media {
  aspect-ratio: 4 / 3;
}

.phero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 0;
  list-style: none;
}

.phero__facts li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 639px) {
  .phero__facts strong {
    font-size: 0.92rem;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

.phero__facts small {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sky-300);
}

.phero__facts strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .phero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.phero--compact {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.phero--compact .phero__content {
  max-width: 820px;
}

/* ---------- Leistungsseiten: Bausteine ---------- */

.answer-wrap {
  margin-top: calc(-1 * clamp(28px, 4vw, 48px));
  position: relative;
  z-index: 2;
}

.answer-wrap .answer {
  background: #fff;
  box-shadow: var(--shadow-2);
}

.media-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .media-row {
    grid-template-columns: 1.4fr 1fr;
  }
}

.media-row .media {
  aspect-ratio: 4 / 3;
}

.text-media {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

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

  .text-media--reverse > :first-child {
    order: 2;
  }
}

.text-media .media {
  aspect-ratio: 4 / 3;
}

.text-media .media--natural {
  aspect-ratio: auto;
}

.text-media__text > * + * {
  margin-top: 18px;
}

.text-media__text > h3 {
  margin-top: 30px;
  font-size: 1.15rem;
}

.text-media__text > h3 + p {
  margin-top: 6px;
}

.text-media__text p {
  color: var(--text-muted);
}

.on-dark .text-media__text p {
  color: var(--muted-on-dark);
}

.limits {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .limits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Wärmebild-Thema (PV-Inspektion, Thermografie) ---------- */

.theme-heat .phero {
  background:
    radial-gradient(ellipse 60% 55% at 88% 18%, rgba(255, 106, 43, 0.3), transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 90%, rgba(214, 51, 108, 0.22), transparent 70%),
    #0d0a1c;
}

.theme-heat .on-dark .eyebrow,
.theme-heat .phero__facts small,
.theme-heat .on-dark .card__num {
  color: var(--heat-400);
}

.theme-heat .on-dark h1 em,
.theme-heat .section--dark h2 em {
  color: var(--heat-400);
}

.theme-heat .section--dark {
  background: #0d0a1c;
}

.thermal-scale {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-on-dark);
}

.thermal-scale i {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #12063a, #6b1fa3, #d6336c, #ff6a2b, #ffd166, #fff7d6);
}

/* ---------- Über uns ---------- */

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 24px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
  .timeline li {
    grid-template-columns: 1fr;
  }
}

.timeline .mono {
  font-size: 0.9rem;
  color: var(--sky-300);
}

.timeline h3 {
  color: #fff;
}

.timeline p {
  grid-column: 2;
  color: var(--muted-on-dark);
}

@media (max-width: 600px) {
  .timeline p {
    grid-column: 1;
  }
}

.certs {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .certs {
    grid-template-columns: 1.3fr 1fr;
  }
}

.cert {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.cert img {
  border-radius: 10px;
}

.cert--badge img {
  width: 180px;
  margin-inline: auto;
}

.partner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner__logo {
  display: flex;
  align-items: center;
  height: 64px;
}

.partner__logo img {
  width: auto;
  max-height: 56px;
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

.contact-form {
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.contact-form__grid {
  display: grid;
  gap: 18px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.93rem;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  outline: none;
  box-shadow: 0 0 0 4px rgba(21, 96, 183, 0.15);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.field--check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--blue-600);
}

.field--check label {
  font-weight: 400;
  color: var(--text-muted);
}

.field--check a {
  color: var(--blue-600);
}

.contact-form__hint {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form__submit {
  margin-top: 22px;
}

/* Spam-Falle: für Menschen unsichtbar */
.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status:focus {
  outline: none;
}

.form-status ul {
  margin: 8px 0 0;
  padding-left: 20px;
  font-weight: 400;
}

.form-status--success {
  background: #e7f6ec;
  color: #14532d;
}

.form-status--error {
  background: #fdecea;
  color: #8a1c13;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

/* Überschrift über Formular und Kontaktwegen, damit beide Spalten oben bündig starten */
.contact-grid > .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.contact-person {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-person img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 25%;
}

.contact-person figcaption {
  padding: 16px 20px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-person strong {
  display: block;
  color: var(--text);
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.35s var(--ease-out);
}

a.contact-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.contact-card .card__icon {
  margin: 0;
}

.contact-card strong {
  display: block;
}

.contact-card span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---- legal.css ---- */
/* =========================================================
   Rechtliche Seiten (Impressum, Datenschutz, AGB)
   ========================================================= */

.legal {
  background: var(--surface-2);
  padding-bottom: var(--section-space);
}

.legal__shell {
  max-width: calc(900px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.legal__shell--wide {
  max-width: calc(1040px + 2 * var(--gutter));
}

.legal-hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 40px;
  padding: calc(var(--header-h) + 56px) calc(50vw - 50%) 56px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(42, 120, 214, 0.28), transparent 70%),
    var(--navy-950);
  color: #fff;
}

.legal-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem);
}

.legal-hero p {
  margin-top: 16px;
  color: var(--muted-on-dark);
}

.legal-card {
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
  border-bottom: 0;
}

.legal__shell > .legal-block {
  padding: 28px clamp(20px, 3vw, 36px);
  margin-bottom: 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-block__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.legal-block__num {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-600);
}

.legal-block h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  letter-spacing: -0.015em;
}

.legal-block h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
}

.legal-block p,
.legal-block li {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.legal-block p + p {
  margin-top: 12px;
}

.legal-block a {
  color: var(--blue-600);
}

.legal-lines,
.legal-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list {
  gap: 8px;
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.legal-note,
.legal-point {
  margin-top: 14px;
  padding: 16px 18px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
}

/* ---- utilities.css ---- */
/* =========================================================
   Hilfsklassen – zuletzt geladen, damit sie Komponenten-Abstände
   gezielt überschreiben (z. B. .checklist.mt)
   ========================================================= */

.mt {
  margin-top: 18px;
}

.mt-lg {
  margin-top: clamp(36px, 4vw, 56px);
}
