/* =========================================================================
   90 Minuten Schlaf – Sonnenaufgangwecker · gemeinsames Stylesheet
   Shared stylesheet for landing page + legal/support subpages.
   ========================================================================= */

:root {
    --sunrise-1: #1a1a2e;
    --sunrise-2: #16213e;
    --sunrise-3: #0f3460;
    --accent-warm: #f2994a;
    --accent-gold: #f7c948;
    --accent-rose: #e74c6f;
    --text-primary: #f0ece2;
    --text-secondary: #b8b5ad;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --green-check: #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--sunrise-1);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(242, 153, 74, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 90%, rgba(231, 76, 111, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 70% 95%, rgba(247, 201, 72, 0.06) 0%, transparent 50%);
}

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: var(--accent-warm); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Hero (Startseite) ---------- */
.hero { padding: 72px 0 20px; text-align: center; }

.app-icon {
    width: 104px; height: 104px; border-radius: 23px; overflow: hidden;
    margin: 0 auto 26px;
    box-shadow: 0 8px 40px rgba(242, 153, 74, 0.35);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero h1 {
    font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 16px; line-height: 1.25;
}

.hero .hook { color: var(--text-secondary); font-size: 1.12rem; max-width: 560px; margin: 0 auto 12px; }

/* ---------- Download-Badges ---------- */
.download { text-align: center; padding: 20px 0 8px; }
.store-badges {
    display: flex; justify-content: center; align-items: center;
    gap: 14px; flex-wrap: wrap;
}
.store-badges a { display: inline-flex; transition: transform 0.25s ease; }
.store-badges a:hover { transform: translateY(-2px); text-decoration: none; }
.store-badges img { display: block; }
/* Apple-SVG ist randlos, Google-PNG hat eingebautes Padding → Google größer skalieren,
   damit beide Badges optisch gleich hoch wirken. */
.badge-ios { height: 52px; }
.badge-android { height: 74px; }

.trust-note { color: var(--text-secondary); font-size: 0.85rem; opacity: 0.75; margin-top: 6px; }

/* ---------- Sektionen ---------- */
section { margin-bottom: 56px; position: relative; z-index: 1; }
.section-label {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
    font-size: 0.78rem; font-weight: 700; color: var(--accent-warm); margin-bottom: 12px;
}
h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); line-height: 1.3; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; color: var(--accent-gold); }
p, li { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 12px; }
.lead { font-size: 1.08rem; color: var(--text-primary); }

ul.bullets { list-style: none; padding: 0; }
ul.bullets li { padding-left: 24px; position: relative; margin-bottom: 8px; }
ul.bullets li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent-warm); opacity: 0.6;
}

/* ---------- Schritte (So funktioniert es) ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step {
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
    padding: 24px; position: relative;
}
.step .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px;
    background: rgba(242, 153, 74, 0.12); color: var(--accent-warm);
    font-weight: 700; font-size: 1rem; border: 1px solid rgba(242, 153, 74, 0.25);
}
.step h3 { margin: 0 0 6px; color: var(--text-primary); font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.92rem; }

/* ---------- Highlight-Karte (Hue / Health) ---------- */
.highlight {
    background: linear-gradient(135deg, rgba(242, 153, 74, 0.10), rgba(231, 76, 111, 0.05));
    border: 1px solid rgba(242, 153, 74, 0.18); border-radius: 22px;
    padding: 32px 34px; margin: 24px 0;
}
.highlight.green {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.02));
    border-color: rgba(39, 174, 96, 0.18);
}
.highlight .emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.highlight h2 { font-size: 1.6rem; margin-bottom: 12px; }
.highlight p:last-child { margin-bottom: 0; }

/* ---------- Preis-/Premium-Karte ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.price-card {
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px;
    padding: 28px; text-align: center; position: relative;
}
.price-card.featured { border-color: rgba(242, 153, 74, 0.45); background: linear-gradient(160deg, rgba(242, 153, 74, 0.10), rgba(255,255,255,0.02)); }
.price-card .plan { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 8px; }
.price-card .amount { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
.price-card .amount span { font-size: 0.95rem; font-weight: 400; color: var(--text-secondary); font-family: 'DM Sans', sans-serif; }
.price-card .sub { font-size: 0.9rem; color: var(--text-secondary); margin: 8px 0 0; }
.ribbon {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent-warm); color: #1a1a2e; font-size: 0.75rem; font-weight: 700;
    padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.pricing-note { text-align: center; font-size: 0.85rem; color: var(--text-secondary); opacity: 0.8; margin-top: 16px; }

/* ---------- Finaler CTA ---------- */
.final-cta {
    text-align: center; background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 24px; padding: 44px 28px;
}
.final-cta h2 { font-size: 1.7rem; margin-bottom: 8px; }
.final-cta p { max-width: 480px; margin: 0 auto 20px; }

/* ---------- Karten allgemein / Kontakt ---------- */
.card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 28px; margin: 20px 0; }
.contact-card { text-align: center; }
.contact-card a { color: var(--accent-warm); font-weight: 500; }

/* ---------- Datenschutz-Tabelle ---------- */
.privacy-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--card-border); gap: 16px; }
.privacy-row:last-child { border-bottom: none; }
.privacy-row .label { color: var(--text-secondary); font-size: 0.9rem; }
.privacy-row .target { color: var(--text-secondary); font-size: 0.85rem; opacity: 0.6; }
.badge-local {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(39, 174, 96, 0.1); color: var(--green-check);
    font-size: 0.8rem; font-weight: 600; padding: 4px 12px;
    border-radius: 100px; border: 1px solid rgba(39, 174, 96, 0.2); white-space: nowrap;
}
.badge-service {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(242, 153, 74, 0.08); color: var(--accent-warm);
    font-size: 0.8rem; font-weight: 600; padding: 4px 12px;
    border-radius: 100px; border: 1px solid rgba(242, 153, 74, 0.15); white-space: nowrap;
}
.info-box {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.02));
    border: 1px solid rgba(39, 174, 96, 0.15); border-radius: 16px;
    padding: 24px 28px; margin: 24px 0; display: flex; gap: 16px; align-items: flex-start;
}
.info-box .icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.info-box p { margin: 0; color: var(--text-primary); }
.info-box p strong { color: var(--green-check); }

/* ---------- Sub-Page-Kopf ---------- */
.subhead { padding: 40px 0 8px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; }
.backlink:hover { color: var(--accent-warm); text-decoration: none; }
.subhead h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.subhead .stand { color: var(--text-secondary); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.divider { height: 1px; background: var(--card-border); margin: 48px 0; }
footer { text-align: center; padding: 48px 0 60px; color: var(--text-secondary); }
.footer-links { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: var(--text-secondary); font-size: 0.92rem; font-weight: 500; }
.footer-links a:hover { color: var(--accent-warm); }
footer .fine { font-size: 0.82rem; opacity: 0.5; }
footer .fine + .fine { margin-top: 4px; }

/* ---------- Responsiv ---------- */
@media (max-width: 600px) {
    .hero { padding: 56px 0 12px; }
    .hero h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .steps, .pricing { grid-template-columns: 1fr; }
    .highlight { padding: 26px 22px; }
    .privacy-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .info-box { flex-direction: column; gap: 8px; }
}
