@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;900&family=Montserrat:wght@600;700;800;900&display=swap");

:root {
  --color-ink: #17352c;
  --color-muted: #5f716b;
  --color-brand: #ec7b2f;
  --color-brand-dark: #b84f16;
  --color-blue: #2f73c8;
  --color-blue-dark: #245a9f;
  --color-blue-light: #75a7e8;
  --color-blue-hover: #1d5a9e;
  --color-green: #123f34;
  --color-mint: #edf8fa;
  --color-yellow: #ffe3a1;
  --color-soft: #fff7e9;
  --color-soft-green: #eaf8f2;
  --color-line: #dcebe5;
  --color-white: #ffffff;
  --shadow: 0 1.2rem 3rem rgba(18, 63, 52, 0.12);
  --shadow-soft: 0 0.45rem 1.4rem rgba(18, 63, 52, 0.08);
  --space-1: clamp(0.45rem, 0.32rem + 0.7vw, 0.95rem);
  --space-2: clamp(0.85rem, 0.55rem + 1.4vw, 1.7rem);
  --space-3: clamp(1.35rem, 0.75rem + 2.5vw, 3rem);
  --space-4: clamp(2.2rem, 1.1rem + 5vw, 5.5rem);
  --space-5: clamp(3.2rem, 1.8rem + 7vw, 8rem);
  --radius: clamp(1.15rem, 0.8rem + 1.25vw, 2rem);
  --radius-lg: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  --container: 70rem;
  --icon-check-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23123f34'/%3E%3Cpath d='M4.5 9.5l3 3 6-6' stroke='%234ade80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

html {
  font-size: clamp(14px, 3.5vw, 16px);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.125rem;
  border-radius: 0.125rem;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: #111111;
  color: #ffffff;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute !important;
  width: 0.0625rem !important;
  height: 0.0625rem !important;
  padding: 0 !important;
  margin: -0.0625rem !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  backdrop-filter: blur(0.8rem);
  border-bottom: 0.0625rem solid rgba(220, 235, 229, 0.9);
  box-shadow: 0 0.45rem 1.2rem rgba(18, 63, 52, 0.06);
}

.nav-wrap,
.container {
  width: min(calc(100% - clamp(1.5rem, 5vw, calc(var(--space-3) * 2))), var(--container));
  margin-inline: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.7rem, 0.45rem + 1vw, 1.35rem);
  padding-block: clamp(0.6rem, 0.45rem + 0.55vw, 0.95rem);
}

@media (min-width: 75rem) {
  .nav-wrap {
    width: calc(100% - (clamp(0rem, -1.5rem + 8vw, 6.25rem) * 2));
    max-width: none;
    margin-left: clamp(0rem, -1.5rem + 8vw, 6.25rem);
    margin-right: clamp(0rem, -1.5rem + 8vw, 6.25rem);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--color-green);
  letter-spacing: -0.03em;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.45rem);
  font-family: "Montserrat", system-ui, sans-serif;
}

.site-header .brand-logo {
  transform: none;
}

.brand-logo img {
  width: clamp(2.55rem, 2.2rem + 1.4vw, 3.8rem);
  height: clamp(2.55rem, 2.2rem + 1.4vw, 3.8rem);
  max-height: clamp(2.55rem, 2.2rem + 1.4vw, 3.8rem);
  object-fit: contain;
}

