@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1b2b;
  --sea: #0f2a43;
  --sea-2: #16395b;
  --teal: #2dd4bf;
  --teal-dark: #0f9d8c;
  --amber: #f5b041;
  --paper: #f6f1e7;
  --paper-2: #ece4d3;
  --text: #17293a;
  --muted: #5b6b7a;
  --line: rgba(23, 41, 58, 0.12);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 27, 43, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; display: block; }
.brand em { font-style: normal; color: var(--teal); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.98rem;
}
.nav a:hover { color: #fff; }

.lang { display: flex; gap: 4px; }
.lang button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px 9px;
  cursor: pointer;
}
.lang button.active {
  color: var(--ink);
  background: var(--teal);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(245, 176, 65, 0.10), transparent 60%),
    linear-gradient(160deg, var(--sea-2), var(--ink) 65%);
}
/* Kartennetz */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 104px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(45, 212, 191, 0.10);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin: 22px 0 20px;
}
.hero h1 span { color: var(--teal); }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  margin: 0 0 32px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 24px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #5ee6d4; }
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero-art svg { width: 100%; height: auto; display: block; }
.scanline { animation: scan 3.6s ease-in-out infinite; }
@keyframes scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(190px); }
}
@media (prefers-reduced-motion: reduce) {
  .scanline { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Abschnitte ---------- */
section.block { padding: 96px 0; }
section.paper { background: var(--paper); }
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 10px;
}
h2.title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 14px;
}
p.sub { color: var(--muted); max-width: 40em; margin: 0 0 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3, .card h3 { font-size: 1.2rem; margin: 0 0 8px; font-weight: 600; }
.step p, .card p { margin: 0; color: var(--muted); font-size: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(11, 27, 43, 0.35);
}
.card svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal-dark);
  margin-bottom: 16px;
}

/* Hinweise */
.notes {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 24px;
}
.note {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
}
.note h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.note p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Abschluss */
.cta {
  color: #fff;
  text-align: center;
  background: linear-gradient(160deg, var(--sea-2), var(--ink));
}
.cta h2.title { margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.75); max-width: 36em; margin: 0 auto 30px; }

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.site-footer nav { display: flex; gap: 24px; margin-left: auto; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 28px;
}
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 6px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal address { font-style: normal; margin: 0 0 14px; }

/* ---------- Schmal ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .steps, .cards, .notes { grid-template-columns: 1fr; }
  section.block { padding: 68px 0; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .site-footer nav { margin-left: 0; }
}
