/* =========================================================================
   Schlafgut – Design-System (nach Vorlage)
   Farben: Nachtblau #0E1A2B · Tiefblau #111C31 · Mondgold #E6B56A
           Creme #FAF4EA · Papier #F7EBD8 · Lavendel #DCD4F2 · Nebelblau #A0C4C7 · Rosé #EBC6BD
   ========================================================================= */
:root {
  --nacht: #0E1A2B;
  --tief: #111C31;
  --gold: #E6B56A;
  --gold-deep: #d49f54;
  --creme: #FAF4EA;
  --papier: #F7EBD8;
  --lavendel: #DCD4F2;
  --nebel: #A0C4C7;
  --rose: #EBC6BD;

  --ink: #182740;          /* dunkle Schrift auf Creme */
  --ink-soft: #5d6473;     /* gedämpft auf Creme */
  --paper-line: #e7dcc8;
  --cream-on-dark: #f1ead9;
  --muted-on-dark: #9fb1c6;

  --serif: "Iowan Old Style", "Hoefler Text", "Palatino Linotype", Palatino, "Cormorant Garamond", Georgia, serif;
  --sans: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;

  --r: 16px;
  --r-lg: 26px;
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-soft: 0 16px 40px rgba(24, 18, 8, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: .01em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 560px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.spacer { height: 28px; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, #efc079, var(--gold-deep)); color: #2a1c06;
  box-shadow: 0 12px 30px rgba(214, 160, 80, .34); }
.btn-gold:hover { box-shadow: 0 16px 40px rgba(214, 160, 80, .48); transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255, 255, 255, .04); color: var(--cream-on-dark); border-color: rgba(241, 234, 217, .28); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .09); }
.btn-ghost-light { background: transparent; color: var(--ink); border-color: rgba(24, 39, 64, .25); }
.btn-ghost-light:hover { background: rgba(24, 39, 64, .05); }
.btn-danger { background: transparent; color: #8a3a2c; border-color: #e9b6ac; }
.btn-danger:hover { background: #fae3df; border-color: #d98a7b; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Navigation ---------- */
.site-nav { position: relative; z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--serif);
  font-size: 1.45rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.brand .moon { font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { text-decoration: none; padding: 9px 13px; border-radius: 10px; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-on-dark { color: var(--cream-on-dark); }
.nav-on-dark .nav-links a:hover { background: rgba(255, 255, 255, .07); }
.nav-on-cream { color: var(--ink); }
.nav-on-cream .nav-links a:hover { background: rgba(24, 39, 64, .06); }
.nav-cta { margin-left: 6px; }
.nav-toggle { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.nav-burger { display: none; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: 4px 10px;
  border-radius: 10px; user-select: none; }

/* ---------- Sektionen ---------- */
.sec { padding: 78px 0; position: relative; }
.sec-cream { background: var(--creme); color: var(--ink); }
.sec-papier { background: var(--papier); color: var(--ink); }
.sec-dark { background:
    radial-gradient(900px 520px at 78% 12%, rgba(230, 181, 106, .16), transparent 60%),
    radial-gradient(820px 520px at 12% 0%, rgba(220, 212, 242, .12), transparent 55%),
    linear-gradient(180deg, var(--nacht) 0%, var(--tief) 62%, #0c1730 100%);
  color: var(--cream-on-dark); overflow: hidden; }
.sec-dark::before {  /* Sterne */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 24%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.5px 1.5px at 67% 16%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 38% 62%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 83% 52%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 52% 38%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 9% 72%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 92% 78%, rgba(255,255,255,.6), transparent); }
.sec-dark::after {  /* Horizont-Hauch unten */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 30, .65)); }
.sec-dark .container { position: relative; z-index: 1; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--gold); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 26px 0 46px; }
.hero h1 { font-size: 3.2rem; margin: 10px 0 18px; color: #fbf3e3; }
.hero .lead { font-size: 1.18rem; color: var(--muted-on-dark); max-width: 30em; margin: 0 0 26px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.feature-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted-on-dark); font-size: .92rem; }
.feature-row span { display: inline-flex; align-items: center; gap: 7px; }
.feature-row .ic { color: var(--gold); }
.hero-visual { display: flex; justify-content: center; }

/* ---------- Vollflächen-Szenen (Bild als Hintergrund, Text im Freiraum) ---------- */
.scene { position: relative; overflow: hidden; isolation: isolate; color: var(--cream-on-dark);
  min-height: clamp(460px, 64vh, 660px); display: flex; }
.scene--tall { min-height: clamp(560px, 78vh, 780px); }
.scene__bg { position: absolute; inset: 0; z-index: -2; }
.scene__bg .pic, .scene__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--obj, 50% 50%); }
.scene__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,14,30,.90) 0%, rgba(8,14,30,.72) 40%, rgba(8,14,30,.32) 72%, rgba(8,14,30,.08) 100%); }
.scene--right .scene__overlay { background: linear-gradient(270deg, rgba(8,14,30,.90) 0%, rgba(8,14,30,.72) 40%, rgba(8,14,30,.32) 72%, rgba(8,14,30,.08) 100%); }
.scene--center .scene__overlay { background: linear-gradient(180deg, rgba(8,14,30,.55) 0%, rgba(8,14,30,.42) 45%, rgba(8,14,30,.80) 100%); }
.scene > .container { position: relative; display: flex; flex-direction: column; width: 100%; }
.scene__content { max-width: 34em; margin: auto 0; padding: 40px 0; }
.scene--center .scene__content { max-width: 40em; margin-left: auto; margin-right: auto; text-align: center; }
.scene--right .scene__content { margin-left: auto; }
.scene--top .scene__content { margin-top: 8px; margin-bottom: auto; }
.scene .kicker { display: inline-block; margin-bottom: 10px; }
.scene__content h1 { font-size: 3.3rem; color: #fbf3e3; margin: 6px 0 18px; }
.scene__content h2 { font-size: 2.7rem; color: #fbf3e3; margin: 6px 0 14px; }
.scene__content .lead, .scene__content .sub { font-size: 1.16rem; color: var(--cream-on-dark); max-width: 32em; margin: 0 0 22px; }
.scene--center .scene__content .lead, .scene--center .scene__content .sub { margin-left: auto; margin-right: auto; }
.scene__content .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.scene--center .scene__content .cta-row { justify-content: center; }
.scene__content .feature-row { margin-top: 24px; }
.scene__content .ticklist { margin-bottom: 0; }
.scene__content .ticklist li { color: var(--cream-on-dark); }
/* Beispiel-Liste in der Szene */
.scene-list { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-direction: column; gap: 13px; }
.scene-list a { color: #fbf3e3; text-decoration: none; font-family: var(--serif); font-size: 1.22rem; }
.scene-list a:hover { color: var(--gold); }
.scene-list small { display: block; color: var(--muted-on-dark); font-size: .85rem; letter-spacing: .02em; margin-top: 2px; }
/* Glas-Chips auf Szenen */
.scene .benefit-chips span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.20);
  color: var(--cream-on-dark); box-shadow: none; }

/* Halbtransparente Textbox mit Mondgold-Akzent – für Text über belebten Bildbereichen */
.scene--boxed .scene__content { background: linear-gradient(165deg, rgba(230,181,106,.12), rgba(10,16,30,.64) 42%);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid rgba(230,181,106,.30); border-radius: var(--r-lg);
  padding: 32px 34px; box-shadow: 0 18px 50px rgba(0,0,0,.38); }
.scene--boxed.scene--center .scene__content { max-width: 34em; }

/* ---------- Feedback-Laufband (10 Stimmen, durchscrollend) ---------- */
.feedback { padding-bottom: 64px; }
.testi-marquee { margin-top: 32px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.testi-track { display: flex; width: max-content; padding: 6px 0; animation: testi-scroll 64s linear infinite; }
.testi-marquee:hover .testi-track { animation-play-state: paused; }
.testi-card { flex: 0 0 330px; width: 330px; margin-right: 18px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 24px 26px; }
.testi-card .q { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: #f4ecda; margin: 0 0 14px; }
.testi-card .n { color: var(--gold); font-size: .9rem; font-weight: 600; }
@keyframes testi-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .testi-track { animation: none; } }

/* ---------- Auth-Karte (Login/Registrierung) auf Szenen-Hintergrund ---------- */
.scene__content.auth-card { max-width: 460px; text-align: left;
  background: linear-gradient(165deg, rgba(230,181,106,.12), rgba(10,16,30,.66) 42%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(230,181,106,.30); border-radius: var(--r-lg);
  padding: 34px 32px; box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.auth-card .auth-head { text-align: center; }
.auth-card h1 { color: #fbf3e3; font-size: 1.9rem; margin: 8px 0 6px; }
.auth-card .auth-sub { color: var(--muted-on-dark); }
.auth-card .field { margin-bottom: 0; }
.auth-card .field > span { color: var(--cream-on-dark); }
.auth-card input { width: 100%; padding: 13px 15px; border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,.16); background: rgba(0,0,0,.28);
  color: var(--cream-on-dark); font-size: 1rem; font-family: inherit; }
.auth-card input::placeholder { color: rgba(241,234,217,.45); }
.auth-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,181,106,.22); }
.auth-card a:not(.btn) { color: var(--gold); text-decoration: none; }
.auth-card a:not(.btn):hover { text-decoration: underline; }

/* ---------- Portal (eingeloggter Bereich) im Landing-Look ---------- */
.portal { position: relative; isolation: isolate; min-height: 100vh; padding: 0 0 64px;
  color: var(--cream-on-dark); background: linear-gradient(180deg, var(--nacht), #0c1730); }
.portal__bg { position: absolute; inset: 0; z-index: -2; }
.portal__bg .pic, .portal__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--obj, 50% 40%); }
.portal__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,14,30,.84) 0%, rgba(8,14,30,.90) 55%, rgba(8,14,30,.95) 100%); }
.portal > .container { position: relative; z-index: 1; }
.portal h1, .portal h2, .portal h3 { color: #fbf3e3; }
.portal .muted { color: var(--muted-on-dark); }
.portal .card { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12); color: var(--cream-on-dark); box-shadow: var(--shadow-dark);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.portal .list-item { border-bottom-color: rgba(255,255,255,.10); }
/* Badges auf dunklem Portal lesbar machen */
.portal .badge { border: 1px solid rgba(255,255,255,.18); }
.portal .badge-on { background: rgba(230,181,106,.20); color: var(--gold); border-color: rgba(230,181,106,.4); }
.portal .badge-off { background: rgba(255,255,255,.12); color: var(--cream-on-dark); }
.portal .btn-ghost-light { color: var(--cream-on-dark); border-color: rgba(241,234,217,.30); background: rgba(255,255,255,.04); }
.portal .btn-ghost-light:hover { background: rgba(255,255,255,.10); }

/* ---------- Profil-Button in der Navigation ---------- */
.nav-profile { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-profile-label { display: none; }
.nav-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24);
  font-size: 1.15rem; line-height: 1; transition: background .15s, border-color .15s; }
