/* Nuvos Website — dieselbe Identität wie die App: Tinte auf Knochen, eine
   Serifenschrift für Überschriften, Systemschrift für den Rest, Grün nur für
   Geld. Keine externen Schriften, keine fremden Adressen. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fraunces.woff2") format("woff2");
  font-weight: 500 650;
  font-display: swap;
}

:root {
  --bg: #f3f1ec;
  --paper: #fdfcf9;
  --ink: #1b1a17;
  --muted: rgba(27, 26, 23, 0.64);
  --faint: rgba(27, 26, 23, 0.44);
  --line: rgba(27, 26, 23, 0.14);
  --money: #3c7a5b;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141310;
    --paper: #1d1b17;
    --ink: #f2efe8;
    --muted: rgba(242, 239, 232, 0.66);
    --faint: rgba(242, 239, 232, 0.44);
    --line: rgba(242, 239, 232, 0.14);
    --money: #63a886;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--faint); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* ── Raster ───────────────────────────────────────────────────────────────
   EIN Raster für alle Seiten: 12 Spalten. Links (Spalte 1–5) steht immer die
   Überschrift, rechts (Spalte 7–12) immer der Inhalt. Dadurch gibt es auf der
   ganzen Website nur zwei linke Kanten. Nichts ist gedreht oder versetzt. */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.head, .hero-text { grid-column: 1 / span 5; }
.body, .slips { grid-column: 7 / span 6; }

/* ── Hinweis „noch nicht veröffentlicht" (PRELAUNCH in build.py) ───────── */
.prelaunch { background: var(--ink); color: var(--bg); font-size: 14px; padding: 9px 0; }
.prelaunch .wrap { display: flex; align-items: center; gap: 10px; }
.prelaunch .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a84a; flex: none; box-shadow: 0 0 0 3px rgba(224, 168, 74, 0.25); }
/* Store-Logos vor dem Launch: sichtbar, aber erkennbar noch nicht aktiv */
.badges.pre img { opacity: 0.5; }

/* ── Kopf ─────────────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 10; padding: 18px 0; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
}
header.site .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
nav.main > a { text-decoration: none; }
nav.main > a:hover, nav.main > a[aria-current="page"] { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang a {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 8px; border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted);
}
.lang a svg { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }

/* ── Gemeinsame Bausteine ─────────────────────────────────────────────── */
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.intro { margin-top: 16px; color: var(--muted); font-size: 17px; }
.sec { padding: 88px 0; border-top: 1px solid var(--line); }
.sec.first { border-top: 0; padding-top: 64px; }
.sec h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 540; letter-spacing: -0.02em; line-height: 1.12; }
.sec h1 { font-size: clamp(36px, 4.2vw, 50px); font-weight: 540; letter-spacing: -0.02em; line-height: 1.05; }
.body > :first-child { margin-top: 0; }
/* Überschrift bleibt beim Scrollen neben ihrem Inhalt stehen */
.sec .head { position: sticky; top: 100px; align-self: start; }

/* ── Startseite: Kopfbereich ──────────────────────────────────────────── */
.hero { padding: 72px 0 88px; }
.hero .grid { align-items: start; }
.hero h1 { font-size: clamp(40px, 4.6vw, 56px); font-weight: 560; line-height: 1.05; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--money); }
.lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.badges img { display: block; height: 44px; width: auto; }
.soon { margin-top: 12px; font-size: 14px; color: var(--faint); }

