/* ============================================================
   ING. MICHAEL GÖTZ GMBH — Design System
   Richtung: "Tradition-Modern" — Dunkelblau + CI-Blau
   Typo: Archivo (Headlines) / Inter (Body)
   ============================================================ */

@import url("fonts.css");

:root {
  /* Farben — Basis */
  --blue-950: #061220;
  --blue-900: #0B1D33;
  --blue-800: #102A47;
  --sky-050: #E8F0F8;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --line: #D8E3EF;

  /* Farben — Text */
  --text-strong: #0B1D33;
  --text-body: #4A5F73;
  --text-invert-dim: rgba(255, 255, 255, 0.72);

  /* Farben — Akzent (CI-Blau, hell) */
  --accent-600: #1F63BC;
  --accent-500: #2B73D4;
  --accent-400: #6BA8EE;
  --accent-100: #EBF3FC;

  /* Typografie */
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Spacing-System (8er-Basis) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --section: clamp(4.5rem, 9vw, 7.5rem);

  /* Radius */
  --r-btn: 10px;
  --r-card: 16px;
  --r-img: 20px;

  /* Schatten */
  --shadow-card: 0 6px 24px -8px rgba(6, 18, 32, 0.10);
  --shadow-hover: 0 18px 44px -14px rgba(6, 18, 32, 0.22);
  --shadow-cta: 0 10px 28px -10px rgba(43, 115, 212, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.22s;
  --t-med: 0.45s;
}

/* ---------- Reset / Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.05rem, 5.5vw, 4rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.6rem); text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.35; }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

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

/* Sektions-Kopf */
.section-head {
  max-width: 640px;
  margin-bottom: var(--s-5);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-600);
  margin-bottom: var(--s-2);
}

.section-head p {
  margin-top: var(--s-2);
  font-size: 1.125rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 1.8rem;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--accent-600);
  transform: scale(1.02);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

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

.btn-line {
  border-color: var(--line);
  color: var(--text-strong);
  background: var(--white);
}

.btn-line:hover {
  border-color: var(--accent-500);
  color: var(--accent-600);
  transform: scale(1.02);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  transition: background-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
  z-index: 1;
  transition: height var(--t-med) var(--ease);
}

.site-header.scrolled {
  background: rgba(11, 29, 51, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header.scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.scrolled .container {
  height: 68px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.main-nav a:not(.btn) {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-invert-dim);
  transition: color var(--t-fast) var(--ease);
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: var(--accent-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) var(--ease);
}

.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-phone {
  padding: 0.6rem 1.2rem;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 8rem 6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: image-set(
    url("../assets/hero-installateur.webp") type("image/webp"),
    url("../assets/hero-installateur.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: 0% 48%;
  animation: hero-zoom 20s var(--ease) forwards;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 32, 0.94) 0%,
    rgba(6, 18, 32, 0.82) 28%,
    rgba(6, 18, 32, 0.55) 48%,
    rgba(6, 18, 32, 0.22) 68%,
    transparent 88%
  );
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Größer als MacBook: rechts etwas abschneiden, Telefonnummer am Gebäude bleibt sichtbar */
@media (min-width: 1800px) {
  .hero-bg {
    background-size: 114% auto;
    background-position: left 48%;
  }
}

.hero-content {
  max-width: 760px;
  text-shadow: 0 1px 3px rgba(6, 18, 32, 0.45), 0 6px 28px rgba(6, 18, 32, 0.3);
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--white);
  margin-bottom: var(--s-3);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6.5vw, 4.75rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-400);
  text-shadow: 0 1px 6px rgba(6, 18, 32, 0.55);
}

.hero-sub {
  margin-top: var(--s-3);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--white);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* Gestaffelter Auftritt beim Laden */
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-ctas {
  animation: hero-in 1s var(--ease) backwards;
}

.hero-eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.16s; }
.hero-sub { animation-delay: 0.28s; }
.hero-ctas { animation-delay: 0.4s; }

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

/* Scroll-Hinweis */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2.25rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

@media (hover: hover) {
  .hero-scroll:hover {
    opacity: 0.82;
    transform: translateX(-50%) translateY(4px);
  }
}

