/* --- 01-tokens.css --- */
/* ==========================================================================
   Gestaltungswerte (aus design/gestaltungssystem/tokens.json)
   Nur helles Erscheinungsbild, kein Dunkelmodus.
   ========================================================================== */

:root {
  /* Markenfarben: nur für Flächen, Linien und Symbole, nie für Text auf Weiß */
  --logo-green: #65a688;
  --logo-mint: #8fbfa9;

  /* Aktionen: Knopfflächen, Fokusrahmen, Symbole */
  --action: #3a7d5f;
  --action-hover: #2f6a50;

  /* Grüne Schrift (Links, Kategoriezeilen, Kontaktdaten, Filter).
     Dunkler als --action, damit sie auch auf tint
     mindestens 4,5 : 1 erreicht (geprüft in tests/kontrast.test.mjs). */
  --action-text: #2f6a50;
  --action-text-hover: #24553f;

  /* Flächen */
  --surface: #ffffff;
  --surface-soft: #f2f7f4;
  --tint: #dfece5;
  --tint-hover: #cfe3d8;

  /* Text */
  --ink: #1e2b25;
  --ink-muted: #55655d;
  --ink-inverse: #ffffff;

  /* Linien */
  --line: #d5e2db;
  --line-strong: #7a9488;

  --error: #b3261e;
  --star: #f4b400;

  /* Schrift */
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-hand: "Caveat", cursive;

  /* Raster */
  --content-max: 1200px;
  --gutter: 32px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }
}

/* --- 02-base.css --- */
/* ==========================================================================
   Schriften (selbst gehostet) und Grundregeln
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-600-latin.woff2") format("woff2");
}

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

/* Fokussierte Elemente und Sprungziele nicht unter festem Header oder der
   Leiste am Handy verstecken (Header 142 px, eingeklappt 85 px, Handy 73 px) */
html {
  scroll-padding-top: 158px;
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 100px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 88px;
    scroll-padding-bottom: 88px;
  }
}

/* Sprunglink zum Inhalt: erscheint erst bei Tastaturfokus */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  font-weight: 700;
}

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

/* Ziel des Sprunglinks; <main> selbst ist nicht bedienbar */
main:focus {
  outline: none;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--action-text);
}

a:hover {
  color: var(--action-text-hover);
}

/* <picture> aus dem Build soll das Layout nicht verändern */
picture {
  display: contents;
}

/* width/height im HTML geben nur das Seitenverhältnis vor; die Größe kommt aus dem CSS */
img {
  height: auto;
}

/* sonst zählen die <source>-Elemente in Flex-Layouts als Lücke mit */
picture > source {
  display: none;
}

