
:root {
  --brand-blue: #004EA6;
  --brand-blue-dark: #003A78;
  --brand-blue-soft: #e6f0fb;
  --brand-ink: #0f172a;
  --brand-muted: #475569;
  --brand-border: #dce5f0;
  --brand-surface: #f6f8fb;
  --brand-white: #ffffff;
  --focus-ring: #ffbf47;
  --shadow-soft: 0 20px 55px rgba(15, 23, 42, .10);
  --shadow-card: 0 12px 35px rgba(15, 23, 42, .08);
  --radius-lg: 28px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-muted);
  background: var(--brand-white);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-ink);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 4.15rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); }
h3 { font-size: 1.12rem; }

p { margin-bottom: 1rem; }
a { color: var(--brand-blue); text-underline-offset: .18em; }
a:hover { color: var(--brand-blue-dark); }

img, svg { max-width: 100%; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .75rem 1rem;
  border-radius: .75rem;
  color: #fff;
  background: var(--brand-blue);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.btn {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  padding-inline: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue-dark);
  --bs-btn-hover-border-color: var(--brand-blue-dark);
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: rgba(0, 78, 166, .38);
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
}

.btn-light {
  color: var(--brand-blue-dark);
  background: #fff;
  border-color: #fff;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 229, 240, .8);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.navbar { padding-block: .9rem; }
.navbar-brand { max-width: calc(100% - 4.5rem); }
.navbar-brand img { display: block; width: 186px; height: auto; }
.navbar-toggler { border: 1px solid var(--brand-border); border-radius: 12px; }
.navbar-nav .nav-link {
  color: var(--brand-ink);
  font-weight: 650;
  padding-inline: .85rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
  color: var(--brand-blue);
  background: transparent;
}
.dropdown-menu {
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: .65rem;
}
.dropdown-item { border-radius: 10px; font-weight: 600; }
.dropdown-item:hover { background: var(--brand-blue-soft); color: var(--brand-blue-dark); }

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 78, 166, .13), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 76%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 78, 166, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 78, 166, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 76%);
}

.hero-section .container { position: relative; }
.hero-lead, .page-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--brand-ink);
  font-weight: 650;
}
.hero-checks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-checks svg { color: var(--brand-blue); flex: 0 0 auto; }
.hero-visual {
  padding: .6rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(220,229,240,.85);
  box-shadow: var(--shadow-soft);
}
.hero-visual img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); }
.hero-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.hero-photo-card picture { display: block; }
.hero-photo {
  aspect-ratio: 1 / 1.01;
  object-fit: cover;
  object-position: center;
}
.hero-location-badge {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: center;
  padding: .95rem 1rem;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 62, 133, .94), rgba(0, 78, 166, .84));
  box-shadow: 0 14px 34px rgba(15, 23, 42, .22);
  backdrop-filter: blur(10px);
}
.hero-location-badge strong,
.hero-location-badge small { display: block; }
.hero-location-badge strong { color: #fff; line-height: 1.2; }
.hero-location-badge small { color: rgba(255,255,255,.84); line-height: 1.35; }
.badge-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.14);
  flex: 0 0 auto;
}

.trust-strip {
  padding: 1.4rem 0;
  background: var(--brand-blue);
  color: #fff;
}
.trust-item {
  min-height: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}
.trust-item strong { display: block; color: #fff; font-size: 1.05rem; }
.trust-item span { color: rgba(255,255,255,.82); }

.section-spacing { padding: clamp(3.6rem, 7vw, 6.25rem) 0; }
.section-muted { background: var(--brand-surface); }
.section-header { max-width: 760px; margin: 0 auto 2.8rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.value-card,
.service-card,
.detail-card,
.contact-card,
.form-card,
.page-icon-card,
.legal-content {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.value-card { padding: 1.35rem; }
.value-card svg { color: var(--brand-blue); margin-bottom: .7rem; }
.value-card h3 { margin-bottom: .4rem; }
.value-card p { margin-bottom: 0; }

.service-card {
  padding: 1.65rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 78, 166, .32);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}
.icon-circle {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: .75rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 750;
  text-decoration: none;
}

.process-list { display: grid; gap: 1rem; }
.process-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--brand-border);
}
.process-list span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-blue);
  font-weight: 800;
}
.process-list h3 { margin-bottom: .25rem; }
.process-list p { margin: 0; }
.process-list.compact article { padding: 1rem; }