.hero-scroll-label {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-scroll-track {
  position: relative;
  width: 2px;
  height: 52px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero-scroll-track span {
  position: absolute;
  inset: 0;
  background: var(--white);
  animation: scroll-cue 2.4s var(--ease) infinite;
}

@keyframes scroll-cue {
  0%       { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* ---------- Hinweis-Band (Jobs) ---------- */

.notice-band {
  background: var(--blue-900);
  padding-block: var(--s-4);
  border-left: 4px solid var(--accent-500);
}

.notice-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.notice-band p.notice-band-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.notice-band p {
  color: var(--text-invert-dim);
  margin-top: 0.25rem;
}

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

.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-4);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(43, 115, 212, 0.22);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sky-050);
  color: var(--blue-800);
  margin-bottom: var(--s-3);
  transition: background-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  transition: transform var(--t-med) var(--ease);
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  background: var(--accent-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(43, 115, 212, 0.45);
}

.service-card:hover .service-icon svg,
.service-card:focus-visible .service-icon svg {
  transform: scale(1.06);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  transition: color var(--t-med) var(--ease);
}

.service-card p {
  flex: 1;
  font-size: 0.9688rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: var(--s-3);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-600);
  transition: color var(--t-med) var(--ease), gap var(--t-med) var(--ease);
}

.service-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease);
}

.service-card:hover .service-link,
.service-card:focus-visible .service-link {
  color: var(--accent-500);
  gap: 0.6rem;
}

.service-card:hover .service-link svg,
.service-card:focus-visible .service-link svg {
  transform: translateX(3px);
}

.service-card:focus-visible {
  outline: none;
  box-shadow: var(--shadow-hover), 0 0 0 3px rgba(43, 115, 212, 0.2);
}

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

.about-section {
  background: var(--paper);
}

.about-compose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  padding: clamp(var(--s-4), 5vw, var(--s-5));
  box-shadow: var(--shadow-card);
}

.about-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}

.about-logo picture,
.about-logo img {
  width: min(36rem, 100%);
  height: auto;
}

.about-compose-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-5) var(--s-6);
  align-items: start;
}

.about-copy h2 {
  margin-bottom: var(--s-4);
}

.about-team h3 {
  margin-bottom: var(--s-3);
}

.feature-list {
  display: grid;
  gap: var(--s-3);
}

.feature-list li {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
}

.feature-list .check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-600);
  margin-top: 2px;
  transform: scale(0.55);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.feature-list li.reveal.visible .check {
  transform: scale(1);
  opacity: 1;
}

.feature-list .check svg {
  width: 16px;
  height: 16px;
}

.feature-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  color: var(--text-strong);
  margin-bottom: 0.15rem;
}

.feature-list p {
  font-size: 0.9688rem;
}

.about-team {
  padding-left: var(--s-4);
  border-left: 1px solid var(--line);
}

.about-team ul {
  display: grid;
}

.about-team li {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform var(--t-fast) var(--ease);
}

@media (hover: hover) {
  .about-team li:hover {
    transform: translateX(4px);
  }

  .about-team li:hover span:first-child {
    color: var(--accent-600);
  }
}

.about-team li:first-child {
  padding-top: 0;
}

.about-team li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-team li span:first-child {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-strong);
  transition: color var(--t-fast) var(--ease);
}

.about-team li span:last-child {
  font-size: 0.875rem;
  color: var(--text-body);
}

/* ---------- Referenzen ---------- */

.references {
  background: var(--paper);
}

#partner {
  background: var(--white);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}

.reference-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-3) var(--s-3) var(--s-2);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.reference-card picture {
  display: block;
  width: 100%;
}

.reference-card img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  margin-bottom: var(--s-2);
}

.reference-card figcaption {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.reference-card--text {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-3);
}

.reference-card--text span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.45rem;
}

.reference-card--text strong {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ---------- Partner / Einsatzgebiet ---------- */

.area .section-head {
  margin-bottom: var(--s-4);
}

.area-section {
  background: var(--white);
}

.area-body {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) 1fr;
  gap: var(--s-5) var(--s-6);
  align-items: center;
}

.area-hq {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-4);
  box-shadow: var(--shadow-card);
}

.area-pin {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--white);
}

.area-pin svg {
  width: 26px;
  height: 26px;
}

.area-hq strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.2;
}

.area-hq-addr {
  display: block;
  font-size: 0.9688rem;
  color: var(--text-body);
  margin-top: 0.4rem;
}

.area-towns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem var(--s-4);
  list-style: none;
}

.area-towns li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-strong);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.area-towns li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent-500);
  transition: color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