/* hidden gilt auch für Elemente mit eigenem display-Wert */
[hidden] {
  display: none !important;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

details summary {
  list-style: none;
  cursor: pointer;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* --- 03-layout.css --- */
/* ==========================================================================
   Layout: Abschnitte, Inhaltsbreite und Anordnungs-Bausteine
   ========================================================================== */

/* --- Abschnitte ----------------------------------------------------------
   .section     Seitenrand links/rechts und Standardabstand oben/unten
   .section--*  abweichende Abstände oder Hintergrund
   .section-y   am Handy einheitlich 64 px oben und unten               */

.section {
  padding: 96px var(--gutter);
}

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

.section--tint {
  background: var(--tint);
}

.section--hero {
  padding-top: 72px;
  padding-bottom: 96px;
}

.section--intro {
  padding-top: 32px;
  padding-bottom: 88px;
}

.section--intro-short {
  padding-top: 32px;
  padding-bottom: 56px;
}

.section--intro-tight {
  padding-top: 32px;
  padding-bottom: 40px;
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-top-short {
  padding-top: 0;
  padding-bottom: 72px;
}

.section--flush-bottom {
  padding-top: 72px;
  padding-bottom: 0;
}

@media (max-width: 600px) {
  .section-y {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* --- Inhaltsbreite ------------------------------------------------------- */

.container {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.container--narrow {
  max-width: 880px;
}

/* --- Anordnung ----------------------------------------------------------- */

/* Untereinander */
.stack {
  display: flex;
  flex-direction: column;
}

/* Nebeneinander mit Umbruch */
.cluster {
  display: flex;
  flex-wrap: wrap;
}

/* Text und Bild nebeneinander, mittig ausgerichtet */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

/* Raster mit automatischer Spaltenzahl; Mindestbreite über Modifikator.
   min(…, 100%): ist der Platz schmaler als die Mindestbreite, füllt die Spalte
   ihn aus, statt seitlich überzustehen. */
.grid {
  --grid-min: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min), 100%), 1fr));
  gap: 24px;
}

.grid--210 { --grid-min: 210px; }
.grid--240 { --grid-min: 240px; }
.grid--260 { --grid-min: 260px; }
.grid--280 { --grid-min: 280px; }
.grid--300 { --grid-min: 300px; }
.grid--320 { --grid-min: 320px; }
.grid--340 { --grid-min: 340px; }

/* Spalten in .cluster/.split: wachsen mit, Zahl = Grundbreite in px */
[class*="col-"] {
  min-width: 0;
}

.col-320 { flex: 1 1 320px; }
.col-340 { flex: 1 1 340px; }
.col-360 { flex: 1 1 360px; }
.col-380 { flex: 1 1 380px; }
.col-400 { flex: 1 1 400px; }
.col-420 { flex: 1 1 420px; }
.col-440 { flex: 1 1 440px; }
.col-460 { flex: 1 1 460px; }
.col-480 { flex: 1 1 480px; }
.col-500 { flex: 1 1 500px; }
.col-520 { flex: 1 1 520px; }

.span-all {
  grid-column: 1 / -1;
}

.scroll-x {
  overflow-x: auto;
}

/* --- Hintergründe --------------------------------------------------------
   .layers  Wabenmuster, nur im Ablauf und im Anfrage-Block, am Handy aus */

.layers {
  position: relative;
  overflow: hidden;
}

.layers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../img/wabenmuster.svg");
  background-size: 42px auto;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 88% 50%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 55% 85% at 88% 50%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 78%);
}

