@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-accent: #1e293b;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --container-width: 1100px;
    --header-height: 70px;
}

/* Basis-Reset */
.app-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

/* Globale Typografie */
.h1, .h2, .h3, .h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
.h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.h3 { font-size: 1.5rem; }
.h4 { font-size: 1.1rem; }

.link-reset {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* --- Komponenten --- */

/* Header */
.site-header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    z-index: 1001;
}

.logo-accent {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-cta {
    background: var(--accent-blue);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    box-shadow: 0 4px 15px var(--accent-glow);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1001;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-blue);
}

/* Hero Bereich */
.hero-section {
    padding: clamp(3rem, 10vh, 6rem) 0;
    text-align: center;
    position: relative;
}

.hero-glow::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 50vw, 400px);
    height: clamp(200px, 50vw, 400px);
    background: var(--accent-blue);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.sponsored-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero-description {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-media {
    margin: 3rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    max-width: 900px;
}

/* Inhalts-Sektionen */
.site-section {
    padding: clamp(3rem, 8vh, 5rem) 0;
}

.section-accent {
    background: var(--bg-accent);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

/* Karten-Stil */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex-center {
    align-items: center;
}

/* Vorteile Liste */
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 0.8rem;
}

/* Vergleichstabelle */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--bg-card);
}

.table-header, .table-cell {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table-header {
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-weight: 700;
}

.feature-col {
    color: var(--text-secondary);
    font-weight: 600;
}

.highlight-col {
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent-blue);
    font-weight: 700;
}

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* Fußzeile */
.site-footer {
    padding: 5rem 0 2rem;
    background: #080d1a;
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Spezifische Footer-Spalte für Brand */
@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand-title {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.footer-brand-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-link-item {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-disclosure-wrap {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-disclosure-text {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.impressum-box {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Call to Action Button */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px var(--accent-glow);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

/* Sidebar Ads/Widgets */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget-title {
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Form Styles */
.contact-form {
    display: grid;
    gap: 1.2rem;
    max-width: 100%;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input, .form-textarea {
    padding: 0.8rem;
    background: var(--bg-accent);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-submit {
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

/* Paragraph spacing */
.p-spacing {
    margin-bottom: 1.2rem;
}

.text-center { text-align: center !important; }
.m-auto { margin: 0 auto !important; }
.w-100 { width: 100% !important; }

/* Responsive Utility & Drawer Support */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
    .site-section {
        padding: 2.5rem 0;
    }
    .hero-section {
        padding: 3rem 0;
    }
    .h1 { font-size: 2.2rem; }
    .h2 { font-size: 1.8rem; }
}
