/*
Theme Name: Trading Portal Fintech
Author: Final Version
Description: Exklusives Fintech Design mit Preis-Toggle, Bild-Fix und Dropdown-Menü.
Version: 1.1
*/

:root {
    --primary: #0f172a;       /* Deep Navy */
    --accent: #0284c7;        /* Trust Blue */
    --gold: #f59e0b;          /* Action Gold */
    --bg-light: #f8fafc;      /* Light Background */
    --text: #334155;          /* Slate Text */
    --border: #e2e8f0;
    --white: #ffffff;
}

/* GRUNDLAGEN */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* HEADER & LOGO */
.site-header { background: rgba(255,255,255,0.95); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); padding: 12px 0; backdrop-filter: blur(10px); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

/* Logo prominenter gemacht */
.logo img { height: 65px; width: auto; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.05); }

/* NAVIGATION MIT DROPDOWN-SUPPORT */
.nav-menu { display: flex; align-items: center; }
.nav-menu ul { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu a { font-weight: 600; color: var(--primary); font-size: 0.95rem; padding: 10px 0; display: block; }
.nav-menu a:hover { color: var(--accent); }

/* Untermenü Logik */
.nav-menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
}
.nav-menu li:hover > ul { display: block; }
.nav-menu ul ul li { width: 100%; }
.nav-menu ul ul a { padding: 10px 20px; font-size: 0.9rem; font-weight: 500; }
.nav-menu ul ul a:hover { background: var(--bg-light); color: var(--accent); }

.cta-header { background: var(--primary); color: #fff !important; padding: 8px 20px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; margin-left: 20px; }
.cta-header:hover { background: var(--accent); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* HERO SECTION */
.hero { padding: 90px 0; background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; color: var(--primary); margin-bottom: 25px; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: #64748b; margin-bottom: 35px; max-width: 550px; }
.btn { display: inline-block; padding: 16px 32px; border-radius: 8px; font-weight: bold; text-align: center; font-size: 1rem; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25); border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(2, 132, 199, 0.35); }
.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--primary); margin-left: 10px; }
.btn-outline:hover { border-color: var(--primary); }

.hero-img-container { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1/1; }
.hero-img-deco { position: absolute; top: 20px; left: 20px; width: 100%; height: 100%; border: 2px solid var(--gold); border-radius: 24px; z-index: 0; }
.hero-img { 
    position: relative; z-index: 1; 
    border-radius: 24px; 
    border: 5px solid #fff; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); 
    width: 100%; height: 100%; 
    object-fit: cover; 
    background-color: #e2e8f0;
}

/* SECTIONS ALLGEMEIN */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; color: var(--primary); font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* CHECKLIST & LIGHTBOX */
.check-list li { padding: 12px 0; border-bottom: 1px dashed var(--border); padding-left: 30px; position: relative; }
.check-list li::before { content: '✔'; color: #10b981; position: absolute; left: 0; font-weight: bold; }
.zoom-img { cursor: zoom-in; border-radius: 12px; border: 1px solid var(--border); transition: transform 0.2s; background: #fff; padding: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.zoom-img:hover { transform: scale(1.02); border-color: var(--accent); }

.lightbox-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); z-index: 2000; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox-modal img { max-width: 95%; max-height: 95%; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

/* PREISE TOGGLE & CARDS */
.toggle-wrapper { display: flex; justify-content: center; margin-bottom: 50px; }
.toggle-switch { background: #e2e8f0; padding: 5px; border-radius: 50px; display: flex; }
.toggle-btn { padding: 12px 30px; border: none; background: transparent; cursor: pointer; font-weight: bold; color: #64748b; border-radius: 50px; transition: 0.3s; font-size: 1rem; }
.toggle-btn.active { background: #fff; color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.price-card { background: #fff; padding: 40px 30px; border-radius: 20px; border: 1px solid var(--border); text-align: center; transition: 0.3s; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent); }
.price-card.bundle { border: 2px solid var(--gold); background: #fffbeb; transform: scale(1.05); z-index: 10; box-shadow: 0 25px 50px rgba(245, 158, 11, 0.15); }
.price-val { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin: 20px 0; line-height: 1; }

.yearly-price, .savings-badge { display: none; }
.show-yearly .monthly-price { display: none; }
.show-yearly .yearly-price { display: block; animation: fadeUp 0.4s; }
.show-yearly .savings-badge { display: inline-block; animation: fadeUp 0.4s; background: #dcfce7; color: #166534; padding: 5px 12px; border-radius: 20px; font-weight: bold; font-size: 0.85rem; margin-top: 5px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* FOOTER */
.site-footer { background: var(--primary); color: #94a3b8; padding: 60px 0; margin-top: 80px; text-align: center; font-size: 0.9rem; }
.footer-links a { color: #fff; margin: 0 12px; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }

/* MOBILE */
@media (max-width: 900px) {
    .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero-img-container { order: -1; margin-bottom: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; flex-direction: column; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-bottom: 1px solid var(--border); }
    .nav-menu.active { display: flex; }
    .nav-menu ul { flex-direction: column; gap: 15px; }
    .mobile-toggle { display: block; }
}