.brand-logo-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-logo-name {
  color: #0d4675;
  font-size: clamp(1.05rem, 0.92rem + 0.62vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo-subline {
  color: #0d4675;
  font-family: "Lato", system-ui, sans-serif;
  font-size: clamp(0.42rem, 0.36rem + 0.28vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(2.2rem, 1.8rem + 1.4vw, 3rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), #f5a45e);
  color: #ffffff;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.28rem, 0.12rem + 0.62vw, 0.72rem);
  flex-wrap: wrap;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.68rem + 0.16vw, 0.84rem);
}

.nav-call-btn {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: clamp(2.75rem, 2.35rem + 1.6vw, 3.4rem);
  aspect-ratio: 1;
  border: 0.1rem solid var(--color-green);
  border-radius: 999rem;
  background: #ffffff;
  color: var(--color-green);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 1.25rem;
  height: 0.12rem;
  border-radius: 999rem;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(0.4rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.main-nav a,
.nav-dropdown-trigger {
  text-decoration: none;
  font-weight: 700;
  color: var(--color-ink);
  padding: 0.34rem 0.12rem;
  border-radius: 999rem;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.45em;
  border-right: 0.12em solid currentColor;
  border-bottom: 0.12em solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 13rem;
  padding: 0.55rem;
  border: 0.0625rem solid var(--color-line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-0.6rem);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

@media (min-width: 62.0625rem) {
  /* Unsichtbare Brücke über die Lücke zwischen Trigger und Menü –
     verhindert das Flackern beim Rüberfahren mit der Maus. */
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.75rem;
    height: 0.75rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown:hover .nav-dropdown-trigger::after,
  .nav-dropdown:focus-within .nav-dropdown-trigger::after {
    transform: translateY(0.04em) rotate(-135deg);
  }
}

.main-nav .nav-dropdown-menu a {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 0.7rem;
  white-space: nowrap;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible {
  background: rgba(210, 240, 245, 0.9);
}

.main-nav a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--color-brand-dark);
  background: transparent;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999rem;
  border: 0.125rem solid transparent;
  background: var(--color-blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.68rem + 0.14vw, 0.82rem);
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.button {
  font-weight: 700;
  min-height: clamp(2.8rem, 2.45rem + 1.1vw, 3.35rem);
  padding: clamp(0.75rem, 0.58rem + 0.6vw, 1rem) clamp(1.15rem, 0.9rem + 1vw, 1.65rem);
  font-size: clamp(0.88rem, 0.8rem + 0.28vw, 1rem);
  text-align: center;
  white-space: normal;
}

.button:hover,
.nav-cta:hover {
  background: var(--color-blue-hover);
  transform: translateY(clamp(-0.22rem, -0.35vw, -0.12rem));
}

.nav-cta {
  display: inline;
  min-height: auto;
  background: transparent;
  color: var(--color-blue-dark);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.34rem 0.12rem;
  font-size: inherit;
}

.nav-cta:hover {
  background: transparent;
  color: var(--color-blue-dark);
}

.button.secondary {
  background: var(--color-brand);
}

.button.secondary:hover {
  background: var(--color-brand-dark);
}

.button.ghost {
  background: #ffffff;
  color: var(--color-blue-dark);
  border-color: currentColor;
}

.button.ghost:hover {
  background: var(--color-blue-dark);
  color: #ffffff;
  border-color: var(--color-blue-dark);
}

.hero-call-btn {
  gap: 0.5rem;
  background: #f97316;
  color: #ffffff;
  border-color: #ffffff;
}

.hero-call-btn:hover {
  background: #ea670c;
  color: #ffffff;
}

.hero-call-btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.section .button,
.section .cta-row .button {
  border-width: 0.0625rem !important;
  border-style: solid !important;
  border-color: #000000 !important;
}

.section .button.ghost,
.section .button.ghost:hover {
  border-color: #000000 !important;
}

.hero {
  padding-block: clamp(3.2rem, 2rem + 5.5vw, 6.5rem) clamp(2.2rem, 1.4rem + 3.6vw, 4.5rem);
  background: #ffffff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.hero--image-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(24rem, 48vh, 38rem);
  display: flex;
  align-items: flex-end;
  background: var(--color-green);
}

.hero--image-bg::before,
.hero--image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero--image-bg::before {
  z-index: -2;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero--image-bg::after {
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(18, 63, 52, 0.88) 0%,
    rgba(18, 63, 52, 0.48) 52%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero--image-bg .eyebrow {
  color: var(--color-yellow);
}

.hero--image-bg h1,
.hero--image-bg .lead {
  color: #ffffff;
}

.hero--image-bg .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: center;
}

.eyebrow {
  color: var(--color-brand-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.9rem);
  margin: 0 0 var(--space-1);
}

h1,
h2,
h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero h1,
.hero h2,
.hero h3 {
  font-weight: 800;
}

h1 {
  font-size: clamp(2.05rem, 1.35rem + 3.35vw, 4.35rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.55rem, 1.12rem + 2vw, 2.9rem);
  max-width: 17ch;
}

h3 {
  font-size: clamp(1rem, 0.92rem + 0.34vw, 1.18rem);
}

p {
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.lead {
  font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.08rem);
  color: var(--color-muted);
  max-width: 42rem;
  margin-top: var(--space-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-3);
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 10px;
  max-width: 48rem;
}

.hero .cta-row:has(.button:nth-of-type(3)) .button,
.section .cta-row:has(.button:nth-of-type(3)) .button {
  flex: 1 1 0;
  min-width: min(100%, 13rem);
}

.hero:not(.hero--bg) .button {
  width: fit-content;
}

.trust-pill {
  white-space: normal;
}

@media (min-width: 30rem) {
  .trust-pill {
    white-space: nowrap;
  }
}

.card,
.notice,
.form-card {
  border: 0.0625rem solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(210, 240, 245, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.6rem, 1rem + 2.6vw, 3.4rem);
  position: relative;
  overflow: hidden;
  min-height: clamp(18rem, 32vw, 31rem);
  display: grid;
  align-content: end;
  background: #ffffff;
  border: 0.15rem solid var(--color-green);
  transform: none;
}

.hero-card::before,
.hero-card::after {
  content: none;
}

.hero-card::before {
  width: clamp(8rem, 19vw, 16rem);
  aspect-ratio: 1;
  right: clamp(-2rem, -2vw, -0.8rem);
  top: clamp(1rem, 3vw, 2.6rem);
  background: var(--color-yellow);
}

.hero-card::after {
  width: clamp(5rem, 12vw, 9rem);
  aspect-ratio: 1;
  right: clamp(3rem, 9vw, 7rem);
  top: clamp(3rem, 8vw, 7rem);
  background: var(--color-mint);
  box-shadow: var(--shadow-soft);
}

.hero-card strong {
  display: block;
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.3rem);
  line-height: 1.1;
  color: var(--color-green);
  position: relative;
  z-index: 1;
}

.hero-card span {
  display: block;
  color: var(--color-muted);
  margin-top: var(--space-1);
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.3125rem);
  position: relative;
  z-index: 1;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  margin-top: var(--space-3);
  max-width: 48rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: none;
  font-weight: 900;
  font-size: clamp(0.95rem, 0.82rem + 0.55vw, 1.625rem);
  color: var(--color-green);
}

.trust-pill::before {
  content: none;
}

.section {
  padding-block: clamp(3rem, 1.8rem + 5.2vw, 6.4rem);
}

.section.alt {
  background: var(--color-soft-green);
}

.section-head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.section-head p {
  color: var(--color-muted);
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.2rem);
  max-width: 48rem;
}

.section-head .eyebrow {
  color: var(--color-brand-dark);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.72rem + 1.15vw, 1.85rem);
}

.card {
  padding: clamp(1rem, 0.78rem + 0.9vw, 1.55rem);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(clamp(-0.35rem, -0.45vw, -0.15rem));
  border-color: rgba(236, 123, 47, 0.45);
  box-shadow: 0 1.4rem 3.2rem rgba(18, 63, 52, 0.15);
}

.card h2,
.card h3 {
  color: var(--color-green);
}

/* Lange deutsche Komposita in Rechts-Karten sauber trennen statt mittendrin umbrechen */
.legal-grid .card h2 {
  hyphens: auto !important;
}

.card h2 + p,
.card h3 + p {
  margin-top: var(--space-1);
}

.service-cards .card {
  padding: clamp(1.55rem, 1.05rem + 2vw, 2.7rem);
  min-height: clamp(18rem, 22vw, 24rem);
  border: 0.1rem solid var(--color-green);
}

.service-cards h3 {
  font-size: clamp(1.3925rem, 1.2725rem + 0.58vw, 1.6925rem);
}

.service-cards li {
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.3125rem);
  line-height: 1.55;
}

.step-cards .card {
  padding: clamp(1.55rem, 1.05rem + 2vw, 2.7rem);
  min-height: clamp(18rem, 22vw, 24rem);
  border: 0.1rem solid var(--color-green);
}

.step-cards h3 {
  font-size: clamp(1.3925rem, 1.2725rem + 0.58vw, 1.6925rem);
  font-weight: 600;
}

.step-cards p {
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.3125rem);
  line-height: 1.55;
}