.layers--soft::before {
  opacity: .6;
  -webkit-mask-image: linear-gradient(to right, transparent 35%, #000 100%);
  mask-image: linear-gradient(to right, transparent 35%, #000 100%);
}

.layers--cta::before {
  opacity: .7;
  -webkit-mask-image: linear-gradient(to right, transparent 45%, #000 100%);
  mask-image: linear-gradient(to right, transparent 45%, #000 100%);
}

.layers > * {
  position: relative;
}

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

/* --- 04-typography.css --- */
/* ==========================================================================
   Schrift: Überschriften, Fließtext, technische Angaben, Textlinks
   ========================================================================== */

/* --- Kategoriezeile über Überschriften ----------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action-text);
}

/* Drei Balken als Schichtsymbol vor der Kategoriezeile */
.eyebrow--bars::before {
  content: "";
  flex: none;
  width: 18px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Cg fill='%238fbfa9'%3E%3Crect x='1' width='3' height='14' rx='1.5'/%3E%3Crect x='7.5' y='3' width='3' height='11' rx='1.5'/%3E%3Crect x='14' width='3' height='14' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
}

/* --- Überschriften ------------------------------------------------------- */

.page-title {
  margin: 0;
  font-size: 48px;
  line-height: 54px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-title--sm {
  font-size: 44px;
  line-height: 50px;
}

@media (max-width: 600px) {
  .page-title {
    font-size: 34px;
    line-height: 40px;
  }

  .page-title--compact {
    font-size: 32px;
    line-height: 38px;
  }
}

.section-title {
  margin: 0;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.title-lg {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.title-md {
  margin: 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.title-sm {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.title-xs {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.teaser-title {
  margin: 0;
  font-size: 20px;
  line-height: 27px;
  font-weight: 700;
}

.aside-title {
  margin: 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
}

/* Kartenüberschriften mit kleinem Abstand nach oben */
.card-title-lg,
.card-title-md,
.card-title,
.card-title-sm {
  margin: 4px 0 0;
  font-weight: 700;
}

.card-title-lg { font-size: 24px; line-height: 30px; }
.card-title-md { font-size: 22px; line-height: 28px; }
.card-title    { font-size: 20px; line-height: 26px; }
.card-title-sm { font-size: 18px; line-height: 24px; }

.mono-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

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

/* Einleitungssatz unter der Hauptüberschrift */
.lead {
  margin: 0;
  max-width: 600px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--ink-muted);
}

.lead--narrow { max-width: 560px; }
.lead--wide   { max-width: 720px; }
.lead--full   { max-width: none; }

.text-lg {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
}

.text-body {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
}

.text-body-muted {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

.text-muted {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-muted);
}

.text-small {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-muted);
}

.text-xs {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}

.list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
}

.list--muted {
  color: var(--ink-muted);
}

/* --- Technische Angaben (Maße, Material, Stückzahl) ---------------------- */

.mono {
  font-family: var(--font-mono);
}

.spec {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-muted);
}

.spec-small {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}

/* --- Textlinks: immer grün und unterstrichen ----------------------------- */

.tlink {
  color: var(--action-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--logo-mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tlink:hover {
  color: var(--action-text-hover);
  text-decoration-color: var(--action-text-hover);
}

.tlink--strong {
  font-weight: 700;
}

/* Übernimmt die Schriftstärke des umgebenden Textes */
.tlink--inherit {
  font-weight: inherit;
}

/* Link mit Pfeilsymbol */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

/* --- 05-components.css --- */
/* ==========================================================================
   Bausteine, die auf mehreren Seiten vorkommen
   ========================================================================== */

/* --- Knöpfe --------------------------------------------------------------
   Alle Größen haben einen 2px-Rahmen, damit gefüllte und umrandete Knöpfe
   gleich hoch sind.                                                        */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: var(--action);
  color: var(--ink-inverse);
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}

.btn:hover {
  background: var(--action-hover);
  color: var(--ink-inverse);
}

.btn--lg { padding: 16px 26px; }
.btn--md { padding: 12px 20px; }
.btn--sm { padding: 10px 20px; font-size: 16px; line-height: 22px; }

.btn--block {
  min-height: 48px;
  padding: 0 16px;
  font-size: 16px;
}

.btn--outline {
  background: var(--surface);
  border-color: var(--action);
  color: var(--action);
}

.btn--outline:hover {
  background: var(--surface-soft);
  color: var(--action);
}

/* Knopfreihe unter einem Text */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}

/* --- Abschnittskopf ------------------------------------------------------ */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

/* Kopf links, Link rechts daneben */
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* --- Karten --------------------------------------------------------------
   Karten sind nie als Ganzes klickbar; das Ziel steht als Link darin.     */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.card--lg {
  padding: 28px;
}

/* Karte mit Bild oben */
.card-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Das Foto führt zum selben Ziel wie der Link in der Karte. Es ist kein
   eigener Tab-Halt; beim Darüberfahren zeigt der Link in der Karte, wohin es geht. */
.card__media-link {
  display: block;
}

.card-media:has(.card__media-link:hover) .tlink {
  color: var(--action-text-hover);
  text-decoration-color: var(--action-text-hover);
}

.card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--tint);
}

.card__placeholder {
  aspect-ratio: 4 / 3;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 14px;
}

.card__body {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Technische Angabe am unteren Kartenrand */
.card__spec {
  margin: auto 0 0;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}

/* --- Flächen ohne Link (Vergleiche, Hinweise) ---------------------------- */

.panel {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.panel--outline {
  border: 1px solid var(--line);
}

.panel--white {
  background: var(--surface);
}

.box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- Symbole ------------------------------------------------------------- */

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--tint);
  color: var(--action);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-tile--sm {
  flex: none;
  width: 44px;
  height: 44px;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

/* --- Bilder und Foto-Platzhalter ----------------------------------------- */

.media-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--tint);
}

/* Platzhalter für Fotos, die Jonas noch liefert */
.placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--tint);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 22px;
}

.placeholder--wide     { aspect-ratio: 16 / 9; }
.placeholder--16-10    { aspect-ratio: 16 / 10; }
.placeholder--panorama { aspect-ratio: 16 / 7; }
.placeholder--portrait { aspect-ratio: 4 / 5; }

/* --- Nummerierte Schritte ------------------------------------------------ */

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step__num {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--ink-inverse);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.num-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.num-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.num-list__text {
  padding-top: 2px;
  font-size: 17px;
  line-height: 27px;
}

.num-badge {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--ink-inverse);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Ablauf mit gezeichnetem Druckkopf (statisch, ohne Animation) -------- */

.process {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

/* Die Spur mit dem Druckkopf ist ein eigener, für Screenreader verborgener Listenpunkt */
.process > li:not(.process__track) {
  position: relative;
  z-index: 1;
}

.process__track {
  position: absolute;
  top: 18px;
  left: 20px;
  right: calc((100% - 96px) / 4 - 108px);
  height: 4px;
  pointer-events: none;
}

.process__filament {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--logo-green);
}

.process__head {
  position: absolute;
  top: -111px;
  left: 100%;
  margin-left: -37px;
  z-index: 2;
}

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

  .process__track {
    display: none;
  }
}

/* --- Häufige Fragen ------------------------------------------------------ */

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

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

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  line-height: 26px;
  font-weight: 700;
}

