:root {
  --bg: #f3f7fb;
  --white: #ffffff;
  --ink: #0b2942;
  --muted: #5b6b7b;
  --primary: #0b7a8f;
  --primary2: #0a5f73;
  --line: #e6eef6;
  --shadow: 0 16px 40px rgba(9, 32, 56, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  background: var(--bg);
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

/* =========================
   Topbar / Brand
   ========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 247, 251, 0.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(230, 238, 246, 0.9);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 42px;
  height: 42px;
  display: block;
}

.brand__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.1;
}

.brand__it {
  color: var(--primary);
  font-weight: 900;
}

.brand__tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.nav__cta {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 122, 143, 0.18);
  background: rgba(11, 122, 143, 0.10);
  color: var(--primary2) !important;
  font-weight: 700;
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  padding: 44px 0 120px;
  /* Platz für Wave */
  background:
    radial-gradient(1100px 520px at 10% 0%, rgba(11, 122, 143, 0.12), transparent 50%),
    radial-gradient(900px 440px at 95% 20%, rgba(10, 95, 115, 0.10), transparent 50%),
    linear-gradient(180deg, #ffffff, #f3f7fb 60%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 122, 143, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 18px 36px rgba(11, 122, 143, 0.26);
}

.btn--ghost {
  background: #fff;
  color: var(--primary2);
  border-color: rgba(11, 122, 143, 0.24);
}

.hero__checks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* Right panels */
.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 238, 246, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.checklist li {
  margin: 6px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(230, 238, 246, 0.95);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(9, 32, 56, 0.06);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* =========================
   Wave (single path only)
   ========================= */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  pointer-events: none;
}

.wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave--hero path {
  fill: #0b4f66;
  /* Übergang in den dunkleren Bereich */
}

@media (max-width: 768px) {
  .wave {
    height: 80px;
  }
}

/* =========================
   Sections
   ========================= */
.section {
  padding: 54px 0;
  position: relative;
}

/* Wichtig: light = bg, damit Übergang nicht „hart“ wirkt */
.section--light {
  background: var(--bg);
}

.section--soft {
  background: #f7fbff;
}

.section--dark {
  background: linear-gradient(180deg, #0b4f66, #0b2f45);
  color: #fff;
}

.section--contact {
  background: linear-gradient(180deg, #0b2f45, #0b1f33);
  color: #fff;
  padding-bottom: 70px;
}

h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
}

.section--dark .subhead,
.section--dark .muted,
.section--contact .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section--light .card h3 {
  margin-top: 18px;
}

.section--light .card p {
  line-height: 1.6;
}

/* =========================
   Cards
   ========================= */
.cards {
  display: grid;
  gap: 14px;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(9, 32, 56, 0.08);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.card--outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.card--outline p {
  color: rgba(255, 255, 255, 0.78);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 122, 143, 0.10);
  color: var(--primary2);
  font-weight: 900;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

/* =========================
   Steps
   ========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(9, 32, 56, 0.08);
}


.step__num {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 22px;
  color: rgba(11, 122, 143, 0.50);
  margin-bottom: 10px;
  opacity: 0.75;
}


.step--active h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================
   Contact
   ========================= */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.contact__card {
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.contact__row {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact__formCard {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-success-text {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Form */
.form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(11, 41, 66, 0.75);
  margin: 12px 0 6px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(230, 238, 246, 0.95);
  background: #fff;
  outline: none;
  font-size: 14px;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(11, 122, 143, 0.35);
  box-shadow: 0 0 0 4px rgba(11, 122, 143, 0.10);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(11, 41, 66, 0.60);
}

.fieldError {
  margin-top: 6px;
  font-size: 12px;
  color: #b42318;
}

.errorBox {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(180, 35, 24, 0.25);
  background: rgba(180, 35, 24, 0.08);
  color: #7a1a12;
}

.successBox {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 123, 77, 0.20);
  background: rgba(18, 123, 77, 0.08);
}

.successBox h3 {
  margin: 0 0 6px;
}

/* =========================
   Footer
   ========================= */
.footer {
  background: #081f33;
  color: rgba(255, 255, 255, 0.72);
  padding: 22px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 90px;
  }

  /* passend zur 80px wave */
  .cards--3 {
    grid-template-columns: 1fr;
  }

  .cards--2 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }
}