.custom-accordion {
  max-width: 900px;
  margin-inline: auto;
}
.accordion-item {
  border: 1px solid var(--brand-border) !important;
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: .85rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.accordion-button {
  color: var(--brand-ink);
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.35;
  padding: 1.15rem 1.25rem;
}
.accordion-button:not(.collapsed) {
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }

.contact-card { padding: 1.4rem; }
.contact-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--brand-border);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { color: var(--brand-blue); margin-top: .15rem; }
.contact-line strong { display: block; color: var(--brand-ink); }
.contact-line address { margin: 0; }
.form-card { padding: clamp(1.1rem, 3vw, 2rem); }
.form-label { color: var(--brand-ink); font-weight: 700; }
.form-control {
  border-color: var(--brand-border);
  border-radius: 14px;
  padding: .85rem 1rem;
}
.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 .25rem rgba(0, 78, 166, .16);
}
.form-note { margin: 1rem 0; font-size: .93rem; }

.page-hero {
  padding: clamp(3.75rem, 6.5vw, 5.8rem) 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 78, 166, .13), transparent 22rem),
    linear-gradient(180deg, #f8fbff, #fff);
  border-bottom: 1px solid var(--brand-border);
}
.legal-hero { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.page-hero h1 {
  max-width: 100%;
  font-size: clamp(2.05rem, 3.7vw, 3.25rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.page-hero .page-lead {
  max-width: 62ch;
}
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
  font-size: .95rem;
}
.breadcrumb-nav a { text-decoration: none; font-weight: 700; }
.page-icon-card {
  padding: 2rem;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--brand-blue);
}
.page-icon-card svg { width: 72px; height: 72px; }
.page-icon-card span { color: var(--brand-ink); font-weight: 800; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20.5rem), 1fr));
  gap: 1rem;
}
.detail-card {
  padding: clamp(1.15rem, 2.4vw, 1.45rem);
}
.detail-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.service-card h3,
.value-card h3,
.process-list h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.25;
}
.check-list,
.benefit-list {
  font-size: .98rem;
}

.check-list,
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
}
.check-list li,
.benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  align-items: start;
}
.check-list svg,
.benefit-list svg { color: var(--brand-blue); margin-top: .17rem; }
.benefit-list {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.cta-band { padding: 0 0 clamp(3.6rem, 7vw, 6.25rem); background: var(--brand-surface); }
.cta-panel {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: rgba(255,255,255,.86);
}
.cta-panel h2,
.cta-panel .eyebrow { color: #fff; }
.cta-panel p:last-child { margin-bottom: 0; }

.legal-section { background: var(--brand-surface); }
.legal-content {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 2.8rem);
}
.legal-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: 2rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p:last-child { margin-bottom: 0; }

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: #0b1626;
  color: rgba(255,255,255,.72);
}
.footer-logo { filter: brightness(0) invert(1); opacity: .95; }
.footer-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .95rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .92rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-blue);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 1000;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  .page-hero h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
  .page-icon-card { padding: 1.5rem; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: #fff;
  }
  .detail-grid { grid-template-columns: 1fr; }
  .page-hero .row { align-items: flex-start; }
  .page-icon-card { min-height: 180px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 78px; }
  .navbar-brand img { width: 164px; }
  body { font-size: 1rem; }
  h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2.05rem); }
  .page-hero h1 { font-size: clamp(1.95rem, 8vw, 2.45rem); }
  .hero-actions .btn { width: 100%; }
  .hero-location-badge {
    position: static;
    margin-top: .65rem;
    border-color: rgba(0, 78, 166, .14);
    color: var(--brand-ink);
    background: #fff;
    box-shadow: none;
  }
  .hero-location-badge strong { color: var(--brand-ink); }
  .hero-location-badge small { color: var(--brand-muted); }
  .badge-icon { color: #fff; background: var(--brand-blue); }
  .value-grid { grid-template-columns: 1fr; }
  .hero-section { padding-top: 3.8rem; }
  .section-spacing { padding-block: 3.4rem; }
}

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

