@import url("../fonts/fonts.css");

/* ============================================================
   Hebrock & Proß Systempartner GmbH — „Tageslicht am Rugenbarg"
   Tokens exakt nach bau-brief.md §3
   ============================================================ */
:root {
  /* ---- ROLLEN (Standard = DUNKEL, GESETZ Kap. 1) ---- */
  --grund: #0a1b33;
  --flaeche: #102542;
  --text: #eaf1fa;
  --text-leise: #a9bdd6;
  --linie: #22384f;
  --marke-anzeige: #6fa8ff;
  --warm-text: #f0a259;
  --feld-grund: #f7f9fc;
  --feld-text: #131a24;

  /* ---- THEMENFEST: Bühnen über Video/Bild wechseln NIE (Kap. 11) ---- */
  --tief: #0a1b33;
  --tief-2: #061121;
  --tief-text: #ffffff;
  --tief-leise: #a9bdd6;
  --tief-linie: #22384f;
  --kalk-fest: #ffffff;
  --kalk-fest-leise: rgba(255, 255, 255, 0.9);

  /* ---- Marke (in beiden Themen identisch) ---- */
  --marke: #10479f;
  --warm: #e07a29;

  --kopf: "Sora", "Segoe UI", system-ui, sans-serif;
  --lauf: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 0.75rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sektion: clamp(5rem, 10vw, 9rem);
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --breite: 1240px;
}

/* ---- HELLES THEMA: nur die Rollen kippen, Bühnen bleiben ---- */
:root[data-thema="hell"] {
  --grund: #f5f2ec;
  --flaeche: #ffffff;
  --text: #131a24;
  --text-leise: #4c5764;
  --linie: #ddd6c9;
  --marke-anzeige: #10479f;
  --warm-text: #a65310;
  --feld-grund: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--lauf);
  /* Zielgruppe 60+ (it-service-rezept §1): Grundschrift 19px statt 16 */
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--kopf);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

.huelle {
  width: min(100% - var(--rand) * 2, var(--breite));
  margin-inline: auto;
}

.sektion {
  padding-block: var(--sektion);
}

.eyebrow {
  font-family: var(--lauf);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-text);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--warm);
  flex: none;
}
.eyebrow--hell {
  color: #f3b070;
}
.eyebrow--hell::before {
  background: var(--warm);
}

.h-display {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
}
.h-2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}
.h-3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-leise);
  max-width: 46ch;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--lauf);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.05rem 1.9rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.knopf:hover {
  transform: translateY(-2px);
}
.knopf--voll {
  background: var(--marke-anzeige);
  color: #06111f;
}
.knopf--voll:hover {
  background: color-mix(in srgb, var(--marke-anzeige) 82%, #fff);
}
.knopf--warm {
  background: var(--warm);
  color: #22150a;
}
.knopf--warm:hover {
  background: #f08c3c;
}
.knopf--linie {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.knopf--linie:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.knopf--linie-dunkel {
  border-color: var(--marke-anzeige);
  color: var(--marke-anzeige);
}
.knopf--linie-dunkel:hover {
  background: color-mix(in srgb, var(--marke-anzeige) 14%, transparent);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
  border-radius: 4px;
}

.nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.spring {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--marke-anzeige);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.spring:focus {
  top: 0;
}

/* ============================================================
   KOPFLEISTE
   ============================================================ */
.leiste {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--rand);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    padding 0.35s var(--ease);
}
.leiste[data-fest="ja"] {
  background: color-mix(in srgb, var(--grund) 94%, transparent);
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 var(--linie),
    0 10px 30px -22px rgba(10, 27, 51, 0.6);
  padding-block: 0.6rem;
}
.leiste__marke {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.leiste__logo {
  height: 44px;
  width: auto;
}
.leiste__name {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}
.leiste__name span {
  display: block;
  font-family: var(--lauf);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}
.leiste[data-fest="ja"] .leiste__name {
  color: var(--text);
}
.leiste[data-fest="ja"] .leiste__name span {
  color: var(--text-leise);
}

.leiste__nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.leiste__nav a {
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-block: 0.3rem;
}
.leiste[data-fest="ja"] .leiste__nav a {
  color: var(--text);
}
.leiste__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--warm);
  transition: width 0.3s var(--ease);
}
.leiste__nav a:hover::after {
  width: 100%;
}
.leiste__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--warm);
  color: #22150a;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.leiste__tel:hover {
  transform: translateY(-2px);
  background: #f08c3c;
}
@media (max-width: 900px) {
  .leiste__nav { display: none; }
  .leiste__logo { height: 36px; }
  .leiste__name { font-size: 0.88rem; }
  .leiste__tel { padding: 0.6rem 0.95rem; font-size: 0.95rem; white-space: nowrap; }
}
@media (max-width: 560px) {
  .leiste__name { display: none; }
}

