@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("rubik-latin.woff2") format("woff2");
}

:root {
  --navy: #1b1464;
  --indigo: #211dca;
  --ink: #23223a;
  --muted: #5a5e72;
  --teal: #2a868d;
  --aqua: #75ced4;
  --line: #dde3e8;
  --paper: #ffffff;
  --mist: #f3f6f8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--navy); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 46rem; }

/* Kopfzeile */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; }
.brand .name { font-weight: 500; font-size: 1.1875rem; color: var(--navy); letter-spacing: 0.01em; }
.brand .name span { font-weight: 400; color: var(--teal); }
.top nav { display: flex; align-items: center; gap: 1.75rem; font-size: 0.975rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--teal); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--indigo); color: #fff; }
.top nav .btn { padding: 0.5rem 1.1rem; color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--aqua); color: var(--navy); }

main { flex: 1; }

.eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Einstieg */
.hero { background: radial-gradient(ellipse 80% 90% at 85% 10%, #e3f3f5 0%, #f3f6f8 45%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 9vw, 6.5rem);
}
.hero h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { max-width: 34rem; margin-top: 1.5rem; font-size: 1.1875rem; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.hero .mark { justify-self: center; width: min(19rem, 100%); height: auto; filter: drop-shadow(0 24px 40px rgba(27, 20, 100, 0.16)); }

/* Abschnitte */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section.tint { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  max-width: 36rem;
  font-size: clamp(1.625rem, 3.6vw, 2.25rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}
.section .intro { max-width: 38rem; margin-top: 1rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.75rem 0 0; padding: 0; list-style: none; }
.cards li { padding: 1.75rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.cards svg { display: block; width: 1.75rem; height: 1.75rem; margin-bottom: 1.1rem; color: var(--teal); }
.cards h3 { font-size: 1.125rem; font-weight: 500; color: var(--navy); }
.cards p { margin-top: 0.5rem; font-size: 1rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 2.75rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.125rem; font-weight: 500; color: var(--navy); }
.steps p { margin-top: 0.5rem; font-size: 1rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 3rem 4rem; align-items: start; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.facts h3 { font-size: 1.0625rem; font-weight: 500; color: var(--navy); }
.facts p { margin-top: 0.3rem; font-size: 1rem; color: var(--muted); }

/* Kontakt */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; padding-top: clamp(3rem, 7vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.cta .eyebrow { color: var(--aqua); }
.cta h2 { max-width: 30rem; font-size: clamp(1.625rem, 3.6vw, 2.25rem); line-height: 1.2; font-weight: 500; text-wrap: balance; }
.cta p { max-width: 32rem; margin-top: 0.9rem; color: #cfd0ea; }
.cta .mailto { text-align: right; }
.cta .mailto small { display: block; margin-top: 0.8rem; font-size: 0.9375rem; color: #cfd0ea; }

/* Rechtstexte */
.legal { padding: 3rem 0 4.5rem; }
.legal h1 { margin-bottom: 2rem; font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
.legal h2 { margin: 2.5rem 0 0.5rem; font-size: 1.125rem; font-weight: 500; color: var(--navy); }
.legal h3 { margin: 1.5rem 0 0.25rem; font-size: 1rem; font-weight: 500; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.legal .stand { margin-top: 2.5rem; color: var(--muted); font-size: 0.9375rem; }

footer { border-top: 1px solid var(--line); background: var(--paper); }
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
footer nav { display: flex; gap: 1.5rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--navy); text-decoration: underline; }

@media (max-width: 60rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .top nav a:not(.btn) { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero .mark { order: -1; justify-self: start; width: 7.5rem; }
  .cta .mailto { text-align: left; }
}

@media (max-width: 34rem) {
  .cards, .steps { grid-template-columns: 1fr; }
  .brand .name { font-size: 1.0625rem; }
}
