:root {
  /* Farbsystem: Indigo (Ordnung, Governance) + Azure (CTA, Diagnose-Akzente) */
  --brand-primary: #0b2239;
  --brand-primary-hover: #071a2b;
  --brand-accent: #0ea5e9;
  --brand-accent-hover: #0284c7;
  --brand-bg: #f7fbff;
  --brand-surface: #eef6ff;
  --brand-text: #0f172a;

  /* RGB für rgba()-Schatten und dezente Flächen */
  --rgb-accent: 14, 165, 233;
  --rgb-indigo: 11, 34, 57;
  --rgb-text: 15, 23, 42;

  /* Semantik (bestehende Namen → neues System, Layout unverändert) */
  --color-primary: var(--brand-accent);
  --color-primary-hover: var(--brand-accent-hover);
  --color-accent: #5c6b7d;
  --color-accent-hover: #4a5766;
  --color-bg-soft: var(--brand-surface);
  --color-success: #16a34a;
  --color-error: #dc2626;

  --primary: var(--brand-primary);
  --primary-hover: var(--brand-primary-hover);
  --primary-soft: #4a5f8c;
  --cta: var(--brand-accent);
  --cta-hover: var(--brand-accent-hover);

  --text: var(--brand-text);
  --text-muted: #4d5d73;
  --bg: var(--brand-bg);
  --bg-card: #ffffff;
  --bg-dark: #152238;
  --accent-light: #e8f2fc;
  --accent-bg: var(--brand-surface);
  --border: #d6dee8;

  --radius: 12px;
  --radius-btn: 10px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(var(--rgb-text), 0.06);
  --shadow-md: 0 4px 14px rgba(var(--rgb-text), 0.08);
  --shadow-cta: 0 4px 22px rgba(var(--rgb-accent), 0.3);

  --gray-1: var(--brand-text);
  --gray-2: #5c6b7d;
  --gray-3: #8b98a8;
  --gray-4: var(--brand-surface);
  --gray-5: #d6dee8;

  /* Sticky Header */
  --header-sticky-offset: 102px;
}

@media (min-width: 1024px) {
  :root {
    --header-sticky-offset: 84px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-sticky-offset);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

button, input, select, textarea { font-family: inherit; font-size: 1rem; }

.section-inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-inner-wide { max-width: 900px; }

.section { padding: 36px 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

@media (min-width: 960px) {
  .header {
    background:
      linear-gradient(180deg, rgba(var(--rgb-accent), 0.055) 0%, rgba(255, 255, 255, 0) 42%),
      linear-gradient(180deg, #f8fafc 0%, #fff 26%),
      rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 22px rgba(var(--rgb-text), 0.045);
  }
}

.header-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 16px 10px;
  display: grid;
  grid-template-areas:
    "brand actions"
    "nav nav";
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

@media (min-width: 1024px) {
  .header-inner {
    max-width: 960px;
    padding: 10px 20px 12px;
    grid-template-areas: "brand nav actions";
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px 20px;
  }
}

.header-brand {
  grid-area: brand;
  min-width: 0;
}

.header-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

@media (min-width: 640px) {
  .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

.logo {
  display: block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}
/* Logo ist weiß auf Schwarz: im Header dunkel darstellen (invert + multiply) */
.logo img {
  filter: invert(1);
  mix-blend-mode: multiply;
}

.header-note {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s ease, color 0.2s;
}

.btn-cta {
  background: linear-gradient(180deg, #4a9eff 0%, var(--brand-accent) 50%, var(--brand-accent-hover) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-cta), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.btn-cta:hover {
  background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
  box-shadow: 0 6px 26px rgba(var(--rgb-accent), 0.4), 0 2px 8px rgba(var(--rgb-text), 0.1);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(var(--rgb-accent), 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--color-primary);
  color: var(--primary-hover);
}

.btn-header { padding: 8px 16px; font-size: 0.88rem; text-align: center; }

@media (max-width: 480px) {
  .logo img { height: 48px; max-width: min(220px, 52vw); }
  .btn-header { padding: 7px 11px; font-size: 0.78rem; line-height: 1.25; }
}

/* Sprungnavigation: wenige Punkte; <1024px Klappmenü (display:none wenn zu) */
.page-subnav {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  position: relative;
}

.page-subnav--integrated {
  grid-area: nav;
  border: none;
  background: transparent;
  min-width: 0;
}

.page-subnav--integrated::before {
  content: "";
  display: block;
  position: absolute;
  left: -16px;
  right: -16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 15%, var(--border) 85%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .page-subnav--integrated::before {
    display: none;
  }
}

.page-subnav-details {
  margin: 0;
  border: none;
  border-radius: 0;
}

.page-subnav-details-summary {
  list-style: none;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.page-subnav-details-summary::-webkit-details-marker {
  display: none;
}

.page-subnav-details-label {
  letter-spacing: 0.02em;
}

.page-subnav-details-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-3);
}

@media (max-width: 380px) {
  .page-subnav-details-hint {
    display: none;
  }
}

.page-subnav-details-summary:hover {
  border-color: rgba(var(--rgb-accent), 0.22);
  background: var(--accent-light);
}

.page-subnav-details-summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(var(--rgb-accent), 0.45);
}

.page-subnav-details-chevron {
  flex-shrink: 0;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.page-subnav-details[open] > .page-subnav-details-summary {
  background: var(--accent-light);
  border-color: rgba(var(--rgb-accent), 0.3);
}

.page-subnav-details[open] > .page-subnav-details-summary .page-subnav-details-chevron {
  transform: rotate(225deg) translateY(2px);
}

@media (max-width: 1023px) {
  .page-subnav-details:not([open]) > .page-subnav-inner {
    display: none !important;
  }

  .page-subnav-details[open] > .page-subnav-inner {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: stretch;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    padding: 12px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(var(--rgb-text), 0.08);
    box-shadow: 0 16px 48px rgba(var(--rgb-text), 0.12);
    max-height: min(52vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-subnav-details[open] .page-subnav-link {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    text-align: center;
    min-width: 0;
    font-size: 0.8rem;
    padding: 10px 12px;
    border-radius: var(--radius-btn);
    background: var(--accent-light);
    color: var(--text);
    border: 1px solid rgba(var(--rgb-text), 0.06);
  }

  .page-subnav-details[open] .page-subnav-link:hover,
  .page-subnav-details[open] .page-subnav-link:focus-visible {
    background: #fff;
    border-color: rgba(var(--rgb-accent), 0.25);
    color: var(--primary);
  }

  .page-subnav-details[open] .page-subnav-link--emph {
    flex: 1 1 100%;
    background: rgba(var(--rgb-accent), 0.1);
    border-color: rgba(var(--rgb-accent), 0.22);
    color: var(--primary);
    font-weight: 700;
  }
}

@media (min-width: 1024px) {
  .page-subnav-details > .page-subnav-details-summary {
    display: none !important;
  }

  /* Chromium: Inhalt steckt in ::details-content — ohne open/Cascade bleibt er unsichtbar */
  .page-subnav-details::details-content {
    display: block !important;
    height: auto !important;
    content-visibility: visible !important;
  }

  .page-subnav-details > .page-subnav-inner {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 2px;
    margin: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }
}

.page-subnav-inner {
  margin: 0;
  box-sizing: border-box;
}

.page-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-2);
  padding: 6px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
  background: transparent;
  border: 1px solid transparent;
}

@media (min-width: 1024px) {
  .page-subnav-link:hover,
  .page-subnav-link:focus-visible {
    color: var(--primary);
    background: rgba(var(--rgb-accent), 0.08);
    outline: none;
  }

  .page-subnav-link--emph {
    color: var(--brand-accent-hover);
    font-weight: 700;
  }

  .page-subnav-link--emph:hover,
  .page-subnav-link--emph:focus-visible {
    color: var(--primary);
    background: rgba(var(--rgb-accent), 0.12);
  }
}

.page-subnav-link:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(var(--rgb-accent), 0.45);
}

.page-subnav-link--cta {
  color: #fff;
  background: linear-gradient(180deg, #4a9eff 0%, var(--brand-accent) 55%, var(--brand-accent-hover) 100%);
  box-shadow: 0 1px 8px rgba(var(--rgb-accent), 0.22);
  border: none;
}

.page-subnav-link--cta:hover,
.page-subnav-link--cta:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
  box-shadow: 0 3px 12px rgba(var(--rgb-accent), 0.32);
}

.page-subnav-link--cta:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(var(--rgb-accent), 0.55), 0 4px 16px rgba(var(--rgb-accent), 0.35);
}

.btn-block { width: 100%; }

.hero {
  padding: 16px 0 24px;
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(var(--rgb-accent), 0.18) 0%, rgba(var(--rgb-accent), 0.06) 38%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--accent-bg) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px -20% auto -20%;
  height: 240px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(var(--rgb-accent), 0.10) 0px,
      rgba(var(--rgb-accent), 0.10) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 22px
    );
  transform: rotate(-2deg);
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero-Formular: äußere Hülle + Vertrauensblock (optisch ausgewogen zur linken Spalte) */
.hero-form-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-form-shell-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-form-reassurance {
  margin-top: 0;
  padding: 10px 12px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--rgb-accent), 0.18);
}

