/* =====================================================================
   LUCID Compliance – Design-System
   Schrift: Montserrat lokal (400/600/700/800/900), kein Google-CDN-Aufruf.
   Farben aus Figma-Frames gesampelt.
   ===================================================================== */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/montserrat-latin-900-normal.woff2') format('woff2'); }

:root {
  /* ---- Farben (aus Figma-Design gesampelt) ---- */
  --c-ink:           #000000;  /* Schwarz: dunkle Sektionen, Headlines, Text */
  --c-surface:       #ffffff;  /* Weiß: helle Sektionen */
  --c-surface-soft:  #f1f1f1;  /* helles Grau: Footer, ruhige Flächen */
  --c-dark-grey:     #212121;  /* dunkles Grau: abgesetzte Sektion (Quick Check) */
  --c-on-dark:       #ffffff;  /* Text/Logo auf Schwarz */
  --c-muted:         #6e6e6e;  /* Sekundär-/Hilfstext. Aus Figma ~#8A8A8A auf AA-tauglich (≈4.8:1 auf Weiß) abgedunkelt */
  --c-line:          #e3e3e3;  /* feine Trennlinien auf Hell */
  --c-line-dark:     #2a2a2a;  /* feine Trennlinien auf Dunkel */

  /* ---- Typografie ---- */
  --font-display: "Montserrat", system-ui, Arial, sans-serif;
  --font-body:    "Montserrat", system-ui, Arial, sans-serif;

  /* Typo-Skala — aus Figma-Inspector: Body = Inter 400, 11px Figma-Einheit.
     CSS-Werte skaliert für reale Darstellung. Headline-Gewicht 800. */
  --fs-display: clamp(2.5rem, 6vw, 4.125rem);
  --fs-h1:      clamp(2rem, 5vw, 3.125rem);
  --fs-h2:      clamp(1.9rem, 4.2vw, 3.125rem);
  --fs-h3:      1.25rem;
  --fs-body:    1.125rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-display: 1.2;     /* 79/66 */
  --lh-heading: 1.2;     /* 60/50 */
  --lh-body:    1.56;    /* 28/18 */

  /* ---- Abstände (8er-Raster) ---- */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;     --sp-8: 8rem;

  /* ---- Layout ---- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}

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

/* Sichtbarer Tastatur-Fokus (A11y) */
:where(a, button, .btn, .nav-toggle, input, textarea):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Skip-Link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--c-ink); color: var(--c-on-dark);
  padding: .6rem 1rem; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

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

/* ---- Typografie-Klassen ---- */
.display, h1, h2 { font-family: var(--font-display); font-weight: 900; overflow-wrap: break-word; }
h3 { font-family: var(--font-display); font-weight: 600; overflow-wrap: break-word; }
.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-heading); text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 var(--sp-3); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); text-transform: uppercase; letter-spacing: -0.005em; margin: 0 0 var(--sp-3); }
h3 { font-size: var(--fs-h3); line-height: 1.7; margin: 0 0 var(--sp-2); }
p  { margin: 0 0 var(--sp-2); max-width: 68ch; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 var(--sp-2);
}
.muted { color: var(--c-muted); }
.on-dark .eyebrow { color: rgba(255,255,255,.7); }
.on-dark .muted { color: rgba(255,255,255,.65); }

/* ---- Buttons (Anriss aus Figma: rechteckig, Pfeil, Invert-Hover) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.4em;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--c-ink);
  background: var(--c-ink);
  color: var(--c-on-dark);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--solid:hover { background: transparent; color: var(--c-ink); }
.btn--outline { background: transparent; color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-on-dark); }

/* Auf dunklem Grund */
.on-dark .btn--outline { border-color: var(--c-on-dark); color: var(--c-on-dark); }
.on-dark .btn--outline:hover { background: var(--c-on-dark); color: var(--c-ink); }

