@import url("fonts.css");

/* ==========================================================================
   Frigero GmbH – Design-System
   Grundlage: Corporate-Design-Datenblatt (Briefing Kapitel 13)
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Typografie · 5 Komponenten
           6 Bereiche · 7 Formular · 8 Utilities · 9 Motion & Print
   ========================================================================== */

/* ==========================================================================
   1 · Tokens
   ========================================================================== */

:root {
  /* --- Markenfarben laut CI -------------------------------------------- */
  --brand:        #3DBCD3;   /* Primaer   – Tuerkis */
  --brand-soft:   #BFE2E0;   /* Sekundaer – helles Tuerkis */
  --ink:          #404042;   /* Third     – Dunkelgrau, Text und Navigation */
  --line:         #EBEBEB;   /* Fourth    – Hellgrau, Trennflaechen */
  --surface:      #F9F9F9;   /* Fifth     – sehr helles Grau, Hintergrund */
  --white:        #FFFFFF;

  /* --- Abgeleitete Toene (aus der Palette entwickelt) ------------------- */
  --brand-hover:  #2FA9BF;   /* Button-Hover */
  --brand-deep:   #17798C;   /* tuerkis, aber texttauglich: 5.0:1 auf Weiss */
  --brand-ink:    #0F3D47;   /* Text auf Tuerkisflaechen: 5.8:1 */
  --brand-wash:   #EEF8FB;   /* sehr leichte Tuerkisflaeche */
  --brand-line:   #CDEAF2;   /* Rahmen auf Tuerkisflaechen */

  --ink-strong:   #2B2B2D;   /* Ueberschriften */
  --ink-muted:    #66666B;   /* Fliesstext sekundaer: 5.5:1 auf Weiss */
  --ink-faint:    #8A8A90;   /* nur fuer grosse/dekorative Typo */
  --line-strong:  #D8D8DA;   /* Rahmen auf Weiss */

  --dark:         #383E40;   /* dunkle Baender und Footer */
  --dark-deep:    #2A2F31;
  --dark-line:    rgba(255, 255, 255, .16);
  --dark-muted:   rgba(255, 255, 255, .72);

  --focus:        #0E6879;   /* Fokusring auf hellem Grund */
  --focus-dark:   #8FE2F2;   /* Fokusring auf dunklem Grund */
  --error:        #B3261E;
  --success:      #1C6B3C;

  /* --- Typografie ------------------------------------------------------- */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --fs-h1:    clamp(2.15rem, 1.42rem + 2.95vw, 3.55rem);
  --fs-h2:    clamp(1.72rem, 1.32rem + 1.65vw, 2.55rem);
  --fs-h3:    clamp(1.22rem, 1.10rem + 0.50vw, 1.50rem);
  --fs-h4:    clamp(1.05rem, 1.00rem + 0.22vw, 1.17rem);
  --fs-lead:  clamp(1.09rem, 1.02rem + 0.32vw, 1.28rem);
  --fs-body:  1.0625rem;
  --fs-sm:    0.9375rem;
  --fs-xs:    0.8125rem;
  --fs-eyebrow: 0.775rem;

  /* --- Raster und Abstaende --------------------------------------------- */
  --wrap:        1220px;
  --wrap-narrow: 820px;
  --gutter:      clamp(1.25rem, 4.4vw, 2.5rem);
  --section-y:   clamp(4rem, 8.4vw, 7.5rem);
  --section-y-sm: clamp(2.75rem, 5.4vw, 4.5rem);

  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(40, 44, 46, .05), 0 3px 12px rgba(40, 44, 46, .045);
  --shadow:    0 2px 4px rgba(40, 44, 46, .05), 0 10px 30px rgba(40, 44, 46, .08);
  --shadow-lg: 0 4px 8px rgba(40, 44, 46, .05), 0 24px 60px rgba(40, 44, 46, .12);

  --header-h: 74px;   /* Höhe der Hauptleiste */
  --topbar-h: 40px;   /* Höhe der Zusatzleiste (nur Desktop) */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
}
/* Ab hier ist die Zusatzleiste ausgeblendet – sie zählt nicht mehr zur Sticky-Höhe */
@media (max-width: 1040px) {
  :root { --topbar-h: 0px; }
}