.hero-form-reassurance-lead {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--text-muted);
}

.hero-form-reassurance-lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-form-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.hero-form-call-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero .mb-field--hero-skip-phone {
  display: none;
}

.hero-form-card .mb-grid {
  gap: 10px 12px;
}

.hero .mb-progress--hero {
  gap: 10px;
  margin-bottom: 12px;
}

.hero .mb-progress--hero .mb-progress-step {
  font-size: 0.8rem;
  gap: 6px;
}

.hero .mb-progress--hero .mb-progress-badge {
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
}

.hero .mb-step-title {
  font-size: 1rem;
}

.hero .mb-step-copy {
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.hero .mb-security-box--hero-tight .mb-security-title {
  font-size: 0.85rem;
}

.hero .mb-security-box--hero-tight .mb-security-text {
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.hero .mb-mini-trust--hero {
  font-size: 0.78rem;
  margin-top: 0;
}

.btn-call.hero-form-call-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--primary);
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  max-width: min(100%, 40rem);
  line-height: 1.48;
}

.hero-outcomes {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.hero-outcomes li {
  margin-bottom: 12px;
  padding-left: 1.25rem;
  position: relative;
}
.hero-outcomes li:last-child { margin-bottom: 0; }
.hero-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hero-outcomes li::before { background: var(--cta); }

.hero-outcomes strong { color: var(--text); }

.hero-cta-btn { margin-bottom: 0; }

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-link-secondary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}
.hero-link-secondary:hover {
  color: var(--cta-hover);
}

.hero-outcomes--compact {
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.hero-outcomes--compact li { margin-bottom: 6px; line-height: 1.42; }

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--rgb-accent), 0.09);
  border: 1px solid rgba(var(--rgb-accent), 0.22);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text);
}
.chip-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--rgb-accent), 0.16);
  color: var(--cta);
  font-weight: 800;
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--rgb-accent), 0.12) 0%, rgba(255, 255, 255, 0) 55%), var(--gray-4);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--rgb-accent), 0.22);
  box-shadow: 0 18px 55px rgba(var(--rgb-accent), 0.10);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(var(--rgb-accent), 0.18) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(11, 34, 57, 0.12) 100%);
  pointer-events: none;
}

.hero-form-wrap { width: 100%; }