@media (hover: hover) {
  .area-towns li:hover {
    color: var(--accent-600);
    transform: translateX(4px);
  }

  .area-towns li:hover svg {
    color: var(--accent-600);
    transform: scale(1.08);
  }
}

/* ---------- Partner-Logos ---------- */

.partner-marquee {
  overflow: hidden;
  margin-top: var(--s-2);
  padding-block: 0.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-scroll 38s linear infinite;
}

.partner-set {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-inline: calc(var(--s-2) / 2);
}

.partner-logo {
  display: grid;
  place-items: center;
  flex: 0 0 176px;
  min-height: 88px;
  padding: var(--s-2) var(--s-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

.partner-logo img {
  width: 100%;
  max-width: 132px;
  max-height: 44px;
  object-fit: contain;
}

@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: var(--s-5) var(--s-6);
  align-items: start;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

@media (hover: hover) {
  .faq-item:hover .faq-question {
    color: var(--accent-600);
  }
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-strong);
  padding: 1.25rem 0;
  transition: color var(--t-fast) var(--ease);
}

.faq-question span {
  flex: 1 1 auto;
  margin-right: auto;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-600);
  transition: transform var(--t-med) var(--ease);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}

.faq-answer p {
  padding: 0 0 var(--s-3);
  font-size: 0.9688rem;
}

/* ---------- CTA-Leiste ---------- */

.cta-bar {
  background: var(--blue-900);
  padding-block: var(--s-4);
}

.cta-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.cta-bar h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.cta-bar p {
  color: var(--text-invert-dim);
  margin-top: 0.3rem;
}

.cta-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---------- CTA-Sektion ---------- */

.cta-final {
  background: linear-gradient(120deg, var(--blue-950), var(--blue-800));
  text-align: center;
  padding-block: var(--s-5);
}

.cta-final h2 {
  color: var(--white);
  max-width: 560px;
  margin-inline: auto;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.cta-final p {
  color: var(--text-invert-dim);
  font-size: 1rem;
  max-width: 480px;
  margin: var(--s-1) auto 0;
}

.cta-final .hero-ctas {
  justify-content: center;
  margin-top: var(--s-3);
  gap: var(--s-2);
}

.cta-final .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.9375rem;
}

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

.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-5);
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-3);
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-hours li {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
}

.footer-col a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color var(--t-fast) var(--ease),
              background-size var(--t-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  background-size: 100% 1px;
}

.footer-contact {
  font-style: normal;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  padding-block: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom nav {
  display: flex;
  gap: var(--s-3);
}

.footer-bottom a {
  transition: color var(--t-fast) var(--ease);
}

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

.footer-credit {
  flex: 1 0 100%;
  margin: 0;
  padding-top: 0.15rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Unterseiten ---------- */

.page-hero {
  background: linear-gradient(120deg, var(--blue-950), var(--blue-800));
  padding-block: 7.5rem var(--s-4);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.page-hero .eyebrow {
  margin-bottom: var(--s-1);
}

.page-hero p {
  color: var(--text-invert-dim);
  font-size: 1rem;
  max-width: 560px;
  margin-top: var(--s-1);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  animation: hero-in 0.8s var(--ease) backwards;
}

.page-hero h1 { animation-delay: 0.08s; }
.page-hero p { animation-delay: 0.16s; }

.page-hero--center {
  text-align: center;
}

.page-hero--center p {
  margin-inline: auto;
}

/* Leistungen-Seite */

.leistungen-detail {
  background: var(--white);
}

.leistungen-nav-wrap {
  position: sticky;
  top: 68px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.leistungen-nav {
  display: flex;
  justify-content: center;
  gap: var(--s-1);
  padding-block: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.leistungen-nav::-webkit-scrollbar {
  display: none;
}

.leistungen-nav a {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.leistungen-nav a:hover {
  color: var(--blue-900);
  border-color: var(--accent-500);
  background: var(--accent-100);
  transform: scale(1.02);
}

.leistungen-nav a[aria-current] {
  color: var(--blue-900);
  border-color: var(--accent-500);
  background: var(--accent-100);
}

.leistungen-list {
  padding-block: var(--s-2) var(--s-4);
}

.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
  padding-block: var(--s-6);
  scroll-margin-top: 140px;
}

.leistung-block + .leistung-block {
  border-top: 1px solid var(--line);
}

.leistung-block--reverse .leistung-media {
  order: 2;
}

.leistung-media {
  margin: 0;
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-med) var(--ease);
}

.leistung-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.leistung-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease);
}

.leistung-block:hover .leistung-media {
  box-shadow: var(--shadow-hover);
}

.leistung-block:hover .leistung-media img {
  transform: scale(1.02);
}

.leistung-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.leistung-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-500);
}

