@import url('fonts.css');

:root {
  --cream: #fbfbfe;
  --paper: #ffffff;
  --navy: #0c1430;
  --ink: #2c3555;
  --muted: #6b7490;
  --indigo: #4353ff;
  --indigo-dark: #2f3ce0;
  --line: #e5e7f2;
  --wave: linear-gradient(90deg, #2f6bff, #6b4bff, #e0349b, #ff5a3c, #ff9a3c);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 20, 48, .04), 0 12px 32px rgba(12, 20, 48, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.55rem, 4vw, 2.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--indigo); }

.wrap { width: min(1060px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(680px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 254, .9);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.nav img { height: 30px; width: auto; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border: 0; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--indigo); color: #fff;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn.small { padding: .55rem 1.1rem; font-size: .93rem; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--indigo); }
.btn.block { width: 100%; padding: 1rem 1.5rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; text-align: center;
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero > .wrap { position: relative; z-index: 1; }
/* Heller Schleier hinter dem Text, damit die Wellen die Schrift nicht stören. */
.hero > .wrap::before {
  content: ''; position: absolute; z-index: -1; inset: -6% -12%;
  background: radial-gradient(58% 50% at 50% 48%, rgba(251, 251, 254, .92) 38%, rgba(251, 251, 254, 0) 78%);
}

/* Die Wellen: ein Canvas, das waves.js in jedem Bild neu zeichnet. */
.waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Weicher Farbschimmer hinter den Linien — liegt auch ohne JavaScript an. */
.waves::before, .waves::after { content: ''; position: absolute; top: 0; bottom: 0; width: 48%; }
.waves::before { left: 0;  background: radial-gradient(72% 62% at 18% 50%, rgba(73, 125, 255, .16), transparent 72%); }
.waves::after  { right: 0; background: radial-gradient(72% 62% at 82% 50%, rgba(255, 79, 143, .16), transparent 72%); }
.waves canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Das Logo: die Bildmarke allein, so breit wie die Überschrift darunter;
   der Schriftzug kleiner unter ihr. */
.hero-mark {
  display: block; width: min(575px, 80%); height: auto;
  margin: 0 auto clamp(.6rem, 2vw, 1.4rem);
}
.hero-word {
  display: block; width: min(520px, 74%); height: auto;
  margin: 0 auto clamp(1.1rem, 3vw, 1.6rem);
}
.claim-rule {
  width: 86px; height: 2px; border: 0; border-radius: 2px; margin: 0 auto 1rem;
  background: var(--wave);
}
.claim {
  font-size: clamp(1.2rem, 3.7vw, 1.67rem); font-weight: 600; letter-spacing: -.01em;
  color: var(--navy); margin: 0 0 clamp(1.8rem, 5vw, 2.6rem);
}
.claim .t { color: #3b7bff; }
.claim .w { color: #e0349b; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; margin-bottom: 1.2rem; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wave); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--ink); max-width: 44ch; margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.8rem; }
.grad { background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Karten ---------- */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); max-width: 50ch; margin-inline: auto; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border: 1px solid rgba(229, 231, 242, .9);
}
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .ic {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  margin-bottom: 1rem; background: #eef0ff; color: var(--indigo);
}
.card .ic svg { width: 22px; height: 22px; }

/* ---------- Senderreihe ---------- */
.stations { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.station {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1.1rem; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; font-weight: 600; color: var(--navy);
}
.station::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* ---------- Formular ---------- */
.signup {
  background: var(--paper); border-radius: 26px; padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow); border: 1px solid rgba(229, 231, 242, .9);
  position: relative; overflow: hidden;
}
.signup::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--wave); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: .4rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
input[type=email], input[type=text], select, textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--navy);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(67, 83, 255, .15); background: #fff;
}
textarea { resize: vertical; min-height: 90px; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--indigo); }
.check span { color: var(--ink); }
details.extra {
  border: 1.5px dashed var(--line); border-radius: 14px; padding: 0 1.1rem; margin: 1.4rem 0;
  background: #fafaff;
}
details.extra[open] { padding-bottom: 1.1rem; border-style: solid; }
details.extra summary {
  cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--navy); list-style: none;
  display: flex; align-items: center; gap: .6rem;
}
details.extra summary::-webkit-details-marker { display: none; }
details.extra summary::before {
  content: '+'; display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto;
  border-radius: 50%; background: #eef0ff; color: var(--indigo); font-weight: 700; font-size: 1rem;
}
details.extra[open] summary::before { content: '–'; }
.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hp { position: absolute; left: -9999px; }
.legal { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem; text-align: center; font-size: .9rem; color: var(--muted); }
.footer img { height: 26px; width: auto; opacity: .75; margin-bottom: 1rem; }
.footer nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .8rem; }
.footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer nav a:hover { color: var(--indigo); text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.doc { padding: 3rem 0; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.doc p, .doc li { color: var(--ink); font-size: .97rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: .4rem; }
.doc .back { display: inline-block; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }

/* ---------- Danke-Seite ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.thanks .mark {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wave); color: #fff; margin: 0 auto 1.5rem;
}
.thanks .mark svg { width: 34px; height: 34px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
