/* Mondstunde – eine ruhige Nachtseite im Stil der App: Nachtblau, Goldgelb, runde Schrift.
   Keine externen Dateien (keine Webfonts, kein Tracking): SF Rounded auf Apple-Geräten, sonst Systemschrift. */
:root {
  --night: #141B3C;
  --night-deep: #0B1029;
  --card: #1D2550;
  --card-high: #2E3870;
  --cream: #F4EEDC;
  --mist: #A9B0D6;
  --gold: #F5D77A;
  --gold-soft: rgba(245, 215, 122, 0.14);
  --line: rgba(244, 238, 220, 0.10);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--cream);
  font: 17px/1.6 var(--font);
  background: var(--night-deep);
  overflow-x: hidden;
}
/* Sternenhimmel: zwei Ebenen feiner Punkte über einem Verlauf von Mitternacht zu Nachtblau. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(244,238,220,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 9%, rgba(244,238,220,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 32%, rgba(244,238,220,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 44%, rgba(244,238,220,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 58%, rgba(244,238,220,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 72%, rgba(244,238,220,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 84%, rgba(244,238,220,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 90%, rgba(244,238,220,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 6%, rgba(244,238,220,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 62%, rgba(245,215,122,.5) 50%, transparent 51%),
    linear-gradient(180deg, var(--night-deep) 0%, #10163A 45%, var(--night) 100%);
}
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }

/* Kopf: bleibt beim Scrollen sichtbar, leicht durchscheinend. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 41, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.brand.small { font-size: 16px; }
.brand.small img { width: 26px; height: 26px; }
.top nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.top nav a { color: var(--mist); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--cream); background: rgba(244, 238, 220, 0.06); }
.top nav a.lang { border: 1px solid var(--line); margin-left: 6px; color: var(--cream); }

/* Hero */
.hero { padding-block: clamp(32px, 7vw, 88px) clamp(32px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--mist); margin: 0 0 32px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--night-deep);
  font-weight: 700; font-size: 17px; line-height: 1.2;
  padding: 13px 22px 13px 18px; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(245, 215, 122, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-weight: 600; font-size: 12px; opacity: .7; }
.note { color: var(--mist); font-size: 14px; margin: 14px 0 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.chips li { font-size: 14px; color: var(--cream); padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(244, 238, 220, 0.06); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.hero-phone { position: relative; display: grid; place-items: center; }
.hero-phone .phone { width: min(320px, 74vw); }
.glow {
  position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 45%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 215, 122, 0.26) 0%, rgba(120, 132, 220, 0.16) 36%, transparent 64%);
  pointer-events: none;
}

/* iPhone-Rahmen (Maße des iPhone 18 Pro Max). Alle Maße relativ zur Breite des Rahmens (cqw),
   so passt er in jede Spalte: schmaler schwarzer Rand, Titankante, Dynamic Island und Seitentasten. */
.phone { container-type: inline-size; position: relative; width: 100%; }
.phone .screen {
  position: relative;
  padding: 3.4cqw;
  border-radius: 17cqw;
  background: #07080c;
  box-shadow:
    0 0 0 0.8cqw #4a4f5c,
    0 0 0 1.4cqw #1a1d24,
    0 10cqw 22cqw rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; border-radius: 13.6cqw; }
.phone .screen::before {
  content: "";
  position: absolute;
  top: 5.7cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 26.7cqw;
  height: 7.8cqw;
  border-radius: 999px;
  background: #000;
}
.phone .btn { position: absolute; width: 1.4cqw; background: #4a4f5c; }
.phone .action, .phone .vol-up, .phone .vol-down { left: -2.6cqw; border-radius: 2px 0 0 2px; }
.phone .side { right: -2.6cqw; border-radius: 0 2px 2px 0; }
.phone .action { top: 18%; height: 4.5%; }
.phone .vol-up { top: 26%; height: 8%; }
.phone .vol-down { top: 36%; height: 8%; }
.phone .side { top: 29%; height: 13%; }

/* Abschnitte */
.block { padding-block: clamp(40px, 6vw, 72px); }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; }
.sub { color: var(--mist); font-size: clamp(17px, 1.8vw, 19px); margin: 0 0 clamp(28px, 4vw, 44px); max-width: 58ch; }

/* Vorteile */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(46, 56, 112, 0.55), rgba(29, 37, 80, 0.55));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}
.card h3 { margin: 18px 0 6px; font-size: 19px; line-height: 1.3; }
.card p { margin: 0; color: var(--mist); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; border: 1px solid rgba(245, 215, 122, 0.25); }
.icon svg { width: 22px; height: 22px; }

/* So sieht's aus: drei Schritte mit Telefon. Breit nebeneinander, schmal als Zeilen (Telefon neben Text). */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step .phone { width: min(100%, 270px); }
.step-text { margin-top: 36px; max-width: 32ch; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--night-deep); font-weight: 800; font-size: 16px; }
.step h3 { font-size: 21px; margin: 12px 0 6px; }
.step p { margin: 0; color: var(--mist); font-size: 16px; }