/* ---- Sektionen ---- */
.section { padding-block: var(--sp-7); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section--grey { background: var(--c-dark-grey); color: var(--c-on-dark); }
.section--soft { background: var(--c-surface-soft); }
.section--intro { padding-block: var(--sp-4); }

/* ---- Header (schwarz, wie Figma) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-ink);
  transition: transform .3s ease;
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.logo { position: relative; display: block; line-height: 0; text-decoration: none; color: var(--c-on-dark); justify-self: center; }
.logo-mark { height: 22px; width: auto; display: block; }
/* Zwei-Phasen-Morph: volles Logo (mit Deskriptor) und kompaktes (nur Wortmarke,
   gleiche Breite) liegen deckungsgleich uebereinander.
   Phase 1: Deskriptor blendet weg (LUCID bleibt an Ort und Groesse).
   Phase 2: Header + Logo schrumpfen gemeinsam.
   Die Staffelung ist pro Zielzustand definiert, damit sie hin UND zurueck
   in der richtigen Reihenfolge laeuft. */
.logo-full {
  display: block;
  width: 110px; height: 42px;
  /* Rueckweg (hochscrollen): erst Groesse (0ms), dann Deskriptor einblenden (delay) */
  transition: opacity 200ms cubic-bezier(.4,0,.2,1) 300ms,
              width 300ms cubic-bezier(.4,0,.2,1) 0ms,
              height 300ms cubic-bezier(.4,0,.2,1) 0ms;
}
.logo-compact {
  position: absolute; left: 0; top: 0;
  width: 110px; height: 24px;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1) 300ms,
              width 300ms cubic-bezier(.4,0,.2,1) 0ms,
              height 300ms cubic-bezier(.4,0,.2,1) 0ms;
  pointer-events: none;
}
/* Hamburger */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; justify-self: start; }
.nav-toggle span { width: 24px; height: 2px; background: var(--c-on-dark); display: block; transform-origin: center; transition: transform .3s ease, opacity .2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Sprachumschalter */
.lang-toggle { justify-self: end; display: flex; align-items: center; gap: .3rem; font-size: var(--fs-small); }
.lang-toggle a { text-decoration: none; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.lang-toggle a.is-active { color: var(--c-on-dark); font-weight: 600; }
.lang-toggle .lang-sep { color: rgba(255,255,255,.3); }
.lang-toggle .lang-inactive { color: rgba(255,255,255,.25); cursor: default; letter-spacing: .06em; }
.lang-toggle span.is-active { color: var(--c-on-dark); font-weight: 600; letter-spacing: .06em; }
.header-inner { transition: height 300ms cubic-bezier(.4,0,.2,1) 0ms; }
body.is-scrolled .header-inner { height: 44px; transition: height 300ms cubic-bezier(.4,0,.2,1) 200ms; }
/* Hinweg (runterscrollen): erst Deskriptor weg (0ms), dann schrumpfen (delay 200ms) */
body.is-scrolled .logo-full {
  opacity: 0; width: 91px; height: 20px;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1) 0ms,
              width 300ms cubic-bezier(.4,0,.2,1) 200ms,
              height 300ms cubic-bezier(.4,0,.2,1) 200ms;
}
body.is-scrolled .logo-compact {
  opacity: 1; width: 91px; height: 20px;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1) 0ms,
              width 300ms cubic-bezier(.4,0,.2,1) 200ms,
              height 300ms cubic-bezier(.4,0,.2,1) 200ms;
}
/* Header schwebt über dem Nav-Drawer wenn offen – Burger-X bleibt sichtbar */
body.nav-open .site-header { z-index: 65; }