/* ============================================================
   HEAD
   ============================================================ */
.head {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--tief);
}
.head__medium {
  position: absolute;
  inset: 0;
}
.head__medium video,
.head__medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.head__schleier {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(6, 17, 33, 0.94) 0%,
      rgba(6, 17, 33, 0.72) 34%,
      rgba(6, 17, 33, 0.34) 62%,
      rgba(6, 17, 33, 0.5) 100%
    ),
    linear-gradient(to right, rgba(6, 17, 33, 0.7) 0%, rgba(6, 17, 33, 0.1) 62%);
}
.head__inhalt {
  position: relative;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3.5rem, 8vh, 6rem);
  color: #fff;
}
.head h1 {
  color: #fff;
}
.head h1 em {
  font-style: normal;
  color: var(--warm);
}
.head__beweis {
  max-width: 44ch;
  margin: 1.9rem 0 2.4rem;
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.head__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.head__runter { display: none; }
@media (max-width: 700px) {
  .head__runter {
    display: none;
  }
}

/* Choreografie 0–3 s */
.auf {
  opacity: 0;
  transform: translateY(24px);
}
.head[data-los="ja"] .auf {
  animation: auf 0.7s var(--ease) forwards;
}
.head[data-los="ja"] .auf--1 {
  animation-delay: 1.2s;
}
.head[data-los="ja"] .auf--2 {
  animation-delay: 1.45s;
}
.head[data-los="ja"] .auf--3 {
  animation-delay: 2.4s;
}
.head[data-los="ja"] .auf--4 {
  animation-delay: 2.6s;
}
@keyframes auf {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auf {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================
   FAKTEN-LEISTE (⭐ Signature „Werkbank-Band")
   ============================================================ */
.fakten {
  background: var(--flaeche);
  border-block: 1px solid var(--linie);
  position: relative;
}
.fakten__raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fakten__zelle {
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--linie);
  position: relative;
}
.fakten__zelle:first-child {
  border-left: 0;
}
.fakten__wert {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--marke-anzeige);
  display: block;
}
.fakten__wert small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0;
}
.fakten__label {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-leise);
  font-weight: 500;
}
.fakten__strich {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--warm);
  transition: width 1.1s var(--ease);
}
.fakten__zelle[data-sichtbar="ja"] .fakten__strich {
  width: 3.5rem;
}
@media (max-width: 780px) {
  .fakten__raster {
    grid-template-columns: 1fr 1fr;
  }
  .fakten__zelle:nth-child(3) {
    border-left: 0;
  }
  .fakten__zelle:nth-child(n + 3) {
    border-top: 1px solid var(--linie);
  }
}

/* ============================================================
   ZWEI EINSTIEGE
   ============================================================ */
.tore__kopf {
  max-width: 62ch;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}