@media (max-width: 75rem) {
  .step-cards .step h3 {
    margin-top: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  }

  .step-cards .step::before {
    font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
    line-height: 1;
  }
}

.card p,
.card li {
  color: var(--color-muted);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.check-list,
.plain-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.check-list li {
  position: relative;
  padding-left: 0;
}

.check-list li::before {
  content: none;
}

.check-list--icon-end li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(0.5rem, 0.35rem + 0.4vw, 0.75rem);
  min-width: 0;
}

.check-list--icon-end li > span,
.audience-suitable-list li > span,
.plain-list li > span {
  min-width: 0;
}

.check-list--icon-end li::after {
  content: '';
  flex-shrink: 0;
  width: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  height: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  margin-top: clamp(0.12rem, 0.08rem + 0.12vw, 0.22rem);
  background: var(--icon-check-green) no-repeat center / contain;
}

.numbered-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 0.35rem + 0.4vw, 0.75rem);
}

.numbered-list li::before {
  content: counter(item) ".";
  flex-shrink: 0;
  color: #000000;
  font-size: inherit;
  min-width: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
}

.numbered-list__label {
  flex-shrink: 0;
}

.split-start .numbered-list {
  width: 100%;
  max-width: 100%;
}

.split-start .numbered-list li {
  align-items: flex-start;
  flex-wrap: nowrap;
  font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.5rem);
  font-weight: 600;
  line-height: 1.55;
  padding-left: 0;
}

.split-start .numbered-list__label {
  flex: 1 1 auto;
  min-width: 0;
}

.split-start .numbered-list li::after {
  content: '';
  flex-shrink: 0;
  width: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  height: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  margin-top: 0.22em;
  background: var(--icon-check-green) no-repeat center / contain;
}

@media (max-width: 30rem) {
  .split-start .numbered-list li {
    line-height: 1.2;
  }
}

.notice {
  padding: var(--space-2);
  background: #ffffff;
  border: 0;
  box-shadow: none;
  margin-top: var(--space-2);
  color: var(--color-muted);
}

.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding-left: clamp(1.8rem, 1.35rem + 1.4vw, 2.7rem);
}

.step::before,
.timeline-item::before {
  content: counter(step);
  position: absolute;
  left: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  top: clamp(0.95rem, 0.75rem + 0.7vw, 1.25rem);
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand-dark);
  font-weight: 900;
  font-family: "Montserrat", system-ui, sans-serif;
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: var(--space-2);
}

.timeline-item {
  counter-increment: step;
  position: relative;
  padding-left: clamp(1.8rem, 1.35rem + 1.4vw, 2.7rem);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: start;
}

.split-copy-offset {
  padding-top: clamp(0rem, 4vw, 3.125rem);
}

.flow-offset {
  margin-top: calc(var(--space-3) + clamp(1rem, 2.5vw, 1.875rem));
}

.faq {
  display: grid;
  gap: var(--space-1);
}

.faq details {
  background: #ffffff;
  border: 0.0625rem solid var(--color-line);
  border-radius: calc(var(--radius) * 0.72);
  padding: var(--space-2);
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  color: var(--color-muted);
  margin-top: var(--space-1);
}

/* Intro-/Stat-Band direkt unter dem Hero */
.hero-intro {
  background: var(--color-soft-green);
}

.hero-intro .container {
  display: grid;
  gap: calc(var(--space-3) + 20px);
}

.hero-intro-head {
  text-align: center;
}

.hero-intro-head h2 {
  max-width: none;
  margin-inline: auto;
}

.hero-intro-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin-top: calc(var(--space-2) + 40px);
}

.hero-intro-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem clamp(0.9rem, 0.7rem + 0.6vw, 1.25rem);
  border-radius: 999rem;
  background: rgba(210, 240, 245, 0.9);
  border: 0.125rem solid var(--color-blue);
  color: var(--color-green);
  font-weight: 700;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  box-shadow: var(--shadow-soft);
}

a.hero-intro-tag {
  background: #1e8b9a;
  border: 0.0625rem solid #000000;
  color: #ffffff;
  text-decoration: none !important;
}

a.hero-intro-tag:hover,
a.hero-intro-tag:focus,
a.hero-intro-tag:focus-visible {
  text-decoration: none !important;
}

a.hero-intro-tag--orange {
  background: var(--color-brand);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-2);
}