.nav-profile:hover .nav-avatar { background: rgba(230,181,106,.20); border-color: var(--gold); }
.nav-on-cream .nav-avatar { background: rgba(24,39,64,.06); border-color: rgba(24,39,64,.25); }

/* ---------- Headlines auf Sektionen ---------- */
.sec h2.big { font-size: 2.5rem; max-width: 18ch; margin: 0 auto 14px; }
.sec .sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; margin: 0 auto; }
.illus-wrap { display: flex; justify-content: center; margin: 26px auto 8px; }
.illus-wrap .pic { width: min(640px, 100%); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }

/* ---------- "So funktioniert's" Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { background: #fffdf8; border: 1px solid var(--paper-line); border-radius: var(--r-lg); padding: 26px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(230,181,106,.18); color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
.step .ic { font-size: 1.6rem; }
.step h3 { font-size: 1.18rem; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Vertrauen & Ruhe ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.trust .col { text-align: center; }
.trust .ic { font-size: 1.9rem; }
.trust p { color: var(--ink-soft); margin: 12px auto 0; max-width: 24ch; }

/* ---------- Beispielgeschichten ---------- */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.story-card { background:
    radial-gradient(420px 220px at 50% -10%, rgba(230,181,106,.14), transparent 60%),
    linear-gradient(180deg, #13233c, #0e1a2e);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 16px; color: var(--cream-on-dark);
  box-shadow: var(--shadow-dark); display: flex; flex-direction: column; }
.story-card .thumb { border-radius: 16px; overflow: hidden; aspect-ratio: 16/11; background: #0c1730; }
.story-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.story-card h3 { font-size: 1.3rem; margin: 4px 4px 6px; color: #f6ead0; }
.story-card .meta { color: var(--nebel); font-size: .85rem; margin: 0 4px 14px; letter-spacing: .02em; }
.story-card .teaser { color: var(--muted-on-dark); font-size: .96rem; line-height: 1.55; margin: 0 4px 18px; }
.story-card .btn { margin-top: auto; }

/* ---------- Testimonial ---------- */
.testimonial { text-align: center; }
.testimonial .quote { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.4;
  max-width: 22ch; margin: 0 auto; color: #f4ecda; }
.testimonial .mark { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 0; }
.testimonial .who { margin-top: 18px; color: var(--muted-on-dark); }

/* ---------- Konfigurator ---------- */
.stepper { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 6px 0 30px; }
.stepper .st { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 74px; opacity: .5; }
.stepper .st .dot { font-size: 1.1rem; }
.stepper .st small { font-size: .76rem; letter-spacing: .03em; }
.stepper .st.active { opacity: 1; }
.stepper .st.active small { color: var(--gold); }

.config-layout { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.config-main { display: flex; flex-direction: column; gap: 26px; }

/* Auswahl-Karten (Für wen) */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud-card { position: relative; cursor: pointer; border-radius: 20px; overflow: hidden;
  border: 2.5px solid rgba(255,255,255,.10); background: #0e1a2e; box-shadow: var(--shadow-dark);
  transition: transform .12s ease, border-color .2s; }
.aud-card:hover { transform: translateY(-3px); }
.aud-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.aud-card input { position: absolute; opacity: 0; pointer-events: none; }
.aud-card .check { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: #2a1c06; display: none; align-items: center; justify-content: center; font-size: .9rem; }
.aud-card.selected { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230,181,106,.22), var(--shadow-dark); }
.aud-card.selected .check { display: flex; }

/* Pill-Reihen */
.pillset { }
.pillset > .lbl { display: flex; align-items: center; gap: 10px; color: var(--cream-on-dark); margin-bottom: 12px; }
.pillset > .lbl .ic { color: var(--gold); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; user-select: none; padding: 11px 17px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--cream-on-dark);
  font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; transition: border-color .15s, background .15s; }
.pill:hover { background: rgba(255,255,255,.07); }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill.selected { border-color: var(--gold); background: rgba(230,181,106,.16); color: #fbf3e3; }
.pill small { opacity: .6; }
/* Gratis-/Premium-Badges an den Häufigkeits-Pills */
.pill small.tag { opacity: 1; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.tag-free { background: rgba(160,196,199,.2); color: #bfe0e2; }
.tag-premium { background: rgba(230,181,106,.18); color: var(--gold); }
.pill-locked { opacity: .72; }
.pill-locked:hover { opacity: .9; border-color: rgba(230,181,106,.5); }

/* Premium-Plan-Karten */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 720px;
  margin: 26px auto 0; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 26px 22px; color: var(--cream-on-dark); }
.plan h3 { margin: 0; color: #fbf3e3; font-size: 1.25rem; }
.plan-featured { border-color: var(--gold);
  background: linear-gradient(180deg, rgba(230,181,106,.16), rgba(255,255,255,.04));
  box-shadow: 0 0 0 4px rgba(230,181,106,.12); }
.plan-badge { position: absolute; top: -11px; right: 18px; background: var(--gold);
  color: #2a1c06; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.plan-price { font-family: var(--serif); font-size: 2rem; color: #fbf3e3; }
.plan-price span { font-size: .95rem; color: var(--muted-on-dark); font-family: inherit; }
.plan-list { list-style: none; padding: 0; margin: 4px 0 8px; display: flex;
  flex-direction: column; gap: 9px; font-size: .96rem; line-height: 1.4; }
.plan .btn { margin-top: auto; }
.addon-check { display: flex; align-items: flex-start; gap: 9px; text-align: left; margin: 0 0 12px;
  padding: 11px 13px; border-radius: 13px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(230,181,106,.32); cursor: pointer; font-size: .92rem; color: var(--cream-on-dark); }
.addon-check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 auto; }
.addon-check small { color: var(--muted-on-dark); }

/* Monat/Jahr-Umschalter (CSS-only, ohne JS) */
.cycle-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.plan-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.plan-toggle label { flex: 1; text-align: center; cursor: pointer; padding: 7px 10px;
  border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted-on-dark);
  transition: background .15s ease, color .15s ease; }
#cycle-month:checked ~ .plan-toggle label[for="cycle-month"],
#cycle-year:checked ~ .plan-toggle label[for="cycle-year"] { background: var(--gold); color: #2a1c06; }
.plan-save { font-family: var(--sans, inherit); font-size: .82rem; font-weight: 600; color: var(--gold); margin-top: 4px; }
.only-year { display: none; }
#cycle-year:checked ~ .only-month { display: none; }
#cycle-year:checked ~ .only-year { display: block; }

/* Eingabe (Name/Alter) im Konfigurator */
.field-dark { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-dark label { color: var(--muted-on-dark); font-size: .92rem; }
.field-dark input, .field-dark select, .field-dark textarea {
  width: 100%; min-width: 0;
  padding: 13px 15px; border-radius: 13px; border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22); color: var(--cream-on-dark); font-size: 1rem; font-family: inherit; }
/* Name + Alter nebeneinander (min-width:0 verhindert horizontalen Überlauf auf dem Handy) */
.name-age { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.field-dark textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.field-dark input[type="time"], .field-dark input[type="number"] { color-scheme: dark; }
.field-dark input:focus, .field-dark select:focus, .field-dark textarea:focus { outline: none; border-color: var(--gold); }

/* Summary-Sidebar */
.summary { position: sticky; top: 18px; background:
    linear-gradient(180deg, rgba(230,181,106,.14), rgba(255,255,255,.04));
  border: 1.5px solid rgba(230,181,106,.35); border-radius: var(--r-lg); padding: 22px; }
.summary h4 { margin: 0 0 14px; color: #fbf3e3; font-size: 1.15rem; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .92rem; }
.summary .row:last-of-type { border-bottom: none; }
.summary .row .k { color: var(--muted-on-dark); }
.summary .row .v { color: var(--cream-on-dark); font-weight: 600; text-align: right; }
.summary .btn { width: 100%; margin-top: 16px; }
.summary .note { color: var(--muted-on-dark); font-size: .8rem; margin-top: 10px; text-align: center; }

/* ---------- Story-Lese-Ansicht ---------- */
.reader-wrap { display: flex; justify-content: center; padding: 16px 0 8px; }
.reader { background: #fffdf7; color: #2a2620; border-radius: var(--r-lg); padding: 44px 46px;
  max-width: 680px; width: 100%; box-shadow: var(--shadow-dark); border: 1px solid #efe4cf; }
.reader .kicker { color: var(--gold-deep); text-align: center; }
.reader h1 { font-size: 2.1rem; text-align: center; margin: 8px 0 22px; }
.reader .body p { font-size: 1.16rem; line-height: 1.9; margin: 0 0 1.05em; }
.reader .body p:first-of-type::first-letter { font-family: var(--serif); font-size: 2.6em; float: left;
  line-height: .8; padding: 6px 10px 0 0; color: var(--gold-deep); }

/* ---------- Formular-Karten (Login/Register) ---------- */
.form-card { background: #fffdf8; border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-soft); }
.field { display: block; margin-bottom: 15px; }
.field > span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: .95rem; }
.form-card input { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1.5px solid var(--paper-line);
  background: #fff; color: var(--ink); font-size: 1rem; font-family: inherit; }
.form-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,181,106,.22); }

/* ---------- Alerts / Badges / Listen ---------- */
.alert { padding: 13px 16px; border-radius: 13px; margin-bottom: 14px; font-size: .96rem; }
.alert-error { background: #fae3df; border: 1px solid #e9b6ac; color: #8a3a2c; }
.alert-info { background: rgba(160,196,199,.22); border: 1px solid rgba(160,196,199,.55); color: #2c5358; }
.alert-dark { background: rgba(220,212,242,.12); border: 1px solid rgba(220,212,242,.3); color: var(--cream-on-dark); }
.alert-warning { background: rgba(230,181,106,.18); border: 1px solid rgba(230,181,106,.6); color: #6b4a1d; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; border: 1px solid var(--paper-line); }
.badge-on { background: rgba(160,196,199,.25); color: #2c5358; border-color: transparent; }
.badge-off { background: rgba(235,198,189,.4); color: #8a4a3c; border-color: transparent; }

.card { background: #fffdf8; border: 1px solid var(--paper-line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-soft); }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.list-item:last-child { border-bottom: none; }
.stack > * + * { margin-top: 14px; }

/* Anklickbare Verlauf-Zeile (ganze Zeile ist ein Link) */
.card.stack > a.story-row + a.story-row { margin-top: 0; }
.story-row { text-decoration: none; color: inherit; transition: background .15s ease; border-radius: 8px; padding-left: 12px; padding-right: 12px; }
.story-row:hover { background: rgba(230,181,106,.12); }
.story-row strong { display: block; margin-bottom: 2px; }
.story-row__go { color: var(--gold); font-size: 1.2rem; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tief); color: var(--muted-on-dark); padding: 34px 0; text-align: center; font-size: .9rem; }
.site-footer .brand { color: var(--cream-on-dark); font-size: 1.2rem; }
.site-footer a { color: var(--muted-on-dark); }
.footer-legal { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer-legal a { text-decoration: none; opacity: .85; }
.footer-legal a:hover { opacity: 1; color: var(--cream-on-dark); }

/* ---------- Rechtsseiten (Impressum / Datenschutz / AGB / Widerruf) ---------- */
.legal-doc { max-width: 760px; padding-top: 26px; padding-bottom: 40px; }
.legal-doc h1 { font-size: 2.2rem; margin: 8px 0 6px; }
.legal-doc h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink); line-height: 1.6; }
.legal-doc a { color: var(--gold-deep); }
.legal-doc ul { margin: 8px 0 8px 1.2em; }
.legal-doc li { margin: 4px 0; }
.legal-box { background: #fffdf8; border: 1px solid var(--paper-line); border-radius: var(--r);
  padding: 18px 20px; margin: 12px 0; }
.legal-back { margin-top: 36px; }
.legal-back a { color: var(--ink-soft); text-decoration: none; }

/* ---------- Lade-Animation ---------- */
.loading { display: none; text-align: center; padding: 30px; color: var(--cream-on-dark); }
.loading.show { display: block; }
.loading .dots span { display: inline-block; width: 11px; height: 11px; margin: 0 4px; border-radius: 50%; background: var(--gold); animation: bob 1s infinite ease-in-out; }
.loading .dots span:nth-child(2) { animation-delay: .15s; }
.loading .dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-9px); opacity: 1; } }

/* ---------- Responsive <picture> Basis ---------- */
.pic { display: block; }
.pic img { width: 100%; display: block; }

/* Häkchen-Liste */
.ticklist { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.ticklist li { position: relative; padding-left: 28px; color: var(--muted-on-dark); line-height: 1.5; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.ticklist-light li { color: var(--ink-soft); }

/* Benefit-Chips */
.benefit-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.benefit-chips span { background: #fffdf8; border: 1px solid var(--paper-line); border-radius: 999px;
  padding: 9px 15px; font-size: .92rem; box-shadow: var(--shadow-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  /* Szenen mobil: Text unten, Verlauf nach unten dunkler, Motiv darüber sichtbar */
  .scene { min-height: clamp(480px, 72vh, 660px); }
  .scene__overlay,
  .scene--right .scene__overlay,
  .scene--center .scene__overlay {
    background: linear-gradient(180deg, rgba(8,14,30,.26) 0%, rgba(8,14,30,.52) 46%, rgba(8,14,30,.90) 100%); }
  .scene__content,
  .scene--center .scene__content,
  .scene--right .scene__content { margin: auto 0 0; max-width: none; padding: 30px 0 40px; text-align: left; }
  .scene--center .scene__content .lead, .scene--center .scene__content .sub { margin-left: 0; margin-right: 0; }
  .scene--center .scene__content .cta-row { justify-content: flex-start; }
  .scene__content h1 { font-size: 2.3rem; }
  .scene__content h2 { font-size: 2rem; }
  .scene--boxed .scene__content { padding: 24px 20px; margin-bottom: 26px; }
  .testi-card { flex-basis: 280px; width: 280px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .feature-row { justify-content: center; }
  .hero-visual { order: -1; }
  .config-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
/* Hero/CTA mit Hochkant-Bild auf dem Handy etwas höher */
@media (max-width: 640px) {
  .scene--tall { min-height: clamp(560px, 88vh, 760px); }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2.4rem; }
  .sec h2.big { font-size: 2rem; }
  .sec { padding: 56px 0; }
  .steps, .trust, .examples, .plans { grid-template-columns: 1fr; }
  .reader { padding: 30px 22px; }
  .form-card { padding: 24px 20px; }
  .card { padding: 20px 16px; }
  .list-item { flex-wrap: wrap; gap: 10px; }

  /* „Für wen"-Karten bleiben 3-spaltig (kein Riesen-Stapel), nur enger */
  .aud-grid { gap: 10px; }

  /* Name + Alter stapeln auf dem Handy (verhindert engen Überlauf) */
  .name-age { grid-template-columns: 1fr; gap: 14px; }

  /* Konfigurator kompakter + Titel kleiner */
  .config-h1 { font-size: 1.85rem !important; }
  .config-main { gap: 20px; }
  .stepper .st { min-width: 58px; }
  .stepper .st small { font-size: .68rem; }

  /* Hamburger-Menü */
  .nav-inner { flex-wrap: wrap; }
  .nav-burger { display: block; }
  .nav-links { display: none; order: 3; flex-basis: 100%; flex-direction: column;
    align-items: stretch; gap: 2px; padding: 6px 0 10px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 12px 13px; border-radius: 12px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }

  /* Profil-Button im Burger-Menü: Icon + Text als normale Zeile */
  .nav-profile { padding: 12px 13px; }
  .nav-profile-label { display: inline; }
}

/* ── Einwilligungs-Banner (DSGVO, für Meta-Pixel) ── */
.sg-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: var(--r);
  background: var(--tief); color: var(--cream-on-dark);
  box-shadow: var(--shadow-dark); border: 1px solid rgba(230, 181, 106, .25);
}
.sg-consent[hidden] { display: none; }
.sg-consent__text { flex: 1 1 280px; margin: 0; font-size: .85rem; line-height: 1.4; color: var(--muted-on-dark); }
.sg-consent__text a { color: var(--gold); }
.sg-consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.sg-consent__btn {
  cursor: pointer; border: 0; border-radius: 10px; padding: 8px 16px;
  font: inherit; font-weight: 600; font-size: .88rem;
}
.sg-consent__btn--gold { background: var(--gold); color: var(--nacht); }
.sg-consent__btn--ghost { background: transparent; color: var(--cream-on-dark); border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 680px) {
  .sg-consent { gap: 8px; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
  .sg-consent__actions { flex: 1 1 100%; justify-content: stretch; }
  .sg-consent__btn { flex: 1; padding: 9px 12px; }
}