/* ==========================================================================
   2 · Basis
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  /* Silbentrennung (deutsch, via lang="de") – verhindert einzelne Buchstaben
     in eigener Zeile in schmalen Spalten. In Überschriften bewusst aus. */
  hyphens: manual;
  -webkit-hyphens: manual;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-ink); }

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.on-dark :focus-visible,
.footer :focus-visible { outline-color: var(--focus-dark); }

::selection { background: var(--brand-soft); color: var(--brand-ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* Sprungmarke */
.skip-link {
  position: absolute;
  left: .75rem;
  top: -100px;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: .75rem; color: var(--white); }

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

/* ==========================================================================
   3 · Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--tint { background: var(--surface); }
.section--wash { background: var(--brand-wash); }
.section--line-top { border-top: 1px solid var(--line); }

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, .84);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--white); }

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

/* Text links, Bild rechts (und umgekehrt) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split--wide-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.split--top { align-items: start; }
.split__media--first { order: -1; }

@media (max-width: 900px) {
  .split, .split--wide-text, .split--wide-media { grid-template-columns: minmax(0, 1fr); }
  .split__media--first { order: 0; }
}

/* ==========================================================================
   4 · Typografie
   ========================================================================== */

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink-strong);
  text-wrap: balance;
  hyphens: manual;
  -webkit-hyphens: manual;
}

h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.14; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.28; letter-spacing: -.01em; }
h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.35; }

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

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-muted);
}
.section--dark .lead { color: var(--dark-muted); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.9em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose > .reveal:first-child h2, .prose > .reveal:first-child h3 { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.35em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brand-deep); }
.prose code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .875em;
  padding: .1em .4em;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-xs);
  color: var(--brand-ink);
}
.prose address { font-style: normal; }

.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }

/* Akzent laut CI: Poppins ExtraLight Italic, bewusst sparsam */
.accent-italic {
  font-weight: 200;
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
  letter-spacing: .005em;
}

/* Kleines Label ueber der Ueberschrift */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.05rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: var(--brand);
  border-radius: 2px;
}
.section--dark .eyebrow,
.on-dark .eyebrow { color: var(--brand); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: end;
  max-width: none;
}
@media (max-width: 780px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ==========================================================================
   5 · Komponenten
   ========================================================================== */

/* --- 5.1 Icons -------------------------------------------------------- */

.icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  color: var(--brand);
  pointer-events: none;
}
.icon--sm { width: 1.1em; height: 1.1em; }
.icon--lg { width: 2.2rem; height: 2.2rem; }

/* Doppelring-Badge – Bildsprache der vorhandenen Leistungs-Icons */
.icon-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex: none;
}
.icon-badge svg { position: absolute; }
.icon-badge__ring {
  width: 100%;
  height: 100%;
  color: var(--brand);
  opacity: .55;
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.icon-badge__glyph {
  width: 44px;
  height: 44px;
  color: var(--brand);
}
.icon-badge--sm { width: 62px; height: 62px; }
.icon-badge--sm .icon-badge__glyph { width: 32px; height: 32px; }

/* Kompaktes quadratisches Icon-Feld */
.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand-deep);
}
.icon-tile .icon { width: 26px; height: 26px; color: inherit; }
.section--dark .icon-tile,
.on-dark .icon-tile {
  background: rgba(61, 188, 211, .13);
  border-color: rgba(61, 188, 211, .3);
  color: var(--brand);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95rem 1.55rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; color: currentColor; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hover); color: var(--brand-ink); }

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

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-strong); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }

.btn--sm { padding: .68rem 1.15rem; font-size: var(--fs-sm); }
.btn--block { display: flex; width: 100%; }

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-deep);
  text-decoration: none;
}
.link-arrow .icon { width: 1.15em; height: 1.15em; color: currentColor; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-ink); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow, .on-dark .link-arrow { color: var(--brand); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card__title { margin-bottom: .6rem; }

/* Titel-Links tragen keine Linkfarbe – die ganze Karte ist der Link */
.card__title a,
.tile__body a.card__link {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.card--link:hover .card__title a,
.tile:hover .card__title a { color: var(--brand-deep); }
.card--dark .card__title a { color: var(--white); }
.card--dark:hover .card__title a { color: var(--brand); }
.card__text { color: var(--ink-muted); margin-bottom: 1.25rem; }
.card__foot { margin-top: auto; padding-top: .35rem; }

.card--link:hover,
.card--link:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card--link:hover .icon-badge__ring { opacity: 1; transform: rotate(35deg); }

/* Ganze Karte klickbar, Link bleibt fokussierbar */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--tint { background: var(--surface); border-color: transparent; }
.card--wash { background: var(--brand-wash); border-color: var(--brand-line); }
.card--flat { border: 0; padding: 0; background: none; }
.card--pad-lg { padding: clamp(1.8rem, 3.2vw, 2.75rem); }

.card--dark {
  background: var(--dark-deep);
  border-color: var(--dark-line);
  color: var(--dark-muted);
}
.card--dark .card__title { color: var(--white); }

/* Leistungskachel mit Bild */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.tile:hover, .tile:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__badge {
  position: absolute;
  z-index: 2;
  left: clamp(1.1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.25rem);   /* vollständig im Bild – nicht mehr abgeschnitten */
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(40, 44, 46, .24);
}
.tile__badge .icon { width: 32px; height: 32px; }
.tile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 2.4vw, 1.9rem) clamp(1.4rem, 2.4vw, 1.9rem) clamp(1.5rem, 2.4vw, 1.9rem);
}
.tile__body > :last-child { margin-bottom: 0; }
.tile__text { color: var(--ink-muted); font-size: var(--fs-sm); margin-bottom: 1.3rem; }
.tile__foot { margin-top: auto; }

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

.list-check { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .72rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 1.05rem;
  height: 1.05rem;
  background: var(--brand);
  -webkit-mask: var(--check-mask) center / 78% no-repeat;
          mask: var(--check-mask) center / 78% no-repeat;
}
.list-check--tight li { margin-bottom: .45rem; }
.list-check:last-child { margin-bottom: 0; }

:root {
  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.8 12.6 4.8 4.8L19.2 6.6'/%3E%3C/svg%3E");
}

.section--dark .list-check li::before,
.on-dark .list-check li::before { background: var(--brand); }

/* Zweispaltige Merkmalsliste */
.list-cols { columns: 2; column-gap: 2.5rem; }
.list-cols li { break-inside: avoid; }
@media (max-width: 700px) { .list-cols { columns: 1; } }

/* Icon-Liste */
.list-icon { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.list-icon li { display: flex; gap: 1.1rem; align-items: flex-start; }
.list-icon h3, .list-icon h4 { margin-bottom: .3rem; }
.list-icon p { color: var(--ink-muted); font-size: var(--fs-sm); margin: 0; }

/* --- 5.5 Kennzahlen / Trust ------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.facts__item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
  background: var(--white);
}
.facts__item .icon { width: 1.5rem; height: 1.5rem; margin-top: .12rem; }
.facts__label { font-weight: 600; color: var(--ink-strong); font-size: var(--fs-sm); line-height: 1.4; }
.facts__sub { font-size: var(--fs-xs); color: var(--ink-muted); line-height: 1.5; margin-top: .15rem; }

@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Kennzahl gross */
.stat__value {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink-strong);
}
.stat__label { font-size: var(--fs-sm); color: var(--ink-muted); margin-top: .5rem; }

/* --- 5.6 Ablauf-Schritte ---------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.steps li { position: relative; counter-increment: step; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -.02em;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 3.1rem;
  right: -1.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-line), var(--line));
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .45rem; }
.steps p { color: var(--ink-muted); font-size: var(--fs-sm); margin: 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2n)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .steps li { padding-top: 0; padding-left: 3.6rem; min-height: 2.5rem; }
  .steps li::after { display: none; }
}

/* --- 5.7 FAQ / Akkordeon ---------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.4rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-strong);
  cursor: pointer;
}
.faq__q:hover { color: var(--brand-deep); }
.faq__q .icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .1rem;
  color: var(--brand-deep);
  transition: transform .3s var(--ease);
}
.faq__q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { color: var(--ink-muted); padding-bottom: 1.5rem; max-width: 72ch; }

/* --- 5.8 Tabelle ------------------------------------------------------ */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table th, .table td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th { font-weight: 600; color: var(--ink-strong); background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }

/* Ansprechpartner-Karte */
.person { display: flex; gap: clamp(1.25rem, 3vw, 1.75rem); align-items: flex-start; }
.person__avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
}
@media (max-width: 480px) {
  .person { flex-direction: column; }
}