.hero-stat {
  text-align: center;
  padding: clamp(1.3rem, 1rem + 1.4vw, 2.1rem) var(--space-2);
  background: rgba(210, 240, 245, 0.9);
  border: 0.125rem solid var(--color-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-stat-num {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-brand);
}

.hero-stat-label {
  display: block;
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-weight: 700;
}

/* Accordion FAQ (button-based, animated) */
.faq-section {
  background: rgba(210, 240, 245, 0.92);
}

.faq-section .section-head {
  grid-template-columns: 1fr;
}

.faq-section .section-head h2 {
  max-width: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  font-size: clamp(0.85rem, 3.8vw, 2.7rem);
}

.faq-section .section-head p {
  max-width: 56rem;
  text-wrap: balance;
  margin-top: 15px;
}

.faq-accordion {
  display: grid;
  gap: var(--space-1);
}

.faq-item {
  background: var(--color-white);
  border: 0.0625rem solid var(--color-line);
  border-radius: calc(var(--radius) * 0.7);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item.is-open {
  border-color: color-mix(in srgb, var(--color-brand) 45%, var(--color-line));
  box-shadow: var(--shadow);
}

.faq-question {
  margin: 0;
  font-size: inherit;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.faq-trigger-text {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem) clamp(1.1rem, 0.85rem + 1vw, 1.75rem);
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.18rem);
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:hover .faq-trigger-text {
  color: var(--color-brand-dark);
}

.faq-trigger:focus-visible {
  outline: 0.18rem solid var(--color-blue);
  outline-offset: -0.18rem;
  border-radius: calc(var(--radius) * 0.7);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem);
  height: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem);
  border-radius: 999rem;
  background: var(--color-soft-green);
  transition: background 0.2s ease, transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  height: 0.14rem;
  border-radius: 999rem;
  background: var(--color-brand-dark);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: var(--color-brand);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: var(--color-white);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.18s ease;
  will-change: max-height;
}

.faq-item.is-open .faq-answer {
  max-height: var(--faq-answer-height, 20rem);
  opacity: 1;
}

.faq-answer-inner {
  overflow: visible;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 clamp(1.1rem, 0.85rem + 1vw, 1.75rem) clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  color: var(--color-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  line-height: 1.65;
}

.faq-answer-inner a {
  color: var(--color-blue-dark);
  font-weight: 700;
}

.faq-page .faq-answer {
  display: none;
  max-height: none;
  opacity: 1;
  transition: none;
  will-change: auto;
}

.faq-page .faq-item.is-open .faq-answer {
  display: block;
  max-height: none;
}

.faq-page .faq-item {
  transition: border-color 0.12s ease;
}

.faq-page .faq-item.is-open {
  box-shadow: var(--shadow-soft);
}

.faq-cta {
  margin-top: var(--space-3);
  padding: clamp(1.6rem, 1.1rem + 2.2vw, 2.8rem);
  background: transparent;
  border: 0;
  text-align: center;
}

.faq-cta h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
}

.faq-cta p {
  max-width: 40rem;
  margin: var(--space-1) auto 0;
  color: var(--color-muted);
}

.faq-cta .cta-row {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-icon,
  .faq-icon::before,
  .faq-icon::after,
  .faq-item {
    transition: none;
  }
}

.article-list {
  display: grid;
  gap: var(--space-2);
}

.article-list a {
  text-decoration: none;
}

.article-list .card:hover {
  border-color: var(--color-brand);
}

.meta {
  color: var(--color-brand-dark);
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.budget-chart {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: block;
  overflow-x: auto;
}

.budget-chart th,
.budget-chart td {
  padding: var(--space-1);
  text-align: left;
  border-bottom: 0.0625rem solid var(--color-line);
}

.budget-chart th {
  background: var(--color-green);
  color: #ffffff;
}

.market-chart {
  width: 100%;
  overflow-x: auto;
  margin-top: var(--space-2);
}

.analysis-chart {
  width: 100%;
  min-width: min(42rem, 100%);
  height: auto;
}

.analysis-chart text {
  font-family: "Lato", system-ui, sans-serif;
  fill: var(--color-muted);
  font-size: 0.82rem;
}

.analysis-chart .axis {
  stroke: var(--color-line);
  stroke-width: 0.08rem;
}

.analysis-chart .bar {
  fill: #edf8fa;
}

.analysis-chart .line {
  fill: none;
  stroke: var(--color-blue);
  stroke-width: 0.24rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.analysis-chart .point {
  fill: var(--color-blue);
}

.analysis-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.analysis-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.analysis-legend span::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: #edf8fa;
}

.analysis-legend span:last-child::before {
  background: var(--color-blue);
}

.performance-donut-panel__group {
  width: min(100%, 30rem);
  margin-inline: auto;
}

.chart-with-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  justify-items: center;
}

.chart-note {
  max-width: 42rem;
  padding-top: var(--space-1);
  border-top: 0.0625rem solid var(--color-line);
  box-shadow: none;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.08rem);
  text-align: center;
}

.performance-card__donut-wrap {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: var(--space-2);
  padding: clamp(1.15rem, 0.85rem + 1.25vw, 2rem);
  border: 0.0625rem solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.performance-donut-panel__head {
  width: 100%;
}

.performance-donut-panel__title {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1rem, 0.92rem + 0.34vw, 1.18rem);
  font-weight: 700;
  color: var(--color-green);
}

.performance-donut-panel__subline {
  margin: var(--space-1) 0 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.66rem + 0.2vw, 0.84rem);
  color: rgba(23, 53, 44, 0.78);
}

.performance-donut-panel__filter {
  margin-block-start: var(--space-1);
  width: 100%;
}

