/* ------------------------------ */
/* GLOBAL SETTINGS */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b1e33; 
    color: #e9f4ff; 
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: white;
}

img {
    user-select: none;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
}

/* ------------------------------ */
/* FAST PRELOADER */
/* ------------------------------ */
#fast-preloader {
    position: fixed;
    inset: 0;
    background: #0b1e33; 
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-circle {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255, 211, 77, 0.15); 
    border-top: 4px solid #ffd34d; 
    border-radius: 50%;
    animation: spin-fast 0.7s linear infinite;
}

@keyframes spin-fast {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-hide {
    opacity: 0;
    visibility: hidden;
}

/* ------------------------------ */
/* NAVBAR */
/* ------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    transition: 0.4s ease;
    z-index: 1000;
    background: transparent; 
    backdrop-filter: none;
}

.nav-scrolled {
    background: rgba(7, 18, 32, 0.92); 
    backdrop-filter: blur(14px);
    padding: 10px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    width: 70px;
    transition: 0.4s;
}

.invert-logo {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 18px;
    align-items: center;
}

.nav-links a:not(.cta-btn) {
    position: relative;
    padding-bottom: 3px;
}

.nav-links a:not(.cta-btn)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: width 0.35s ease;
    border-radius: 10px;
}

.nav-links a:not(.cta-btn):hover::after {
    width: 100%;
}

.cta-btn {
    background: #0569eb;
    color: rgb(255, 255, 255);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #0569eb;
    color: rgb(149, 198, 253);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 35px;
    color: white;
}

/* ------------------------------ */
/* MOBILE MENU SIDEBAR */
/* ------------------------------ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: 0.4s ease;
    z-index: 9999; 
    pointer-events: auto; 
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; 
}

.menu-open {
    right: 0;
}

.close-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    margin-left: auto;
    margin-bottom: 10px;
    z-index: 10000;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 20px;
    font-weight: 500;
}

/* ------------------------------ */
/* HERO SECTION (PARALLAX FIX) */
/* ------------------------------ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; 
    clip-path: inset(0); 
}

.hero-bg {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    padding: 20px;
}

.hero-logo {
    width: 170px;
    animation: float 2s ease-in-out infinite;
}

.hero h1 {
    font-size: 36px;
    margin-top: 20px;
    font-weight: 700;
}

.hero-btn {
    margin-top: 25px;
    background: #0569eb;
    color: rgb(255, 255, 255);
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
}

.hero-btn:hover {
    color: rgb(149, 198, 253);
    background: #00439b;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
    100% { transform: translateY(0); }
}

.hero-small-link {
    margin-top: 12px;
    font-size: 14px;
    color: #e9f4ff;
    opacity: 0.8;
    transition: 0.3s;
}

.hero-small-link:hover {
    opacity: 1;
    color: #6ab4ff;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-shine:hover::after {
    left: 150%;
}

.hero-stats {
    margin-top: 40px;
    display: flex;
    gap: 60px;
    justify-content: center;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: #ffd34d;
}

.stat-label {
    margin-top: 4px;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.85;
}

/* ------------------------------ */
/* ÜBER UNS SECTION */
/* ------------------------------ */
.ueber-uns {
    width: 100%;
    padding: 120px 0;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #10325a 0%, #0b223d 100%);
    overflow: hidden;
}

.ue-container {
    width: 90%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.ue-text {
    flex: 1;
    color: #e9f4ff;
}

.ue-small {
    font-size: 18px;
    opacity: 0.7;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ue-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffd34d;
}

.ue-description {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

.ue-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ue-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    background: #ffd34d;
    color: #0b1e33;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.ue-cta:hover {
    background: #ffdf70;
    transform: scale(1.05);
}

/* ------------------------------ */
/* WARUM WIR SECTION */
/* ------------------------------ */
.warum {
    width: 100%;
    padding: 120px 0;
    background: linear-gradient(180deg, #0b223d 0%, #081728 100%);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.warum-container {
    width: 90%;
    max-width: 1300px;
    text-align: center;
}

.warum-small {
    font-size: 18px;
    color: #ffd34d;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.warum-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #ffffff;
}

.warum-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.warum-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.warum-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
}

.warum-box i {
    font-size: 46px;
    color: #ffd34d;
    margin-bottom: 18px;
}

.warum-box h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}

.warum-box p {
    color: #d6e7f7;
    font-size: 16px;
    line-height: 1.6;
}

/* ------------------------------ */
/* UNSERE LEISTUNGEN */
/* ------------------------------ */
.leistungen {
    position: relative; 
    width: 100%;
    padding: 120px 0;
    display: flex;
    justify-content: center;
    background: url("leistungen.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.leistungen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 32, 0.85); 
    z-index: 1;
}

.leistungen-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1300px;
    text-align: center;
}

.leistungen-small {
    font-size: 18px;
    color: #ffd34d;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.leistungen-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.leistung-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 38px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
    height: 100%;
}

.leistung-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.20);
}

.leistung-box i {
    font-size: 46px;
    color: #ffd34d;
    margin-bottom: 18px;
}

.leistung-box h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.leistung-box p {
    color: #d6e7f7;
    font-size: 16px;
    line-height: 1.6;
}