.faq__plus {
  transition: transform .15s;
}

.faq__item[open] .faq__plus {
  transform: rotate(45deg);
}

.faq__answer {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

/* --- Anfrage-Block am Seitenende ----------------------------------------- */

.cta-box {
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}

.cta-box__text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-box__lead {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

.cta-box__actions {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-box__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 15px;
}

/* --- Vergleichstabelle --------------------------------------------------- */

.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}

.cmp--wide {
  min-width: 860px;
}

.cmp th,
.cmp td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cmp thead th {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--ink-muted);
  border-bottom: 2px solid var(--line-strong);
}

.cmp tbody th {
  font-weight: 700;
}

/* Erste Spalte als feste Zeilenbeschriftung */
.cmp--rowhead tbody th {
  width: 30%;
}

/* --- Längere Texte (Ratgeber, Projektberichte) --------------------------- */

.prose p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 30px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 30px;
}

.prose li {
  margin-bottom: 6px;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  scroll-margin-top: 150px;
}

/* --- Weiterführende Links, Fußnoten -------------------------------------- */

.link-row {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  font-size: 17px;
  line-height: 27px;
}

.footnote {
  max-width: var(--content-max);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .cmp th,
  .cmp td {
    padding: 12px 8px;
    font-size: 15px;
  }

  .prose p,
  .prose ul,
  .prose ol {
    font-size: 17px;
    line-height: 28px;
  }
}

/* --- 06-header.css --- */
/* ==========================================================================
   Header: Logo, Kontaktdaten oben rechts, Menüzeile darunter

   Verbindliche Stufen:
   <= 1240 px  E-Mail ausblenden
   <= 1100 px  Menüzeile wird zum Knopf „Menü“
   <=  860 px  WhatsApp ausblenden
   <=  600 px  nur rundes Telefon-Symbol und Menü-Knopf; Header weicht beim
               Runterscrollen aus (Klasse .is-hidden aus site-header.js)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  transition: transform .3s ease;
}

.site-header__bar {
  max-width: var(--content-max);
  height: 84px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__cta {
  flex: none;
  font-size: 16px;
}

/* --- Logo und Name: beide Zeilen exakt gleich breit ---------------------- */

.brand {
  flex: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

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

.brand__logo {
  display: block;
  width: auto;
  height: 56px;
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.brand__name {
  font-size: 21px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__claim {
  margin-right: -0.107em;
  font-size: 11.5px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.107em;
  text-transform: uppercase;
  color: var(--action);
}

/* --- Kontaktdaten -------------------------------------------------------- */

.header-contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.header-contact__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--action);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s;
}

.header-contact__text {
  display: flex;
  flex-direction: column;
}

.header-contact__label {
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink-muted);
}