.performance-card__select {
  width: 100%;
  border: 0.0625rem solid var(--color-line);
  border-radius: 0.8rem;
  padding: 0.72rem 0.9rem;
  font: inherit;
  background: #ffffff;
  color: var(--color-ink);
}

.performance-card__donut {
  width: min(100%, clamp(15rem, 52vw, 22rem));
  height: auto;
  overflow: visible;
}

.performance-donut-panel__between {
  margin: 0;
  max-width: 38rem;
  text-align: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.61rem + 0.42vw, 0.85rem);
  line-height: 1.55;
  color: rgba(23, 53, 44, 0.8);
}

.performance-card__donut-base {
  fill: none;
  stroke: rgba(23, 53, 44, 0.12);
  stroke-width: 18;
}

.performance-card__donut-segment {
  fill: none;
  stroke-width: 18;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: 80px 80px;
  transition: stroke-dasharray 0.25s ease, stroke-dashoffset 0.25s ease, opacity 0.25s ease;
}

.performance-card__donut-segment--auto {
  stroke: url(#donut-grad-auto);
}

.performance-card__donut-segment--bike {
  stroke: url(#donut-grad-bike);
}

.performance-card__donut-segment--sonstige {
  stroke: url(#donut-grad-sonstige);
}

.performance-card__donut-segment--45a {
  stroke: url(#donut-grad-45a);
}

.performance-card__donut-center-label {
  fill: rgba(23, 53, 44, 0.72);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
}

.performance-card__donut-center-value {
  fill: var(--color-green);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.performance-card__donut-legend,
.performance-card__donut-details {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", system-ui, sans-serif;
}

.performance-card__donut-legend {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.84rem);
}

.performance-card__donut-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-green);
}

.performance-card__donut-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
}

.performance-card__donut-dot--auto {
  background: #127f5b;
}

.performance-card__donut-dot--bike {
  background: #229f9f;
}

.performance-card__donut-dot--sonstige {
  background: #65b84a;
}

.performance-card__donut-dot--45a {
  background: #2f73c8;
}

.performance-card__donut-details {
  display: grid;
  gap: 0.5rem;
  font-size: clamp(0.7rem, 0.64rem + 0.22vw, 0.82rem);
}

.performance-card__donut-details li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1);
  color: var(--color-green);
}

.performance-donut-panel__insight {
  width: 100%;
  margin: 0;
  padding: var(--space-1);
  border-radius: 0.7rem;
  background: rgba(18, 127, 91, 0.08);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.84rem);
  color: var(--color-green);
}

.form-card {
  padding: var(--space-3);
}

.form-grid {
  display: grid;
  gap: var(--space-2);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 0.0625rem solid var(--color-line);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #ffffff;
  color: var(--color-ink);
  min-width: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.site-footer {
  background: #ffffff;
  color: var(--color-ink);
  padding-block: var(--space-2);
  border-top: 0.0625rem solid var(--color-line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-2);
}

.footer-grid > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  flex: 1 1 14rem;
  min-width: 0;
}

.footer-grid > div:first-child p {
  display: none;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border: 0.1rem solid var(--color-green);
  border-radius: 999rem;
  background: var(--color-green);
  color: #ffffff !important;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.45rem 1rem rgba(18, 63, 52, 0.12);
}

.footer-phone::before {
  content: '';
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.39 2 2 0 0 1 3.6 1.21h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.91a16 16 0 0 0 6.18 6.18l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.39 2 2 0 0 1 3.6 1.21h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.91a16 16 0 0 0 6.18 6.18l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-grid a,
.footer-links a {
  color: var(--color-ink);
  text-decoration: none !important;
  -webkit-text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-bottom: 0;
}

.footer-brand img {
  width: clamp(14.52rem, 7.26rem + 15.972vw, 23.232rem);
  max-height: clamp(3.9204rem, 3.1944rem + 2.6136vw, 6.2436rem);
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 0.35rem + 0.55vw, 1rem);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
}

@media (min-width: 48.01rem) {
  .footer-links {
    justify-content: flex-end;
    margin-left: auto;
    transform: translateX(120px);
  }
}

/* Footer – Vertrauens- & Servicebereiche (Kachel-Leiste) */
.site-footer {
  padding-block: clamp(1.8rem, 1.1rem + 2.6vw, 3rem);
}

.footer-trust-head {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 0.5rem + 0.7vw, 1.1rem);
  margin: 0 auto var(--space-3);
  color: var(--color-green);
}

.footer-trust-head::before,
.footer-trust-head::after {
  content: '';
  flex: 1;
  height: 0.0625rem;
  background: var(--color-line);
}

.footer-trust-shield {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  height: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  color: var(--color-green);
}

.footer-trust-shield svg {
  width: 100%;
  height: 100%;
}

.footer-trust-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.35rem);
  color: var(--color-green);
  letter-spacing: -0.01em;
}

.footer-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.6rem, 0.45rem + 0.6vw, 1rem);
}

.footer-tile {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.4rem + 0.4vw, 0.8rem);
  padding: clamp(0.55rem, 0.45rem + 0.4vw, 0.8rem) clamp(0.8rem, 0.6rem + 0.7vw, 1.2rem);
  background: #ffffff;
  border: 0.0625rem solid var(--color-line);
  border-radius: 0.85rem;
  box-shadow: var(--shadow-soft);
  color: var(--color-ink) !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  font-weight: 700;
  font-size: clamp(0.82rem, 0.78rem + 0.18vw, 0.95rem);
  line-height: 1.2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.footer-tile:hover {
  border-color: rgba(18, 63, 52, 0.4);
  box-shadow: 0 0.7rem 1.6rem rgba(18, 63, 52, 0.12);
  transform: translateY(-0.15rem);
}

