/* ============================================================
   PAGE-LEVEL STYLES — Shared across Detex sub-pages
   Patterns missing from styles.css that recur across multiple
   pages: mega-menu, hero variants, service-grid, CTA-block
   variant, glass info-card, credentials bar, breadcrumb,
   industry chips, check-list.
   Token-driven; relies on styles.css being loaded first.
   ============================================================ */

html, body { overflow-x: hidden; }

/* ============================================================
   SECTION RHYTHM — tighter than the DS default
   The DS ships `.section { padding: 96px 0 }` which produces
   192px between consecutive sections — too airy in practice.
   Tightened here for all sub-pages to a calmer 80/56.
   Page-specific overrides can still bump per-section padding
   inline if needed.
   ============================================================ */
.section { padding-top: 80px; padding-bottom: 80px; }
.section + .section { padding-top: 64px; }
@media (max-width: 767px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section + .section { padding-top: 48px; }
}

/* Slightly tighter section-head bottom-margin */
.section-head { margin-bottom: 40px; }
.section-head--center { margin-bottom: 56px; }
@media (max-width: 767px) {
  .section-head, .section-head--center { margin-bottom: 32px; }
}

/* Big brand-blue CTA blocks ship at 96px padding too — tighten to 72px */
.ctab { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 767px) {
  .ctab { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- HEADER · Mega-menu + Dropdown ---------- */
.nav { gap: var(--sp-6); }
.nav__trigger {
  background: none;
  border: 0;
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.nav__trigger:hover,
.nav__item:hover,
.nav__item.is-active { color: var(--brand-blue); }
.nav__item.is-active { border-bottom: 2px solid var(--brand-blue); }
.nav__trigger.is-active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}
.nav__trigger .caret { width: 10px; height: 10px; opacity: 0.6; transition: transform 200ms ease; }
.nav__group { position: relative; }
.nav__group[data-open="true"] .nav__trigger { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }
.nav__group[data-open="true"] .nav__trigger .caret { transform: rotate(180deg); }

.mega {
  position: fixed;
  left: 0; right: 0;
  top: 76px;
  background: var(--surface-white);
  border-bottom: 1px solid var(--surface-mist);
  box-shadow: var(--shadow-2);
  z-index: 49;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.nav__group[data-open="true"] .mega,
.mega.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mega__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-12) var(--container-pad);
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  gap: var(--sp-12);
}
.mega--narrow .mega__inner {
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: 0;
  padding-right: var(--container-pad);
}
.mega__col { display: flex; flex-direction: column; gap: 4px; }
.mega__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--sp-3);
}
.mega__link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-3);
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: background 120ms ease;
}
.mega__link:hover { background: var(--brand-blue-tint); }
.mega__link .icon-badge { width: 36px; height: 36px; }
.mega__link .icon-badge .ti { font-size: 18px; }
.mega__link-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-ink);
  margin: 0 0 2px;
  line-height: 1.3;
}
.mega__link-sub {
  display: block;
  font-size: 12px;
  color: var(--text-slate);
  margin: 0;
  line-height: 1.45;
}
.mega__feature {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.mega__feature-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.mega__feature-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.mega__feature-body {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}
.mega__feature .btn { align-self: flex-start; margin-top: var(--sp-2); }

.nav-backdrop {
  position: fixed;
  left: 0; right: 0; top: 76px; bottom: 0;
  background: rgba(15,23,42,0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 48;
  pointer-events: none;
}
.nav-backdrop.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 980px) {
  .mega, .nav-backdrop { display: none; }
}

/* ---------- BREADCRUMB ---------- */
.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
  padding: var(--sp-6) 0 0;
  flex-wrap: wrap;
}
.crumb a {
  color: var(--text-slate);
  text-decoration: none;
}
.crumb a:hover { color: var(--brand-blue); }
.crumb .ti { font-size: 14px; opacity: 0.6; }
.crumb b {
  color: var(--text-ink);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- HERO · Compact (centered) ---------- */
.hero-compact {
  position: relative;
  background: var(--surface-snow);
  overflow: hidden;
  padding: var(--sp-24) 0 var(--sp-16);
  text-align: center;
}
.hero-compact__ring {
  position: absolute;
  top: -260px; right: -200px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: var(--brand-blue-tint);
  z-index: 0;
  pointer-events: none;
}
.hero-compact__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.hero-compact__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--sp-6);
}
.hero-compact__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-compact__sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-slate);
  margin: var(--sp-6) auto 0;
  max-width: 56ch;
}