.header-contact__value {
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  color: var(--action-text);
  text-decoration: underline;
  text-decoration-color: var(--logo-mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.header-contact__value--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header-contact__item:hover .header-contact__value {
  color: var(--action-text-hover);
  text-decoration-color: var(--action-text-hover);
}

.header-contact__item:hover .header-contact__icon {
  background: var(--tint-hover);
}

/* --- Menü-Knopf (erst ab 1100 px abwärts sichtbar) ----------------------- */

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* --- Menüzeile: eigenes helles Band, damit sie neben den Kontaktdaten
       als zweite Ebene wahrgenommen wird -------------------------------- */

.site-header__nav {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.main-nav {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 40px;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--action-text);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--action);
}

/* --- Kleinere Fenster ---------------------------------------------------- */

@media (max-width: 1240px) {
  .header-contact__item--mail {
    display: none;
  }
}

@media (max-width: 1100px) {
  .menu-button {
    display: inline-flex;
  }

  /* Menü klappt unter dem Header auf */
  .site-header__nav {
    display: none;
  }

  .site-header.is-menu-open .site-header__nav {
    display: block;
  }

  .main-nav {
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .main-nav a {
    height: 48px;
    font-size: 17px;
  }

  .main-nav a + a {
    border-top: 1px solid var(--line);
  }

  .main-nav a.is-active::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-contact__item--whatsapp {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header__bar {
    height: 72px;
    gap: 12px;
  }

  .site-header__cta {
    display: none;
  }

  /* Nur noch das runde Symbol; der Text bleibt für Screenreader und
     Sprachsteuerung der Name des Links */
  .header-contact__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-contact__icon {
    width: 46px;
    height: 46px;
  }

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

/* Sehr schmale Handys: alles passt ohne waagerechtes Scrollen in 320 px */
@media (max-width: 380px) {
  .site-header__bar,
  .brand {
    gap: 8px;
  }

  .brand__logo {
    height: 44px;
  }

  /* Beide Zeilen verkleinern sich im selben Verhältnis und bleiben gleich breit */
  .brand__name {
    font-size: 18px;
    line-height: 21px;
  }

  .brand__claim {
    font-size: 9.86px;
    line-height: 12px;
  }

  .header-contact__icon {
    width: 44px;
    height: 44px;
  }

  .menu-button {
    min-height: 44px;
    padding: 8px 12px;
  }
}

@media (max-width: 350px) {
  /* Nur noch das Symbol; das aria-label nennt das Menü */
  .menu-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .menu-button {
    min-width: 44px;
    justify-content: center;
    padding: 8px;
  }
}

/* --- 07-footer.css --- */
/* ==========================================================================
   Footer und feste Leiste am Handy
   ========================================================================== */

.site-footer {
  padding: 56px var(--gutter) 32px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.site-footer__columns {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 22px;
}

.site-footer__column--muted {
  color: var(--ink-muted);
}

.site-footer__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: var(--ink);
}

.site-footer__bottom {
  max-width: var(--content-max);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* --- Handy: „Anrufen“ und „Anfrage senden“ fest am unteren Rand ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: 72px;
  }
}

/* Sehr schmale Handys: Beschriftung bleibt einzeilig */
@media (max-width: 350px) {
  .mobile-bar .btn {
    padding: 0 8px;
    font-size: 15px;
  }
}

/* --- 08-form.css --- */
/* ==========================================================================
   Formularelemente
   ========================================================================== */

.form-label {
  font-size: 15px;
  font-weight: 700;
}

.label-optional {
  font-weight: 500;
  color: var(--ink-muted);
}

.hint {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}

.field {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}

.field::placeholder {
  color: var(--ink-muted);
}

.field--textarea {
  resize: vertical;
}

.field[aria-invalid="true"] {
  border-color: var(--error);
}

/* Fehlertext unter einem Feld; leer, solange alles stimmt (der Platz bleibt wie im Entwurf) */
.field-error {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--error);
}

/* Meldungen, die ohne Inhalt keinen Platz einnehmen sollen */
.field-error--collapsible:empty {
  display: none;
}

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

.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--action);
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.choice-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}

