/* Sam-Style: ruhige Flaechen, ein Akzent, kompakte mobile Bedienung. */
:root {
  --sam-ink: #15374a;
  --sam-line: #cbd5dc;
  --sam-soft: #f4f7fa;
}
body {
  background: #fff !important;
  color: var(--sam-ink) !important;
}
.compass-basic,
.compass-supplementary,
.compass-panel,
.check-section,
.home-finder {
  background: var(--sam-soft) !important;
}
.compass-panel {
  border: 1px solid var(--sam-line);
  border-radius: 18px !important;
}
.compass-options button,
.button,
.button.primary,
.button.secondary,
.navcta,
button[type="submit"] {
  background: #fff !important;
  color: var(--sam-ink) !important;
  border: 1px solid var(--sam-ink) !important;
  box-shadow: none !important;
  background-image: none !important;
}
.compass-options button[aria-pressed="true"] {
  background: #e5eef5 !important;
  color: var(--sam-ink) !important;
  border-color: var(--sam-ink) !important;
  box-shadow: none !important;
}
button:disabled,
.button:disabled {
  background: #e8edf0 !important;
  color: #536570 !important;
  border-color: #cbd5dc !important;
  opacity: 1 !important;
}
.compass-options button > span[aria-hidden="true"] {
  display: none;
}
.compass-panel h2,
.check-intro h2 {
  color: var(--sam-ink) !important;
}
.marketing-contact,
.lead-section,
.checkbox,
.card {
  background: #fff !important;
  border: 1px solid var(--sam-line) !important;
  box-shadow: none !important;
}
.hero,
.home-hero {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.eyebrow,
.fine,
.small {
  color: #475c6b !important;
}
@media (max-width: 800px) {
  .compass-grid {
    gap: 12px !important;
    margin-top: 12px !important;
  }
  .compass-panel {
    padding: 14px !important;
  }
  .compass-panel h2 {
    font-size: 23px !important;
    margin-bottom: 8px !important;
  }
  .compass-panel > p {
    margin-bottom: 10px !important;
  }
  .compass-options {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .compass-options button {
    min-height: 48px !important;
    padding: 10px !important;
  }
  .button,
  button[type="submit"] {
    min-height: 48px;
  }
  .check-section {
    padding: 24px 0 !important;
  }
  .hero h1,
  .home-hero h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
  }
  .intro {
    margin-bottom: 16px !important;
  }
}

/* Center the home introduction and keep Klarheit on its own line. */
.home-hero {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
.home-hero > div {
  min-width: 0;
  width: 100%;
}
.home-hero .intro {
  margin-inline: auto;
  max-width: 680px;
}
.home-hero h1 {
  font-size: clamp(20px, 4.6vw, 64px) !important;
  line-height: 1.15;
}
.home-hero h1 > .home-title-first {
  white-space: nowrap;
  color: var(--sam-ink);
}
.home-hero h1 > span:last-child {
  font-size: clamp(32px, 4.6vw, 64px);
}
.home-hero .button {
  margin-inline: auto;
}

.home-hero > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-hero > div > .eyebrow,
.home-hero > div > h1,
.home-hero > div > .intro,
.home-hero > div > .small {
  text-align: center;
}
.home-hero > div > h1 > .home-title-first {
  color: var(--sam-ink);
}

/* All topic headlines align to the centre of the full hero width. */
.hero {
  grid-template-columns: minmax(0, 1fr);
}
.hero > div {
  min-width: 0;
  width: 100%;
}
.hero h1 {
  width: 100%;
  max-width: none;
  text-align: center;
  margin-inline: auto;
}

/* Mobile keeps the requested left alignment. */
@media (max-width: 850px) {
  .hero h1,
  .home-hero,
  .home-hero > div,
  .home-hero > div > .eyebrow,
  .home-hero > div > h1,
  .home-hero > div > .intro,
  .home-hero > div > .small {
    text-align: left;
  }
  .home-hero > div {
    align-items: flex-start;
  }
  .home-hero .intro,
  .home-hero .button {
    margin-inline: 0;
  }
}

/* Hero headings and home introduction align left on every screen. */
.hero h1,
.home-hero,
.home-hero > div,
.home-hero > div > .eyebrow,
.home-hero > div > h1,
.home-hero > div > .intro,
.home-hero > div > .small {
  text-align: left;
}
.home-hero > div {
  align-items: flex-start;
}
.home-hero .intro,
.home-hero .button {
  margin-inline: 0;
}

/* Keep the overview arrow on the same line at the regular button height. */
.check-actions { flex-wrap: wrap; gap: 12px; }
#next.button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 48px;
  padding: 12px 16px;
  line-height: 1.35;
  font-size: 16px;
}
@media (max-width: 380px) {
  #next.button { font-size: 14px; padding-inline: 12px; }
}
