/* ==========================================================================
   edelweiss.codes — Landingpage (Dark)
   ========================================================================== */

:root {
    --bg: #0b0f14;
    --bg-2: #10161e;
    --bg-3: #161e28;
    --line: #1f2a38;
    --text: #e8edf3;
    --muted: #8b98a9;
    --accent: #9ecbff;
    --accent-hi: #c7e2ff;
    --green: #4ade80;
    --r-lg: 22px;
    --r-pill: 999px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent-hi); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 40; backdrop-filter: blur(14px); background: rgba(11, 15, 20, .78); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 24px; height: 24px; border-radius: 7px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: #fff; }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: var(--r-pill); background: var(--accent); color: var(--bg); font-weight: 700; font-size: 15px; cursor: pointer; border: 0; transition: transform .18s var(--ease), box-shadow .18s var(--ease); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn.sm { padding: 9px 20px; font-size: 13.5px; }
.btn.lg { padding: 15px 34px; font-size: 16px; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-hi); box-shadow: none; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 480px at 50% -8%, rgba(158, 203, 255, .12), transparent 60%), var(--bg); color: #fff; text-align: center; padding: 190px 0 110px; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 1; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero-flower { width: 84px; height: 84px; margin-bottom: 26px; border-radius: 20px; filter: drop-shadow(0 0 26px rgba(158, 203, 255, .35)); }
.display { font-size: clamp(52px, 9vw, 104px); font-weight: 800; letter-spacing: -.04em; }
.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 660px; margin: 22px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 54px; }
.sources span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 18px; }
.sources span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: 1px; }

/* ---------- Leistungen ---------- */

.section { padding: 90px 0; }
.center-kicker { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.step:hover { transform: translateY(-4px); border-color: rgba(158, 203, 255, .35); }
.step-num { font-weight: 800; font-size: 14px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p:last-child { font-size: 14.5px; color: var(--muted); }
.fine { text-align: center; margin-top: 34px; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* ---------- Privacy ---------- */

.privacy { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #fff; text-align: center; }
.privacy-inner h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
.privacy .lead { margin-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; padding: 9px 20px; border-radius: var(--r-pill); border: 1px solid var(--line); color: #fff; background: var(--bg-3); }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---------- Kunden / CTA ---------- */

.center { text-align: center; }
.center h2 { font-size: clamp(30px, 4.5vw, 44px); }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 44px; margin-top: 50px; }
.logo-wall img { height: 34px; width: auto; opacity: .7; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.logo-wall img:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; gap: 16px; }
.foot-brand .logo { font-size: 17px; }
.foot-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.foot-note a { color: var(--accent); }
.footer nav { display: flex; gap: 22px; }
.footer nav a { font-size: 13.5px; color: var(--muted); font-weight: 600; transition: color .2s; }
.footer nav a:hover { color: var(--accent); }

/* ---------- Legal Pages ---------- */

.legal { padding: 160px 0 90px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal a { color: var(--accent); }

/* ---------- Kontakt-Modal ---------- */

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 12, .78); backdrop-filter: blur(8px); }
.modal-box { position: relative; width: 100%; max-width: 460px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 36px 32px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: modal-in .25s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; transition: color .2s, background .2s; }
.modal-close:hover { color: #fff; background: var(--bg-3); }
.modal-box h2 { font-size: 26px; margin-bottom: 24px; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.contact-row { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); transition: border-color .2s, transform .2s var(--ease); }
.contact-row:hover { border-color: rgba(158, 203, 255, .4); transform: translateY(-2px); }
.contact-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: 18px; font-weight: 700; color: #fff; }
.modal-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; }
    .hero { padding: 150px 0 80px; }
    .nav-links > a:not(.btn) { display: none; }
    .foot-inner { flex-direction: column; text-align: center; }
}