/* ---------- HERO · Split (detail pages) ---------- */
.hero-split {
  position: relative;
  background: var(--surface-snow);
  overflow: hidden;
  padding: var(--sp-12) 0 var(--sp-24);
}
.hero-split__ring {
  position: absolute;
  top: -200px; right: -200px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: var(--brand-blue-tint);
  z-index: 0;
  pointer-events: none;
}
.hero-split__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--sp-12);
  align-items: center;
}
.hero-split__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: var(--sp-6) 0 var(--sp-6);
}
.hero-split__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
  max-width: 14ch;
}
.hero-split__sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-slate);
  margin: var(--sp-6) 0 0;
  max-width: 52ch;
}
.hero-split__ctas {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(15,23,42,0.05) 0 2px, transparent 2px 14px),
    var(--surface-fog);
  border: 1px solid var(--surface-mist);
  box-shadow: var(--shadow-2);
}
.hero-visual__label {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0 32px;
  line-height: 1.6;
}
.hero-visual__label b {
  display: block;
  color: var(--text-slate);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero-visual__glass {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(15,23,42,0.06);
}
.hero-visual__glass .ti { color: var(--brand-blue); font-size: 18px; }
.hero-visual__stat {
  position: absolute;
  right: 16px; bottom: 16px;
  background: #fff;
  color: var(--text-ink);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  min-width: 170px;
}
.hero-visual__stat .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--brand-blue-dark);
  letter-spacing: -0.01em;
}
.hero-visual__stat .l {
  font-size: 13px;
  color: var(--text-slate);
  margin-top: 6px;
}
@media (max-width: 1023px) {
  .hero-compact { padding-top: var(--sp-16); padding-bottom: var(--sp-12); }
  .hero-split { padding-top: var(--sp-6); padding-bottom: var(--sp-16); }
  .hero-split__inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero-visual { max-width: 480px; }
  .hero-compact__ring, .hero-split__ring { width: 480px; height: 480px; top: -160px; right: -160px; }
}

/* ---------- SERVICE-GRID (Leistungen) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.svc-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.svc-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--brand-blue-border);
}
.svc-card .icon-badge { margin-bottom: var(--sp-2); }
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.svc-card p {
  color: var(--text-slate);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.svc-card__cta {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: gap 160ms ease, color 160ms ease;
}
.svc-card__cta:hover { color: var(--brand-blue-hover); gap: 10px; }
.svc-card__cta .ti { font-size: 16px; }
.svc-card--highlight {
  background: var(--brand-blue-tint);
  border-color: var(--brand-blue-border);
}
.svc-card--highlight .icon-badge {
  background: var(--brand-blue);
  color: #fff;
}
@media (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Service-grid 2-col variant for "Häufig kombiniert mit" */
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) {
  .svc-grid--2 { grid-template-columns: 1fr; }
}

/* ---------- KOMBINATIONEN (Übersichts-Seite) ---------- */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.combo-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.combo-card__pair {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.combo-card__pair .icon-badge { width: 40px; height: 40px; }
.combo-card__pair .icon-badge .ti { font-size: 20px; }
.combo-card__plus {
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.combo-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.combo-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .combo-grid { grid-template-columns: 1fr; }
}

/* ---------- CHECK-LIST (Was wir leisten / Voraussetzungen) ---------- */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4) var(--sp-8);
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--sp-3);
  align-items: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-ink);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--surface-mist);
}
.check-list li:first-child,
.check-list li:nth-child(2) { border-top: 0; }
.check-list .ti {
  color: var(--brand-blue);
  font-size: 20px;
  justify-self: center;
}
@media (max-width: 767px) {
  .check-list { grid-template-columns: 1fr; }
  .check-list li:nth-child(2) { border-top: 1px solid var(--surface-mist); }
}