.leistung-content .leistung-card-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.leistung-content .leistung-card-head .service-icon {
  margin: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.leistung-block:hover .leistung-card-head .service-icon {
  background: var(--accent-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(43, 115, 212, 0.45);
}

.leistung-content .leistung-card-head h2,
.leistung-content .leistung-card-head h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.leistung-content > p {
  font-size: 1rem;
  max-width: 520px;
}

.leistung-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-top: var(--s-1);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}

.leistung-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: var(--text-strong);
}

.leistung-features li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
}

/* Kontakt */

.contact-section {
  background: var(--paper);
}

.contact-compose {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
  padding: clamp(var(--s-4), 4vw, var(--s-5));
  background:
    linear-gradient(165deg, rgba(232, 240, 248, 0.9) 0%, rgba(244, 247, 251, 0.45) 46%, var(--white) 100%);
}

.contact-kicker {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.55rem;
}

.contact-phone-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-strong);
  margin: 0 0 0.45rem;
  letter-spacing: -0.04em;
}

.contact-phone-number:hover {
  color: var(--accent-600);
}

.contact-phone-hours {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0 0 var(--s-3);
}

.contact-hours-list {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.contact-hours-list div {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
}

.contact-hours-list dt,
.contact-hours-list dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-strong);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.contact-details {
  display: grid;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.contact-compose.visible .contact-lead {
  animation: rise-in 0.7s var(--ease) both;
}

.contact-compose.visible .contact-details li {
  animation: rise-in 0.55s var(--ease) both;
}

.contact-compose.visible .contact-details li:nth-child(1) { animation-delay: 0.1s; }
.contact-compose.visible .contact-details li:nth-child(2) { animation-delay: 0.18s; }
.contact-compose.visible .contact-details li:nth-child(3) { animation-delay: 0.26s; }

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

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 0;
}

.contact-details li + li {
  border-top: 1px solid var(--line);
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent-600);
  transition: transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

@media (hover: hover) {
  .contact-details li:hover .contact-detail-icon {
    transform: scale(1.06);
    border-color: rgba(43, 115, 212, 0.35);
    box-shadow: 0 8px 18px -10px rgba(31, 99, 188, 0.45);
  }
}

.contact-detail-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.contact-details li > div span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details address,
.contact-details p {
  margin: 0;
  font-style: normal;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--accent-600);
}

.contact-map {
  position: relative;
  min-height: 520px;
  background: var(--blue-900);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 100%;
  min-height: 520px;
  padding: var(--s-4);
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 38%, rgba(43, 115, 212, 0.28), transparent 48%),
    var(--blue-900);
}

.contact-map-pin {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-400);
  animation: pin-soft 2.8s var(--ease) infinite;
}

@keyframes pin-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.contact-map-pin svg {
  width: 26px;
  height: 26px;
}

.contact-map-consent strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-map-consent p {
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-invert-dim);
}

.contact-map-consent a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-map-external {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-400);
  text-decoration: none;
}

.contact-map-external:hover {
  color: var(--white);
}

/* Rechtstexte */

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin: var(--s-5) 0 var(--s-2);
}

.legal-content p + p {
  margin-top: var(--s-2);
}