.footer-tile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(2.1rem, 1.8rem + 1.2vw, 2.6rem);
  height: clamp(2.1rem, 1.8rem + 1.2vw, 2.6rem);
  border-radius: 0.6rem;
  background: var(--color-soft-green);
  color: var(--color-green);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15em;
}

.footer-tile-icon svg {
  width: 56%;
  height: 56%;
}

.footer-tile-label {
  min-width: 0;
}

.footer-tile-icon--phone {
  background: var(--color-green);
  color: #ffffff;
}

.footer-tile-icon--kununu {
  background: #2d8a4e;
  color: #ffffff;
}

.footer-tile-icon--badge {
  background: var(--color-green);
  color: #ffffff;
}

.footer-tile-icon--standort {
  background: #1e8b9a;
  color: #ffffff;
}

.footer-tile-icon--partner {
  background: var(--color-brand);
  color: #ffffff;
}

.footer-baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-top: var(--space-3);
  text-align: center;
  font-size: clamp(0.8rem, 0.75rem + 0.18vw, 0.9rem);
  color: var(--color-muted);
}

.footer-baseline a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-baseline a:hover {
  color: var(--color-green);
}

@media (min-width: 48rem) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(min(100%, 18rem), 0.85fr);
  }

  .hero-card {
    transform: translate(clamp(0.75rem, 2vw, 2rem), clamp(-4rem, -5vw, -2rem));
  }

  .grid.three {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  }

  .trust-row {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .hero .cta-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  }

  .grid.two {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  }

  /* Impressum: ungleiche letzte Reihe vermeiden – Karten bleiben gleich breit */
  .grid.two.legal-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  }

  .section-head {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    align-items: end;
  }

}

@media (max-width: 48rem) {
  h1,
  h2 {
    max-width: 100%;
  }

  .section-head,
  .split > div,
  .flow-offset > div:first-child {
    text-align: center;
  }


  .hero h1,
  .hero .lead {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .hero {
    padding-block: clamp(2.4rem, 1.4rem + 8vw, 4rem);
  }

  .form-card {
    padding: clamp(1rem, 0.7rem + 5vw, var(--space-3));
  }

  .footer-grid {
    align-items: flex-start;
  }
}

@media (max-width: 36rem) {
  .nav-wrap,
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .brand-logo img {
    width: clamp(2.35rem, 13vw, 3rem);
    height: clamp(2.35rem, 13vw, 3rem);
    max-height: clamp(2.35rem, 13vw, 3rem);
  }

  .brand-logo-name {
    font-size: clamp(0.92rem, 5.4vw, 1.18rem);
  }

  .brand-logo-subline {
    font-size: clamp(0.36rem, 2.2vw, 0.48rem);
  }

  .footer-brand img {
    width: clamp(14.52rem, 87.12vw, 23.232rem);
    max-height: clamp(3.9204rem, 3.1944rem + 2.6136vw, 6.2436rem);
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: calc(0.45rem + 5px);
  }

  .footer-grid > div:first-child,
  .footer-brand {
    justify-content: center;
    margin-left: 0;
  }

  .footer-grid > div:first-child {
    width: 100%;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: center;
  }

  .footer-grid > div:first-child p {
    font-size: 15px;
  }

  .footer-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-phone {
    width: fit-content;
    align-self: center;
    justify-content: center;
    margin-inline: auto;
  }

  .footer-brand {
    width: auto;
    justify-content: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .button,
  .cta-row .button {
    width: 100%;
  }

  .trust-pill {
    align-items: flex-start;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .card:hover,
  .button:hover,
  .nav-cta:hover {
    transform: none;
  }

  .performance-card__donut-wrap {
    padding: 1rem;
  }

  .performance-card__donut-legend {
    gap: 0.6rem 1rem;
  }
}

@media (min-width: 75rem) {
  .hero-card {
    transform: translate(clamp(1.5rem, 3.5vw, 3.125rem), clamp(-8.125rem, -8.5vw, -4rem));
  }

  .hero .cta-row .button,
  .hero .cta-row .button.secondary,
  .hero .hero-btn-bar .button,
  .hero .hero-btn-bar .button.secondary {
    border: 0.0625rem solid #ffffff !important;
  }

  .hero .cta-row .button.ghost,
  .hero .hero-btn-bar .button.ghost {
    border: 0.0625rem solid #000000 !important;
  }
}

@media (max-width: 62rem) {
  .nav-wrap {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-call-btn {
    display: none;
  }

  .nav-call-btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-block: var(--space-1);
    border-top: 0.0625rem solid var(--color-line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-dropdown-trigger,
  .nav-cta {
    padding-block: 0.6rem;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    line-height: 1.25;
  }

  .main-nav a,
  .nav-dropdown,
  .nav-dropdown-trigger {
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    font-size: clamp(1.2rem, 4.4vw, 1.45rem);
  }

  .nav-dropdown {
    display: grid;
    justify-items: center;
  }

  .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    justify-items: center;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    transform: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 40rem;
    opacity: 1;
  }

  .nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: translateY(0.04em) rotate(-135deg);
  }

  .main-nav .nav-dropdown-menu a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding-block: 0.45rem;
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: var(--color-muted);
  }
}

@media (max-width: 62rem) {
  .hero.hero--image-bg {
    --hero-mobile-media: clamp(25rem, 72vh, 35rem);
    --hero-mobile-actions: calc(clamp(7.4rem, 30vw, 10rem) + 40px);
    min-height: calc(var(--hero-mobile-media) + var(--hero-mobile-actions));
    align-items: flex-start;
    overflow: visible;
    background: #ffffff;
    padding-block: 0;
  }

  .hero.hero--image-bg:has(.cta-row .button:nth-of-type(3)) {
    --hero-mobile-actions: calc(clamp(7.4rem, 30vw, 10rem) + 300px);
  }

  .hero.hero--image-bg::before {
    inset: 0 0 auto;
    height: var(--hero-mobile-media);
    background-size: cover;
    background-position: center center;
  }

  .hero.hero--image-bg::after {
    inset: 0 0 auto;
    height: var(--hero-mobile-media);
    background: linear-gradient(
      to bottom,
      rgba(18, 63, 52, 0.24) 0%,
      rgba(18, 63, 52, 0.58) 48%,
      rgba(18, 63, 52, 0.9) 100%
    );
  }

  .hero.hero--image-bg .container {
    display: flex;
    width: min(calc(100% - 6rem), var(--container));
    max-width: calc(100% - 6rem);
    min-height: var(--hero-mobile-media);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(2.2rem, 10vw, 4rem);
    padding-bottom: clamp(1.1rem, 4vw, 1.6rem);
  }

  .hero.hero--image-bg h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 6.6vw, 1.75rem);
    line-height: 1.02;
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
    hyphens: none;
  }

  .hero.hero--image-bg .lead {
    width: 100%;
    max-width: 100%;
    font-size: clamp(0.95rem, 4.4vw, 1.08rem);
    line-height: 1.45;
    margin-top: clamp(0.8rem, 3vw, 1.2rem);
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
    hyphens: none;
  }

  .hero.hero--image-bg .cta-row {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(var(--hero-mobile-media) + clamp(0.9rem, 4vw, 1.3rem) + 20px);
    bottom: auto;
    z-index: 2;
    width: auto;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.5rem, 0.38rem + 0.6vw, 0.85rem);
    transform: none !important;
  }

  .hero.hero--image-bg .button {
    flex-shrink: 0;
    width: 100%;
    min-height: clamp(2.75rem, 7vw, 3.2rem);
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 3vw, 1.4rem);
    border: 0.0625rem solid #000000;
    border-radius: 999rem;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    transform: none !important;
  }

  .hero:not(.hero--bg) .button {
    width: 100%;
  }

  .hero.hero--image-bg.locations-hero .cta-row .button,
  .hero.hero--image-bg.services-hero .cta-row .button,
  .hero.hero--image-bg.ratgeber-hero .cta-row .button,
  .hero.hero--bg.home-hero .hero-btn-bar .button,
  .hero.hero--bg.home-hero .hero-btn-bar .button.secondary,
  .hero.hero--bg.home-hero .hero-btn-bar .button.ghost,
  .section .cta-row .button,
  .section .cta-row .button.secondary,
  .section .cta-row .button.ghost {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border: 0.0625rem solid #000000 !important;
    border-radius: 999rem !important;
    white-space: normal !important;
    text-align: center !important;
    transform: none !important;
    flex: none !important;
    min-width: 0 !important;
  }

  .section .cta-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(0.5rem, 0.38rem + 0.6vw, 0.85rem) !important;
    width: 100%;
  }
}

