@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Poppins-700.woff2") format("woff2"); }

:root {
  --navy: #071B3C;
  --navy-2: #10295A;
  --blau: #0865F5;
  --blau-dunkel: #0757D4;
  --blau-hell: #E8F0FE;
  --cyan: #08CBE5;
  --mint: #20D9A6;
  --mint-dunkel: #0B8462;
  --mint-hell: #E3F8F1;
  --grund: #F5F8FC;
  --weiss: #FFFFFF;
  --linie: #E2E8F1;
  --text: #0F172A;
  --text-2: #475569;
  --text-hell: #B9C6DB;
  --rot: #B42318;
  --rot-hell: #FEF3F2;

  --schrift: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --rand: clamp(20px, 4vw, 40px);
  --breite: 1200px;
  --abstand: clamp(72px, 9vw, 120px);
  --radius: 16px;
  --schatten: 0 1px 2px rgba(7, 27, 60, 0.04), 0 24px 48px -28px rgba(7, 27, 60, 0.28);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--navy); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--navy); color: #fff; }
html { scroll-padding-top: 84px; }

:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

.symbole { position: absolute; width: 0; height: 0; overflow: hidden; }

.sprung {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.sprung:focus { top: 12px; }

.rahmen {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.rahmen--schmal { max-width: calc(800px + 2 * var(--rand)); }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 18px; height: 18px; }
.knopf--blau { background: var(--blau); color: #fff; }
.knopf--rand { background: var(--weiss); border-color: #CBD5E3; color: var(--navy); }
.knopf--weiss { background: #fff; color: var(--navy); }
.knopf--klein { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.knopf--breit { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .knopf--blau:hover { background: var(--blau-dunkel); }
  .knopf--rand:hover { border-color: var(--navy); }
  .knopf--weiss:hover { background: var(--blau-hell); }
}

.haken { display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 32px; color: var(--text); }
.haken svg {
  position: absolute;
  left: 0;
  top: calc(0.825em - 11px);
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 50%;
  background: var(--mint-hell);
  color: var(--mint-dunkel);
}
.haken--reihe { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9375rem; }
.haken--reihe li { color: var(--text-2); }

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--linie);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.kopf__innen {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.marke img { width: 32px; height: 32px; }
.kopf__navi { display: flex; gap: 4px; margin-left: auto; }
.kopf__navi a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .kopf__navi a:hover { background: var(--grund); color: var(--navy); }
}
@media (max-width: 759px) {
  .kopf__navi { display: none; }
  .kopf .knopf { margin-left: auto; }
}

.held {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background: var(--grund);
}
.held__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--weiss);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}
.marker svg { flex: none; width: 16px; height: 16px; color: var(--blau); }
.held h1 {
  font-size: clamp(1.875rem, 1.2rem + 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: wrap;
}
.held h1 .zeile { display: block; }
@media (min-width: 1024px) {
  .held__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: 48px; }
  .held h1 { font-size: clamp(2rem, 4.2vw - 6px, 3rem); }
}
.akzent { color: var(--blau); }
.nb { white-space: nowrap; }
.held__satz {
  max-width: 34rem;
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }

.fenster {
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--weiss);
  box-shadow: var(--schatten);
}
.fenster__leiste {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--linie);
  background: var(--weiss);
}
.fenster__punkte { display: flex; gap: 6px; }
.fenster__punkte i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE6; }
.fenster__titel {
  padding: 2px 12px;
  border-radius: 6px;
  background: var(--grund);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
}
.fenster img { width: 100%; }

.abschnitt { padding: var(--abstand) 0; }
.abschnitt--weiss { background: var(--weiss); }
.kopfzeile { max-width: 46rem; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.kopfzeile h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.kopfzeile p { margin-top: 12px; color: var(--text-2); font-size: 1.0625rem; }

.karte {
  padding: 28px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}
.karte h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; }
.karte p { margin-top: 8px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }

.bausteine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bausteine .karte { background: var(--grund); border-color: transparent; }
.karte__titel { display: flex; align-items: center; gap: 10px; }
.karte__titel svg { flex: none; width: 24px; height: 24px; color: var(--blau); }
@media (max-width: 1199px) { .bausteine { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .bausteine { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

.funktion {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.funktion + .funktion { margin-top: clamp(64px, 8vw, 112px); }
@media (min-width: 1024px) {
  .funktion { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .funktion--gedreht { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .funktion--gedreht .funktion__text { order: 2; }
}
.funktion__text { max-width: 30rem; }
.marke-klein {
  margin-bottom: 10px;
  color: var(--blau-dunkel);
  font-size: 0.875rem;
  font-weight: 600;
}
.funktion h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.funktion__text > p:not(.marke-klein) { margin-top: 14px; color: var(--text-2); font-size: 1.0625rem; }
.funktion .haken { margin-top: 24px; }

.schritte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.schritt__nr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
}
@media (max-width: 759px) { .schritte { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.preiskarte {
  max-width: 470px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--schatten);
}
.preiskarte__name { color: var(--blau-dunkel); font-size: 0.875rem; font-weight: 600; }
.preiskarte__preis { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.preiskarte__preis b {
  color: var(--navy);
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.preiskarte__preis span { color: var(--text-2); font-size: 1.0625rem; }
.preiskarte__zusatz { margin-top: 4px; color: var(--text-2); }
.preiskarte .haken { margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--linie); }
.preiskarte__mwst { margin-top: 16px; color: var(--text-2); font-size: 0.8125rem; text-align: center; }

.fragen { display: grid; gap: 12px; }
.frage {
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--weiss);
  transition: border-color 160ms ease;
}
.frage[open] { border-color: #C9D6EA; background: var(--grund); }
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px 14px 24px;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:focus-visible { outline-offset: -3px; }
.frage__zeichen {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blau-hell);
}
.frage__zeichen::before,
.frage__zeichen::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--blau);
  transition: transform 200ms ease;
}
.frage__zeichen::after { transform: rotate(90deg); }
.frage[open] .frage__zeichen::after { transform: rotate(0deg); }
.frage p { padding: 0 24px 20px; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .frage:not([open]):hover { border-color: #C9D6EA; }
}

.abschnitt--schluss { padding-top: 0; }
.aufruf {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: 24px;
  background: var(--weiss);
  box-shadow: var(--schatten);
}
.aufruf__text {
  padding: clamp(36px, 6vw, 56px) clamp(20px, 5vw, 56px);
  background: var(--blau);
  color: #fff;
  text-align: center;
}
.aufruf h2 {
  color: #fff;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.aufruf__text p { margin: 12px auto 0; max-width: 32rem; font-size: 1.0625rem; }
@media (min-width: 1024px) {
  .aufruf { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .aufruf__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 5vw, 64px);
    text-align: left;
  }
  .aufruf__text p { margin-left: 0; }
}

.anfrage {
  container-type: inline-size;
  padding: clamp(20px, 4vw, 48px);
  color: var(--text);
}
.anfrage__felder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px 16px;
}
@container (min-width: 440px) {
  .anfrage__felder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feld--breit { grid-column: 1 / -1; }
}

.feld { display: grid; gap: 6px; align-content: start; }
.feld label,
.wahl legend {
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.feld__zusatz { color: var(--text-2); font-weight: 400; }
.feld input,
.feld textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #CBD5E3;
  border-radius: 10px;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 160ms ease;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld ::placeholder { color: #64748B; opacity: 1; }
.feld :is(input, textarea):focus-visible { border-color: var(--blau); border-radius: 10px; outline-offset: 1px; }
.feld [aria-invalid="true"] { border-color: var(--rot); }
@media (hover: hover) and (pointer: fine) {
  .feld :is(input, textarea):hover:not(:focus) { border-color: #94A3B8; }
  .feld [aria-invalid="true"]:hover:not(:focus) { border-color: var(--rot); }
}
.feld__fehler { color: var(--rot); font-size: 0.875rem; font-weight: 500; line-height: 1.45; }

.wahl { min-width: 0; margin: 0; padding: 0; border: 0; }
.wahl legend { padding: 0; margin-bottom: 6px; }
.wahl__optionen { display: flex; gap: 12px; }
.wahl__option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 140px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #CBD5E3;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.wahl__option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blau); }
.wahl__option input:focus-visible { outline: none; }
.wahl__option:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: 1px; }
.wahl__option:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); }
.wahl__option:has([aria-invalid="true"]) { border-color: var(--rot); }
@media (hover: hover) and (pointer: fine) {
  .wahl__option:not(:has(input:checked)):hover { border-color: #94A3B8; }
}
.wahl .feld__fehler { margin-top: 6px; }
.wahl__welches { display: none; margin-top: 16px; }
.wahl:has(input[value="Ja"]:checked) .wahl__welches { display: grid; }

.anfrage__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.anfrage__status { margin-top: 24px; }
.anfrage__status:empty { margin-top: 0; }
.anfrage__status[data-art="laeuft"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.anfrage__status[data-art="fehler"] {
  padding: 12px 16px;
  border: 1px solid #F3C6C1;
  border-radius: 10px;
  background: var(--rot-hell);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.anfrage__status a { color: var(--blau-dunkel); font-weight: 600; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.anfrage .knopf { margin-top: 24px; }
.anfrage__status:not(:empty) + .knopf { margin-top: 16px; }
.anfrage .knopf[aria-disabled="true"] { background: var(--blau-dunkel); cursor: progress; }
.anfrage__hinweis { margin-top: 14px; color: var(--text-2); font-size: 0.8125rem; text-align: center; }
.anfrage__hinweis a { color: var(--navy); text-underline-offset: 0.2em; }

.anfrage__danke { display: grid; justify-items: center; gap: 16px; padding: clamp(32px, 6vw, 64px) 0; text-align: center; }
.anfrage__danke[hidden] { display: none; }
.anfrage__danke svg {
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 50%;
  background: var(--mint-hell);
  color: var(--mint-dunkel);
}
.anfrage__danke h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.anfrage__danke h3:focus { outline: none; }

.fuss { background: var(--navy); color: var(--text-hell); font-size: 0.9375rem; }
.fuss__innen {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.fuss .marke { color: #fff; }
.fuss__marke p { margin-top: 12px; max-width: 22rem; }
.fuss__titel { margin-bottom: 8px; color: #fff; font-weight: 600; }
.fuss__kontakt a,
.fuss__recht a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  color: var(--text-hell);
  text-decoration: underline;
  text-decoration-color: rgba(185, 198, 219, 0.4);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .fuss__kontakt a:hover,
  .fuss__recht a:hover { color: #fff; text-decoration-color: currentColor; }
}
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  position: relative;
  font-size: 0.8125rem;
}
.fuss__unten::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--rand);
  right: var(--rand);
  height: 1px;
  background: rgba(185, 198, 219, 0.18);
}
.fuss :focus-visible { outline-color: #fff; }
@media (max-width: 759px) {
  .fuss__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fuss__marke { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .held { padding-top: 40px; }
  .knoepfe .knopf { flex: 1 1 100%; }
  .karte { padding: 24px; }
  .fenster { border-radius: 10px; }
  .fenster__leiste { min-height: 28px; padding: 4px 10px; }
  .fenster__punkte i { width: 8px; height: 8px; }
  .fenster__titel { font-size: 0.6875rem; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