/* ---------- INDUSTRY CHIPS ---------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand-blue-tint);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.chip:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.chip .ti { font-size: 16px; }
.chip__arrow { font-size: 14px; opacity: 0.7; transition: transform 160ms ease; }
.chip:hover .chip__arrow { transform: translateX(2px); opacity: 1; }

/* ---------- PROCESS · 4-step horizontal ---------- */
.proc4 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.proc4__line {
  position: absolute;
  top: 76px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brand-blue-border) 8%,
    var(--brand-blue-border) 92%,
    transparent 100%);
  z-index: 0;
}
.proc4__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.proc4__icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 8px var(--surface-snow);
}
.proc4__icon .ti { font-size: 28px; }
.proc4__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: var(--sp-3) 0 0;
}
.proc4__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.proc4__body {
  font-size: 14px;
  color: var(--text-slate);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1023px) {
  .proc4 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
  .proc4__line { display: none; }
  .proc4__icon { box-shadow: none; }
}
@media (max-width: 767px) {
  .proc4 { grid-template-columns: 1fr; }
}

/* 3-step variant on homepage already covered in index.html */

/* ---------- QUALIFIKATION (2-col with credential cards on right) ---------- */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.qual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.qual-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.qual-card .icon-badge { width: 40px; height: 40px; }
.qual-card .icon-badge .ti { font-size: 20px; }
.qual-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-ink);
  margin: 0;
  line-height: 1.3;
}
.qual-card__body {
  font-size: 13px;
  color: var(--text-slate);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1023px) {
  .qual-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}
@media (max-width: 767px) {
  .qual-cards { grid-template-columns: 1fr; }
}

/* ---------- FAQ wrap ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-12);
}

/* ---------- CTA BLOCK · Full bleed brand-blue ---------- */
.ctab {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  padding: var(--sp-24) 0;
}
.ctab__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.ctab__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 var(--sp-4);
}
.ctab__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 18ch;
}
.ctab__sub {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.55;
  margin: var(--sp-6) 0 0;
  max-width: 50ch;
}
.ctab__ctas {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
.ctab__ctas .btn--on-blue {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.ctab__ctas .btn--on-blue:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ---------- GLASS INFO CARD (right of CTA block) ---------- */
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.glass-card__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.glass-card__row:last-child { border-bottom: 0; padding-bottom: 0; }
.glass-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.glass-card__icon .ti { font-size: 20px; }
.glass-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.glass-card__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  margin: 2px 0 0;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
@media (max-width: 1023px) {
  .ctab { padding: var(--sp-16) 0; }
  .ctab__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ---------- KURZBESCHREIBUNG (max-width 720) ---------- */
.lead {
  max-width: 720px;
  margin: 0 auto;
}
.lead p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-slate);
  margin: 0 0 var(--sp-4);
}
.lead p:last-child { margin-bottom: 0; }

/* ---------- SECTION-HEAD-CENTERED variant ---------- */
.section-head--center {
  display: block;
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-12);
}

/* ============================================================
   BRANCHEN — Industry-Detail-Grid (Übersichts-Seite)
   Large cards, 2-col on desktop, with 3-bullet list each.
   ============================================================ */
.ind-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.ind-detail-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ind-detail-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--brand-blue-border);
}
.ind-detail-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.ind-detail-card__head .icon-badge { width: 48px; height: 48px; }
.ind-detail-card__head .icon-badge .ti { font-size: 24px; }
.ind-detail-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--text-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.ind-detail-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-top: 1px solid var(--surface-mist);
  padding-top: var(--sp-4);
}
.ind-detail-card__bullets li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-slate);
}
.ind-detail-card__bullets .ti {
  color: var(--brand-blue);
  font-size: 16px;
  margin-top: 4px;
}
.ind-detail-card__cta {
  margin-top: auto;
  padding-top: var(--sp-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: gap 160ms ease, color 160ms ease;
}
.ind-detail-card__cta:hover { color: var(--brand-blue-hover); gap: 10px; }
.ind-detail-card__cta .ti { font-size: 16px; }
@media (max-width: 1023px) {
  .ind-detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BRANCHEN — Bridging-Sektion (Andere Branche)
   ============================================================ */
.bridge {
  background: var(--surface-snow);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-12);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-12);
  border: 1px solid var(--surface-mist);
}
.bridge__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--sp-3);
}
.bridge__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-ink);
  margin: 0;
  max-width: 22ch;
}
.bridge__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: var(--sp-4) 0 0;
  max-width: 60ch;
}
@media (max-width: 1023px) {
  .bridge { grid-template-columns: 1fr; padding: var(--sp-8); gap: var(--sp-6); }
}