/* Lesestufen */
.levels {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  background: linear-gradient(135deg, rgba(46, 56, 112, 0.6), rgba(20, 27, 60, 0.6));
  border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 5vw, 56px);
}
.levels .sub { margin-bottom: 0; }
.level-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.level-list li { background: rgba(11, 16, 41, 0.55); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; }
.level-list li:nth-child(2) { border-color: rgba(245, 215, 122, 0.45); box-shadow: 0 0 0 1px rgba(245, 215, 122, 0.15); }
.level-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--gold); }
.level-list p { margin: 6px 0 0; font-size: 16px; color: var(--cream); }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.bars i { width: 4px; border-radius: 2px; background: rgba(245, 215, 122, 0.25); }
.bars i:nth-child(1) { height: 6px; }
.bars i:nth-child(2) { height: 10px; }
.bars i:nth-child(3) { height: 14px; }
.bars[data-level="1"] i:nth-child(1),
.bars[data-level="2"] i:nth-child(-n+2),
.bars[data-level="3"] i { background: var(--gold); }

/* Preise */
#preise { text-align: center; }
#preise .sub { margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin-inline: auto; text-align: left; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.5vw, 34px); }
.plan.featured {
  background: linear-gradient(180deg, rgba(245, 215, 122, 0.10), rgba(29, 37, 80, 0.9) 45%), var(--card);
  border-color: rgba(245, 215, 122, 0.6);
  box-shadow: 0 24px 60px rgba(245, 215, 122, 0.10);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 22px; margin: 0; }
.badge { background: var(--gold); color: var(--night-deep); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font-size: clamp(36px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 0; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 600; color: var(--mist); letter-spacing: 0; }
.yearly { color: var(--mist); font-size: 15px; margin: 6px 0 0; }
.checks { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5D77A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#preise .note { margin-top: 18px; }

/* Häufige Fragen (Startseite und Hilfe) */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 10px; }
.faq details { margin-bottom: 0; }
summary { cursor: pointer; font-weight: 700; padding: 18px 32px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 24px; font-weight: 500; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--mist); margin: 0 0 18px; }
.more { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 18px; }
.more:hover { text-decoration: underline; }

/* Abschluss */
.final {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(245, 215, 122, 0.16), transparent 55%), linear-gradient(180deg, #1F2858, #141B3C);
  border: 1px solid var(--line); border-radius: 36px; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 56px);
}
.final img { width: 72px; height: 72px; filter: drop-shadow(0 0 24px rgba(245, 215, 122, 0.45)); margin-bottom: 16px; }
.final .sub { margin-inline: auto; margin-bottom: 28px; }

/* Textseiten (Hilfe, Datenschutz, Impressum) */
.doc { padding-block: 32px 72px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -0.02em; margin: 16px 0 6px; }
.doc h2 { font-size: 22px; color: var(--gold); margin: 40px 0 10px; letter-spacing: 0; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc .muted { color: var(--mist); }
.doc ul { padding-left: 22px; }
.doc > details:first-of-type { margin-top: 28px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin-top: 28px; }
.summary h2 { margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--mist); font-weight: 600; }

/* Kontaktformular */
.contact-form { display: grid; gap: 18px; margin: 28px 0 24px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 32px); }
.contact-form label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.contact-form .optional { color: var(--mist); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: 16px/1.5 var(--font); color: var(--cream); background: rgba(11, 16, 41, 0.6);
  border: 1px solid rgba(244, 238, 220, 0.18); border-radius: 14px; padding: 12px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 215, 122, 0.2); }
.contact-form .hint { color: var(--mist); font-size: 14px; font-weight: 500; margin: 0; }
.contact-form button {
  justify-self: start; font: 700 17px/1.2 var(--font); color: var(--night-deep); background: var(--gold);
  border: 0; border-radius: 16px; padding: 14px 24px; cursor: pointer; box-shadow: 0 10px 30px rgba(245, 215, 122, 0.22);
}
.contact-form button:disabled { opacity: 0.6; cursor: wait; }
.contact-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--gold); font-size: 18px; }
.form-status.error { color: #F2A7A0; }
[hidden] { display: none !important; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--mist); font-size: 14px; background: rgba(11, 16, 41, 0.5); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--mist); }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--cream); }
.copy { width: 100%; }

/* Tablet */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels { grid-template-columns: 1fr; }
  .top nav a.wide { display: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta-row, .chips { justify-content: center; }
  .hero-phone { margin-top: 8px; }
}
/* Schmal: Schritte als Zeilen, Telefon und Text nebeneinander, abwechselnd links und rechts. */
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(16px, 5vw, 32px); align-items: center; text-align: left; }
  .step .phone { width: 100%; max-width: 240px; justify-self: center; }
  .step-text { margin-top: 0; }
  .step:nth-child(even) .phone { order: 2; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .card .icon { grid-row: span 2; }
  .card h3 { margin: 0 0 4px; font-size: 18px; }
  .card p { font-size: 15px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }
  .brand { font-size: 18px; }
}