.tore__raster {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.tor {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: clamp(26rem, 42vw, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.tor img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.tor::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(6, 17, 33, 0.95) 8%,
    rgba(6, 17, 33, 0.6) 45%,
    rgba(6, 17, 33, 0.15) 100%
  );
}
.tor:hover img {
  transform: scale(1.05);
}
.tor__inhalt {
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.tor__marke {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f3b070;
  margin-bottom: 0.9rem;
}
.tor h3 {
  color: #fff;
  margin-bottom: 0.7rem;
}
.tor p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: 38ch;
}
.tor__pfeil {
  margin-top: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #fff;
}
.tor__pfeil svg {
  transition: transform 0.3s var(--ease);
}
.tor:hover .tor__pfeil svg {
  transform: translateX(6px);
}

/* ============================================================
   MANIFEST-BAND (Bruch-Ebene 1)
   ============================================================ */
.band {
  background: var(--tief);
  color: var(--tief-text);
  position: relative;
  overflow: hidden;
}
.band__raster {
  display: grid;
  gap: clamp(2.4rem, 5vw, 5rem);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
.band h2 {
  color: #fff;
}
.band__satz {
  font-family: var(--kopf);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.6rem;
}
.band__satz em {
  font-style: normal;
  color: var(--warm);
}
.band p {
  color: var(--tief-leise);
  max-width: 52ch;
}
.band__person {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--tief-linie);
}
.band__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex: none;
  background: var(--marke);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.band__person strong {
  display: block;
  color: #fff;
  font-size: 1.06rem;
}
.band__person span {
  color: var(--tief-leise);
  font-size: 0.95rem;
}
.band__bild {
  border-radius: var(--radius);
  overflow: hidden;
}
.band__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
@media (max-width: 900px) {
  .band__raster {
    grid-template-columns: 1fr;
  }
  .band__bild {
    order: -1;
  }
  .band__bild img {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
   LEISTUNGEN 01–06
   ============================================================ */
.leistung {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(2rem, 3.4vw, 2.9rem);
  border-top: 1px solid var(--linie);
}
.leistung:last-of-type {
  border-bottom: 1px solid var(--linie);
}
.leistung__nr {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--warm);
  line-height: 1;
  letter-spacing: -0.02em;
}
.leistung h3 {
  margin-bottom: 0.65rem;
}
.leistung p {
  color: var(--text-leise);
  max-width: 58ch;
  font-size: 1.02rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.chip {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--text-leise);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}
.leistung__preis {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--marke-anzeige);
  white-space: nowrap;
  padding-top: 0.35rem;
}
@media (max-width: 760px) {
  .leistung {
    grid-template-columns: 3.2rem 1fr;
  }
  .leistung__preis {
    grid-column: 2;
    padding-top: 0;
  }
}

/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf {
  background: var(--flaeche);
  border-block: 1px solid var(--linie);
}
.ablauf__raster {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}
.schritt {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.4rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--linie);
}
.schritt:last-child {
  border-bottom: 0;
}
.schritt__nr {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  flex: none;
  border: 2px solid var(--marke-anzeige);
  color: var(--marke-anzeige);
  display: grid;
  place-items: center;
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.15rem;
}
.schritt h3 {
  font-size: 1.22rem;
  margin-bottom: 0.35rem;
}
.schritt p {
  color: var(--text-leise);
  font-size: 1rem;
}
.ablauf__bild {
  border-radius: var(--radius);
  overflow: hidden;
}
.ablauf__bild img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.zusage {
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  background: rgba(224, 122, 41, 0.09);
  border-left: 4px solid var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.zusage strong {
  font-family: var(--kopf);
}
@media (max-width: 900px) {
  .ablauf__raster {
    grid-template-columns: 1fr;
  }
  .ablauf__bild {
    order: -1;
  }
}

/* ============================================================
   FRAGEN (FAQ)
   ============================================================ */
.fragen__raster {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 0.8fr 1.2fr;
}
.frage {
  border-top: 1px solid var(--linie);
}
.frage:last-child {
  border-bottom: 1px solid var(--linie);
}
.frage summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1.35rem;
  font-family: var(--kopf);
  font-weight: 600;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.frage summary::-webkit-details-marker {
  display: none;
}
.frage summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--marke-anzeige);
  flex: none;
  transition: transform 0.3s var(--ease);
}
.frage[open] summary::after {
  transform: rotate(45deg);
}
.frage__antwort {
  padding-bottom: 1.5rem;
  color: var(--text-leise);
  max-width: 62ch;
}
@media (max-width: 860px) {
  .fragen__raster {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EINZUGSGEBIET
   ============================================================ */
.gebiet {
  background: var(--flaeche);
  border-block: 1px solid var(--linie);
}
.gebiet__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.gebiet__liste li {
  font-family: var(--kopf);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  color: var(--text);
  padding: 0.4rem 1.05rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
}
.gebiet__liste li:nth-child(3n) {
  color: var(--marke-anzeige);
  border-color: color-mix(in srgb, var(--marke-anzeige) 45%, transparent);
}

/* ============================================================
   KONTAKT (Bruch-Ebene 2)
   ============================================================ */
.kontakt {
  background: var(--tief);
  color: var(--tief-text);
}
.kontakt__raster {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 0.95fr 1.05fr;
}
.kontakt h2 {
  color: #fff;
}
.kontakt__daten {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.5rem;
}
.datum__label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tief-leise);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.datum__wert {
  font-family: var(--kopf);
  font-weight: 600;
  font-size: 1.24rem;
  color: #fff;
  text-decoration: none;
}
a.datum__wert:hover {
  color: var(--warm);
}
.zeiten {
  display: grid;
  gap: 0.3rem;
  font-size: 1.02rem;
  color: var(--tief-text);
}
.zeiten div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 22rem;
  padding-block: 0.2rem;
  border-bottom: 1px dashed var(--tief-linie);
}
.zeiten small {
  display: block;
  margin-top: 0.6rem;
  color: var(--tief-leise);
  font-size: 0.9rem;
}