/* Typografie- und Layout-Feinschliff:
   Verhindert Textueberlaeufe bei langen deutschen Fachbegriffen
   und sorgt fuer ruhigere, gut lesbare Ueberschriften. */
body {
  font-size: clamp(1rem, .96rem + .16vw, 1.0625rem);
}

h1 {
  font-size: clamp(2.15rem, 4.35vw, 4rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(1.7rem, 2.85vw, 2.55rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

h3 {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-section h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.3rem);
}

.page-hero h1 {
  max-width: 100%;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-hero .row > [class*="col"] {
  min-width: 0;
}

.page-hero .page-lead {
  max-width: 62ch;
}

.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20.5rem), 1fr));
  align-items: stretch;
}

.detail-card {
  min-width: 0;
  padding: clamp(1.15rem, 2.4vw, 1.45rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

.detail-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.06rem, .9rem + .55vw, 1.24rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.detail-card .check-list,
.benefit-list {
  font-size: .98rem;
}

.service-card h3,
.value-card h3,
.process-list h3 {
  font-size: clamp(1.06rem, .98rem + .35vw, 1.18rem);
  line-height: 1.28;
}

.accordion-button {
  font-size: 1rem;
  line-height: 1.35;
}

.page-icon-card {
  min-width: 0;
}

.page-icon-card span {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.navbar-nav .nav-link {
  font-size: .96rem;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand img { width: 168px; }
  .navbar-nav .nav-link { padding-inline: .55rem !important; }
  .site-header .btn { padding-inline: .95rem; font-size: .95rem; }
  .page-hero h1 { font-size: clamp(2rem, 3.2vw, 2.65rem); }
  .detail-card h2 { font-size: 1.08rem; }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link { white-space: normal; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 3.05rem); }
  .page-icon-card { min-height: 180px; }
}

@media (max-width: 575.98px) {
  body { line-height: 1.65; }
  h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2.05rem); }
  .page-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.45rem); }
  .section-header { margin-bottom: 2rem; }
  .detail-card,
  .service-card,
  .value-card,
  .contact-card {
    padding: 1.25rem;
  }
  .detail-card h2 { font-size: 1.05rem; }
}

/* Mobile gutter correction: Bootstrap's g-5 uses wider horizontal gutters than the
   default container padding on small screens, which can create slight side overflow. */
.cta-panel h2,
.section-header h2 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}


/* Neue Inhaltsbereiche: Ersteinschaetzung, Vertrauen und Ratgeber */
.nav-cta.active {
  box-shadow: 0 0 0 .18rem rgba(0, 78, 166, .16);
}

.lead-section {
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
}
.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(0, 78, 166, .16);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.lead-panel h2 { margin-bottom: .75rem; }
.lead-panel p:last-child { margin-bottom: 0; }
.lead-panel-actions { display: grid; gap: .65rem; justify-items: start; }
.small-note { font-size: .92rem; color: var(--brand-muted); }

.trust-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.trust-feature-grid article,
.toc-card,
.guide-article {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.trust-feature-grid article {
  padding: 1.35rem;
}
.trust-feature-grid.large article { padding: 1.5rem; }
.trust-feature-grid strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: .45rem;
}
.trust-feature-grid span { display: block; }
.compact-photo-card .hero-photo { aspect-ratio: 4 / 3; }