/* Hero-Formular: kompakter, gleiche Abstände wie unten, nur etwas kleiner */
.hero .hero-form-card.form-premium-card,
.hero .form-premium-card {
  padding: 16px;
}
.hero .form-premium-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.hero .form-premium-intro {
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.42;
}
.hero .form-fields-box {
  padding: 12px;
}
.hero .form-premium-fields .form-group,
.hero .form-premium-fields .form-row { margin-bottom: 10px; }
.hero .form-premium-fields .form-row-split { margin-bottom: 10px; gap: 10px 12px; }
.hero .form-premium-fields .btn-submit { margin-top: 12px; }
.hero .form-premium-trust { margin-top: 12px; }
.form-microcopy {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.section-trust-bar {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.section-local {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.trust-bar-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-bar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.trust-bar-grid--compact {
  max-width: 880px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px 16px;
}
@media (min-width: 720px) {
  .trust-bar-grid--compact {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }
  .trust-bar-grid--compact .trust-bar-item {
    flex: 1 1 260px;
    max-width: 420px;
  }
}

.trust-bar-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  width: 100%;
  max-width: 620px;
}

.trust-bar-item > span:last-child {
  flex: 1;
  line-height: 1.4;
}

.trust-bar-icon {
  color: #fff;
  font-weight: 600;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(var(--rgb-accent), 0.35);
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-logos {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.trust-logos-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.hero-form-card {
  /* Optik 1:1 wie .form-premium-card – gleiche Werte */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(var(--rgb-accent), 0.1), 0 2px 10px rgba(var(--rgb-text), 0.06);
}

.lead-form-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lead-form-hero .form-group,
.lead-form-main .form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.lead-form-hero .form-group:last-of-type,
.lead-form-main .form-row:last-child { margin-bottom: 0; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: block;
}

.form-label-hint {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-group-optional { margin-bottom: 12px; }

.lead-form-hero .form-group-optional:last-of-type { margin-bottom: 0; }

.lead-form-hero input,
.lead-form-hero select,
.lead-form-hero textarea,
.lead-form-main input,
.lead-form-main select,
.lead-form-main textarea {
  width: 100%;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid var(--gray-5);
  border-radius: 8px;
  background: var(--brand-bg);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.35;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.lead-form-hero textarea,
.lead-form-main textarea {
  min-height: 68px;
  resize: vertical;
}

.lead-form-hero input::placeholder,
.lead-form-main input::placeholder { color: var(--gray-3); }

.lead-form-hero input:hover,
.lead-form-hero select:hover,
.lead-form-main input:hover,
.lead-form-main select:hover {
  border-color: var(--gray-3);
  background: #fff;
}

.lead-form-hero input:focus,
.lead-form-hero select:focus,
.lead-form-main input:focus,
.lead-form-main select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--rgb-accent), 0.2);
}

.lead-form-hero .btn-form-submit,
.lead-form-main .btn-submit {
  margin-top: 14px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-premium,
.form-premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 22px rgba(var(--rgb-accent), 0.09), 0 2px 10px rgba(var(--rgb-text), 0.06);
}

.form-premium-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cta);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.form-premium-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

/* Ausfüllbereich – einheitliche Abstände */
.form-fields-box {
  background: var(--gray-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 0;
  container-type: inline-size;
  container-name: form-box;
}

.form-fields-box input[type="text"],
.form-fields-box input[type="email"],
.form-fields-box input[type="tel"],
.form-fields-box select,
.form-fields-box textarea,
.form-fields-box input[type="date"] {
  background: var(--bg-card);
  border-color: var(--border);
}
.form-fields-box input:focus,
.form-fields-box select:focus,
.form-fields-box textarea:focus {
  background: var(--bg-card);
}

/* Zweispaltig: Name | Unternehmen, E-Mail | Telefon – wenn Platz ist */
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 12px;
  align-items: start;
}
.form-row-split .form-row {
  margin-bottom: 0;
  min-width: 0;
}
.form-premium-fields .form-row-split .form-label-hint {
  display: inline;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0.25em;
}
@container form-box (max-width: 360px) {
  .form-row-split {
    grid-template-columns: 1fr;
    gap: 0 0;
    margin-bottom: 0;
  }
  .form-row-split .form-row {
    margin-bottom: 12px;
  }
  .form-row-split .form-row:last-child {
    margin-bottom: 12px;
  }
}
@media (max-width: 380px) {
  .form-row-split {
    grid-template-columns: 1fr;
    gap: 0 0;
    margin-bottom: 0;
  }
  .form-row-split .form-row {
    margin-bottom: 12px;
  }
  .form-row-split .form-row:last-child {
    margin-bottom: 12px;
  }
}

.form-premium-fields .form-group,
.form-premium-fields .form-row { margin-bottom: 12px; }

.form-premium-fields .form-group:last-of-type,
.form-premium-fields .form-row:last-child { margin-bottom: 0; }

.form-premium-fields .form-row.hp-row { margin: 0; }

.form-premium-fields .form-group .form-label,
.form-premium-fields .form-row .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.form-premium-fields .form-label-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 0;
}

.form-premium-fields input[type="text"],
.form-premium-fields input[type="email"],
.form-premium-fields input[type="tel"],
.form-premium-fields input[type="date"],
.form-premium-fields select,
.form-premium-fields textarea {
  width: 100%;
  min-height: 36px;
  padding: 9px 12px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-premium-fields input[type="text"],
.form-premium-fields input[type="email"],
.form-premium-fields input[type="tel"],
.form-premium-fields input[type="date"] {
  background-image: none;
  padding-right: 12px;
}
.form-premium-fields select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-premium-fields textarea {
  min-height: 68px;
  resize: vertical;
}

.form-premium-fields input::placeholder,
.form-premium-fields select:invalid { color: var(--gray-3); }

.form-premium-fields input:hover,
.form-premium-fields select:hover,
.form-premium-fields textarea:hover {
  background: var(--bg-card);
  border-color: var(--gray-5);
}

.form-premium-fields input:focus,
.form-premium-fields select:focus,
.form-premium-fields textarea:focus {
  outline: none;
  background: var(--bg-card);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--rgb-accent), 0.18);
}

.form-premium-fields .form-row-optional .form-label-hint,
.form-premium-fields .form-group-optional .form-label-hint { margin-bottom: 6px; }
.form-premium-fields .form-row-split .form-row-optional .form-label-hint { margin-bottom: 0; }

.form-premium-fields .btn-submit,
.form-premium-fields .btn-form-submit {
  min-height: 40px;
  margin-top: 14px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
}