/* ------------------------------ */
/* FAQ SECTION */
/* ------------------------------ */
.faq {
    width: 100%;
    padding: 120px 0;
    background: linear-gradient(180deg, #071422 0%, #0b1e33 100%);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.faq-container {
    width: 90%;
    max-width: 1100px;
}

.faq-small {
    font-size: 18px;
    color: #ffd34d;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;
    text-align: left;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
    color: #ffd34d;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 26px;
}

.faq-answer p {
    color: #cfe2f7;
    font-size: 17px;
    line-height: 1.6;
    padding-bottom: 22px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ------------------------------ */
/* KONTAKT SECTION (PARALLAX FIX) */
/* ------------------------------ */
.kontakt {
    position: relative; 
    width: 100%;
    padding: 140px 0;
    display: flex;
    justify-content: center;
    background: url("kontakt.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    overflow: hidden;
}

.kontakt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 32, 0.85); 
    z-index: 1;
}

.kontakt-container {
    width: 90%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.kontakt-small {
    font-size: 18px;
    color: #ffd34d;
    opacity: 0.85;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.kontakt-title {
    font-size: 42px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.kontakt-desc {
    font-size: 17px;
    color: #d6e7f7;
    margin-bottom: 30px;
    line-height: 1.7;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #bcd2e8;
}

.kontakt-btn {
    margin-top: 10px;
    padding: 16px 26px;
    background: #ffd34d;
    color: #0b1e33;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease;
}

.kontakt-btn:hover {
    transform: translateY(-4px);
    background: #ffdf70;
}

.kontakt-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.call-btn,
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    font-size: 17px;
    transition: 0.3s;
}

.call-btn {
    background: #0569eb;
}

.call-btn:hover {
    background: #00439b;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1cb653;
}

.kontakt-map iframe {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: 16px;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
}

/* ------------------------------ */
/* FOOTER */
/* ------------------------------ */
.footer {
    width: 100%;
    background: #06101d;
    padding: 80px 0 30px;
    color: #cfe2f7;
    overflow: hidden;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .footer-logo {
    width: 120px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.7;
    color: #b4c9df;
}

.footer-col h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-line {
    width: 50px;
    height: 3px;
    background: #ffd34d;
    border-radius: 10px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: #cfe2f7;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li i {
    font-size: 18px;
    color: #ffd34d;
}

.footer-col ul li a {
    color: #cfe2f7;
    transition: 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffd34d;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 15px;
    color: #9bb3c9;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-credit {
    display: block;
    margin-top: 8px;
    color: #ffd34d;
    font-weight: 600;
}

/* ------------------------------ */
/* FLOATING BUTTONS (OPTI FIX) */
/* ------------------------------ */
.contact-sticky, .scroll-top {
    position: fixed;
    bottom: 30px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.scroll-top.left-side {
    left: 35px;
    background: #ffd34d;
    color: #0b1e33;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.left-side.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top.left-side:hover {
    background: #ffdf70;
    transform: translateY(-6px);
}

.email-desktop {
    right: 35px;
    background: #0569eb;
    animation: pulse-email 2s infinite ease-in-out;
}

.email-desktop:hover {
    background: #00439b;
    transform: translateY(-6px);
}

@keyframes pulse-email {
    0% { box-shadow: 0 0 0 0 rgba(5, 105, 235, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(5, 105, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 105, 235, 0); }
}

.whatsapp-mobile {
    right: 35px;
    background: #25D366; 
}

.whatsapp-mobile:hover {
    background: #1cb653;
    transform: translateY(-6px);
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #0b1e33;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    border: 1px solid #ffd34d;
}

.wa-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ffd34d;
}

.contact-sticky:hover .wa-tooltip {
    opacity: 1;
}

/* ------------------------------ */
/* RESPONSIVE & MOBILE QUERIES */
/* ------------------------------ */
@media (min-width: 768px) {
    .whatsapp-mobile {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .ue-container {
        flex-direction: column;
        text-align: center;
    }
    .warum-grid {
        grid-template-columns: 1fr 1fr;
    }
    .leistungen-grid {
        grid-template-columns: 1fr 1fr;
    }
    .kontakt-container {
        grid-template-columns: 1fr;
    }
    .kontakt-map iframe {
        height: 360px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .email-desktop {
        display: none !important;
    }
    .scroll-top.left-side {
        left: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-mobile {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero-logo {
        width: 130px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }
    .wa-tooltip {
        display: none !important;
    }
    .leistungen {
        background: url("leistungen-mobile.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 600px) {
    .warum-grid {
        grid-template-columns: 1fr;
    }
    .leistungen-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul li {
        justify-content: center;
    }
    .footer-brand .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-bottom {
        font-size: 14px;
    }
}

/* ------------------------------ */
/* COOKIE CONSENT (APPLE CLEAN) */
/* ------------------------------ */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 20px;
    color: #fff;
    z-index: 100000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent p {
    font-size: 13px;
    line-height: 1.5;
    color: #d6e7f7;
    margin: 0;
}

.cookie-consent a {
    color: #ffd34d;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    background: #ffd34d;
    color: #0b1e33;
}

.cookie-btn:hover {
    background: #ffdf70;
    transform: scale(0.98);
}

@media (max-width: 600px) {
    .cookie-consent { 
        bottom: 20px; left: 20px; right: 20px; max-width: none; 
    }
}