﻿/* ---------------------------------------------------------
   GLOBAL BACKGROUND IMAGE & OVERLAY
--------------------------------------------------------- */

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('/img/hero-lkw.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #e5e7eb;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(10, 20, 40, 0.55);
        backdrop-filter: blur(3px);
        z-index: -1;
    }


/* ---------------------------------------------------------
   PREMIUM HEADER
--------------------------------------------------------- */

.neon-header {
    background: rgba(5, 15, 30, 0.85);
    backdrop-filter: blur(14px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,255,255,0.20);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.65);
}

.hero-logo {
    filter: drop-shadow(0 0 30px rgba(0,255,255,0.55));
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(0,255,255,0.4));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0,255,255,0.8));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(0,255,255,0.4));
    }
}



/* ---------------------------------------------------------
   FORMGLAS BUTTONS (Premium)
--------------------------------------------------------- */

.header-formglas-btn {
    padding: 10px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

    .header-formglas-btn:hover {
        background: rgba(255,255,255,0.18);
        transform: translateY(-2px);
        border-color: rgba(255,255,255,0.45);
    }


/* ---------------------------------------------------------
   HERO – PREMIUM
--------------------------------------------------------- */

.hero-title {
    text-shadow: 0 0 8px rgba(0,255,255,0.5);
}

.hero-subtitle {
    color: #cbd5e1;
}


/* ---------------------------------------------------------
   PREMIUM FORMGLAS CARDS
--------------------------------------------------------- */

.formglas-card {
    background: linear-gradient( to bottom right, rgba(255,255,255,0.12), rgba(255,255,255,0.05) );
    padding: 40px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
    transition: 0.25s ease;
}

    .formglas-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 55px rgba(0,0,0,0.55);
    }


/* ---------------------------------------------------------
   PREMIUM CTA BLOCK
--------------------------------------------------------- */

.formglas-cta {
    background: rgba(255,255,255,0.10);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(18px);
    padding: 70px 45px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.55);
    transition: 0.25s;
}

    .formglas-cta:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,0.16);
    }

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    color: white;
    backdrop-filter: blur(8px);
}
/* FORMGLAS SELECT (Dropdown) */
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.12);
    background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 7.5l4.75 4.5 4.75-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    appearance: none;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

    /* Dropdown Text Farbe */
    .form-select option {
        background: #0f172a; /* dunkler Hintergrund */
        color: white; /* weißer Text */
    }

    /* Optional: Hover / Fokus */
    .form-select:focus {
        border-color: rgba(255,255,255,0.45);
        box-shadow: 0 0 10px rgba(0,255,255,0.4);
    }
.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: .75;
}

.form-input.with-icon {
    padding-left: 48px !important;
}

/* Pflichtfeld Stern */
.label-required::after {
    content: " *";
    color: #f87171;
    font-weight: bold;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.footer-link {
    color: #9ca3af;
}

    .footer-link:hover {
        color: #60a5fa;
        text-decoration: underline;
    }

@keyframes slideUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.45s ease-out forwards;
}
/* ---------------------------------------------------------
   MOBILE OPTIMIERUNG (≤ 768px)
--------------------------------------------------------- */

@media (max-width: 768px) {

    /* Hintergrund fixieren vermeiden (ruckelt auf mobilen Geräten) */
    body {
        background-attachment: scroll;
        background-position: center top;
    }

    /* Navigation Scrollbar hinzufügen */
    header nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE */
    }

        header nav::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

    .header-formglas-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap; /* Text bleibt in einer Reihe */
    }

    /* HERO TEXT kleiner */
    .hero-title {
        font-size: 1.9rem;
        text-align: center;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 12px;
    }

    /* Karten kompakter */
    .formglas-card {
        padding: 24px;
        border-radius: 16px;
    }

    /* CTA kompakter */
    .formglas-cta {
        padding: 40px 24px;
        border-radius: 22px;
    }

    /* Input-Felder besser auf Touch optimiert */
    .form-input,
    .form-select {
        padding: 14px 16px;
        font-size: 1rem;
    }

    /* Icons korrigieren */
    .form-input-icon {
        width: 18px;
        height: 18px;
        left: 12px;
    }

    .form-input.with-icon {
        padding-left: 44px !important;
    }

    /* Footer Text zentrieren & kleiner */
    footer p {
        font-size: 0.85rem;
    }
}


/* ---------------------------------------------------------
   EXTRA SMALL PHONES (≤ 420px)
--------------------------------------------------------- */

@media (max-width: 420px) {

    .header-formglas-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .formglas-card {
        padding: 20px;
    }

    .formglas-cta {
        padding: 30px 20px;
    }

    footer p {
        font-size: 0.75rem;
    }
}