.estimate-card { position: relative; }
.step-indicator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.step-indicator li {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .8rem .85rem;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  color: var(--brand-muted);
  background: #fff;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
}
.step-indicator span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  font-size: .9rem;
}
.step-indicator li.is-current,
.step-indicator li[aria-current="step"] {
  border-color: rgba(0, 78, 166, .32);
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
}
.step-indicator li.is-current span,
.step-indicator li[aria-current="step"] span,
.step-indicator li.is-complete span {
  color: #fff;
  background: var(--brand-blue);
}
.estimate-step {
  border: 0;
  padding: 0;
  margin: 0;
}
.estimate-step + .estimate-step { margin-top: 1.4rem; }
.estimate-form.is-enhanced .estimate-step + .estimate-step { margin-top: 0; }
.estimate-step legend {
  float: none;
  width: auto;
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-weight: 800;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.25;
}

.choice-hint {
  margin: -.25rem 0 1rem;
  color: var(--brand-muted);
}
.choice-stack {
  display: grid;
  gap: .85rem;
}
.choice-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
.choice-content {
  display: grid;
  gap: .35rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  background: #fff;
  color: var(--brand-body);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}
.choice-content strong {
  color: var(--brand-ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.25;
}
.choice-content span {
  color: var(--brand-muted);
  line-height: 1.55;
}
.choice-card:hover .choice-content {
  transform: translateY(-1px);
  border-color: rgba(0, 78, 166, .35);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
}
.choice-input:focus-visible + .choice-content {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.choice-input:checked + .choice-content {
  border-color: rgba(0, 78, 166, .75);
  background: var(--brand-blue-soft);
  box-shadow: 0 16px 36px rgba(0, 78, 166, .12);
}
.choice-input:checked + .choice-content strong {
  color: var(--brand-blue-dark);
}
.trust-illustration-card {
  padding: clamp(.8rem, 2.2vw, 1.15rem);
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(225,235,248,.92));
}
.trust-illustration {
  aspect-ratio: 9 / 7;
  object-fit: contain;
  background: #f7fbff;
}

.form-select {
  border-color: var(--brand-border);
  border-radius: 14px;
  padding: .85rem 2.4rem .85rem 1rem;
  min-height: 50px;
}
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 .25rem rgba(0, 78, 166, .16);
}
.optional {
  color: var(--brand-muted);
  font-weight: 500;
}
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  margin-top: 1.35rem;
}
.step-actions .btn:only-child { margin-left: auto; }

.toc-card {
  padding: 1.35rem;
}
.toc-card h2 {
  font-size: 1.15rem;
  margin-bottom: .9rem;
}
.toc-card ol {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding-left: 1.2rem;
}
.toc-card a {
  font-weight: 700;
  text-decoration: none;
}
.toc-card a:hover { text-decoration: underline; }
.sticky-helper {
  position: sticky;
  top: 110px;
}
.guide-list {
  display: grid;
  gap: 1rem;
}
.guide-article {
  padding: clamp(1.25rem, 3vw, 2rem);
  scroll-margin-top: 110px;
}
.guide-article h2 {
  font-size: clamp(1.24rem, 2vw, 1.6rem);
  margin-bottom: .9rem;
}
.guide-article .btn {
  margin-top: .3rem;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: #fff;
  }
  .navbar-nav .nav-link { white-space: normal; }
  .nav-cta { width: 100%; }
}

@media (max-width: 991.98px) {
  .lead-panel { grid-template-columns: 1fr; }
  .trust-feature-grid { grid-template-columns: 1fr; }
  .sticky-helper { position: static; }
}

@media (max-width: 767.98px) {
  .step-indicator { grid-template-columns: 1fr 1fr; }
  .step-indicator li { font-size: .88rem; }
  .step-actions .btn { flex: 1 1 160px; }
}

@media (max-width: 575.98px) {
  .step-indicator { grid-template-columns: 1fr; }
  .lead-panel-actions .btn { width: 100%; }
}

/* Ohne JavaScript werden alle Formularschritte untereinander angezeigt;
   Navigationsbuttons ohne Funktion werden dann ausgeblendet. */
.estimate-form:not(.is-enhanced) [data-next-step],
.estimate-form:not(.is-enhanced) [data-prev-step] {
  display: none;
}