.form-premium-trust {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

.form-premium-trust a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-premium-trust a:hover {
  color: var(--color-primary-hover);
}

.form-premium-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.9;
}

.form-premium .form-thank-you-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.section-form-main {
  background: var(--color-bg-soft);
  padding: 40px 0 48px;
}

.section-form-premium .section-inner:not(.section-inner-mb) { max-width: 440px; }
.section-form-premium .section-inner.section-inner-mb { max-width: 960px; }

.section-form-premium .form-premium-card { max-width: 100%; }

.hp-row,
.lead-form .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hp-label { display: none !important; }

.form-error-container {
  font-size: 0.8125rem;
  color: var(--color-error);
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  line-height: 1.4;
}

.field-error {
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
  line-height: 1.3;
}

.lead-form-main input.input-error,
.lead-form-main select.input-error,
.lead-form-hero input.input-error,
.lead-form-hero select.input-error {
  border-color: var(--color-error);
  background: #fef2f2;
}

.form-thank-you {
  padding: 24px 0;
  text-align: center;
}

.form-thank-you-check {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
  opacity: 0;
  transform: scale(0.85);
  animation: thank-you-check-in 0.45s ease-out forwards;
}

.form-thank-you-check svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes thank-you-check-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.form-thank-you-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-success);
  margin: 0 0 8px;
  line-height: 1.3;
}

.form-thank-you-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.form-thank-you-main { padding: 28px 0; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.98);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -6px 28px rgba(var(--rgb-text), 0.1), 0 -2px 0 rgba(var(--rgb-accent), 0.2);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.2s, visibility 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticky-cta.sticky-cta-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-cta .btn { width: 100%; max-width: 320px; }

@media (min-width: 641px) {
  .sticky-cta { display: none; }
}

.section-pain { background: var(--bg-card); }

.section-consequences {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(var(--rgb-accent), 0.10) 0%, rgba(var(--rgb-accent), 0.04) 45%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(var(--rgb-accent), 0.06) 0%, var(--bg-card) 100%);
}

.section-consequences .pain-item {
  border-left: 3px solid rgba(var(--rgb-accent), 0.55);
}

/* Überschriften & Lead – überall gleiche Abstände, klare Trennung */
.section-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 600;
}

.section-subtitle {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.section-title-center { text-align: center; }
.section-lead-center { text-align: center; max-width: 38ch; margin-left: auto; margin-right: auto; }
.section-lead-center.section-lead { margin-bottom: 24px; }

.section-owners {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
}

.owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 8px;
}

.owner-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg-card);
}

.owner-photo-wrap {
  position: relative;
  width: 120px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}

.owner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.owner-content {
  min-width: 0;
}

.owner-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: 0.02em;
}

.owner-tagline {
  font-size: 0.92rem;
  color: var(--text);
  margin: 2px 0 8px;
  line-height: 1.4;
  font-weight: 600;
}

.owner-points {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.owner-points li + li {
  margin-top: 4px;
}

.section-lead--tight {
  margin-top: -6px;
  margin-bottom: 14px;
  max-width: 52ch;
}

.form-value-prop {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 720px;
}
.form-value-prop-title {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.form-value-prop-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.form-value-prop-list li { margin-bottom: 8px; }
.form-value-prop-list li:last-child { margin-bottom: 0; }
.form-value-prop-list--compact li { margin-bottom: 6px; font-size: 0.9rem; }
.form-value-prop-list a {
  color: var(--cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.scenario-card-title {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.scenario-card-out {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.scenario-card-out:last-child { margin-bottom: 0; }
.scenario-card .scenario-card-out strong { color: var(--text); }

.pain-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-4);
  margin-bottom: 24px;
}
.pain-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.pain-visual--subtle {
  aspect-ratio: 21 / 9;
  max-height: 150px;
  opacity: 0.9;
  margin-bottom: 18px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
  margin-bottom: 20px;
}

.pain-item {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.pain-item-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text);
}
.pain-item p {
  margin: 0 0 6px;
}
.pain-item p:last-child {
  margin-bottom: 0;
}

.differenzierung-box {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(var(--rgb-accent), 0.06);
  border: 1px solid rgba(var(--rgb-accent), 0.2);
  border-radius: var(--radius);
  border-left: 4px solid var(--cta);
}
.differenzierung-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.differenzierung-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.differenzierung-text strong { color: var(--text); }

.services-nicht {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 40rem;
}
.services-nicht strong { color: var(--text); }

.pain-close {
  color: var(--text);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.pain-close-title {
  margin: 0 0 8px;
  font-size: 1rem;
}
.pain-close-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-muted);
}
.pain-close-list li + li {
  margin-top: 4px;
}

.section-cta-wrap { text-align: left; margin: 28px 0 0; }

.section-solution-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.section-solution .section-cta-wrap { margin: 24px 0 18px; }

.solution-content { min-width: 0; }

.solution-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 14px;
}
.solution-split-right { min-width: 0; }
.solution-split-left { min-width: 0; }

.solution-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.solution-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.services-header-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.services-header-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.benefit-list {
  margin: 0 0 24px;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  list-style: none;
}
.benefit-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0.5rem;
}
.benefit-list li:last-child { margin-bottom: 0; }
.benefit-list li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--cta);
  border-radius: 50%;
}
.benefit-list--tight {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.benefit-list--tight li { margin-bottom: 8px; }

.section-services { background: var(--color-bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-primary);
}

.service-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--primary);
}

.service-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.card-bullets {
  margin: 10px 0 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-top: auto;
}
.card-bullets li { margin-bottom: 6px; }
.card-bullets li:last-child { margin-bottom: 0; }

.section-process { background: var(--color-bg-soft); border-top: 1px solid var(--border); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
  align-items: stretch;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.process-step:hover {
  border-color: rgba(var(--rgb-accent), 0.35);
  box-shadow: 0 6px 22px rgba(var(--rgb-text), 0.07);
}
.process-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: var(--cta);
  border: 1px solid var(--cta-hover);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(var(--rgb-accent), 0.35);
}
.process-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}
.process-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1 1 auto;
}