/* Echte App-Screens im Handy-Rahmen */
.phone { margin: 0; width: 100%; max-width: 300px; border-radius: 46px; padding: 9px;
  background: #1b1a17; box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 30px 60px -30px rgba(27,26,23,0.45); }
.phone picture { display: block; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1391; border-radius: 38px; }
@media (prefers-color-scheme: dark) { .phone { background: #2b2925; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 30px 60px -30px #000; } }
.hero-phone { grid-column: 8 / span 5; display: flex; justify-content: center; }
.hero .grid { align-items: center; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.feature.two .phones .phone { max-width: 260px; }
.feature.two .phones .phone:last-child { margin-top: 64px; }
.feature .grid { align-items: center; }
.feature .head { position: static; }
.points { margin-top: 24px; }
.points li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 15px; }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px;
  border-left: 2px solid var(--money); border-bottom: 2px solid var(--money); transform: rotate(-45deg); }

/* Weg des Geldes: senkrechte Liste, gleiche Zeilen */
.route { list-style: none; margin: 0; padding: 0; }
.route li { display: grid; grid-template-columns: 32px 1fr; column-gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.route li:last-child { border-bottom: 1px solid var(--line); }
.route i { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); font-style: normal; font-size: 14px; font-weight: 600; }
.route li.money i { background: var(--money); border-color: var(--money); color: #fff; }
.route b { font-weight: 600; }
.route span { color: var(--muted); font-size: 15px; }
.nets { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.nets b { display: block; font-weight: 600; margin-bottom: 4px; }
.nets p { color: var(--muted); font-size: 15px; }

/* Für beide Seiten */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.side h3 { font-size: 22px; font-weight: 560; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.side li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.side li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Fest eingebaut */
.rules li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules b { font-weight: 600; }
.rules span { color: var(--muted); font-size: 15px; }

/* Schluss */
.closing .badges { margin-top: 0; }
.closing .ask { margin-top: 18px; color: var(--muted); }

/* ── Textseiten (Konto löschen, Recht) ────────────────────────────────── */
.sec .page h2 { font-family: var(--sans); font-size: 19px; font-weight: 650; letter-spacing: 0; margin: 40px 0 10px; }
.sec .page h2.top { margin-top: 0; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { margin: 10px 0 0; }
.page li { padding: 6px 0 6px 20px; position: relative; }
.page li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.page strong { color: var(--ink); font-weight: 600; }
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 12px; }
.callout p { color: var(--ink); }
.callout p + p { margin-top: 4px; color: var(--muted); }
.draft { background: rgba(60, 122, 91, 0.12); border-radius: 10px; padding: 14px 18px; margin-bottom: 28px; color: var(--ink); }

/* ── Support: Formular als Karte, Fragen zum Aufklappen ───────────────── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.contact h3 { font-size: 22px; font-weight: 560; margin-bottom: 4px; }
.contact form { display: grid; gap: 16px; margin-top: 16px; }
.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact input, .contact select, .contact textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; width: 100%; -webkit-appearance: none; appearance: none;
}
.contact select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact textarea { min-height: 150px; resize: vertical; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .hint { font-size: 13.5px; color: var(--faint); }
.contact button {
  font: inherit; font-weight: 600; background: var(--ink); color: var(--bg); border: 0; border-radius: 12px;
  padding: 13px 24px; cursor: pointer; width: 100%;
}
.contact button:disabled { opacity: 0.55; cursor: default; }
.status { min-height: 1.4em; font-size: 15px; }
.status:empty { display: none; }
.status.ok { color: var(--money); }
.status.error { color: #b3261e; }
@media (prefers-color-scheme: dark) { .status.error { color: #ff8a80; } }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 20px; margin-top: -4px; }

/* ── Fuß ──────────────────────────────────────────────────────────────── */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .copy { margin-left: auto; color: var(--faint); }

/* ── Handy: eine Spalte, gleiche Reihenfolge ──────────────────────────── */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .head, .hero-text, .body, .slips, .hero-phone { grid-column: 1; }
  .hero-phone { margin-top: 40px; }
  .feature.two .phones .phone { max-width: 46%; }
  .feature.two .phones .phone:last-child { margin-top: 32px; }
  .phone { border-radius: 34px; padding: 7px; }
  .phone picture, .phone img { border-radius: 28px; }
  .feature.two .phones .phone { border-radius: 26px; padding: 5px; }
  .feature.two .phones .phone picture, .feature.two .phones .phone img { border-radius: 22px; }
  .sec .head { position: static; }
  .body, .slips { margin-top: 32px; }
  .sec { padding: 56px 0; }
  .sec.first { padding-top: 40px; }
  .hero { padding: 40px 0 56px; }
  .nets, .sides { grid-template-columns: 1fr; }
  .rules li { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 22px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  header.site { padding: 16px 0; }
  header.site .wrap { gap: 16px; }
  nav.main { gap: 16px; }
  nav.main > a:not([aria-current="page"]):not([href$="support"]) { display: none; }
  nav.main > a[href="/"], nav.main > a[href="/en/"] { display: none; }
  .lang a { padding: 5px 8px; font-size: 0; gap: 0; }
  footer.site .copy { margin-left: 0; width: 100%; }
}

/* ── Große Bildschirme (Mac) ──────────────────────────────────────────── */
@media (min-width: 1200px) {
  .wrap { width: min(1200px, 100% - 96px); }
  .hero { padding: 96px 0 120px; }
  .hero-text { grid-column: 1 / span 7; }
  .hero-phone { grid-column: 8 / span 5; }
  .hero h1 { font-size: clamp(56px, 4.4vw, 68px); }
  .lead { max-width: 30em; }
  .lead { font-size: 20px; }
  .hero-phone .phone { max-width: 340px; }
  .sec { padding: 120px 0; }
  .sec h2 { font-size: clamp(36px, 3vw, 46px); }
  .intro { font-size: 18px; }
  .feature .phones .phone { max-width: 320px; }
  .feature.two .phones .phone { max-width: 280px; }
}

/* ── Für Marken (seit 31.10.2026): Rechner und Anmeldung nutzen die Formular-Bausteine von .contact ── */
.cta { display: inline-block; margin-top: 30px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; border-radius: 12px; padding: 13px 22px; }
.cta:hover { opacity: 0.88; }
.hero .bestaetigt { margin-top: 24px; }
.hero .bestaetigt a { font-weight: 600; }
.contact [hidden] { display: none !important; }
.contact label .opt { font-weight: 400; color: var(--faint); }
.contact label.haken { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.contact .haken input { -webkit-appearance: checkbox; appearance: auto; width: 18px; height: 18px; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.contact .haken a { color: var(--ink); }
.budget-ergebnis { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.budget-titel { font-weight: 600; }
.budget-zahl { font-family: var(--serif); font-size: clamp(34px, 4vw, 44px); font-weight: 560; line-height: 1.1; letter-spacing: -0.02em; color: var(--money); margin-top: 6px; font-variant-numeric: tabular-nums; }
.budget-ergebnis dl { margin: 16px 0 0; }
.budget-ergebnis dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.budget-ergebnis dt { color: var(--muted); }
.budget-ergebnis dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-ergebnis .hint { margin-top: 12px; }

/* ── Warteliste für Creator (seit 02.11.2026): Formular rechts im Kopfbereich ── */
.hero-form { grid-column: 8 / span 5; }
.hero-form .card + .card { margin-top: 16px; }
.contact .hint { margin-top: 0; }
.contact label .hint { font-weight: 400; }
.contact .danach .status { color: var(--ink); font-size: 16px; line-height: 1.55; margin-top: 16px; }
.contact .danach .status.ok { color: var(--ink); }
.contact fieldset.geraet { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.contact fieldset.geraet legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.wahlgruppe { display: flex; gap: 10px; }
.contact label.wahl { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; cursor: pointer; }
.contact .wahl input { -webkit-appearance: radio; appearance: auto; width: 18px; height: 18px; padding: 0; margin: 0; flex: none; accent-color: var(--ink); }
.contact fieldset.geraet .hint { margin-top: 10px; }
.contact fieldset.geraet .status { margin-top: 10px; font-size: 14px; color: var(--money); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact .zweit { font: inherit; font-weight: 600; font-size: 15px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; cursor: pointer; width: auto; text-decoration: none; display: inline-block; }
.contact .zweit:hover { border-color: var(--ink); }
.contact .zweit:disabled { opacity: 0.55; cursor: default; }
.contact pre.vorlage { margin: 14px 0 16px; white-space: pre-wrap; word-break: break-word; font: 14px/1.55 var(--sans); color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
@media (max-width: 860px) {
  .hero-form { grid-column: 1; margin-top: 40px; }
}
@media (min-width: 1200px) {
  .hero-form { grid-column: 8 / span 5; }
}