/* Referenz-Metadaten (Definitionsliste) */
.ref-meta { display: grid; gap: .7rem; margin: 0; }
.ref-meta > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}
.ref-meta dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.ref-meta dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-strong); }
@media (max-width: 420px) {
  .ref-meta > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* --- 5.9 Weitere Bausteine -------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .4em .85em;
  border-radius: 100px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .01em;
}
.tag--neutral { background: var(--surface); border-color: var(--line); color: var(--ink-muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }

.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r); }
.figure figcaption {
  margin-top: .8rem;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.55;
}
.figure--framed img {
  border: 1px solid var(--line);
  background: var(--white);
}

/* Bild mit tuerkisem Versatzrahmen */
.media-offset { position: relative; }
.media-offset::before {
  content: "";
  position: absolute;
  inset: auto -1.1rem -1.1rem auto;
  width: 62%;
  height: 62%;
  border: 1.5px solid var(--brand-line);
  border-radius: var(--r);
  z-index: -1;
}
.media-offset img { border-radius: var(--r); position: relative; }

.ratio-4-3 { aspect-ratio: 4 / 3; object-fit: cover; }
.ratio-3-4 { aspect-ratio: 3 / 4; object-fit: cover; }
.ratio-16-9 { aspect-ratio: 16 / 9; object-fit: cover; }
.ratio-1-1 { aspect-ratio: 1 / 1; object-fit: cover; }

/* Brotkrumen */
.breadcrumb {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: .6rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-deep); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-strong); font-weight: 500; }

/* Hinweisbox */
.note {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-sm);
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  font-size: var(--fs-sm);
}
.note .icon { margin-top: .18rem; color: var(--brand-deep); }
.note > div > :last-child { margin-bottom: 0; }
.note--neutral { background: var(--surface); border-color: var(--line); }
.note--todo { background: #FFF8E6; border-color: #F0DFB0; }

/* Zitat */
.quote {
  margin: 0;
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  border-left: 2px solid var(--brand);
}
.quote p {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-strong);
  letter-spacing: -.01em;
}
.quote footer { font-size: var(--fs-sm); color: var(--ink-muted); }

/* Luftstrom-Motiv aus der Bildmarke, als dezenter Flaechenakzent */
.flow-accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.flow-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -6%;
  width: min(46%, 520px);
  aspect-ratio: 1 / 1.25;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 250' fill='none' stroke='%233DBCD3' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M20 30c22 26-22 52 0 78s-22 52 0 78'/%3E%3Cpath d='M62 30c22 26-22 52 0 78s-22 52 0 78'/%3E%3Cpath d='M108 8v234'/%3E%3Cpath d='M108 92 168 32M108 125h72M108 158l60 60M138 62h34M138 188h34M172 95v60'/%3E%3C/svg%3E") right center / contain no-repeat;
  opacity: .09;
  pointer-events: none;
}
.section--dark.flow-accent::after { opacity: .16; }

/* ==========================================================================
   6 · Bereiche
   ========================================================================== */

/* --- 6.1 Kopfbereich -------------------------------------------------- */

/* Zusatzleiste (Desktop): scrollt weg, die Hauptleiste darunter bleibt kleben */
.header__top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
}
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}
.header__top-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}
.header__top-phone:hover { color: var(--brand-deep); }
.header__top-phone .icon { width: 1rem; height: 1rem; color: var(--brand-deep); }
.header__top-phone strong { color: var(--ink-strong); font-weight: 600; }
.header__top-label { color: var(--ink-muted); }

.nav-top { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav-top__link {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: var(--r-xs);
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s var(--ease);
}
.nav-top__link:hover { color: var(--brand-deep); }
.nav-top__link[aria-current] { color: var(--brand-deep); font-weight: 600; }

/* Hauptleiste – klebt beim Scrollen */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 1px 18px rgba(40, 44, 46, .09); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { height: 48px; width: auto; }

.header__spacer { flex: 1; }

.header__actions { display: flex; align-items: center; gap: .85rem; flex: none; }

/* Ab hier greift das Burger-Menü: Zusatzleiste ausblenden, Inhalte wandern
   ins mobile Menü (siehe .nav__list--extra weiter unten). */
@media (max-width: 1040px) { .header__top { display: none; } }
@media (max-width: 860px) {
  .header__logo img { height: 38px; }
  .header__actions .btn { display: none; }
}

/* --- 6.2 Navigation --------------------------------------------------- */

.nav { display: flex; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem .78rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--brand-deep); background: var(--brand-wash); }
.nav__link[aria-current] { color: var(--brand-deep); font-weight: 600; }
.nav__link .icon { width: .9rem; height: .9rem; color: currentColor; transition: transform .22s var(--ease); }