.legal-content address {
  font-style: normal;
  margin-top: var(--s-2);
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffelte Reveals in Karten-Grids */
.services-grid > .reveal:nth-child(1) { --reveal-delay: 0s; }
.services-grid > .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.services-grid > .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.services-grid > .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.services-grid > .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.services-grid > .reveal:nth-child(6) { --reveal-delay: 0.3s; }

.reference-grid > .reveal:nth-child(1) { --reveal-delay: 0s; }
.reference-grid > .reveal:nth-child(2) { --reveal-delay: 0.16s; }
.reference-grid > .reveal:nth-child(3) { --reveal-delay: 0.32s; }
.reference-grid > .reveal:nth-child(4) { --reveal-delay: 0.56s; }
.reference-grid > .reveal:nth-child(5) { --reveal-delay: 0.72s; }
.reference-grid > .reveal:nth-child(6) { --reveal-delay: 0.88s; }

.feature-list > .reveal:nth-child(1) { --reveal-delay: 0s; }
.feature-list > .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.feature-list > .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.feature-list > .reveal:nth-child(4) { --reveal-delay: 0.24s; }

.area-towns > .reveal:nth-child(1) { --reveal-delay: 0s; }
.area-towns > .reveal:nth-child(2) { --reveal-delay: 0.05s; }
.area-towns > .reveal:nth-child(3) { --reveal-delay: 0.1s; }
.area-towns > .reveal:nth-child(4) { --reveal-delay: 0.15s; }
.area-towns > .reveal:nth-child(5) { --reveal-delay: 0.2s; }
.area-towns > .reveal:nth-child(6) { --reveal-delay: 0.25s; }
.area-towns > .reveal:nth-child(7) { --reveal-delay: 0.3s; }
.area-towns > .reveal:nth-child(8) { --reveal-delay: 0.35s; }
.area-towns > .reveal:nth-child(9) { --reveal-delay: 0.4s; }
.area-towns > .reveal:nth-child(10) { --reveal-delay: 0.45s; }

.faq-list > .reveal:nth-child(1) { --reveal-delay: 0s; }
.faq-list > .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.faq-list > .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.faq-list > .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.faq-list > .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.faq-list > .reveal:nth-child(6) { --reveal-delay: 0.3s; }

.about-team li.reveal:nth-child(1) { --reveal-delay: 0s; }
.about-team li.reveal:nth-child(2) { --reveal-delay: 0.05s; }
.about-team li.reveal:nth-child(3) { --reveal-delay: 0.1s; }
.about-team li.reveal:nth-child(4) { --reveal-delay: 0.15s; }
.about-team li.reveal:nth-child(5) { --reveal-delay: 0.2s; }
.about-team li.reveal:nth-child(6) { --reveal-delay: 0.25s; }

.leistungen-list .container > .reveal:nth-child(1) { --reveal-delay: 0s; }
.leistungen-list .container > .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.leistungen-list .container > .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.leistungen-list .container > .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.leistungen-list .container > .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.leistungen-list .container > .reveal:nth-child(6) { --reveal-delay: 0.3s; }

/* ---------- Cookie-Hinweis (nur technisch erforderlich) ---------- */

.cookie-banner {
  position: fixed;
  right: var(--s-2);
  bottom: var(--s-2);
  z-index: 200;
  width: min(22.5rem, calc(100% - 2rem));
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  background: var(--blue-900);
  color: var(--text-invert-dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-card);
  padding: 1.2rem 1.25rem 1.25rem;
  box-shadow: 0 18px 48px -16px rgba(6, 18, 32, 0.55);
  transform: translateY(0);
  opacity: 1;
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease);
}

.cookie-banner.is-hiding {
  pointer-events: none;
}

