/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d1b2a;
    color: #e8eaf0;
    font-size: 16px;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.3; font-weight: 700; }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 600; }
p { margin-bottom: 0.8em; }

/* ===== COLORS ===== */
.bg-dark    { background: #0d1b2a; }
.bg-mid     { background: #132232; }
.bg-card    { background: #1a2e45; }
.text-gold  { color: #f5a623; }
.text-green { color: #4CAF50; }
.text-blue  { color: #4a90d9; }
.text-red   { color: #e05555; }
.text-white { color: #ffffff; }
.text-muted { color: #94a3b8; font-size: 0.85rem; }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, opacity 0.15s;
    text-align: center;
    line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-orange { background: #f5a623; color: #1a1a1a; }
.btn-green  { background: #27ae60; color: #fff; }
.btn-blue   { background: #2980b9; color: #fff; }
.btn-red    { background: #c0392b; color: #fff; }
.btn-dark   { background: #1a2e45; color: #fff; border: 1px solid #2d4a68; }
.btn-full   { width: 100%; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 12px; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    color: #1a1a1a;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-control:focus { border-color: #f5a623; }
.form-control::placeholder { color: #888; }
.form-note { font-size: 0.8rem; color: #94a3b8; text-align: center; margin-top: 8px; }

/* ===== HEADER (Landingpage) ===== */
.site-header {
    background: #0d1b2a;
    padding: 30px 20px 20px;
    text-align: center;
}
.site-header .avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid #f5a623;
    object-fit: cover;
}
.site-header .tagline { font-size: 0.9rem; color: #94a3b8; margin-top: 8px; }

/* ===== CASHBACK BADGE ===== */
.cashback-badge {
    background: #132232;
    border: 1px solid #2d4a68;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
    margin: 20px 0;
}
.cashback-badge .star { font-size: 1.3rem; color: #f5a623; }

/* ===== OPT-IN BOX ===== */
.optin-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
}
@media (max-width: 640px) { .optin-wrap { grid-template-columns: 1fr; } }

.optin-box {
    background: #1a2e45;
    border-radius: 10px;
    padding: 24px;
}
.optin-box h3 { margin-bottom: 16px; font-size: 1rem; }

/* ===== VIDEO ===== */
.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== BOOKS / RATGEBER ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.book-item { text-align: center; }
.book-item img { border-radius: 6px; margin-bottom: 8px; width: 100%; max-width: 160px; margin-left: auto; margin-right: auto; }
.book-label { font-weight: 700; font-size: 1rem; }
@media (max-width: 480px) { .books-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ===== SEPARATOR BANNER ===== */
.separator-banner {
    background: linear-gradient(135deg, #4a1a6b, #1a3a6b);
    border-radius: 8px;
    padding: 18px 24px;
    text-align: center;
    margin: 30px 0 20px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* ===== SOLFEGGIO GRID ===== */
.solfeggio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.solfeggio-item { background: #1a2e45; border-radius: 8px; overflow: hidden; }
.solfeggio-item video { width: 100%; }
.solfeggio-item .sol-label { padding: 10px 12px; font-size: 0.85rem; color: #94a3b8; }
@media (max-width: 480px) { .solfeggio-grid { grid-template-columns: 1fr; } }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.testimonial-item {
    background: #1a2e45;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.85rem;
}
.testimonial-item .avatar-small {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #2d4a68;
    margin-bottom: 10px;
}
@media (max-width: 600px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===== AFFILIATE CARDS ===== */
.section-header {
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}
.section-header.green { background: #27ae60; }
.section-header.blue  { background: #2980b9; }
.section-header.red   { background: #c0392b; }

.affiliate-card {
    background: #1a2e45;
    border-radius: 0 0 8px 8px;
    margin-bottom: 24px;
    overflow: hidden;
}
.affiliate-card .card-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
}
@media (max-width: 600px) { .affiliate-card .card-body { grid-template-columns: 1fr; } }
.affiliate-card .card-img { height: 180px; object-fit: cover; width: 100%; }
.affiliate-card .card-content { padding: 20px; }
.affiliate-card .card-quote { font-size: 0.9rem; color: #94a3b8; font-style: italic; margin-bottom: 12px; }
.affiliate-card .card-cta { margin-top: 16px; }

/* ===== PDF SECTION ===== */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}
.pdf-card {
    background: #1a2e45;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}
.pdf-card img { width: 100%; height: 160px; object-fit: cover; }
.pdf-card-body { padding: 16px; }
.pdf-card h4 { font-size: 0.9rem; margin-bottom: 12px; }
@media (max-width: 600px) { .pdf-grid { grid-template-columns: 1fr; } }

/* ===== IMPULSE PAGES (Gesundheit/Business/Innere Stärke) ===== */
.impulse-header {
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
}
.impulse-header.green { background: linear-gradient(135deg, #1a5c2a, #27ae60); }
.impulse-header.blue  { background: linear-gradient(135deg, #1a3560, #2980b9); }
.impulse-header.red   { background: linear-gradient(135deg, #5c1a1a, #c0392b); }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.problem-card {
    background: #1a2e45;
    border-radius: 8px;
    overflow: hidden;
}
.problem-card .problem-header {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
}
.problem-card.green .problem-header { background: #27ae60; }
.problem-card.blue  .problem-header { background: #2980b9; }
.problem-card.red   .problem-header { background: #c0392b; }
.problem-card .problem-body { padding: 16px; font-size: 0.85rem; }
.problem-card .problem-label { font-weight: 600; color: #94a3b8; margin-bottom: 8px; display: block; font-size: 0.8rem; }
.problem-card .problem-title { font-style: italic; margin-bottom: 12px; font-size: 0.9rem; }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

/* ===== CASHBACK BOX ===== */
.cashback-box {
    background: #0d1b2a;
    border: 1px solid #2d4a68;
    border-radius: 10px;
    padding: 28px;
    margin: 30px 0;
}
.cashback-box h3 { font-size: 1.2rem; margin-bottom: 16px; color: #f5a623; }
.cashback-step { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.cashback-step .step-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.cashback-step .step-text { font-size: 0.9rem; color: #94a3b8; }
.cashback-step .step-text strong { color: #e8eaf0; }

/* ===== DANKE PAGE ===== */
.danke-header { text-align: center; padding: 40px 20px 20px; }
.danke-header .avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; border: 3px solid #f5a623; object-fit: cover; }
.danke-header h1 { font-size: 2.5rem; }

.frequency-list { background: #1a2e45; border-radius: 10px; padding: 24px; margin: 24px 0; }
.frequency-item { display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #2d4a68; }
.frequency-item:last-child { border-bottom: none; }
.frequency-item .freq-icon { text-align: center; font-size: 2rem; }
.frequency-item .freq-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.frequency-item .freq-text p { font-size: 0.85rem; color: #94a3b8; margin: 0; }

.download-btn-wrap { text-align: center; margin: 24px 0; }

.bonus-box { background: #132232; border: 1px solid #2d4a68; border-radius: 10px; padding: 24px; margin: 24px 0; text-align: center; }

/* ===== POPUP OVERLAY ===== */
.popup-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.popup-box {
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 36px 32px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    position: relative;
}
.popup-close {
    position: absolute; top: 14px; right: 18px;
    font-size: 1.5rem; cursor: pointer; color: #666;
    background: none; border: none; line-height: 1;
}
.popup-box h2 { font-size: 1.6rem; margin-bottom: 16px; color: #1a1a1a; }
.popup-box p { color: #444; margin-bottom: 20px; }
.popup-box .popup-cta { background: #1a2e45; color: #fff; padding: 16px 28px; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; border: none; width: 100%; }
.popup-note { font-size: 0.8rem; color: #666; margin-top: 12px; }

/* ===== ÜBER MICH ===== */
.ueber-grid { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; margin: 30px 0; }
.ueber-grid img { border-radius: 10px; width: 100%; object-fit: cover; }
@media (max-width: 600px) { .ueber-grid { grid-template-columns: 1fr; } .ueber-grid img { max-width: 200px; } }

.ueber-section { background: #1a2e45; border-radius: 10px; padding: 24px; margin: 24px 0; }
.ueber-section h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

/* ===== FOOTER ===== */
.site-footer {
    background: #091420;
    padding: 24px 20px;
    text-align: center;
    border-top: 1px solid #1a2e45;
    margin-top: 40px;
}
.site-footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: #94a3b8; font-size: 0.9rem; }
.site-footer nav a:hover { color: #e8eaf0; }

/* ===== ALERTS ===== */
.alert { padding: 14px 20px; border-radius: 8px; margin: 16px 0; font-size: 0.95rem; }
.alert-success { background: #1a4a2a; border: 1px solid #27ae60; color: #90e0a0; }
.alert-error   { background: #4a1a1a; border: 1px solid #c0392b; color: #f0a0a0; }

/* ===== MOBILE ===== */
@media (max-width: 480px) {
    .btn { padding: 13px 20px; }
    .section { padding: 28px 0; }
    .optin-box { padding: 18px; }
}

/* ===== TOP NAV ===== */
.top-nav {
    display: block;
    width: 100%;
    background: #091420;
    border-bottom: 1px solid #1a2e45;
    padding: 10px 20px;
    position: sticky; top: 0; z-index: 500;
}
.top-nav .nav-inner {
    max-width: 860px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.top-nav .nav-logo { font-weight: 700; font-size: 0.95rem; color: #f5a623; }
.top-nav .nav-links { display: flex; gap: 16px; flex-wrap: wrap; }
.top-nav .nav-links a { font-size: 0.85rem; color: #94a3b8; }
.top-nav .nav-links a:hover { color: #e8eaf0; }

/* Mobile: 2-col grid für optin-wrap zweite Instanz */
@media (max-width:600px) {
    div.optin-two-col { display: block !important; }
}

/* ===== NAV ===== */
.nav-logo-img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 8px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo span { font-weight: 700; font-size: 0.95rem; }
.nav-premium { background: linear-gradient(135deg, #f5a623, #e8950f); color: #1a1a1a !important; padding: 7px 14px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; transition: transform 0.15s, box-shadow 0.15s; }
.nav-premium:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,166,35,0.4); }
.nav-toggle { display: none; background: none; border: 1px solid #2d4a68; color: #e8eaf0; font-size: 1.3rem; padding: 6px 12px; border-radius: 6px; cursor: pointer; }
@media (max-width: 700px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; width: 100%; padding: 10px 0; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 16px; border-radius: 6px; }
    .nav-premium { text-align: center; }
}
@media (max-width:600px) { div.optin-two-col { display: block !important; } }

/* ===== HEADER SLOGAN ROW ===== */
.header-slogan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0 14px;
    gap: 20px;
}
.header-logo-sq {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.header-portrait-circle {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}
.header-slogan-text {
    flex: 1;
    text-align: center;
    color: #f5a623;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
@media (max-width: 480px) {
    .header-logo-sq, .header-portrait-circle { width: 64px; height: 64px; }
    .header-slogan-text { font-size: 1rem; }
}