@media (max-width: 48rem) {
  html {
    font-size: 19px;
  }
}

@media (max-width: 36rem) {
  html {
    font-size: 19px;
  }
}

@media (max-width: 75rem) {
  #main-content {
    --home-mobile-btn-inset: calc((100% - min(calc(100% - 6rem), var(--container))) / 2 + 1.5rem);
  }

  #main-content .section .container.split {
    width: min(calc(100% - 6rem), var(--container)) !important;
    max-width: calc(100% - 6rem) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  #main-content .section .cta-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(0.5rem, 0.38rem + 0.6vw, 0.85rem) !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  #main-content .section .cta-row .button,
  #main-content .section .cta-row .button.secondary,
  #main-content .section .cta-row .button.ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
    height: auto !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border: 0.0625rem solid #000000 !important;
    border-radius: 999rem !important;
    white-space: normal !important;
    text-align: center !important;
    transform: none !important;
    flex: none !important;
    min-width: 0 !important;
  }
}

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

/* Arzt palette overrides: buttons, section backgrounds and tiles */
:root {
  --arzt-brand: #1e8b9a;
  --arzt-brand-dark: #126775;
  --arzt-soft: #edf8fa;
  --arzt-line: #d8e7ea;
  --arzt-card-tint: rgba(210, 240, 245, 0.9);
}

.button,
.nav-call-btn {
  background: var(--arzt-brand);
  border-color: var(--arzt-brand);
}

.button:hover,
.nav-call-btn:hover {
  background: var(--arzt-brand-dark);
  border-color: var(--arzt-brand-dark);
}

.button.secondary {
  background: #46b5c3;
  border-color: #46b5c3;
}

.button.secondary:hover {
  background: var(--arzt-brand-dark);
  border-color: var(--arzt-brand-dark);
}

.button.ghost {
  background: #ffffff;
  color: var(--arzt-brand-dark);
  border-color: var(--arzt-brand-dark);
}

.button.ghost:hover {
  background: var(--arzt-brand-dark);
  color: #ffffff;
  border-color: var(--arzt-brand-dark);
}

@media (max-width: 62rem) {
  .nav-call-btn {
    background: #46b5c3;
    border-color: #46b5c3;
    color: #ffffff;
  }

  .nav-call-btn:hover {
    background: var(--arzt-brand-dark);
    border-color: var(--arzt-brand-dark);
    color: #ffffff;
  }
}

.hero-call-btn,
.button.hero-call-btn {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
}

.hero-call-btn:hover,
.button.hero-call-btn:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: #ffffff;
}

.section.alt {
  background: var(--arzt-soft);
}

.card,
.hero-card,
.notice,
.form-card,
.location-card,
.locations-step-card,
.service-detail-card,
.service-info-card,
.advantage-card,
.lizenz-card {
  border-color: var(--arzt-line);
}