.cookie-banner.is-hiding .cookie-banner-inner {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-banner-text {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cookie-banner-text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner-text a:hover {
  text-decoration-color: var(--white);
}

.cookie-banner .btn {
  align-self: stretch;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
}

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

  .hero-bg,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .hero-scroll-track span,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .contact-compose.visible .contact-lead,
  .contact-compose.visible .contact-details li,
  .contact-map-pin {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card:hover,
  .service-card:focus-visible,
  .faq-item:hover,
  .leistungen-nav a:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-line:hover,
  .about-team li:hover {
    transform: none;
  }

  .area-towns li:hover,
  .area-towns li:hover svg,
  .contact-details li:hover .contact-detail-icon {
    transform: none;
  }

  .hero-scroll:hover {
    transform: translateX(-50%);
    opacity: 1;
  }

  .service-card:hover .service-icon,
  .service-card:focus-visible .service-icon,
  .leistung-block:hover .leistung-card-head .service-icon {
    transform: none;
  }

  .leistung-block:hover .leistung-media img {
    transform: none;
  }

  .feature-list li.reveal.visible .check {
    transform: scale(1);
    opacity: 1;
  }

  .partner-track {
    animation: none;
  }

  .partner-set[aria-hidden="true"] {
    display: none;
  }

  .partner-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .cookie-banner-inner,
  .cookie-banner.is-hiding .cookie-banner-inner {
    transition: none;
    transform: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-compose,
  .area-body,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .contact-map,
  .contact-map-consent {
    min-height: 280px;
  }

  .area-towns {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistung-block {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .leistung-block--reverse .leistung-media {
    order: 0;
  }

  .leistung-features {
    grid-template-columns: 1fr;
  }

  .leistungen-nav-wrap {
    top: 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-compose-body {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .about-team {
    padding-left: 0;
    border-left: none;
    padding-top: var(--s-3);
    border-top: 1px solid var(--line);
  }

}

@media (max-width: 720px) {
  :root {
    --section: 3.25rem;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 1rem;
    line-height: 1.55;
  }

  h3 {
    font-size: 1.125rem;
  }

  .container {
    width: min(1160px, 100% - 2rem);
  }

  .section-head {
    margin-bottom: var(--s-3);
    margin-inline: auto;
    text-align: center;
  }

  .section-head p {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
  }

  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9375rem;
  }

  .site-header,
  .site-header.scrolled {
    background: var(--blue-950);
  }

  .site-header .container,
  .site-header.scrolled .container {
    height: 64px;
  }

  .logo {
    font-size: 1.0625rem;
  }

  .logo span {
    font-size: 0.625rem;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 1.15rem;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    background: rgba(6, 18, 32, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-med) var(--ease),
                visibility var(--t-med) var(--ease);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a:not(.btn) {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--white);
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-phone {
    width: auto;
    justify-content: center;
    margin-top: 0.35rem;
  }

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

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

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

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding: 64px 0 0;
    background: var(--white);
  }

  .hero-bg {
    position: relative;
    inset: auto;
    z-index: 0;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1553 / 793;
    background-image: image-set(
      url("../assets/hero-installateur-800.webp") type("image/webp"),
      url("../assets/hero-installateur.jpg") type("image/jpeg")
    );
    background-size: 100% 100%;
    background-position: center;
    animation: none;
  }

  .hero-bg::after {
    display: block;
    background: linear-gradient(
      180deg,
      transparent 58%,
      rgba(255, 255, 255, 0.22) 78%,
      rgba(255, 255, 255, 0.72) 92%,
      var(--white) 100%
    );
  }

  .hero .container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: min(1160px, 100% - 2.5rem);
    max-width: none;
    background: transparent;
    border-radius: 0;
    padding: 3rem 0 0.35rem;
    box-shadow: none;
    text-align: center;
  }

  .hero-content {
    max-width: 26rem;
    text-shadow: none;
  }

  .hero-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.7rem;
    color: var(--accent-600);
  }

  .hero h1 {
    color: var(--text-strong);
    font-size: clamp(2rem, 8.6vw, 2.55rem);
    line-height: 1.12;
  }

  .hero h1 em {
    color: var(--accent-600);
    text-shadow: none;
  }

  .hero-sub {
    margin-top: 0.7rem;
    margin-inline: auto;
    font-size: 1.0625rem;
    color: var(--text-body);
    max-width: 22rem;
  }

  .hero-ctas {
    margin-top: 1.5rem;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
  }

  .hero .btn-ghost {
    border-color: var(--line);
    color: var(--text-strong);
    background: transparent;
    backdrop-filter: none;
  }

  .hero .btn-ghost:hover {
    border-color: var(--blue-800);
    background: var(--paper);
  }

  .hero-scroll {
    display: flex;
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0.15rem auto 1.1rem;
    gap: 0.4rem;
  }

  .hero-scroll:hover {
    transform: none;
  }

  .hero-scroll-label {
    color: var(--text-body);
    font-size: 0.625rem;
  }

  .hero-scroll-track {
    height: 32px;
    background: var(--line);
  }

  .hero-scroll-track span {
    background: var(--accent-500);
  }

  .notice-band {
    background: var(--sky-050);
    padding-block: 0.85rem;
    border-left: none;
  }

  .notice-band p.notice-band-title {
    display: block;
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 18rem;
    margin-inline: auto;
  }

  .notice-band p:not(.notice-band-title) {
    display: none;
  }

  .notice-band .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .notice-band .container > div {
    width: 100%;
  }

  .notice-band .btn {
    background: none;
    color: var(--accent-600);
    box-shadow: none;
    border: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .notice-band .btn:hover {
    background: none;
    transform: none;
    color: var(--accent-500);
  }

  .notice-band .btn svg {
    display: none;
  }

  .cta-bar {
    padding-block: var(--s-3);
  }

  .cta-bar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s-2);
  }

  .cta-bar h2 {
    font-size: 1.125rem;
  }

  .cta-bar p {
    font-size: 0.9375rem;
  }

  .cta-bar-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }

  .service-card {
    padding: 1.15rem 1.2rem 1.2rem;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: var(--s-2);
    border-radius: 12px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .service-link {
    margin-top: 0.85rem;
    font-size: 0.875rem;
  }

  .partner-logo {
    flex-basis: 140px;
    min-height: 72px;
    padding: var(--s-1) var(--s-2);
  }

  .partner-logo img {
    max-height: 36px;
  }

  .feature-list {
    gap: var(--s-2);
  }

  .feature-list p {
    font-size: 0.9375rem;
  }

  .about-team li {
    flex-direction: column;
    gap: 0.1rem;
  }

  .about-team li span:last-child {
    text-align: inherit;
  }

  .area-towns,
  .reference-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reference-grid > .reveal:nth-child(1) { --reveal-delay: 0s; }
  .reference-grid > .reveal:nth-child(2) { --reveal-delay: 0.16s; }
  .reference-grid > .reveal:nth-child(3) { --reveal-delay: 0.4s; }
  .reference-grid > .reveal:nth-child(4) { --reveal-delay: 0.56s; }
  .reference-grid > .reveal:nth-child(5) { --reveal-delay: 0.8s; }
  .reference-grid > .reveal:nth-child(6) { --reveal-delay: 0.96s; }

  .reference-grid {
    grid-auto-rows: 148px;
  }

  .reference-card {
    min-height: 0;
    height: 100%;
    padding: 0.75rem 0.65rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .reference-card img {
    height: 48px;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
  }

  .reference-card figcaption,
  .reference-card--text strong {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .reference-card--text {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.65rem;
  }

  .reference-card--text span {
    margin-bottom: 0.3rem;
  }

  .area-hq {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
  }

  .area-pin {
    width: 40px;
    height: 40px;
  }

  .area-pin svg {
    width: 20px;
    height: 20px;
  }

  .area-hq strong {
    font-size: 1.25rem;
  }

  .area-hq-addr {
    font-size: 0.875rem;
    margin-top: 0.2rem;
  }

  .area-towns {
    width: min(22.5rem, 100%);
    margin-inline: auto;
    gap: 0 1rem;
    justify-items: stretch;
  }

  .area-towns li {
    justify-content: flex-start;
    padding: 0.45rem 0;
    font-size: 0.875rem;
    text-align: left;
  }

  .faq-layout {
    gap: var(--s-3);
  }

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

  .faq-question {
    font-size: 0.9688rem;
    padding: 0.95rem 0;
  }

  .faq-answer p {
    font-size: 0.9375rem;
    padding: 0 0 1rem;
  }

  .cta-final {
    padding-block: var(--s-4);
  }

  .cta-final h2 {
    font-size: 1.25rem;
  }

  .cta-final p {
    font-size: 0.9375rem;
  }

  .page-hero {
    padding-block: 5.25rem var(--s-3);
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .page-hero p {
    font-size: 0.9375rem;
  }

  .leistungen-nav-wrap {
    top: 64px;
  }

  .leistungen-nav {
    justify-content: flex-start;
    padding-block: 0.65rem;
    gap: 0.4rem;
  }

  .leistungen-nav a {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
  }

  .leistung-block {
    padding-block: 1.35rem;
    gap: 0.9rem;
    scroll-margin-top: 118px;
  }

  .leistung-media {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .leistung-content {
    gap: 0.55rem;
  }

  .leistung-num {
    font-size: 0.625rem;
  }

  .leistung-content .leistung-card-head .service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .leistung-content .leistung-card-head h2,
  .leistung-content .leistung-card-head h3 {
    font-size: 1.25rem;
  }

  .leistung-content > p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .leistung-features {
    margin-top: 0.15rem;
    padding-top: 0.75rem;
    gap: 0.35rem;
  }

  .leistung-features li {
    font-size: 0.875rem;
    gap: 0.45rem;
  }

  .contact-info {
    padding: var(--s-3);
  }

  .contact-phone-number {
    font-size: 1.75rem;
  }

  .contact-map,
  .contact-map-consent {
    min-height: 230px;
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer-grid {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding-block: 1.15rem 1.25rem;
    border-top: none;
  }

  .footer-bottom nav {
    justify-content: center;
    gap: 1.15rem;
  }

  .footer-credit {
    flex-basis: auto;
    padding-top: 0.1rem;
  }

  .cookie-banner {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .cookie-banner-text {
    font-size: 0.875rem;
  }
}
