:root {
  --red: #d10000;
  --red-deep: #9b0000;
  --red-soft: rgba(209, 0, 0, 0.1);
  --navy: #152238;
  --ink: #152238;
  --muted: #4a5568;
  --line: rgba(21, 34, 56, 0.12);
  --paper: #ffffff;
  --sand: #f7f4f2;
  --card: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 92% -5%, rgba(209, 0, 0, 0.14), transparent 62%),
    radial-gradient(700px 380px at -8% 18%, rgba(209, 0, 0, 0.08), transparent 58%),
    radial-gradient(500px 280px at 50% 100%, rgba(209, 0, 0, 0.06), transparent 70%),
    linear-gradient(165deg, #ffffff 0%, #faf7f5 45%, #fff 100%);
}
.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
}
.page-bg::before {
  width: 520px;
  height: 220px;
  right: -120px;
  top: 28%;
  background: linear-gradient(120deg, transparent, rgba(209, 0, 0, 0.22), rgba(255, 255, 255, 0.9));
  transform: rotate(-12deg);
}
.page-bg::after {
  width: 640px;
  height: 180px;
  left: -180px;
  bottom: 12%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.95), rgba(209, 0, 0, 0.16), transparent);
  transform: rotate(8deg);
}

.takt { color: var(--red); font-weight: 850; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap, .footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.top .wrap { min-height: 72px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  color: var(--navy);
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #ff3b30, var(--red) 45%, var(--red-deep));
  box-shadow: 0 8px 18px rgba(209, 0, 0, 0.28);
  position: relative;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 7px 8px 9px 9px;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(209, 0, 0, 0.15);
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 650; }
.nav a:hover { color: var(--red); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; padding: 54px 0 28px; }
.kicker { margin: 0 0 14px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--red); }
h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--navy);
  font-weight: 800;
}
.pill {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(209, 0, 0, 0.22);
}
.lead {
  margin: 20px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--navy);
  font-weight: 750;
}
.feature-line {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 2px solid var(--red);
  max-width: 28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.intro { margin: 16px 0 0; max-width: 38rem; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.45;
}
.hero-points li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 8px;
}
.stats-row div {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}
.stats-row strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.stats-row span { font-size: 13px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
}
.btn.solid { background: var(--red); color: white; box-shadow: 0 10px 22px rgba(209, 0, 0, 0.24); }
.btn.solid:hover { background: var(--red-deep); }
.btn.ghost { background: white; border-color: var(--line); color: var(--navy); }
.btn.small { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.btn.danger { background: #fff1f0; color: var(--red-deep); border-color: #f0c7c4; }

.stage {
  background:
    radial-gradient(420px 260px at 50% 88%, rgba(209, 0, 0, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f3f0ee 100%);
  border-radius: 28px;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px 22px 18px;
  box-shadow:
    0 28px 60px rgba(21, 34, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 34, 56, 0.06);
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 55%;
  background: linear-gradient(95deg, rgba(209, 0, 0, 0.18), rgba(255, 255, 255, 0.85));
  transform: skewY(-6deg);
  opacity: 0.75;
}
.stage img {
  width: min(100%, 480px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(21, 34, 56, 0.18));
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px 0 20px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}
.band div {
  padding: 22px 8px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--navy);
}
.band div:nth-child(2) { color: var(--red); }

section { padding: 28px 0 10px; }
.wave-section { position: relative; }
h2 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.045em; line-height: 1; color: var(--navy); }
.sub { margin: 0 0 22px; color: var(--muted); max-width: 40rem; line-height: 1.5; }
.grid2, .grid3, .grid4 { display: grid; gap: 16px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid-funktionen { margin-bottom: 18px; }
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 8px 0 18px;
}
.card.highlight {
  border-color: rgba(209, 0, 0, 0.18);
  background: linear-gradient(180deg, #fff 0%, #fffaf9 100%);
}
.card.highlight h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.checklist, .plain {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}
.checklist li, .plain li { margin-bottom: 8px; }
.checklist li::marker { color: var(--red); }
code {
  font-family: Consolas, monospace;
  font-size: 0.92em;
  background: var(--sand);
  padding: 2px 6px;
  border-radius: 6px;
}
.note-box {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(209, 0, 0, 0.2);
  background: rgba(209, 0, 0, 0.05);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step h3 { margin: 8px 0 6px; font-size: 18px; letter-spacing: -0.02em; color: var(--navy); }
.faq dl { margin: 0; max-width: 46rem; }
.faq dt {
  font-weight: 800;
  color: var(--navy);
  margin-top: 18px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.card, .edition {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(21, 34, 56, 0.04);
}
.card strong, .edition h3 { display: block; font-size: 20px; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--navy); }
.card p, .edition p, .step p { margin: 0; color: var(--muted); line-height: 1.5; }
.num { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding-top: 8px; border-top: 2px solid var(--red); }
.edition.featured {
  background: linear-gradient(160deg, var(--navy) 0%, #2a1a1c 100%);
  color: white;
  border-color: var(--navy);
  box-shadow: 0 16px 36px rgba(209, 0, 0, 0.18);
}
.edition.featured h3 { color: white; }
.edition.featured p { color: rgba(255, 255, 255, 0.78); }
.price { margin-top: 14px; font-weight: 750; }
.sand {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--sand));
  border-radius: 28px;
  padding: 28px;
  margin: 28px 0;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(21, 34, 56, 0.06);
}
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--navy); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.ok, .err { padding: 12px 14px; border-radius: 12px; margin: 0 0 14px; }
.ok { background: #e8f6ee; color: #0f6e45; }
.err { background: #fff1f0; color: var(--red-deep); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 22px 0 32px; color: var(--muted); background: rgba(255, 255, 255, 0.7); }
.footer a { color: var(--muted); }
.legal { padding: 36px 0 20px; max-width: 42rem; }
.legal p { line-height: 1.6; color: var(--muted); }

.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(180deg, #fff, #faf7f5); }
.gate form { width: min(420px, 100%); background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.admin { margin: 0; background: #f3efe9; }
.shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: white; padding: 22px 16px; }
.side a { color: white; text-decoration: none; }
.side nav { display: grid; gap: 6px; margin-top: 22px; }
.side nav a { padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, 0.82); }
.side nav a:hover, .side nav a.on { background: rgba(255, 255, 255, 0.08); color: white; }
.side .btn.ghost { color: white; border-color: rgba(255, 255, 255, 0.35); }
.main { padding: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.stat { background: white; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; color: var(--navy); }
.stat span, .muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); }
.key { font-family: Consolas, monospace; font-weight: 750; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 16px 0; }
.panel h2 { font-size: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 750; }
.badge.new { background: #ffe1dc; color: var(--red-deep); }
.note { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .hero, .grid2, .grid3, .grid4, .steps, .steps-5, .contact, .split, .split-feature, .stats, .stats-row, .shell { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .side nav { grid-template-columns: repeat(2, 1fr); }
  .main { padding: 18px; }
  table { display: block; overflow-x: auto; }
}