.service-cards .card,
.step-cards .card,
.locations-step-card,
.service-detail-card,
.editorial-plan .card {
  background: var(--arzt-card-tint);
}

.service-info-card,
.article-list .card {
  background: rgba(30, 139, 154, 0.18);
  border-color: rgba(30, 139, 154, 0.4);
}

.card:hover,
.article-list .card:hover,
.article-list .card:focus-within,
.editorial-plan .card:hover {
  border-color: rgba(30, 139, 154, 0.45);
}

/* Mobile readable type scale */
@media (max-width: 48rem) {
  html {
    font-size: 16px;
  }

  section {
    border-top: 0.5px solid #000000;
    border-bottom: 0.5px solid #000000;
  }

  .about-card,
  .about-principle-card,
  .article-list .card,
  .budget-info-card,
  .career-card,
  .category-card,
  .editorial-plan .card,
  .login-card,
  .service-info-card,
  .service-overview-card,
  [style*="background: rgba(30, 139, 154"],
  [style*="background:rgba(30,139,154"],
  [style*="background: linear-gradient"][style*="rgba(30, 139, 154"],
  [style*="background:linear-gradient"][style*="rgba(30,139,154"] {
    background: rgba(210, 240, 245, 0.9) !important;
  }

  body,
  p,
  li,
  input,
  select,
  textarea,
  .card p,
  .card li,
  .plain-list li,
  .check-list li {
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .lead,
  .section-head p {
    font-size: 1.1875rem;
    line-height: 1.6;
  }

  .eyebrow,
  .button,
  .nav-cta {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.125rem);
    line-height: 1.12;
  }

  h3,
  .card h3,
  .service-cards h3,
  .step-cards h3 {
    font-size: 1.5rem;
    line-height: 1.18;
  }
}

.card,
.hero-card,
.notice,
.form-card,
.location-card,
.locations-step-card,
.service-detail-card,
.service-info-card,
.service-overview-card,
.service-step-card,
.advantage-card,
.lizenz-card,
.about-card,
.about-principle-card,
.article-list .card,
.budget-info-card,
.career-card,
.career-benefit-card,
.career-offer,
.career-profile,
.career-story-card,
.category-card,
.editorial-plan .card,
.login-card,
.faq details,
.info-box,
.numbered-list-card,
.audience-card {
  border: 0.1rem solid rgba(0, 0, 0, 0.6) !important;
  border-color: rgba(0, 0, 0, 0.6) !important;
}

.section--service-gray .notice {
  border: 0 !important;
}

.mobile-back-top {
  display: none;
}

@media (max-width: 48rem) {
  .mobile-back-top {
    display: flex;
    justify-content: center;
    width: min(calc(100% - 6rem), var(--container));
    margin-inline: auto;
    padding: 1.25rem 0 1.5rem;
    background: #ffffff;
  }

  .mobile-back-top-button {
    display: inline-grid;
    place-items: center;
    width: 100%;
    min-height: 50px;
    padding: 10px 20px;
    border: 0.0625rem solid #000000;
    border-radius: 999rem;
    background: #1e8b9a;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
  }

  .mobile-back-top-button svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: currentColor;
  }
}

@media (min-width: 48.0625rem) {
  .mobile-back-top {
    display: flex;
    justify-content: center;
    width: min(calc(100% - 6rem), var(--container));
    margin-inline: auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: transparent;
  }

  .mobile-back-top-button {
    display: inline-grid;
    place-items: center;
    width: clamp(2.6rem, 1.8rem + 1.6vw, 3.2rem);
    height: clamp(2.6rem, 1.8rem + 1.6vw, 3.2rem);
    min-height: 0;
    padding: 0;
    border: 0.0625rem solid #000000;
    border-radius: 999rem;
    background: #000000;
    color: #ffffff;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.28);
    cursor: pointer;
  }

  .mobile-back-top-button:hover {
    background: #1a1a1a;
  }

  .mobile-back-top-button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
  }
}

.step-cards .card h3,
.service-step-card h3 {
  font-size: clamp(1.45rem, 1.15rem + 1vw, 1.85rem) !important;
  line-height: 1.12 !important;
}

.step-cards .card p,
.step-cards .card li,
.service-step-card p,
.service-step-card li {
  font-size: clamp(1.18rem, 1.02rem + 0.52vw, 1.35rem) !important;
  line-height: 1.55 !important;
}

body,
body * {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* ===== Rechts-/Infoseiten: Datenschutz, Impressum, Barrierefreiheit ===== */
.legal-page .eyebrow {
  font-size: clamp(0.7rem, 0.66rem + 0.15vw, 0.8rem);
}
.legal-page h1 {
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 2rem);
  max-width: 32ch;
  letter-spacing: -0.02em;
}
.legal-page h2 {
  font-size: clamp(1.08rem, 0.96rem + 0.6vw, 1.4rem);
  max-width: none;
}
.legal-page h3 {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
}
.legal-page .prose {
  max-width: 50rem;
}
.legal-page .prose h2:first-child {
  margin-top: 0;
}
.legal-page .prose h2 {
  margin-top: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  margin-bottom: 0.4rem;
  color: var(--color-green);
}
.legal-page .prose h3 {
  margin-top: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  margin-bottom: 0.25rem;
  color: var(--color-ink);
}
.legal-page .prose p {
  margin-top: 0.75rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 50rem;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
}
.legal-page .prose a:not(.button) {
  color: var(--color-brand-dark);
  font-weight: 600;
}
.legal-page .prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  line-height: 1.7;
}
.legal-page .prose li {
  margin-top: 0.35rem;
}