.section-lead--narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.case-logic-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .case-logic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.case-logic-card {
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.case-logic-card h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}
.case-logic-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.case-logic-dl dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0;
}
.case-logic-dl dd {
  margin: 2px 0 0;
  font-size: 0.875rem;
  line-height: 1.48;
  color: var(--text);
}

/* Fallstudien (ausführliche Case Cards) */
.case-logic-grid--studies {
  align-items: stretch;
}

.case-study-card {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
}

.case-study-kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cta);
}

.case-study-card h3 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.38;
}

.case-study-block {
  margin-bottom: 18px;
}

.case-study-block:last-of-type {
  margin-bottom: 0;
}

.case-study-card .case-study-block:last-of-type {
  margin-bottom: 18px;
}

.case-study-block-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.case-study-text {
  margin: 0 0 10px;
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--text);
}

.case-study-text:last-child {
  margin-bottom: 0;
}

.case-study-text--strong {
  font-weight: 600;
  color: var(--text);
}

.case-study-list {
  margin: 0 0 12px;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.case-study-list:last-child {
  margin-bottom: 0;
}

.case-study-list li {
  margin-bottom: 6px;
}

.case-study-list li:last-child {
  margin-bottom: 0;
}

.case-study-takeaway {
  margin: 0;
  margin-top: auto;
  padding: 14px 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  background: rgba(var(--rgb-accent), 0.08);
  border: 1px solid rgba(var(--rgb-accent), 0.22);
  border-radius: var(--radius);
  border-left: 4px solid var(--cta);
}

.case-study-takeaway-label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .case-logic-grid--studies {
    gap: 20px;
  }

  .case-study-takeaway-label {
    display: inline;
    margin-bottom: 0;
    margin-right: 0.35em;
  }
}

.testimonial-list { display: grid; gap: 16px; }

.testimonial {
  margin: 0;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial-head {
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.testimonial-avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--cta);
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial-text { margin: 0; font-size: 0.95rem; font-style: italic; line-height: 1.45; }

.testimonial-cite {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text-muted);
  display: block;
  margin-top: 8px;
}

.testimonials-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 16px 0 0;
}

.section-risk {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.risk-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-4);
  margin-bottom: 24px;
}
.risk-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.risk-visual--subtle {
  aspect-ratio: 21 / 9;
  max-height: 150px;
  opacity: 0.9;
  margin-bottom: 18px;
}

.risk-list {
  margin: 0 0 24px;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  list-style: none;
}
.risk-list li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 0.5rem;
}
.risk-list li:last-child { margin-bottom: 0; }
.risk-list li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.risk-list--tight {
  font-size: 0.9rem;
  line-height: 1.5;
}
.risk-list--tight li { margin-bottom: 10px; }

.risk-list--result {
  display: grid;
  gap: 10px;
  padding-left: 0;
}
.risk-list--result li {
  margin: 0;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(var(--rgb-accent), 0.04);
}
.risk-list--result li::before {
  left: 12px;
  top: 0.72em;
  width: 8px;
  height: 8px;
}
.risk-list--result strong {
  color: var(--text);
}