.formular {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--tief-linie);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.feld {
  margin-bottom: 1.2rem;
}
.feld label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.feld input,
.feld textarea,
.feld select {
  width: 100%;
  padding: 0.95rem 1.05rem;
  background: var(--feld-grund);
  color: var(--feld-text);
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--lauf);
  font-size: 1.02rem;
}
.feld input:focus,
.feld textarea:focus,
.feld select:focus {
  border-color: var(--warm);
  outline: none;
}
.feld textarea {
  min-height: 8rem;
  resize: vertical;
}
.honig {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.formular__zusage {
  margin-top: 1rem;
  font-size: 0.94rem;
  color: var(--tief-leise);
}

.karte {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--tief-linie);
  position: relative;
}
.karte__vorschau {
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  background: #0f2440;
  color: #fff;
  text-align: left;
}
.karte__vorschau img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.55;
}
.karte__hinweis {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(10, 27, 51, 0.55);
}
.karte__hinweis strong {
  font-family: var(--kopf);
  font-size: 1.1rem;
}
.karte__hinweis span {
  font-size: 0.9rem;
  color: var(--tief-leise);
  max-width: 34ch;
}
.karte iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .kontakt__raster {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FUSS + STICKY
   ============================================================ */
.fuss {
  background: #061121;
  color: var(--tief-leise);
  padding-block: 3.5rem 2.2rem;
  font-size: 0.97rem;
}
.fuss__raster {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}
.fuss__logo {
  height: 46px;
  width: auto;
  margin-bottom: 1.2rem;
}
.fuss h4 {
  font-family: var(--kopf);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.fuss ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.fuss a {
  text-decoration: none;
}
.fuss a:hover {
  color: var(--warm);
}
.fuss__unten {
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #16283f;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.88rem;
}
@media (max-width: 760px) {
  .fuss__raster {
    grid-template-columns: 1fr;
  }
}

.sticky-tel {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--warm);
  color: #22150a;
  font-weight: 700;
  font-family: var(--lauf);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(224, 122, 41, 0.75);
  transition: transform 0.25s var(--ease);
}
.sticky-tel:hover {
  transform: translateY(-3px);
}
@media (max-width: 520px) {
  .sticky-tel span {
    display: none;
  }
  .sticky-tel {
    padding: 1.05rem;
  }
}

/* ---------- Scroll-Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
[data-reveal][data-sichtbar="ja"] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .fakten__strich {
    transition: none;
  }
}


/* --- Nachtrag Sehen-Loop 06.09.2026 --- */
:where(#fakten, #hilfe, #leistungen, #ablauf, #firmen, #kontakt) { scroll-margin-top: 6.5rem; }

/* Karte: feste Bildhöhe + heller (war zu dunkel und zu hoch) */
.karte__vorschau img { aspect-ratio: 16 / 9; height: auto; opacity: 0.72; }
.karte__hinweis { background: rgba(10, 27, 51, 0.42); }


/* ============================================================
   THEMEN-SCHALTER + themenfeste Bühnen (GESETZ Kap. 1 + 11)
   ============================================================ */
.head h1,
.head .head__beweis,
.tor h3,
.tor p,
.tor__pfeil,
.band__satz,
.band h2,
.kontakt h2,
.formular h3,
.feld label {
  color: var(--kalk-fest);
}
.head .head__beweis,
.tor p {
  color: var(--kalk-fest-leise);
}
.leiste:not([data-fest="ja"]) .leiste__name { color: var(--kalk-fest); }
.leiste:not([data-fest="ja"]) .leiste__nav a { color: var(--kalk-fest-leise); }

.thema-schalter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  background: transparent;
  color: var(--kalk-fest);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.leiste[data-fest="ja"] .thema-schalter { color: var(--text); }
.thema-schalter:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.thema-schalter .ikon-hell { display: none; }
:root[data-thema="hell"] .thema-schalter .ikon-hell { display: block; }
:root[data-thema="hell"] .thema-schalter .ikon-dunkel { display: none; }
.textseite ~ .fuss .thema-schalter,
.mitte .thema-schalter { color: var(--text); }


/* ============================================================
   STIMMEN — Diashow, zieht nach links, Pause bei Hover/Fokus
   ============================================================ */
.stimmen { background: var(--flaeche); border-block: 1px solid var(--linie); overflow: hidden; }
.stimmen__kopf {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.stimmen__note { display: grid; gap: 0.25rem; margin: 0; }
.stimmen__wert {
  font-family: var(--kopf); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1; color: var(--marke-anzeige);
}
.stimmen__sterne { color: var(--warm); font-size: 1.3rem; letter-spacing: 0.1em; }
.stimmen__anzahl { color: var(--text-leise); font-size: 0.95rem; }

.stimmen__band,
.stimmen__laufband { position: relative; }
.stimmen__band::before,
.stimmen__band::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: clamp(2rem, 8vw, 7rem); z-index: 2; pointer-events: none;
}
.stimmen__band::before { left: 0; background: linear-gradient(to right, var(--flaeche), transparent); }
.stimmen__band::after { right: 0; background: linear-gradient(to left, var(--flaeche), transparent); }

.stimmen__spur {
  display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0 var(--rand);
  width: max-content;
  animation: stimmen-marquee 40s linear infinite;
}
.stimmen__band:hover .stimmen__spur,
.stimmen__band:focus-within .stimmen__spur { animation-play-state: paused; }
@keyframes stimmen-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stimme {
  width: min(24rem, 78vw); flex: none;
  background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.stimme__sterne { color: var(--warm); letter-spacing: 0.12em; margin: 0; font-size: 1.05rem; }
.stimme__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text); }
.stimme__wer { margin: auto 0 0; font-size: 0.9rem; color: var(--text-leise); }
.stimme__wer strong { display: block; color: var(--text); font-family: var(--kopf); font-size: 0.98rem; }

@media (prefers-reduced-motion: reduce) {
  .stimmen__spur { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .stimme { width: min(22rem, 100%); }
  .stimmen__band::before, .stimmen__band::after { display: none; }
}
@media (max-width: 700px) {
  .stimmen__kopf { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}


/* ============================================================
   MOTION §0b Nr. 3 — drei eigenständige Choreografien
   ============================================================ */

/* (1) Parallax-Ebene: der Head-Grund zieht langsamer weg als die Seite */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .head__medium {
      animation: head-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
      will-change: transform;
    }
    @keyframes head-parallax {
      to { transform: translateY(14vh) scale(1.06); }
    }
  }
}

/* (2) Native Scroll-Driven: Leistungszeilen und Stimmen rasten beim Eintritt ein */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .leistung,
    .schritt,
    .gebiet__liste li {
      animation: einrasten linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
    @keyframes einrasten {
      from { opacity: 0; transform: translateY(26px); }
      to { opacity: 1; transform: none; }
    }
    /* Die Fakten-Leiste bekommt eine eigene Kurve: die Hairline wächst mit dem Scroll */
    .fakten__strich {
      animation: strich-wachsen linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
      transition: none;
    }
    @keyframes strich-wachsen {
      from { width: 0; }
      to { width: 3.5rem; }
    }
  }
}

