/* Farben und Schrift aus der App (lib/design/tokens, Public Sans) */
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --night: #162427;      /* Deep Teal 950 */
  --night-2: #213A40;    /* Deep Teal 900 */
  --line: #2C545E;       /* Deep Teal 800 */
  --teal: #5BA6B9;       /* Deep Teal 500 */
  --paper: #F5F0E5;      /* Parchment 100 */
  --muted: #AECED5;      /* Deep Teal 300 */
  --gold: #DCAB38;       /* Golden Light 500 */
  --gold-dark: #C19225;  /* Golden Light 600 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--paper); }
a:hover { color: var(--gold); }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.top { padding: 24px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top img { height: 56px; width: auto; }
header.top nav a { text-decoration: none; font-weight: 500; font-size: 16px; }

.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.08; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; }
.claim { display: flex; align-items: center; gap: 12px; font-size: 22px; color: var(--muted); margin: 0 0 24px; }
.claim::before { content: ""; width: 16px; height: 18px; background: var(--gold); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.lead { max-width: 34em; margin: 0 0 32px; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 12px;
  background: var(--gold); color: var(--night); font-weight: 600; text-decoration: none;
  border: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--gold-dark); color: var(--night); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.soon { font-size: 15px; color: var(--muted); margin-top: 16px; }

.phone {
  justify-self: center; width: min(300px, 100%); padding: 10px;
  border-radius: 40px; background: #0E181A; box-shadow: 0 0 0 1.5px var(--line), 0 30px 60px rgba(0,0,0,.35);
}
.phone-map { width: 100%; height: auto; border-radius: 30px; }
.phone-map .rv { opacity: 0; animation: reveal .6s ease-out forwards; }
@keyframes reveal { to { opacity: 1; } }
.caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }

section { padding: 72px 0; border-top: 1px solid var(--night-2); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 600; margin: 0 0 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { background: var(--night-2); border-radius: 16px; padding: 28px; }
.step .num { color: var(--gold); font-weight: 600; font-size: 15px; letter-spacing: .08em; }
.step h3 { font-size: 21px; margin: 8px 0 8px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.facts li { display: flex; gap: 14px; align-items: baseline; font-size: 20px; font-weight: 500; }
.facts li::before { content: ""; width: 12px; height: 14px; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; transform: translateY(1px); }

.waitlist { text-align: center; }
.waitlist p { max-width: 36em; margin: 0 auto 32px; color: var(--muted); }
.waitlist .actions { justify-content: center; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--night-2); font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--muted); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: 24px 0 72px; border: 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal .todo { background: var(--gold); color: var(--night); padding: 0 6px; border-radius: 4px; font-weight: 600; }

[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero .wrap, .privacy { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-map .rv { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Bestätigungsseiten (Warteliste) */
body.confirm-page { min-height: 100vh; display: flex; flex-direction: column; }
body.confirm-page main { flex: 1; display: flex; align-items: center; }
.confirm { width: 100%; padding: 48px 0 96px; text-align: center; }
.confirm .wrap { max-width: 640px; }
.confirm svg { width: 168px; height: auto; margin: 0 auto 32px; }
.confirm h1 { margin-bottom: 16px; }
.confirm p { color: var(--muted); margin: 0 auto 32px; max-width: 30em; }
.confirm .hint { font-size: 15px; margin-top: 24px; margin-bottom: 0; }
.confirm .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .confirm .pulse { animation: none; } }