/* ---- Navigation als Overlay (von links) ---- */
.site-nav {
  position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px);
  background: var(--c-ink); color: var(--c-on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + var(--sp-2)) 2.5rem 2.5rem;
  overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s ease; z-index: 60;
}
@media (max-height: 520px) {
  .site-nav { padding: calc(var(--header-h) + var(--sp-1)) 2rem 1.5rem; }
  .nav-main { gap: .4rem; }
  .nav-main a { font-size: 1.2rem; }
}
.site-nav.is-open { transform: translateX(0); }
.nav-close { display: none; }
.nav-main { display: flex; flex-direction: column; gap: var(--sp-2); }
.nav-main a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: none; color: var(--c-on-dark); transition: text-decoration-color .25s ease; }
.nav-main a:hover, .nav-main a.nav-active { text-decoration-color: currentColor; }
.nav-legal { display: flex; flex-direction: column; gap: .6rem; padding-top: var(--sp-3); border-top: 1px solid var(--c-line-dark); }
.nav-legal a { text-decoration: none; font-size: var(--fs-small); color: rgba(255,255,255,.55); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 55; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* ---- Footer (hellgrau, schwarze Inhalte, 4-spaltig wie Figma) ---- */
.site-footer { background: var(--c-surface-soft); color: var(--c-ink); padding: var(--sp-6) 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-5); align-items: start; }
.footer-brand { display: flex; align-items: center; }
.footer-brand .logo-mark { height: 48px; width: auto; display: block; color: var(--c-ink); }
.logo-full--footer { filter: invert(1); }
.footer-address { font-style: normal; font-size: var(--fs-small); line-height: 1.8; }
.footer-address strong { display: block; margin-bottom: .25rem; }
.footer-address a { color: inherit; text-decoration: none; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3rem; align-content: start; }
.footer-nav a { text-decoration: none; font-size: var(--fs-small); color: var(--c-ink); }
.footer-nav a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-nav { max-width: 260px; }
}

/* ---- Reveal beim Scrollen ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   Home / Seiten-Bausteine
   ===================================================================== */
/* Bild-Platzhalter (bis echte Bilder da sind) */
.ph-img {
  background: repeating-linear-gradient(45deg, #ececec, #ececec 12px, #f4f4f4 12px, #f4f4f4 24px);
  border: 1px solid var(--c-line);
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); font-size: var(--fs-small); letter-spacing: .02em;
  text-align: center; padding: 1rem;
}
.on-dark .ph-img { background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 12px, #232323 12px, #232323 24px); border-color: var(--c-line-dark); color: #9a9a9a; }

/* Hero (Foto mit Text-Overlay, wie Figma) */
/* Nie anschneiden: Bild skaliert natürlich mit der Breite, figure clippt nur am unteren Rand (dort wo Gradient sitzt) */
.hero-figure { position: relative; overflow: hidden; max-height: 760px; }
.hero-figure picture { display: block; width: 100%; }
.hero-figure img.hero-img {
  display: block; width: 100%;
  height: auto;
  filter: grayscale(1);
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-block: var(--sp-5);
  color: var(--c-on-dark);
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.05) 100%);
}
.hero-overlay .display { color: var(--c-on-dark); }
.hero-title { max-width: 16ch; text-shadow: 0 1px 24px rgba(0,0,0,.35); margin: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4) var(--sp-5); align-items: end; }
.hero-aside { max-width: 300px; align-self: end; }
.hero-aside p { font-size: var(--fs-small); }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
}
@media (max-width: 600px) {
  /* Mobile Hero: erste Zeile überlappt Bild-Unterkante, ab Zeile 2 im eigenen Block */
  .hero-figure { max-height: none; overflow: visible; display: flex; flex-direction: column; }
  .hero-overlay {
    position: relative;
    z-index: 1;
    background: var(--c-ink);
    margin-top: -3rem;
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-4);
  }
  .hero-title { font-size: 2.6rem; line-height: 1.1; }
}

/* Inhalts-Bilder (Teaser etc.) – position:absolute verhindert, dass das Bild die Zeilenhöhe aufbläst */
.media { position: relative; overflow: hidden; min-height: 300px; }
.media picture { position: absolute; inset: 0; display: block; }
.media img.cover-img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* Quick-Check-Icon */
.quickcheck-icon { display: flex; }
.quickcheck-icon img { width: 140px; height: auto; }

/* Zwei-Spalter */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: stretch; }
.twocol > * { min-width: 0; }
@media (max-width: 800px) {
  .twocol { grid-template-columns: 1fr; gap: var(--sp-4); }
  .twocol--media-left .ph-img { order: -1; }
}