/* ============================================================
   CHALLENGE-GRID — 4-card layout for "Typische Herausforderungen"
   ============================================================ */
.chal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.chal-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}
.chal-card::before {
  content: "";
  position: absolute;
  top: var(--sp-6);
  left: 0;
  width: 3px;
  height: 32px;
  background: var(--brand-blue);
  border-radius: 0 2px 2px 0;
}
.chal-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 0;
  padding-left: var(--sp-4);
  letter-spacing: -0.005em;
}
.chal-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
  padding-left: var(--sp-4);
}
@media (max-width: 767px) {
  .chal-grid { grid-template-columns: 1fr; }
}

/* 3-col service-grid variant for "Was Detex für die Branche leistet" — already covered by .svc-grid */

/* ============================================================
   UNTERNEHMEN — Story-Sektion (2-col text + photo)
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.story-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(15,23,42,0.05) 0 2px, transparent 2px 14px),
    var(--surface-fog);
  border: 1px solid var(--surface-mist);
  box-shadow: var(--shadow-2);
}
.story-photo--wide { aspect-ratio: 16/10; }
.story-photo__label {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0 32px;
  line-height: 1.6;
}
.story-photo__label b {
  display: block;
  color: var(--text-slate);
  font-weight: 500;
  margin-bottom: 4px;
}
.story-photo__glass {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
}
.story-photo__glass .ti { color: var(--brand-blue); font-size: 18px; }
@media (max-width: 1023px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ============================================================
   UNTERNEHMEN — Inhaber-Card (round photo + bio + pull-quote)
   ============================================================ */
.owner-card {
  background: var(--surface-snow);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.owner-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--brand-blue-tint);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  position: relative;
  flex: none;
  overflow: hidden;
}
.owner-photo .ti { font-size: 80px; }
.owner-photo__note {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.owner-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--sp-2);
}
.owner-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-ink);
  margin: 0 0 var(--sp-4);
}
.owner-card__bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-slate);
  margin: 0 0 var(--sp-3);
}
.owner-card__quote {
  margin: var(--sp-6) 0 0;
  padding: var(--sp-4) var(--sp-6);
  border-left: 3px solid var(--brand-blue);
  background: var(--surface-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.owner-card__quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-ink);
  margin: 0;
}
.owner-card__quote-attr {
  margin: var(--sp-2) 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  .owner-card { grid-template-columns: 1fr; padding: var(--sp-8); gap: var(--sp-6); text-align: center; }
  .owner-card__quote { text-align: left; }
  .owner-photo { margin: 0 auto; }
}

/* ============================================================
   UNTERNEHMEN — Werte-Grid (5-col cards with icon + body)
   Reused for Benefits on Karriere page (4-col variant)
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(var(--value-cols, 5), 1fr);
  gap: var(--sp-4);
}
.value-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.value-card:hover {
  box-shadow: var(--shadow-1);
  border-color: var(--brand-blue-border);
}
.value-card .icon-badge { width: 44px; height: 44px; }
.value-card .icon-badge .ti { font-size: 22px; }
.value-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-ink);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.value-card__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UNTERNEHMEN — Sub-Pages Linkblock (2 large cards)
   ============================================================ */
.subpage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.subpage-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.subpage-card:hover {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-2);
  background: var(--brand-blue-tint);
}
.subpage-card .icon-badge { width: 56px; height: 56px; margin-bottom: var(--sp-2); }
.subpage-card .icon-badge .ti { font-size: 28px; }
.subpage-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--text-ink);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.subpage-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}
.subpage-card__cta {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  transition: gap 160ms ease;
}
.subpage-card:hover .subpage-card__cta { gap: 10px; color: var(--brand-blue-hover); }
.subpage-card__cta .ti { font-size: 16px; }
@media (max-width: 1023px) {
  .subpage-grid { grid-template-columns: 1fr; }
  .subpage-card { padding: var(--sp-8); }
}