.section-cta-final {
  background: linear-gradient(165deg, #121c2e 0%, #1a2744 40%, var(--brand-primary) 100%);
  color: #e8edf5;
  padding: 52px 0;
  border-top: 3px solid var(--brand-accent);
  box-shadow: inset 0 1px 0 rgba(var(--rgb-accent), 0.18);
}

.section-cta-final .section-title { color: #fff; }

.section-cta-final .section-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

.cta-final-visual {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  background: rgba(255, 255, 255, 0.06);
}

.cta-final-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.cta-final-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 20px;
  line-height: 1.5;
}

.cta-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-final-secondary {
  font-size: 0.95rem;
  font-weight: 600;
  color: #a8d4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-final-secondary:hover { color: #e8f2fc; }

.btn-cta-final { font-size: 1.05rem; padding: 15px 30px; }

.section-cta-final .btn-cta {
  background: linear-gradient(180deg, #4a9eff 0%, var(--brand-accent) 45%, var(--brand-accent-hover) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 28px rgba(var(--rgb-accent), 0.42), 0 2px 8px rgba(var(--rgb-text), 0.22);
}
.section-cta-final .btn-cta:hover {
  background: linear-gradient(180deg, #6eb0ff 0%, var(--brand-accent) 50%, var(--brand-accent-hover) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--rgb-accent), 0.48), 0 2px 10px rgba(var(--rgb-text), 0.18);
}
.section-cta-final .btn-cta:active {
  transform: translateY(0);
}

.section-faq { background: var(--color-bg-soft); border-top: 1px solid var(--border); }
.faq-list { display: grid; gap: 12px; margin-top: 10px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "▾";
  color: var(--color-primary);
  font-weight: 800;
  transform: translateY(-1px);
}
.faq-item[open] .faq-question::after { content: "▴"; }
.faq-answer { padding: 0 16px 12px; color: var(--text-muted); }
.faq-answer p { margin: 0; font-size: 0.9rem; line-height: 1.48; }

.footer {
  background: var(--bg-dark);
  color: #94a3b8;
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 10px 16px;
  padding-bottom: max(10px, calc(10px + env(safe-area-inset-bottom, 0px)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  opacity: 0.95;
}
/* Logo (weiß auf Schwarz) im Footer: nur weiße Schrift sichtbar (screen = hell auf dunkel) */
.footer .footer-logo {
  filter: none;
  mix-blend-mode: screen;
}

.footer-links { display: flex; gap: 20px; font-size: 0.82rem; }

.footer-links a {
  color: #e2e8f0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-accent); }

a:focus-visible:not(.btn) {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .header-note { display: inline; }
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .hero-right {
    min-width: 0;
  }
  .hero-form-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-sticky-offset);
    align-self: start;
  }

  .hero-form-shell {
    padding: 18px 18px 20px;
    border-radius: calc(var(--radius) + 6px);
    background:
      linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(238, 246, 255, 0.94) 42%,
        rgba(231, 244, 255, 0.55) 100%
      );
    border: 1px solid rgba(var(--rgb-accent), 0.22);
    box-shadow:
      0 8px 36px rgba(var(--rgb-accent), 0.08),
      0 1px 0 rgba(255, 255, 255, 0.88) inset;
  }

  .hero .hero-form-shell .hero-form-card {
    box-shadow: 0 2px 14px rgba(var(--rgb-text), 0.06);
  }

  .hero-form-reassurance {
    margin-top: 4px;
  }
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
  }
  .section-solution-inner {
    /* normale Inhaltsbreite über section-inner-wide */
    max-width: 960px;
  }
  /* Solution: erst Titel+Text volle Breite, danach 2 Spalten */
  .solution-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
  }
  .solution-visual { aspect-ratio: 3 / 2; }
  .services-header {
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
  }
  .services-header-visual { aspect-ratio: 4 / 3; max-height: 220px; }
  .testimonial-list { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .section-solution-inner { max-width: 980px; gap: 40px; }
  .services-header { grid-template-columns: 1fr 380px; }
  .services-header-visual { max-height: 260px; }
}

/* Ablauf: 4 Schritte – 2×2 ab Tablet, eine Reihe ab Desktop (kein 3+1-Layout) */
@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .process-step {
    padding: 20px 16px;
  }
  .process-title {
    font-size: 0.9rem;
    line-height: 1.32;
  }
  .process-text {
    font-size: 0.875rem;
    line-height: 1.52;
  }
}

/* Mobile: klare Blöcke, kein Fließtext – viel Abstand + Trennlinien */
@media (max-width: 640px) {
  .hero { padding: 24px 0 40px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-outcomes { margin-bottom: 20px; }
  .hero-outcomes li { margin-bottom: 12px; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .hero-cta-btn { width: 100%; max-width: none; }

  .section { padding: 48px 0; }
  .section-inner { padding-left: 20px; padding-right: 20px; padding-top: 4px; }

  /* Mobile CTA: Buttons immer „luftig“ und gut tappbar */
  .btn { min-height: 44px; }
  /* CTA volle Breite in Content-Bereichen (Header bleibt unverändert) */
  main .btn-cta,
  .sticky-cta .btn-cta { width: 100%; max-width: 520px; }
  .hero-cta-btn { margin-bottom: 0; }
  .hero-trust-chips { margin-top: 10px; }
  .section-cta-wrap { margin-top: 28px; }
  .section-cta-wrap .btn { width: 100%; }
  .section-cta-wrap .btn-cta { display: flex; }
  .sticky-cta { padding: 12px 16px; }
  .sticky-cta .btn { max-width: 520px; }

  /* In Panels: CTA klar vom nächsten Block trennen */
  .mobile-panel .section-cta-wrap { margin-top: 24px; margin-bottom: 18px; }
  .mobile-panel .section-cta-wrap + * { margin-top: 10px; }

  /* Button-Proportionen (ruhig + professionell) */
  main .btn {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    padding: 12px 16px;
    border-radius: 12px;
  }
  main .btn-cta { box-shadow: 0 6px 22px rgba(var(--rgb-accent), 0.38), 0 2px 8px rgba(var(--rgb-text), 0.08); }
  main .btn-cta:active { transform: translateY(1px); }

  /* Solution: Bild unterstützt, aber drückt nicht – kompakt rechts/unterhalb */
  .section-solution .solution-visual { max-height: none; aspect-ratio: 3 / 2; }

  /* Mobile-Panels: Inhalt klar gruppieren */
  .mobile-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
  }
  .section-trust-bar .mobile-panel,
  .section-cta-final .mobile-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .section-form-main .mobile-panel { padding: 18px 14px; }
  .section-form-main .form-premium-card { padding: 16px; }

  /* Formular: absolut stabil im Container (keine seitliche Verschiebung) */
  .section-form-main .mobile-panel,
  .section-form-main .form-premium-card,
  .section-form-main .form-fields-box,
  .section-form-main form {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Asymmetrische linke Akzentlinie auf Mobile entfernen → optisch zentriert */
  .section-form-main .form-premium-card {
    border-left: 1px solid var(--border);
    border-top: 3px solid var(--primary);
  }
  .section-form-main .form-premium,
  .section-form-main .form-premium-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-form-main .form-fields-box { overflow: hidden; }

  /* iOS/Android: verhindert Zoom/Layout-Sprünge bei Fokus (u. a. Datepicker) */
  .section-form-main .form-premium-fields input,
  .section-form-main .form-premium-fields select,
  .section-form-main .form-premium-fields textarea,
  .hero .form-premium-fields input,
  .hero .form-premium-fields select,
  .hero .form-premium-fields textarea {
    font-size: 16px;
  }

  /* Datepicker stabil: keine native Insets/Layout-Änderungen */
  .section-form-main .form-premium-fields input[type="date"],
  .hero .form-premium-fields input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 12px;
    background-image: none;
    transform: none;
  }

  /* Icons zur Orientierung: je Section ein Icon vor dem Titel */
  .section .section-title {
    position: relative;
    padding-left: 44px;
  }
  .section .section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(26, 32, 44, 0.10);
    background-image: var(--section-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
  }
  .section-title-center.section-title { padding-left: 0; }
  .section-title-center.section-title::before { display: none; }
  .section-cta-final .section-title { padding-left: 0; }
  .section-cta-final .section-title::before { display: none; }

  .section-owners { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm0 2c-4.42 0-8 2-8 4.5V21h16v-2.5C20 16 16.42 14 12 14Z'/%3E%3C/svg%3E"); }
  .section-pain { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M13 2 3 14h9l-1 8 10-12h-9l1-8Z'/%3E%3C/svg%3E"); }
  .section-solution { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M9 21h6v-1H9Zm3-19a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2Zm2 12.1-.5.35V16h-3v-1h-1v1H10.5v-1.55l-.5-.35a5 5 0 1 1 4 0Z'/%3E%3C/svg%3E"); }
  .section-services { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M12 2 2 7l10 5 10-5-10-5Zm0 8L2 5v6l10 5 10-5V5l-10 5Zm0 6L2 11v6l10 5 10-5v-6l-10 5Z'/%3E%3C/svg%3E"); }
  .section-testimonials { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M21 6h-2V4H5v2H3v16h16v-2h2Zm-4 14H5V6h12Z'/%3E%3C/svg%3E"); }
  .section-form-main { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2Zm-9 14H7v-2h3Zm7 0h-5v-2h5Zm0-4H7v-2h10Zm0-4H7V7h10Z'/%3E%3C/svg%3E"); }
  .section-risk { --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a202c' d='M12 2 4 5v6c0 5 3.4 9.74 8 11 4.6-1.26 8-6 8-11V5Zm0 11.5 4.24-4.24 1.41 1.41L12 16.33 8.34 12.67l1.41-1.41Z'/%3E%3C/svg%3E"); }
  /* Sichtbare Trennung zwischen Sections (kein Fließtext) */
  .section-pain,
  .section-solution,
  .section-services,
  .section-testimonials,
  .section-form-main { border-top: 1px solid var(--border); }
  .section-trust-bar { padding: 40px 0; border-bottom: 1px solid var(--border); }
  .trust-bar-title { margin-bottom: 26px; }
  .trust-bar-grid { gap: 22px 24px; }

  .section-title { margin-bottom: 16px; font-size: 1.25rem; }
  .section-subtitle { margin-bottom: 14px; font-size: 0.98rem; line-height: 1.35; }
  .section-lead { margin-bottom: 28px; line-height: 1.6; }
  .section-lead-center.section-lead { margin-bottom: 32px; }

  .pain-grid { gap: 14px; margin-bottom: 28px; }
  .pain-item { padding: 18px; }
  .pain-close { padding-top: 28px; margin-top: 4px; }

  .benefit-list { margin-bottom: 32px; }
  .benefit-list li { margin-bottom: 18px; }

  .section-solution-inner { gap: 40px; }
  .solution-visual { border-radius: var(--radius); }

  .services-header { gap: 32px; margin-bottom: 36px; }
  .services-header-content .section-title { margin-bottom: 16px; }
  .services-header-content .section-lead { margin-bottom: 0; }
  .services-grid { gap: 20px; margin-bottom: 36px; }
  .service-card { padding: 22px 20px; }

  .section-cta-wrap { margin-top: 36px; }

  .testimonial-list { gap: 24px; }
  .testimonial { padding: 24px; }

  .section-owners { padding: 52px 0 56px; }
  .owners-grid { gap: 12px; }
  .owner-card { margin-bottom: 8px; }
  .owner-photo-wrap { margin-bottom: 0; }

  .section-form-main { padding: 52px 0 56px; }
  .section-form-main .section-title { margin-bottom: 18px; }

  .risk-visual { margin-bottom: 28px; }
  .risk-list { margin-bottom: 32px; }
  .risk-list li { margin-bottom: 20px; }

  .section-cta-final { padding: 56px 0; }
  .section-cta-final .section-title { margin-bottom: 18px; }
  .cta-final-text { margin-bottom: 32px; line-height: 1.6; }
}

@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .hero { padding: 20px 0 36px; }
  .section-title { font-size: 1.15rem; margin-bottom: 14px; }
  .section-lead { margin-bottom: 24px; }
  .mobile-panel { padding: 20px 16px; }
  .mobile-panel .section-cta-wrap { margin-top: 22px; margin-bottom: 16px; }
  main .btn { padding: 12px 14px; font-size: 0.93rem; }
  .section-solution .solution-visual {
    max-height: 240px;
    aspect-ratio: 3 / 2;
  }
  .pain-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .pain-item { padding: 20px; }
  .pain-close { padding-top: 30px; }
  .hero-visual { max-height: 220px; }
  .pain-visual,
  .risk-visual { max-height: 200px; }
  .solution-visual,
  .services-header-visual {
    max-height: 240px;
    aspect-ratio: 3 / 2;
  }
  .solution-visual { max-height: none; }
  .solution-visual img { object-position: center center; }
  .services-header-visual img { object-position: center 8%; }
  .cta-final-visual {
    max-height: 220px;
    aspect-ratio: 4 / 3;
  }
  .cta-final-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
  }
  .services-grid { gap: 22px; margin-bottom: 40px; }
  .owners-grid { grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
  .owner-card { grid-template-columns: 92px 1fr; gap: 10px; padding: 12px; }
  .owner-photo-wrap { width: 92px; }
  .service-card { padding: 24px 20px; }
  .testimonial-list { gap: 28px; }
  .testimonial { padding: 26px; }
  .risk-list li { margin-bottom: 22px; }
  .section-form-main { padding: 48px 0 52px; }
  .section-cta-final { padding: 52px 0; }
}

@media (max-width: 390px) {
  .section-inner { padding: 0 16px; }
  .hero-inner { padding: 0 16px; }
  .hero-title { font-size: 1.35rem; }
  .btn-cta { padding: 10px 14px; font-size: 0.85rem; }
  .form-premium-card { padding: 16px; }
}

@media (min-width: 1024px) {
  .section-inner { max-width: 720px; }
  .section-inner-wide { max-width: 960px; }
  .hero-inner { max-width: 960px; }
}

@media (min-width: 1440px) {
  .section-inner { max-width: 760px; }
  .section-inner-wide { max-width: 1040px; }
  .hero-inner { max-width: 1040px; padding: 0 24px; }
  .header-inner { max-width: 1040px; padding-left: 24px; padding-right: 24px; }
}

/* —— Mehrstufiges Lead-Formular (main.js) —— */
.mb-form-root { position: relative; }
.mb-form-root,
.mb-step-panel,
.mb-grid,
.mb-security-box {
  overflow: visible;
}

.mb-form-card-wide,
.hero-form-card {
  isolation: isolate;
}
.mb-form-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--accent-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.mb-form-trust-inline span {
  white-space: nowrap;
  background: rgba(var(--rgb-accent), 0.06);
  border: 1px solid rgba(var(--rgb-accent), 0.16);
  border-radius: 999px;
  padding: 3px 10px;
}

.mb-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mb-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mb-progress-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.85rem;
}
.mb-progress-step.active {
  color: var(--text);
}
.mb-progress-step.active .mb-progress-badge {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.mb-step-panel { display: none; }
.mb-step-panel.active { display: block; }
.mb-step-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--text);
}
.mb-step-copy {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.mb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  align-items: start;
}
.mb-field {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mb-field:focus-within {
  z-index: 20;
}
.mb-field.full { grid-column: 1 / -1; }
.mb-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.mb-grid-step-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.mb-grid-step-two .mb-field-paired > label {
  min-height: 3.2em;
  display: flex;
  align-items: flex-start;
}
.mb-grid-step-two .mb-field-paired > select {
  height: 44px;
  min-height: 44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-optional { color: var(--text-muted); font-weight: 500; }
.mb-field input,
.mb-field select,
.mb-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 12px;
  min-height: 48px;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mb-field input::placeholder,
.mb-field textarea::placeholder {
  color: var(--gray-3);
  font-size: 0.8125rem;
  line-height: 1.35;
  opacity: 1;
}
@media (min-width: 641px) {
  .mb-field input,
  .mb-field select,
  .mb-field textarea {
    font-size: 0.9375rem;
  }
}
/* Hero-Formular oft schmal: Name volle Breite, Platz für längeren Platzhalter */
.hero-form-card .mb-step-panel[data-step="1"] > .mb-grid > .mb-field:first-child {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .mb-step-panel[data-step="1"] > .mb-grid > .mb-field:first-child {
    grid-column: 1 / -1;
  }
}
.mb-field select {
  position: relative;
  z-index: 2;
}
.mb-field textarea { min-height: 100px; resize: vertical; }
.mb-field input:focus,
.mb-field select:focus,
.mb-field textarea:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(var(--rgb-accent), 0.15);
}
.mb-field.valid input,
.mb-field.valid select,
.mb-field.valid textarea,
.mb-field.valid .mb-fieldset {
  border-color: rgba(22, 163, 74, 0.45);
}
.mb-field.invalid input,
.mb-field.invalid select,
.mb-field.invalid textarea,
.mb-field.invalid .mb-fieldset {
  border-color: rgba(220, 38, 38, 0.5);
}

.mb-hint { font-size: 0.82rem; color: var(--text-muted); }
.mb-warning-message { font-size: 0.82rem; color: #a16207; min-height: 1.1em; }
.mb-error-message { font-size: 0.82rem; color: var(--color-error); min-height: 1.1em; }

.mb-fieldset {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.mb-field-legend {
  padding: 12px 14px 0;
  font-size: 0.88rem;
  font-weight: 600;
}
.mb-checkbox-grid {
  display: grid;
  gap: 8px;
  padding: 10px 12px 14px;
}
.mb-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.mb-checkbox-item input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.mb-checkbox-item label {
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
}

.mb-security-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--accent-light);
}
.mb-security-title { margin: 0 0 4px; font-size: 0.92rem; font-weight: 700; }
.mb-security-text { margin: 0 0 12px; color: var(--text-muted); font-size: 0.85rem; }

.mb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.mb-footer-copy {
  flex: 1;
  min-width: 160px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.mb-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mb-btn-next,
.mb-btn-submit { min-width: 140px; }
.mb-btn-back { min-width: 100px; }

.mb-hidden-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mb-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.mb-status.show { display: block; }
.mb-status.show.error {
  background: #fef2f2;
  color: var(--color-error);
  border: 1px solid #fecaca;
}

.mb-thank-you { display: none; margin-top: 8px; }
.mb-thank-you.show { display: block; }
.mb-thank-you-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--text);
}
.mb-thank-you-text { margin: 0 0 12px; color: var(--text-muted); font-size: 0.95rem; }
.mb-next-step-box {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--accent-light);
  font-size: 0.9rem;
  color: var(--text);
}
.mb-next-step-box p { margin: 0 0 8px; }
.mb-next-step-box p:last-child { margin-bottom: 0; }
.mb-thank-you-actions { margin-top: 16px; align-items: center; }
.mb-thank-you .btn-cta { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* Hauptbereich: Zwei Spalten */
.mb-form-card-wide.mb-form-root { width: 100%; }
.mb-form-two-col {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px 32px;
  align-items: start;
}
.mb-form-intro-col {
  padding-right: 8px;
  border-right: 1px solid var(--border);
}
.mb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.mb-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-success);
}
.mb-form-intro-heading.form-premium-title { margin-top: 0; }
.mb-form-intro-text.form-premium-intro { margin-top: 8px; }
.mb-trust-stack { display: grid; gap: 10px; margin-top: 20px; }
.mb-trust-item {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.88rem;
  line-height: 1.4;
}
.mb-trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--text);
}
.mb-mini-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mb-mini-badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 500;
}
.mb-form-side-trust { margin-top: 18px; }

@media (max-width: 900px) {
  .mb-form-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mb-form-intro-col {
    padding-right: 0;
    border-right: none;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .solution-visual img { object-position: center center; }
  .services-header-visual img { object-position: center 10%; }
  .cta-final-visual img { object-position: center 12%; }
  .mb-grid { grid-template-columns: 1fr; }
  .mb-grid-step-two { grid-template-columns: 1fr; }
  .mb-grid-step-two .mb-field-paired > label {
    min-height: 0;
    display: block;
  }
  .mb-actions { flex-direction: column; align-items: stretch; }
  .mb-button-row { width: 100%; }
  .mb-button-row .btn { flex: 1; justify-content: center; }
}

.hero .mb-step-title { font-size: 1.05rem; }
.hero .mb-form-trust-inline { font-size: 0.8rem; padding: 8px 10px; }

@media (min-width: 480px) {
  .hero-form-call {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