/* Kompetenzfelder (Titel links, Text rechts, keine Nummern) */
.comp-head { max-width: 22ch; margin-bottom: var(--sp-4); }
.comp-list { margin-top: var(--sp-2); }
.comp-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--sp-4); padding: var(--sp-3) 0; border-top: 1px solid var(--c-line-dark); }
.comp-row:first-child { border-top: 0; }
.comp-row:last-child { border-bottom: 1px solid var(--c-line-dark); }
.comp-row h3 { margin: 0; }
.comp-row p { margin: 0; }
.comp-cta { margin-top: var(--sp-4); display: flex; justify-content: flex-end; }
@media (max-width: 760px) {
  .comp-row { grid-template-columns: 1fr; gap: var(--sp-1); }
  .comp-cta { justify-content: flex-start; }
}

/* Quick Check */
.quickcheck { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center; }
.quickcheck-text { max-width: 60ch; }
.quickcheck-icon { display: flex; justify-content: flex-start; align-items: flex-start; }
/* Icon ist bereits weiß (transparentes PNG) – kein Filter nötig */
@media (max-width: 800px) { .quickcheck { grid-template-columns: 1fr; } }

/* Full-bleed 50/50 Split (Bild füllt linke Hälfte edge-to-edge) */
.bleed-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bleed-split-img { overflow: hidden; min-height: 500px; }
.bleed-split-img picture { display: block; width: 100%; height: 100%; }
.bleed-split-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.bleed-split-text {
  padding-block: var(--sp-7);
  padding-inline: clamp(var(--sp-5), 6vw, var(--sp-7));
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--sp-3);
}
.bleed-split-text p { max-width: 52ch; margin: 0; }
@media (max-width: 800px) {
  .bleed-split { grid-template-columns: 1fr; }
  .bleed-split-img { min-height: 300px; }
}

/* Kontaktformular */
.contact-form { display: grid; gap: var(--sp-2); }
.contact-form label:not(.form-check) { display: grid; gap: .35rem; font-size: var(--fs-small); font-weight: 600; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; padding: .7rem .8rem;
  border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--c-ink); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form button { justify-self: end; margin-top: var(--sp-1); }
.form-check { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-small); line-height: 1.5; cursor: pointer; }
.form-check input[type="checkbox"] { flex-shrink: 0; margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--c-ink); cursor: pointer; }
.form-check a { color: inherit; }
.form-check a:hover { text-decoration: none; }

/* =====================================================================
   Showcase-spezifisch (nur für die Design-System-Seite)
   ===================================================================== */
.ds-section { padding-block: var(--sp-6); border-bottom: 1px solid var(--c-line); }
.ds-label { font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--sp-3); }

/* =====================================================================
   Leistungen – 3-Spalten-Akkordeon (COMPLIANCE / DATA / RISK)
   ===================================================================== */
