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

:root {
    --cream: #FDF6EE;
    --cream-dark: #F5EBD9;
    --brown: #2C2013;
    --brown-soft: #5C4A36;
    --brown-muted: #8A7968;
    --terracotta: #C4533A;
    --terracotta-light: #FCEAE6;
    --amber: #D4940A;
    --amber-light: #FFF3D4;
    --sage: #5B7C5E;
    --sage-light: #E8F0E8;
    --white: #FFFFFF;
    --border: #E8DFD2;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--brown);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: #A8442E; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,83,58,0.25); }
.btn-ghost { color: var(--brown-soft); border: 1.5px solid var(--border); background: var(--white); }
.btn-ghost:hover { border-color: var(--brown-soft); }

/* ===== KONFETTI DOTS ===== */
.confetti-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(253,246,238,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav.scrolled { box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--brown); display: flex; align-items: center; gap: 8px; }
.nav-logo span { color: var(--terracotta); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--brown-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--terracotta); }
.nav-cta { padding: 9px 22px; font-size: 13px; background: var(--sage); color: #fff !important; }
.nav-cta:hover { background: #4A6A4D; }

.nav-mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* ===== HERO ===== */
.hero {
    padding: 130px 0 80px;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--brown);
    margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--terracotta); }

.hero-text {
    font-size: 17px;
    color: var(--brown-muted);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* CARD VISUAL */
.hero-visual { position: relative; display: flex; justify-content: center; }

.card-envelope {
    position: relative;
    width: 360px;
}

.greeting-card {
    background: var(--white);
    border-radius: 4px;
    padding: 32px 28px;
    box-shadow:
        0 1px 2px rgba(44,32,19,0.06),
        0 8px 24px rgba(44,32,19,0.08),
        0 24px 48px rgba(44,32,19,0.04);
    transform: rotate(1.5deg);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.greeting-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 27px,
        rgba(0,0,0,0.02) 27px,
        rgba(0,0,0,0.02) 28px
    );
    pointer-events: none;
}

.card-to {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    color: var(--brown-soft);
    margin-bottom: 12px;
}

.card-body {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    color: var(--brown);
    line-height: 1.7;
}

.card-badge {
    position: absolute;
    bottom: -16px;
    right: -12px;
    background: var(--sage);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(91,124,94,0.25);
}
.card-badge svg { width: 14px; height: 14px; }

.card-stamp {
    position: absolute;
    top: -14px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212,148,10,0.3);
    transform: rotate(-8deg);
}
.card-stamp svg { width: 26px; height: 26px; color: #fff; }

/* ===== SO FUNKTIONIERT'S ===== */
.how {
    padding: 100px 0 80px;
    position: relative;
}

.how-header {
    margin-bottom: 56px;
}
.how-header h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 12px; }
.how-header p { font-size: 17px; color: var(--brown-muted); max-width: 460px; }

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.step:last-child { border-bottom: none; }

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    flex-shrink: 0;
}
.step-1 .step-num { background: var(--terracotta-light); color: var(--terracotta); }
.step-2 .step-num { background: var(--amber-light); color: var(--amber); }
.step-3 .step-num { background: var(--sage-light); color: var(--sage); }

.step h3 { font-size: 20px; margin-bottom: 4px; }
.step p { font-size: 15px; color: var(--brown-muted); line-height: 1.65; }

/* ===== FEATURES ===== */
.features {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.features-header {
    margin-bottom: 48px;
}
.features-header h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 12px; }
.features-header p { font-size: 17px; color: var(--brown-muted); max-width: 420px; }

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--cream);
    transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--brown-muted); }

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
.dot-terracotta { background: var(--terracotta); }
.dot-amber { background: var(--amber); }
.dot-sage { background: var(--sage); }
.dot-brown { background: var(--brown-soft); }

.feature-item strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.feature-item span { font-size: 14px; color: var(--brown-muted); line-height: 1.55; }

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta p { font-size: 17px; color: var(--brown-muted); max-width: 440px; margin: 0 auto 32px; }

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 13px; color: var(--brown-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--brown-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--terracotta); }

/* ===== FADE IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .card-envelope { width: 320px; }
    .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .hero { padding: 100px 0 60px; }
    .card-envelope { width: 100%; max-width: 320px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .step { grid-template-columns: 44px 1fr; gap: 14px; }
    .step-num { width: 44px; height: 44px; font-size: 18px; }
}