/* ============================================================
   QUALITÄT — Aufsichtsbehörde Address block
   ============================================================ */
.addr-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.addr-block__text p {
  margin: 0 0 var(--sp-4);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-slate);
}
.addr-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.addr-card .icon-badge { width: 44px; height: 44px; flex: none; }
.addr-card .icon-badge .ti { font-size: 22px; }
.addr-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-ink);
  margin: 0 0 var(--sp-2);
}
.addr-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .addr-block { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ============================================================
   AUSBILDUNG — Erfolge-Block (brand-tint accent)
   ============================================================ */
.erfolge {
  background: var(--brand-blue-tint);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.erfolge__badge {
  width: 80px; height: 80px;
  border-radius: var(--r-lg);
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.erfolge__badge .ti { font-size: 40px; }
.erfolge__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--sp-2);
}
.erfolge__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--text-ink);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}
.erfolge__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .erfolge { grid-template-columns: 1fr; padding: var(--sp-8); gap: var(--sp-4); }
  .erfolge__badge { margin: 0 auto; }
}

/* ============================================================
   AUSBILDUNG — Ausbildungs-CTA (Brand-Blue gefüllt, kompakt)
   ============================================================ */
.ausbildung-cta {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.ausbildung-cta__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
.ausbildung-cta__sub {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.6;
  margin: var(--sp-3) 0 0;
}
.ausbildung-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
}
.ausbildung-cta__actions .btn { justify-content: center; }
.ausbildung-cta__actions .btn--on-blue {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.ausbildung-cta__actions .btn--on-blue:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
@media (max-width: 1023px) {
  .ausbildung-cta { grid-template-columns: 1fr; padding: var(--sp-8); }
}

/* ============================================================
   KONTAKT — 2-col grid (form left + glass info card right)
   ============================================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.kontakt-info {
  background: rgba(238,242,255,0.6);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: sticky;
  top: 92px;
}
.kontakt-info__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.kontakt-info__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--brand-blue-border);
}
.kontakt-info__row:last-child { border-bottom: 0; padding-bottom: 0; }
.kontakt-info__row .icon-badge { width: 44px; height: 44px; }
.kontakt-info__row .icon-badge .ti { font-size: 22px; }
.kontakt-info__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.kontakt-info__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-ink);
  margin: 2px 0 0;
  line-height: 1.4;
}
.kontakt-info__value a {
  color: inherit;
  text-decoration: none;
}
.kontakt-info__value a:hover { color: var(--brand-blue); }
@media (max-width: 1023px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-info { position: static; order: 2; }
}

/* Selection-Cards (Step 1 of contact form) */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.selection-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5, 20px);
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  position: relative;
}
.selection-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.selection-card .icon-badge { width: 40px; height: 40px; }
.selection-card .icon-badge .ti { font-size: 20px; }
.selection-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-ink);
  margin: 0;
  line-height: 1.3;
}
.selection-card__sub {
  font-size: 12px;
  color: var(--text-slate);
  margin: 0;
  line-height: 1.45;
}
.selection-card:hover {
  border-color: var(--brand-blue-border);
  background: var(--brand-blue-tint);
}
.selection-card:has(input:checked),
.selection-card.is-checked {
  border-color: var(--brand-blue);
  background: var(--brand-blue-tint);
  box-shadow: 0 0 0 1px var(--brand-blue);
}
.selection-card__check {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.selection-card:has(input:checked) .selection-card__check,
.selection-card.is-checked .selection-card__check {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}
.selection-card:has(input:checked) .selection-card__check::after,
.selection-card.is-checked .selection-card__check::after {
  content: "";
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
@media (max-width: 767px) {
  .selection-grid { grid-template-columns: 1fr; }
}

/* Form step (hidden until step 1 selected) */
.form-step {
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--surface-mist);
}
.form-step[hidden] { display: none; }
.form-step__head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--sp-4);
}

/* ============================================================
   ANFAHRT — 3 cards
   ============================================================ */
.anfahrt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.anfahrt-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.anfahrt-card .icon-badge { width: 44px; height: 44px; }
.anfahrt-card .icon-badge .ti { font-size: 22px; }
.anfahrt-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-ink);
  margin: 0;
}
.anfahrt-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .anfahrt-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PERSÖNLICH — Brand-Blue gefüllter Schluss-Block
   (alias of .ctab with smaller padding for Kontakt page)
   ============================================================ */