.leistungen-intro { max-width: 74ch; }
.leistungen-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--c-line);
  padding-block: var(--sp-6) var(--sp-7);
  gap: 0;
}
.leistungen-col { padding-right: var(--sp-5); border-right: 1px solid var(--c-line); }
.leistungen-col:last-child { border-right: 0; padding-right: 0; padding-left: var(--sp-5); }
.leistungen-col:nth-child(2) { padding-inline: var(--sp-5); }
.leistungen-col-title {
  font-size: 1.5rem; letter-spacing: -.01em; text-transform: uppercase;
  font-weight: 900; margin-bottom: var(--sp-3); color: var(--c-ink);
}
.leistungen-item { border-top: 1px solid var(--c-line); }
.leistungen-item:last-child { border-bottom: 1px solid var(--c-line); }
/* Auf dunklem Grund */
.on-dark .leistungen-grid { border-top-color: var(--c-line-dark); }
.on-dark .leistungen-col { border-right-color: var(--c-line-dark); }
.on-dark .leistungen-col:not(:first-child) { border-top-color: var(--c-line-dark); }
.on-dark .leistungen-col-title { color: var(--c-on-dark); }
.on-dark .leistungen-item { border-top-color: var(--c-line-dark); }
.on-dark .leistungen-item:last-child { border-bottom-color: var(--c-line-dark); }
.on-dark .leistungen-item summary { color: var(--c-on-dark); }
.on-dark .leistungen-item .item-body { color: var(--c-on-dark); }
.leistungen-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 1rem; font-weight: 600; font-size: var(--fs-small);
  gap: 1rem;
}
.leistungen-item summary::-webkit-details-marker { display: none; }
.leistungen-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; flex-shrink: 0; transition: transform .28s ease; }
.leistungen-item.is-open summary::after { content: '−'; }
.leistungen-item .item-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; font-size: var(--fs-small); line-height: 1.65; color: var(--c-muted); hyphens: auto; overflow-wrap: break-word; }
.leistungen-item.is-open .item-body { grid-template-rows: 1fr; }
.leistungen-item .item-inner { overflow: hidden; min-height: 0; padding-bottom: 1rem; }
@media (prefers-reduced-motion: reduce) { .leistungen-item .item-body { transition: none; } }
@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .leistungen-col { border-right: 0; padding-right: 0; padding-left: 0; padding-top: var(--sp-4); }
  .leistungen-col:nth-child(2),
  .leistungen-col:last-child { padding-inline: 0; }
  .leistungen-col:not(:first-child) { border-top: 1px solid var(--c-line); }
}

/* =====================================================================
   Über uns – Teamprofil-Karten
   ===================================================================== */
