/* ============================================================
   E2M Capital GmbH – Hauptstylesheet
   Farbpalette: Orange (#E8650A, #F07A20, #FF8C00) + Neutraltöne
   ============================================================ */

/* ---- CSS-Variablen ---- */
:root {
    --orange-dark:    #C4520A;
    --orange-main:    #E8650A;
    --orange-mid:     #F07A20;
    --orange-light:   #FF9A3C;
    --orange-pale:    #FFF3E8;
    --orange-border:  #FDDBB8;

    --gray-900:  #1A1A1A;
    --gray-800:  #2C2C2C;
    --gray-700:  #444444;
    --gray-600:  #666666;
    --gray-400:  #999999;
    --gray-200:  #E8E8E8;
    --gray-100:  #F5F5F5;
    --white:     #FFFFFF;

    --font-main: 'Arial', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.7;

    --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl:  0 16px 48px rgba(0,0,0,0.14);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: 0.25s ease;
    --max-width: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: var(--font-size-base); }

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background: var(--white);
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.25;
    color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }

/* ---- Container ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange-main);
    color: var(--white);
    border-color: var(--orange-main);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232,101,10,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--orange-main);
    border-color: var(--orange-main);
}
.btn-outline:hover {
    background: var(--orange-main);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--orange-main);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--orange-pale);
    color: var(--orange-dark);
}

.btn-nav {
    background: var(--orange-main);
    color: var(--white) !important;
    padding: 9px 22px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}
.btn-nav:hover {
    background: var(--orange-dark);
    color: var(--white) !important;
}

.btn-nav-outline {
    background: transparent;
    color: var(--orange-main) !important;
    border: 2px solid var(--orange-main);
    padding: 7px 20px;
}
.btn-nav-outline:hover {
    background: var(--orange-main);
    color: var(--white) !important;
}

/* Scrolled header: outline buton rengi beyaza döner */
.scrolled .btn-nav-outline {
    color: var(--orange-main) !important;
    border-color: var(--orange-main);
}

.btn-footer-cta {
    display: block;
    margin-top: 16px;
    background: var(--orange-main);
    color: var(--white);
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.btn-footer-cta:hover {
    background: var(--orange-dark);
    color: var(--white);
}

.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ---- Header Top Bar ---- */
.header-top {
    background: var(--gray-900);
    padding: 8px 0;
    font-size: 0.82rem;
}
.header-top-inner {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    align-items: center;
}
.header-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-400);
}
.header-contact-item a {
    color: var(--gray-400);
    transition: color var(--transition);
}
.header-contact-item a:hover { color: var(--orange-light); }
.header-contact-item svg { flex-shrink: 0; }

/* ---- Main Navigation ---- */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo-link { flex-shrink: 0; }
.logo-img { height: 90px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a {
    display: block;
    padding: 8px 14px;
    color: var(--gray-800);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--orange-main);
    background: var(--orange-pale);
}

.nav-menu > li.active > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--orange-main);
    border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--gray-700);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
    background: var(--orange-pale);
    color: var(--orange-main);
    padding-left: 24px;
}

.arrow { font-size: 0.7rem; margin-left: 2px; }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, #2a1a0a 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background: linear-gradient(135deg, transparent, rgba(232,101,10,0.08));
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .breadcrumb { margin-bottom: 20px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; }
.breadcrumb a { color: var(--orange-light); }
.breadcrumb span { color: var(--gray-400); }
.breadcrumb .current { color: var(--gray-400); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

/* ---- Section Styles ---- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .overline {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange-main);
    margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto;
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--orange-main);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---- Cards ---- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--orange-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.card-icon {
    width: 56px;
    height: 56px;
    background: var(--orange-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg { color: var(--orange-main); }
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 0; }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--orange-main);
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; }

/* ---- Zinssatz Tabelle ---- */
.zins-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}
.zins-table th {
    background: var(--gray-900);
    color: var(--white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.zins-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.zins-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.zins-table td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}
.zins-table tr:hover td { background: var(--orange-pale); }
.zins-table .highlight td {
    background: var(--orange-pale);
    font-weight: 600;
    color: var(--orange-dark);
}
.zins-rate {
    font-weight: 700;
    color: var(--orange-main);
    font-size: 1.05rem;
}

/* ---- Info Box ---- */
.info-box {
    background: var(--orange-pale);
    border-left: 4px solid var(--orange-main);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 24px 0;
}
.info-box p { margin-bottom: 0; color: var(--gray-800); }

.warning-box {
    background: #FFF8E1;
    border-left: 4px solid #F59E0B;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

/* ---- Trust Badges ---- */
.trust-bar {
    background: var(--gray-100);
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 600;
}
.trust-item svg { color: var(--orange-main); flex-shrink: 0; }

/* ---- Contact Form ---- */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--orange-main);
    box-shadow: 0 0 0 3px rgba(232,101,10,0.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }

/* ---- Cookie Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-content p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin: 0; flex: 1; min-width: 200px; }
.cookie-content a { color: var(--orange-light); }
.cookie-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-link { color: var(--gray-400); font-size: 0.8rem; text-decoration: underline; }
.cookie-link:hover { color: var(--orange-light); }

/* ---- Footer ---- */
.site-footer { background: var(--gray-900); color: var(--white); }
.footer-main { padding: 64px 0 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 16px; }
.footer-address { font-style: normal; color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact-links { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-contact-links a:hover { color: var(--orange-light); }

.footer-heading {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange-light); }
.footer-links strong { font-weight: 600; }

.footer-hours { margin-bottom: 0; }
.footer-hours li {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-bottom: 8px;
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }
.footer-reg { font-size: 0.75rem !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { padding: 12px 16px; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-100);
        border-radius: var(--radius-sm);
        margin-top: 4px;
    }
    .main-nav { position: relative; }
    .nav-inner { position: relative; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .trust-items { gap: 24px; }
    .section { padding: 56px 0; }
    .cookie-content { flex-direction: column; }
    .header-top-inner { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}