/* Nachtrag Härtetest: geöffnete FAQ-Antworten ragten bei 390 aus dem Grid-Container
   (qa-layout-check meldete sie als von der Stimmen-Sektion verdeckt). */
.fragen__raster { align-items: start; padding-bottom: 1.5rem; }
.frage:last-child { margin-bottom: 0.75rem; }
.frage__antwort { padding-bottom: 1.25rem; }


/* FAQ ohne Aufklapp-Mechanik (Zielgruppe 60+): Frage fett, Antwort direkt darunter */
.frage__titel {
  font-family: var(--kopf);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 0;
  padding-block: 1.35rem 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.frage__titel::before {
  content: '';
  width: 0.7rem;
  height: 2px;
  flex: none;
  background: var(--warm);
  transform: translateY(-0.35em);
}

/* ============================================================
   HEAD-AUSSCHNITT je Breite (Hamada 07.09.2026: „Video besser
   zentrieren, besonders Handy"). Gemessen: bei 390 px zeigt
   object-fit: cover nur 26 % der Bildbreite — das traf genau den
   Fensterpfosten. Der Ausschnitt wandert deshalb nach rechts auf
   die Werkbank mit den Händen am Gerät; ab Tablet öffnet er sich
   wieder Richtung Kreuzung.
   ============================================================ */
.head__medium video,
.head__medium img { object-position: 50% 50%; }

@media (max-width: 1024px) {
  .head__medium video,
  .head__medium img { object-position: 50% 58%; }
}
@media (max-width: 700px) {
  .head__medium video,
  .head__medium img {
    /* Eigene Hochformat-Fassung (720x1280). Leicht vergrößert und nach unten
       gezogen, damit Hand und Gerät über dem Textblock stehen statt dahinter. */
    object-position: 50% 50%;
    transform: scale(1);
  }
  /* Text kompakter, damit mehr Bild frei bleibt */
  .head__inhalt { padding-block: clamp(6rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem); }
  .head__beweis { margin: 1.4rem 0 1.8rem; }
}


/* ============================================================
   BEWERTUNGS-AUFRUF (Baustein ~/.claude/vorlagen/bewerten-cta.html)
   Karte trägt themenfeste Tokens, damit sie im Hell-Thema nicht kippt.
   ============================================================ */
.bewerten-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 10vw, 7rem); }
.bewerten-cta__buehne { position: absolute; inset: 0; z-index: -1; }
.bewerten-cta__buehne img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bewerten-cta__buehne::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 33, 0.6), rgba(6, 17, 33, 0.86));
}
.bewerten-cta__karte {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(6, 17, 33, 0.92);
  color: var(--kalk-fest);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.bewerten-cta__karte h2 { color: var(--kalk-fest); font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.bewerten-cta__karte .eyebrow { color: #f3b070; justify-content: center; }
.bewerten-cta__sterne { display: flex; gap: 0.4rem; justify-content: center; margin: 1.25rem 0 1rem; }
.bewerten-cta__sterne svg { width: clamp(1.5rem, 4vw, 2rem); height: auto; fill: var(--warm); flex: 0 0 auto; }
.bewerten-cta__text { color: var(--tief-leise); margin-bottom: 1.75rem; }
.bewerten-cta .knopf { display: inline-flex; }
@media (max-width: 480px) { .bewerten-cta__karte { padding-inline: 1.25rem; } }

/* Handy: Text nach oben, damit die Arbeit im unteren Bildteil frei sichtbar bleibt
   (Hamada 07.09.2026: „man sieht doch nicht wie er arbeitet"). */
@media (max-width: 700px) {
  .head { align-items: flex-start; }
  .head__inhalt { padding-block: clamp(5.5rem, 12vh, 7rem) 0; }
  .head__schleier {
    background:
      linear-gradient(to bottom, rgba(6, 17, 33, 0.94) 0%, rgba(6, 17, 33, 0.82) 42%, rgba(6, 17, 33, 0.22) 68%, rgba(6, 17, 33, 0.45) 100%);
  }
}