.team-intro { max-width: 74ch; }
.team-list { display: flex; flex-direction: column; gap: 0; }
.team-member { border-top: 1px solid var(--c-line); padding-block: var(--sp-6); }
.team-member:first-child { border-top: 0; }
.team-member:last-child { border-bottom: 1px solid var(--c-line); }
.team-member-head { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-5); align-items: start; }
.team-photo { width: 200px; aspect-ratio: 3/4; object-fit: cover; display: block; }
.team-photo-ph { width: 200px; aspect-ratio: 3/4; background: #333; display: flex; align-items: center; justify-content: center; color: #888; font-size: var(--fs-small); }
.team-name { font-size: var(--fs-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 .25rem; }
.team-title { font-size: var(--fs-small); color: rgba(255,255,255,.5); margin-bottom: var(--sp-3); line-height: 1.6; }
.team-bio { max-width: none; margin-top: var(--sp-3); margin-bottom: 0; color: rgba(255,255,255,.85); }
.team-member { border-top-color: var(--c-line-dark); }
.team-member:last-child { border-bottom-color: var(--c-line-dark); }
.team-vita { padding-left: calc(200px + var(--sp-5)); margin-top: var(--sp-2); }
.team-vita summary { list-style: none; cursor: pointer; padding-block: 1rem; font-size: var(--fs-small); font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.team-vita summary::-webkit-details-marker { display: none; }
.team-vita summary::before { content: '→'; display: inline-block; transition: transform .25s; }
.team-vita.is-open summary::before { transform: rotate(90deg); }
.team-vita-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; color: rgba(255,255,255,.65); }
.team-vita.is-open .team-vita-content { grid-template-rows: 1fr; }
.team-vita-inner { overflow: hidden; min-height: 0; padding-bottom: var(--sp-3); }
@media (prefers-reduced-motion: reduce) { .team-vita-content { transition: none; } }
.team-vita-list { list-style: none; padding: 0; margin: 0 0 var(--sp-3); font-size: var(--fs-small); line-height: 1.8; }
.team-vita-list li { padding-left: 1.2em; position: relative; }
.team-vita-list li::before { content: '–'; position: absolute; left: 0; color: rgba(255,255,255,.4); }
.team-contact { font-size: var(--fs-small); line-height: 1.9; }
.team-contact a { color: inherit; text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }
.team-photo-col { display: flex; flex-direction: column; gap: var(--sp-3); }
.team-contact-visible { font-size: var(--fs-small); line-height: 2; color: rgba(255,255,255,.6); margin-top: var(--sp-1); }
.team-contact-visible a { color: inherit; text-decoration: none; display: block; }
.team-contact-visible a:hover { text-decoration: underline; }
.team-contact-visible a::before { content: '→ '; }
.team-mandates h4 { font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: var(--sp-3) 0 var(--sp-2); }
.team-mandates ul { list-style: none; padding: 0; margin: 0; }
.team-mandates li { font-size: var(--fs-small); line-height: 1.7; padding-bottom: .75rem; border-bottom: 1px solid var(--c-line); margin-bottom: .75rem; }
@media (max-width: 700px) {
  .team-member-head { grid-template-columns: 1fr; }
  .team-photo, .team-photo-ph { width: 100%; max-width: 220px; }
  .team-bio, .team-vita { padding-left: 0; }
}

/* =====================================================================
   Karriere – Stellenausschreibung
   ===================================================================== */
.karriere-intro { max-width: 74ch; }
.job-posting { padding-block: var(--sp-5) var(--sp-7); border-top: 1px solid var(--c-line); }
.job-title { font-size: var(--fs-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: var(--sp-5); }
.job-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-6); align-items: start; }
.job-sidebar { font-size: var(--fs-small); line-height: 1.8; }
.job-sidebar ul { list-style: none; padding: 0; margin: 0 0 var(--sp-3); }
.job-sidebar li { padding-block: .4rem; border-bottom: 1px solid var(--c-line); }
.job-sidebar .job-contact { margin-top: var(--sp-3); }
.job-sidebar .job-contact a { color: inherit; text-decoration: none; }
.job-body p { max-width: 70ch; margin-bottom: var(--sp-3); font-size: var(--fs-body); }
.on-dark .job-posting { border-top-color: var(--c-line-dark); }
.on-dark .job-sidebar li { border-bottom-color: var(--c-line-dark); }
@media (max-width: 750px) {
  .job-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Kontakt – eigenständige Seite
   ===================================================================== */
.kontakt-page { padding-block: var(--sp-7); }
.kontakt-page h1 { max-width: 18ch; margin-bottom: var(--sp-6); }
.contact-headline { font-size: clamp(1.75rem, 5vw, 3.75rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 1.083; margin-bottom: var(--sp-5); }
.kontakt-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-6); align-items: start; }
.kontakt-grid h2 { font-size: var(--fs-h3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--sp-2); }
.kontakt-grid .contact-intro { font-size: var(--fs-small); max-width: 30ch; }
@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Compliance Quick Check – Quiz-Widget
   ===================================================================== */
.check-page { padding-block: var(--sp-7); }
.check-page h1 { margin-bottom: var(--sp-6); }
.check-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-6); align-items: start; }
.check-intro { font-size: var(--fs-small); max-width: 30ch; line-height: 1.8; }
.check-widget {
  background: var(--c-surface-soft); padding: var(--sp-4);
}
.check-widget legend { font-weight: 700; margin-bottom: var(--sp-3); font-size: var(--fs-body); }
.check-options { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: flex; flex-direction: column; gap: .15rem; }
.check-options li label { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; cursor: pointer; font-size: var(--fs-small); border-bottom: 1px solid var(--c-line); }
.check-options li:first-child label { border-top: 1px solid var(--c-line); }
.check-options input[type="radio"] { accent-color: var(--c-ink); width: 1rem; height: 1rem; flex-shrink: 0; }
@media (max-width: 700px) {
  .check-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Quick Check – Quiz-Seite
   ===================================================================== */
.quiz-page { padding-block: var(--sp-6) var(--sp-8); }
.quiz-header { margin-bottom: var(--sp-5); }
.quiz-back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-small); font-weight: 600; text-decoration: none; color: var(--c-muted); margin-bottom: var(--sp-3); }
.quiz-back-link:hover { color: var(--c-ink); }
.quiz-page h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; margin: 0 0 var(--sp-1); }
.quiz-subtitle { color: var(--c-muted); font-size: var(--fs-small); margin: 0; }

.quiz-wrap { max-width: 660px; }