/* Sekundärpunkte (Referenzen/Über uns/Karriere) nur im Burger-Menü zeigen –
   auf dem Desktop stehen sie in der Zusatzleiste. */
.nav__list--extra { display: none; }

.nav__toggle { background: none; border: 0; cursor: pointer; font: inherit; }

.nav__panel {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 290px;
  padding: .6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel,
.nav__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__item:hover > .nav__toggle .icon,
.nav__item:focus-within > .nav__toggle .icon { transform: rotate(180deg); }

.nav__panel ul { margin: 0; padding: 0; list-style: none; }
.nav__sub {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .7rem .8rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background-color .18s var(--ease);
}
.nav__sub:hover { background: var(--brand-wash); color: var(--ink); }
.nav__sub .icon { width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.nav__sub-title { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-strong); }
.nav__sub-text { display: block; font-size: var(--fs-xs); color: var(--ink-muted); line-height: 1.5; margin-top: .1rem; }

/* Kompaktes Dropdown (Einsatzbereiche): nur Icon + Titel, zweispaltig ab genug Platz */
.nav__panel--compact { min-width: 380px; }
.nav__panel--compact ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }
.nav__panel--compact .nav__sub { padding: .55rem .7rem; align-items: center; }
.nav__panel--compact .nav__sub .icon { margin-top: 0; }

/* Menuetaste */
.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
.nav__burger .icon { width: 1.4rem; height: 1.4rem; color: var(--ink); }
.nav__burger .icon--close { display: none; }
.nav__burger[aria-expanded="true"] .icon--close { display: block; }
.nav__burger[aria-expanded="true"] .icon--menu { display: none; }

@media (max-width: 1040px) {
  .nav__burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: block;
    padding: 1.25rem var(--gutter) 3rem;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  /* Sekundärpunkte hier sichtbar – „beide Leisten in einer" auf dem Handy */
  .nav__list--extra { display: flex; }
  .nav__panel--compact ul { grid-template-columns: 1fr; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 1rem .25rem;
    font-size: 1.06rem;
    border-radius: 0;
  }
  .nav__link:hover { background: none; }
  .nav__panel {
    position: static;
    min-width: 0;
    padding: 0 0 .8rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__panel.is-open { display: block; }
  .nav__item:hover > .nav__panel { display: none; }
  .nav__item:hover > .nav__panel.is-open { display: block; }
  .nav__sub { padding: .6rem .25rem .6rem 1rem; }
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: 1.6rem;
  }
}

.nav__mobile-actions { display: none; }
@media (max-width: 1040px) { .nav__mobile-actions { display: flex; } }

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 76vh, 760px);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--dark-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 36, 40, .93) 0%, rgba(26, 36, 40, .86) 34%,
                           rgba(26, 36, 40, .55) 62%, rgba(26, 36, 40, .22) 100%),
    linear-gradient(180deg, rgba(26, 36, 40, .35) 0%, rgba(26, 36, 40, 0) 40%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 43rem; color: rgba(255, 255, 255, .88); }
.hero h1 { color: var(--white); margin-bottom: .55em; }
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: rgba(255, 255, 255, .84);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.hero__phone:hover { color: var(--brand); }
.hero__phone .icon { color: var(--brand); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .78);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); }

@media (max-width: 780px) {
  .hero__media img, .hero__media video { object-position: 70% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(26, 36, 40, .82) 0%, rgba(26, 36, 40, .9) 100%);
  }
}

/* Kompakter Seitenkopf für Unterseiten */
.pagehead {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead__inner { position: relative; z-index: 1; max-width: 46rem; }
.pagehead h1 { margin-bottom: .4em; }
.pagehead .lead { margin-bottom: 0; }
.pagehead--media { background: var(--dark-deep); border-bottom: 0; }
.pagehead--media .pagehead__bg { position: absolute; inset: 0; z-index: 0; }
.pagehead--media .pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead--media .pagehead__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 36, 40, .93) 0%, rgba(26, 36, 40, .8) 45%, rgba(26, 36, 40, .45) 100%);
}
.pagehead--media h1 { color: var(--white); }
.pagehead--media .lead { color: rgba(255, 255, 255, .82); }
.pagehead--media .eyebrow { color: var(--brand); }