.persoenlich {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-12);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: var(--sp-8);
  align-items: center;
}
.persoenlich__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
.persoenlich__sub {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.6;
  margin: var(--sp-3) 0 0;
  max-width: 60ch;
}
.persoenlich__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.persoenlich__ctas .btn { justify-content: center; }
.persoenlich__ctas .btn--on-blue {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.persoenlich__ctas .btn--on-blue:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
@media (max-width: 1023px) {
  .persoenlich { grid-template-columns: 1fr; padding: var(--sp-8); }
}

/* ============================================================
   FORM CARD — wrapper for Karriere & Kontakt forms (snow bg)
   ============================================================ */
.form-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
}
@media (max-width: 1023px) {
  .form-card { padding: var(--sp-8); }
}
.form-card__intro {
  margin-bottom: var(--sp-8);
}
.form-card__intro h2 { margin-top: 12px; }
.form-card__intro p { margin-top: var(--sp-3); }

/* ============================================================
   LEGAL / RECHTLICHES — narrow reading layout for
   Impressum, Datenschutz, AGB. Container 720px, klare
   h2/h3-Hierarchie, line-height 1.65. Platzhalter-Markierungen
   inline (Pill) und als Block (Aside).
   ============================================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-ink);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--text-ink);
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--surface-mist);
}
.legal > h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-ink);
  margin: 28px 0 10px;
}
.legal p {
  margin: 0 0 16px;
  color: var(--text-slate);
}
.legal strong { color: var(--text-ink); font-weight: 500; }
.legal em { color: var(--text-slate); font-style: italic; }
.legal ul,
.legal ol {
  padding-left: 1.4em;
  color: var(--text-slate);
  margin: 0 0 16px;
}
.legal li { margin-bottom: 6px; }
.legal a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--brand-blue-border);
}
.legal a:hover { text-decoration-color: var(--brand-blue); }

/* Address-style contact block inside the legal flow */
.legal-card {
  background: var(--surface-snow);
  border: 1px solid var(--surface-mist);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-ink);
}
.legal-card p { margin: 0; color: var(--text-ink); }
.legal-card p + p { margin-top: 4px; }
.legal-card strong { color: var(--text-ink); font-weight: 600; }

/* Inline placeholder pill — used for short [Platzhalter] tokens */
.legal-marker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  color: #92400E;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  vertical-align: baseline;
}
.legal-marker .ti { font-size: 14px; }

/* Block-level placeholder note — used for longer placeholder paragraphs */
.legal-placeholder {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px 20px;
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  border-radius: var(--r-md);
  color: #78350F;
  margin: 0 0 24px;
}
.legal-placeholder__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #FDE68A;
  color: #92400E;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-placeholder__icon .ti { font-size: 18px; }
.legal-placeholder p {
  margin: 0;
  color: #78350F;
  font-size: 14px;
  line-height: 1.55;
}
.legal-placeholder p + p { margin-top: 6px; }
.legal-placeholder__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #92400E;
  margin: 0 0 4px;
  font-weight: 500;
}

/* Warning banner at the top of AGB page */
.legal-warning {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px 20px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--r-md);
  color: #7F1D1D;
  margin: 0 0 32px;
}
.legal-warning__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #FEE2E2;
  color: #B91C1C;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-warning__icon .ti { font-size: 18px; }
.legal-warning__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: #7F1D1D;
  margin: 0 0 4px;
}
.legal-warning__body {
  margin: 0;
  color: #7F1D1D;
  font-size: 14px;
  line-height: 1.55;
}

/* Stand-date footer line */
.legal-stand {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal-stand b { color: var(--text-slate); font-weight: 500; letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 13px; }

/* Tighter hero on legal pages — text-only */
.hero-legal { padding: 56px 0 24px; }
.hero-legal .hero-compact__inner { max-width: 720px; }
.hero-legal .hero-compact__head { font-size: clamp(36px, 4vw, 52px); }
@media (max-width: 767px) {
  .hero-legal { padding: 40px 0 16px; }
}

