/* =========================================
   1. GLOBALE EINSTELLUNGEN & VARIABLEN
   ========================================= */
:root {
    --primary-color: #002B5B; /* Dunkelblau (Seriös) */
    --accent-color: #FFB300; /* Gold/Orange (Aufmerksamkeit) */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--white); }
.center-text { text-align: center; }
.mt-20 { margin-top: 20px; }

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #e6a100;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo .dot { color: var(--accent-color); }

nav ul { display: flex; gap: 20px; }
nav a { font-weight: 500; color: var(--primary-color); }
nav a:hover { color: var(--accent-color); }
nav .nav-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
}

/* =========================================
   4. HERO SEKTION (STARTSEITE)
   ========================================= */
#hero {
    height: 90vh;
    background: linear-gradient(rgba(0,43,91,0.8), rgba(0,43,91,0.6)), url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 10px; }
.subline { font-size: 1.2rem; margin-bottom: 20px; font-weight: 300; }
.hero-text { font-size: 1.1rem; margin-bottom: 30px; }

/* =========================================
   5. PROBLEM / LÖSUNG
   ========================================= */
.savings-box {
    border: 2px solid var(--accent-color);
    background: #fffbf0;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sad-list li::before { content: "❌ "; }
.happy-list li::before { content: "✅ "; }
.sad-list li, .happy-list li { margin-bottom: 10px; }

.result-box {
    margin-top: 20px;
    padding: 15px;
    background: #ffecec;
    border-left: 4px solid var(--danger);
    font-size: 0.9rem;
}

/* =========================================
   6. LEISTUNGEN (ÜBERSICHT)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-item {
    background: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: 500;
}

.specialized-text { text-align: center; color: var(--text-light); }

/* =========================================
   7. PREISE / PAKETE (GRID)
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.package {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.package.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.package .badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.price { margin: 20px 0; }
.old-price { text-decoration: line-through; color: #999; font-size: 0.9rem; display: block; }
.current-price { font-size: 2rem; font-weight: 700; color: var(--primary-color); }
.package hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
.package ul li { margin-bottom: 10px; font-size: 0.9rem; }

.optional-box {
    grid-column: 1 / 3;
    background: #000;
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}
.optional-box h4 { color: var(--accent-color); margin-bottom: 5px; }
.disclaimer { text-align: center; margin-top: 20px; font-size: 0.8rem; color: #888; }

/* =========================================
   8. B2B / ÜBER UNS / PROZESS
   ========================================= */
.b2b-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}
.b2b-grid ul li::before { content: "• "; color: var(--accent-color); font-weight: bold; }
.center-btn { text-align: center; }

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.value-box {
    background: var(--bg-light);
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-left: 3px solid var(--primary-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}
.step { flex: 1; text-align: center; min-width: 150px; }
.step-icon {
    width: 50px; height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* =========================================
   9. FOOTER & ANIMATION
   ========================================= */
footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
}

.slogan-slider {
    height: 30px;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
    font-style: italic;
    position: relative;
}

.slide-text {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: slideAnimation 16s infinite;
}

.slide-text:nth-child(1) { animation-delay: 0s; }
.slide-text:nth-child(2) { animation-delay: 4s; }
.slide-text:nth-child(3) { animation-delay: 8s; }
.slide-text:nth-child(4) { animation-delay: 12s; }

@keyframes slideAnimation {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    25% { opacity: 1; transform: translateY(0); }
    35% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* =========================================
   10. STYLES FÜR UNTERSEITEN (NEU)
   ========================================= */

/* Kleinerer Hero-Bereich */
.sub-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,43,91,0.9), rgba(0,43,91,0.7)), url('https://images.unsplash.com/photo-1552934249-59eb6c522543?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}
.sub-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* Detail-Grid Leistungen */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--accent-color);
}
.service-card h3 { color: var(--primary-color); }
.service-card p { font-size: 0.95rem; color: #555; }

/* Tabellen */
.comparison-table-wrapper { overflow-x: auto; margin-top: 40px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: center; border-bottom: 1px solid #eee; }
.comparison-table th { background: var(--primary-color); color: var(--white); }
.comparison-table tr:hover { background-color: #f9f9f9; }
.check { color: var(--success); font-weight: bold; }
.cross { color: #ddd; }

/* Rechtstexte (Impressum/Datenschutz) */
.legal-content h3 { margin-top: 30px; margin-bottom: 10px; color: var(--primary-color); }
.legal-content h4 { margin-top: 20px; font-weight: bold; }
.legal-content p { margin-bottom: 15px; }
.legal-content ul { list-style: disc; margin-left: 20px; margin-bottom: 15px; }

/* =========================================
   11. RESPONSIVE ANPASSUNGEN (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 10px; }
    nav ul { gap: 10px; flex-wrap: wrap; justify-content: center; }
    
    .hero-content h1 { font-size: 2rem; }
    .cta-group { display: flex; flex-direction: column; gap: 10px; }
    .btn-secondary { margin-left: 0; }
    
    .comparison-grid, .pricing-grid, .b2b-grid { grid-template-columns: 1fr; }
    
    .optional-box { grid-column: 1; }
    .package.popular { transform: none; order: -1; }
}