/* Trust-Leiste, die in den Hero hineinragt */
.trustbar { position: relative; z-index: 3; margin-top: -3.5rem; }
.trustbar .facts { background: var(--line); box-shadow: var(--shadow); }
@media (max-width: 980px) { .trustbar { margin-top: -2rem; } }

/* --- 6.4 Kontaktband -------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3.5rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.cta-band h2 { color: var(--white); margin-bottom: .4em; max-width: 22ch; }
.cta-band p { max-width: 46ch; margin-bottom: 0; }
/* Kleinere, vollständig sichtbare Schneeflocke im CTA-Band (statt großflächig abgeschnitten) */
.cta-band.flow-accent::after {
  top: 50%;
  right: clamp(1.25rem, 4vw, 3rem);
  width: min(26%, 210px);
  transform: translateY(-50%);
  opacity: .13;
}
@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band.flow-accent::after { top: auto; bottom: clamp(1rem, 4vw, 2rem); transform: none; width: min(34%, 150px); }
}

/* --- 6.5 Fußbereich --------------------------------------------------- */

.footer {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: var(--fs-sm);
}
.footer a { color: var(--dark-muted); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
}
@media (max-width: 940px) { .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__main { grid-template-columns: minmax(0, 1fr); } }

.footer__logo img { height: 34px; width: auto; margin-bottom: 1.25rem; }
.footer__claim { max-width: 30ch; margin-bottom: 1.5rem; }

.footer h2 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.15rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .62rem; }

.footer__contact { display: grid; gap: .85rem; }
.footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer__contact .icon { width: 1.15rem; height: 1.15rem; margin-top: .22rem; color: var(--brand); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   7 · Formular
   ========================================================================== */

.form { display: grid; gap: 1.35rem; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form__grid--plz { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 620px) {
  .form__grid, .form__grid--3, .form__grid--plz { grid-template-columns: minmax(0, 1fr); }
}

.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-strong);
}
.field .req { color: var(--brand-deep); }
.field .opt { color: var(--ink-muted); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  padding: .82rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink-strong);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-muted); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(23, 121, 140, .16);
}
.textarea { min-height: 9.5rem; resize: vertical; }

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366666B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.4 9.4 5.6 5.6 5.6-5.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15rem;
}

.checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-muted);
  cursor: pointer;
}
.checkbox input {
  width: 1.3rem;
  height: 1.3rem;
  margin: .16rem 0 0;
  accent-color: var(--brand-deep);
  cursor: pointer;
  flex: none;
}
.checkbox a { font-weight: 500; }

.field-error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--error);
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }

/* Honeypot – fuer Menschen unsichtbar, fuer Bots ausfuellbar */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  gap: .85rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #ECF6F0; border: 1px solid #C3E2CE; color: var(--success); }
.form-status--error { background: #FCEEED; border: 1px solid #F2CCC9; color: var(--error); }
.form-status .icon { color: currentColor; margin-top: .15rem; }
.form-status > div > :last-child { margin-bottom: 0; }

.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Karten-Einbettung hinter Einwilligung */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border-radius: var(--r);
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 5; } }

/* Karte hinter Einwilligung */
.consent-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  height: 100%;
  padding: clamp(2rem, 5vw, 3.5rem);
  min-height: 320px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.consent-placeholder p { max-width: 44ch; color: var(--ink-muted); font-size: var(--fs-sm); }

/* ==========================================================================
   8 · Utilities
   ========================================================================== */

.stack > * + * { margin-top: var(--stack-gap, 1.25rem); }
.stack--lg { --stack-gap: 2rem; }
.stack--sm { --stack-gap: .75rem; }

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.full { grid-column: 1 / -1; }

@media (max-width: 620px) { .hide-sm { display: none !important; } }

/* ==========================================================================
   9 · Motion und Print
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .cta-band, .nav, .skip-link, .hero__media, .breadcrumb { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero { min-height: 0; background: none; color: #000; }
  .hero h1, .hero__lead { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section { padding-block: 1.5rem; }
}