/* --- Knopf, der wie ein Textlink aussieht -------------------------------- */

.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--action-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--logo-mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.linkbtn:hover {
  color: var(--action-text-hover);
  text-decoration-color: var(--action-text-hover);
}

.linkbtn--lg {
  font-size: 16px;
}

/* --- pages/about.css --- */
/* ==========================================================================
   Über mich (/ueber-mich/)
   ========================================================================== */

.portrait {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 460px;
}

.signature {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 34px;
  line-height: 38px;
  font-weight: 600;
  color: var(--action);
}

.partners {
  flex: 2 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.partner__logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.partner__link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
  align-self: flex-start;
}

.about-stat {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.about-stat__value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
}

.about-stat__label {
  font-size: 17px;
  color: var(--ink-muted);
}

/* --- pages/article.css --- */
/* ==========================================================================
   Ratgeber-Artikel (/ratgeber/{slug}/)
   ========================================================================== */

.article-head {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}

.article-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
}

.article-body {
  flex: 2 1 600px;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-aside {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 22px;
}

.aside-cta {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- pages/guide.css --- */
/* ==========================================================================
   Ratgeber-Übersicht (/ratgeber/)
   ========================================================================== */

.featured {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* --- pages/home.css --- */
/* ==========================================================================
   Startseite (/)
   ========================================================================== */

.hero__title {
  margin: 0;
  font-size: 56px;
  line-height: 60px;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
}

.hero__signature {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__portrait {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: var(--radius-pill);
  border: 2px solid var(--logo-mint);
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero__quote {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  color: var(--ink);
}

.hero__name {
  font-family: var(--font-hand);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  color: var(--action);
}

.hero__media {
  flex: 1 1 480px;
  min-width: 0;
  position: relative;
  padding-bottom: 40px;
}

.hero__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--tint);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 22px;
  text-align: center;
  padding: 32px;
}

.hero__photo-small {
  position: absolute;
  left: -32px;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}

.stats {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stats__item {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stats__value {
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats__label {
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-muted);
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.rating__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}

.home-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

.ba-wrap {
  flex: 1.4 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint);
}

.ba__after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 32px;
  background: var(--tint);
  color: var(--ink-muted);
  font-size: 15px;
}

.ba__before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--ba-pos, 50%);
  overflow: hidden;
  background: var(--surface-soft);
  border-right: 3px solid var(--action);
}

.ba__before-inner {
  position: absolute;
  inset: 0;
  width: 100vw;
  max-width: 760px;
  display: flex;
  align-items: center;
  padding: 32px;
  color: var(--ink-muted);
  font-size: 15px;
}

.ba__handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos, 50%);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--ink-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Der Regler ist unsichtbar; sein Fokus zeigt sich deshalb am ganzen Bild */
.ba:has(.ba-range:focus-visible) {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

/* Unsichtbarer Schieberegler über dem ganzen Bild (before-after.js) */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba__labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote__text {
  margin: 0;
  font-size: 19px;
  line-height: 29px;
  font-weight: 500;
}

.quote__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  line-height: 22px;
}

.intro-media {
  position: relative;
  max-width: 460px;
  padding: 0 0 48px 0;
}

.intro-media__photo {
  aspect-ratio: 4 / 5;
  width: 82%;
  border-radius: var(--radius-lg);
  background: var(--tint);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 15px;
  text-align: center;
  padding: 24px;
}

.intro-media__photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}

.intro-text {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
  max-width: 620px;
}

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

@media (max-width: 600px) {
  .hero__title {
    font-size: 38px;
    line-height: 42px;
  }

  .stats {
    gap: 8px;
  }

  .stats__item {
    padding: 14px;
  }

  .stats__value {
    font-size: 22px;
    line-height: 28px;
  }
}

/* Unter 380 px sind drei Kästchen zu schmal für Sterne und „Bewertungen“ */
@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* --- pages/industries.css --- */
/* ==========================================================================
   Branchen (/branchen/)
   ========================================================================== */

.inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 48px;
}

.industry-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* --- pages/inquiry.css --- */
/* ==========================================================================
   Anfrage (/anfrage/)
   ========================================================================== */

.inquiry {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.inquiry__main {
  flex: 2 1 620px;
  min-width: 0;
}

.form-box {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 2px solid var(--line);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

/* Gewählte Karte grün umrandet, ohne JavaScript */
.choice-card:has(input:checked) {
  border-color: var(--action);
}

.form-legend {
  margin-bottom: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.form-legend--spaced {
  margin-bottom: 20px;
}

.upload {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Während Dateien darübergezogen werden */
.upload.is-dragover {
  border-color: var(--action);
  background: var(--surface-soft);
}

.upload__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--action);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.upload__title {
  font-size: 16px;
  font-weight: 600;
}

.filebtn:has(input:focus-visible) {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--action);
}

.file-list__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.file-list__size {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 24px;
}

.divider {
  height: 1px;
  background: var(--line);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.inquiry__submit {
  margin-top: 16px;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.form-footer__note {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
  max-width: 440px;
  padding-top: 16px;
}

/* --- Fehlerübersicht und Bestätigung ------------------------------------- */

.form-errors {
  padding: 16px 20px;
  border: 2px solid var(--error);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-errors__title {
  font-size: 16px;
  color: var(--error);
}

.inquiry-sent {
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--tint);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.inquiry-sent__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--ink-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inquiry-sent__text {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

/* --- Seitenleiste -------------------------------------------------------- */

.inquiry__aside {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  align-self: flex-start;
}

.aside-box {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-steps__item {
  display: flex;
  gap: 12px;
}

.next-steps__num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--ink-inverse);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.next-steps__text {
  font-size: 15px;
  line-height: 22px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.contact-block__phone {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
}

.contact-block__note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .form-box {
    padding: 24px 16px;
  }
}

/* --- pages/legal.css --- */
/* ==========================================================================
   Impressum und Rechtliches
   ========================================================================== */

.legal {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal__note {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-muted);
}

/* --- pages/materials.css --- */
/* ==========================================================================
   Materialien (/materialien/)
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 16px;
}

.cmp__sub {
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-muted);
}

/* --- pages/prices.css --- */
/* ==========================================================================
   Preise und Ablauf (/preise-ablauf/)
   ========================================================================== */

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* --- pages/project.css --- */
/* ==========================================================================
   Projektseite (/projekte/{slug}/)
   ========================================================================== */

.facts {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts__label {
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.facts__value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

/* --- pages/projects.css --- */
/* ==========================================================================
   Projekte mit Filter (/projekte/)
   ========================================================================== */

/* Filter als Textlinks mit grüner Unterstreichung, wie das Menü */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  border-bottom: 1px solid var(--line);
}

.filters button {
  position: relative;
  padding: 14px 0;
  border: 0;
  background: none;
  color: var(--action-text);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--logo-mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.filters button:hover {
  color: var(--action-text-hover);
  text-decoration-color: var(--action-text-hover);
}

.filters button.is-active {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.filters button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--action);
}

.filters__count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0 22px;
    scrollbar-width: none;
  }

  .filters button {
    flex: none;
    white-space: nowrap;
  }
}

/* --- pages/vehicle.css --- */
/* ==========================================================================
   Fahrzeug und Wohnmobil: Sicherheitshinweis
   ========================================================================== */

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 2px solid var(--action);
  border-radius: 12px;
  padding: 18px 20px;
}

.notice__icon {
  flex: none;
  color: var(--action);
}

.notice__text {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

/* --- 90-utilities.css --- */
/* ==========================================================================
   Hilfsklassen für Einzelfälle. Stehen am Ende, damit sie Bausteine
   gezielt überschreiben können (z. B. .card mit .gap-8).
   ========================================================================== */

.gap-2  { gap: 2px; }
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }

.m-0  { margin: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }

.no-shrink  { flex: none; }
.self-start { align-self: flex-start; }
.nowrap     { white-space: nowrap; }

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

/* Nur für Screenreader sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