/* Fortschrittsbalken */
.quiz-progress { height: 3px; background: var(--c-line); border-radius: 2px; margin-bottom: var(--sp-5); }
.quiz-progress-fill { height: 100%; background: var(--c-ink); border-radius: 2px; transition: width .35s ease; }
.quiz-step-count { font-size: var(--fs-small); color: var(--c-muted); margin-bottom: var(--sp-3); font-weight: 600; }

/* Frage-Steps */
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }

.quiz-category { font-size: var(--fs-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin: 0 0 var(--sp-2); }
.quiz-q { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 700; line-height: 1.45; margin: 0 0 var(--sp-4); max-width: 60ch; }

/* Antwort-Karten */
.quiz-options { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: flex; flex-direction: column; gap: .5rem; }
.quiz-options li { display: block; }
.quiz-option-label {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 2px solid var(--c-line);
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 600;
  transition: border-color .18s, background .18s;
  user-select: none;
}
.quiz-option-label:hover { border-color: var(--c-ink); }
.quiz-option-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-option-dot {
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 2px solid var(--c-line); flex-shrink: 0;
  transition: border-color .18s, background .18s;
}
.quiz-options li.is-selected .quiz-option-label { border-color: var(--c-ink); }
.quiz-options li.is-selected .quiz-option-dot { border-color: var(--c-ink); background: var(--c-ink); }

/* Navigation */
.quiz-nav { display: flex; gap: var(--sp-2); align-items: center; }
.quiz-nav .btn { min-width: 140px; }

/* Ergebnis-Seite */
.quiz-result-wrap { display: none; }
.quiz-result-wrap.is-active { display: block; }

.quiz-score-block { margin-bottom: var(--sp-5); padding: var(--sp-4); border-left: 4px solid var(--c-ink); }
.quiz-score-block.result-red { border-color: #c0392b; }
.quiz-score-block.result-orange { border-color: #e67e22; }
.quiz-score-block.result-green { border-color: #27ae60; }

.quiz-score-pct { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 900; line-height: 1; margin: 0 0 var(--sp-2); }
.quiz-score-pct.result-red { color: #c0392b; }
.quiz-score-pct.result-orange { color: #e67e22; }
.quiz-score-pct.result-green { color: #27ae60; }

.quiz-score-label { font-size: var(--fs-h3); font-weight: 800; text-transform: uppercase; margin: 0 0 var(--sp-2); }
.quiz-score-text { font-size: var(--fs-small); line-height: 1.7; color: var(--c-muted); margin: 0; max-width: 58ch; }

.quiz-result-form-head { margin-bottom: var(--sp-4); margin-top: var(--sp-6); }
.quiz-result-form-head h2 { font-size: var(--fs-h3); font-weight: 800; text-transform: uppercase; margin: 0 0 var(--sp-1); }
.quiz-result-form-head p { font-size: var(--fs-small); color: var(--c-muted); margin: 0; }

@media (max-width: 600px) {
  .quiz-nav { flex-direction: column-reverse; align-items: stretch; }
  .quiz-nav .btn { min-width: 0; text-align: center; }
}

/* =====================================================================
   Impressum / Datenschutz – Textseiten
   ===================================================================== */
.text-page { padding-block: var(--sp-7); }
.text-page h1 { margin-bottom: var(--sp-5); max-width: 24ch; }
.text-page h2 { font-size: var(--fs-h3); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.text-page p, .text-page li { max-width: 70ch; font-size: var(--fs-body); }
.text-page ul { padding-left: 1.4rem; margin: 0 0 var(--sp-3); }
.text-page a { color: var(--c-ink); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: var(--sp-2); }
.swatch { border: 1px solid var(--c-line); }
.swatch .chip { height: 96px; }
.swatch .meta { padding: 0.6rem 0.8rem; font-size: var(--fs-small); }
.swatch .meta b { display: block; }
.swatch .meta code { color: var(--c-muted); }

.type-row { padding: var(--sp-2) 0; border-top: 1px solid var(--c-line); }
.type-row:first-child { border-top: 0; }
.type-row .tag { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
