/* БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0f;
    color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #f0f0f0;
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 700;
}

.section-sub {
    color: #aaaaaa;
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
}

/* НАВИГАЦИЯ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 20px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b2b;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #f0f0f0;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b2b;
}

.nav-links a.active {
    color: #ff6b2b;
    font-weight: 600;
}

/* ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА */
.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-btn {
    background: none;
    border: 1px solid #333333;
    color: #888888;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: #ff6b2b;
    color: #ff6b2b;
}

.lang-btn.active {
    background-color: #ff6b2b;
    border-color: #ff6b2b;
    color: #ffffff;
}

/* БУРГЕР */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #f0f0f0;
    border-radius: 3px;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
#hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1208 100%);
    position: relative;
    overflow: hidden;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hero h1 {
    font-size: 48px;
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.2;
    min-height: 120px;
}

#hero h1::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: #ff6b2b;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#hero p {
    font-size: 20px;
    color: #aaaaaa;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    background-color: #ff6b2b;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    background-color: #e55a1f;
}

.btn.glow {
    box-shadow: 0 0 20px rgba(255, 107, 43, 0.4);
}

.btn.glow:hover {
    box-shadow: 0 0 35px rgba(255, 107, 43, 0.7);
}

/* ГАРАНТИИ */
#garantien {
    background-color: #1a1a1a;
    padding: 30px 60px;
}

.garantien-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.garantie {
    color: #cccccc;
    font-size: 15px;
    font-weight: 600;
}

/* ДЛЯ КОГО */
#fuer-wen {
    padding: 80px 60px;
    background-color: #111111;
    text-align: center;
}

#fuer-wen h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.gruende-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.grund {
    background-color: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 30px;
    max-width: 240px;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s;
}

.grund:hover {
    border-color: #ff6b2b;
    transform: translateY(-4px);
}

.grund-nr {
    font-size: 36px;
    font-weight: 900;
    color: #ff6b2b;
    opacity: 0.5;
    display: block;
    margin-bottom: 12px;
}

.grund h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.grund p {
    color: #aaaaaa;
    font-size: 14px;
}

/* УСЛУГИ */
#leistungen {
    padding: 80px 60px;
    background-color: #0f0f0f;
    text-align: center;
}

#leistungen h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 36px 30px;
    max-width: 280px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #ff6b2b;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: #aaaaaa;
    font-size: 15px;
}

/* ПОЧЕМУ Я */
#warum-ich {
    padding: 80px 60px;
    background-color: #111111;
    text-align: center;
}

#warum-ich h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.about-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
}

.about-foto {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6b2b;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(255, 107, 43, 0.3);
}

.about-intro {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b2b;
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 16px;
    font-size: 16px;
}

.vorteile {
    list-style: none;
    margin-top: 24px;
}

.vorteile li {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 12px;
}

/* СТАТИСТИКА */
#stats {
    padding: 80px 60px;
    background-color: #0f0f0f;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-zahl {
    font-size: 64px;
    font-weight: 900;
    color: #ff6b2b;
    line-height: 1;
}

.stat-plus {
    font-size: 36px;
    font-weight: 700;
    color: #ff6b2b;
}

.stat p {
    color: #aaaaaa;
    margin-top: 8px;
    font-size: 16px;
}

/* ЦЕНЫ */
#preise {
    padding: 80px 60px;
    background-color: #111111;
    text-align: center;
}

#preise h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.preise-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.preis-card {
    background-color: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 300px;
    text-align: left;
    position: relative;
    width: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.preis-card:hover {
    transform: translateY(-6px);
}

.preis-card.featured {
    border-color: #ff6b2b;
    box-shadow: 0 0 30px rgba(255, 107, 43, 0.15);
}

.badge {
    background-color: #ff6b2b;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.preis-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.preis {
    font-size: 48px;
    font-weight: 900;
    color: #ff6b2b;
    margin-bottom: 24px;
}

.preis-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.preis-card ul li {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 15px;
}

.preis-card .btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* КОНТАКТ */
#kontakt {
    padding: 80px 60px;
    background-color: #0f0f0f;
    text-align: center;
}

#kontakt h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 40px auto;
}

.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
    background-color: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    padding: 14px;
    color: #f0f0f0;
    font-size: 15px;
    font-family: inherit;
}

.kontakt-form select option {
    background-color: #1e1e1e;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
    outline: none;
    border-color: #ff6b2b;
}

.kontakt-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.kontakt-links a {
    color: #ff6b2b;
    font-size: 16px;
    transition: color 0.3s;
}

.kontakt-links a:hover {
    color: #ffffff;
}

/* FOOTER */
footer {
    background-color: #0a0a0a;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding: 24px 20px;
    color: #444444;
    font-size: 13px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-sep {
    color: #333333;
}

.impressum-toggle {
    background: none;
    border: none;
    color: #555555;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.3s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.impressum-toggle:hover {
    color: #ff6b2b;
}

/* IMPRESSUM АККОРДЕОН */
.impressum-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #111111;
    border-top: 1px solid #1a1a1a;
}

.impressum-box.open {
    max-height: 500px;
    padding: 30px 60px;
}

.impressum-content h4 {
    color: #ff6b2b;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 700;
}

.impressum-content p {
    color: #666666;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.impressum-hinweis {
    color: #444444 !important;
    font-size: 12px !important;
    font-style: italic;
}

/* КНОПКА НАВЕРХ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ff6b2b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s, box-shadow 0.3s;
    z-index: 999;
    box-shadow: 0 0 15px rgba(255, 107, 43, 0.4);
}

#back-to-top:hover {
    background-color: #e55a1f;
    box-shadow: 0 0 25px rgba(255, 107, 43, 0.7);
}

/* АНИМАЦИИ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #1a1a1a;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 600;
    }

    .burger {
        display: flex;
    }

    .lang-switcher {
        gap: 4px;
    }

    .lang-btn {
        font-size: 11px;
        padding: 3px 8px;
    }

    #hero h1 {
        font-size: 28px;
        min-height: 150px;
    }

    #hero p {
        font-size: 16px;
    }

    #garantien {
        padding: 20px;
    }

    .garantien-grid {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    #fuer-wen,
    #leistungen,
    #warum-ich,
    #stats,
    #preise,
    #kontakt {
        padding: 60px 20px;
    }

    .stats-grid {
        gap: 40px;
    }

    .stat-zahl {
        font-size: 48px;
    }

    .about-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-foto {
        width: 150px;
        height: 150px;
    }

    .impressum-box.open {
        padding: 24px 20px;
    }
}