﻿/* =========================================================
   BASE / RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #e5e7eb;
    line-height: 1.55;
    background-image: url("/img/hero-lkw.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

    /* Dark overlay */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(8, 18, 34, 0.58);
        backdrop-filter: blur(3px);
        z-index: -1;
    }

/* =========================================================
   HEADER
========================================================= */

.neon-header {
    background: linear-gradient( to bottom, rgba(10, 20, 40, 0.95), rgba(5, 15, 30, 0.88) );
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.65);
}

/* =========================================================
   HERO
========================================================= */

.hero-logo {
    filter: drop-shadow(0 0 28px rgba(0, 255, 255, 0.55));
    animation: heroGlow 3.5s ease-in-out infinite;
}

@keyframes heroGlow {
    0% {
        filter: drop-shadow(0 0 14px rgba(0,255,255,0.35));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0,255,255,0.85));
    }

    100% {
        filter: drop-shadow(0 0 14px rgba(0,255,255,0.35));
    }
}

.hero-title {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.45);
}

.hero-subtitle {
    color: #cbd5e1;
    line-height: 1.6;
}

/* =========================================================
   FORMGLAS BUTTONS
========================================================= */

.header-formglas-btn {
    padding: 10px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
    color: #ffffff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.25px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

    .header-formglas-btn:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.45);
        transform: translateY(-2px);
    }

    .header-formglas-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    }

/* =========================================================
   FORMGLAS CARDS
========================================================= */

.formglas-card {
    position: relative;
    background: linear-gradient( 135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04) );
    padding: 40px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 42px rgba(0,0,0,0.55);
    transition: all 0.25s ease;
    overflow: hidden;
}

    .formglas-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02), rgba(255,255,255,0.12) );
        opacity: 0.35;
        pointer-events: none;
    }

    .formglas-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.15);
    }

/* =========================================================
   CTA BLOCK
========================================================= */

.formglas-cta {
    position: relative;
    background: rgba(255,255,255,0.10);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(20px);
    padding: 70px 45px;
    box-shadow: 0 24px 65px rgba(0,0,0,0.6);
    transition: all 0.25s ease;
    overflow: hidden;
}

    .formglas-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04) );
        opacity: 0.35;
    }

    .formglas-cta:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.16);
    }

/* =========================================================
   FORMS
========================================================= */

.form-input,
.form-select {
    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: #ffffff; /* Text IM Select */
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

    /* Fokus */
    .form-input:focus,
    .form-select:focus {
        outline: none;
        border-color: rgba(255,255,255,0.45);
        box-shadow: 0 0 10px rgba(0,255,255,0.35);
    }

/* Wrapper für Icons */
.form-input-wrapper {
    position: relative;
}

/* Icon im Input */
.form-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.75;
}

/* Input mit Icon */
.form-input.with-icon,
.form-select.with-icon {
    padding-left: 48px;
}

/* Pflichtfeld-Stern */
.label-required::after {
    content: " *";
    color: #f87171;
    font-weight: bold;
}

/* =========================================================
   SELECT / DROPDOWN – LESBARKEIT (WICHTIG!)
========================================================= */

/* Optionen generell */
.form-select option {
    background-color: #020617; /* dunkler Hintergrund */
    color: #e5e7eb; /* hellgrauer Text */
}

    /* Ausgewählte Option */
    .form-select option:checked {
        background-color: #0f172a;
        color: #ffffff;
    }

    /* Hover-Zustand */
    .form-select option:hover {
        background-color: #1e293b;
        color: #ffffff;
    }


/* =========================================================
   FOOTER
========================================================= */

.footer-link {
    color: #9ca3af;
    text-decoration: none;
}

    .footer-link:hover {
        color: #60a5fa;
        text-decoration: underline;
    }

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.45s ease-out forwards;
}

/* =========================================================
   MOBILE OPTIMIERUNG
========================================================= */

@media (max-width: 768px) {

    body {
        background-attachment: scroll;
        background-position: center top;
    }

    .hero-title {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 14px;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 16px;
    }

    .formglas-card {
        padding: 22px;
        border-radius: 16px;
    }

    .formglas-cta {
        padding: 36px 22px;
        border-radius: 22px;
    }

    .header-formglas-btn {
        justify-content: center;
        font-size: 1rem;
        padding: 14px;
    }

    footer p {
        font-size: 0.85rem;
        text-align: center;
    }
}

@media (max-width: 420px) {

    .hero-title {
        font-size: 1.6rem;
    }

    .formglas-card {
        padding: 20px;
    }

    .formglas-cta {
        padding: 30px 20px;
    }

    footer p {
        font-size: 0.75rem;
    }
}
.header-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

    .header-contact-link:hover {
        color: #ffffff;
        background: rgba(255,255,255,0.06);
    }

    .header-contact-link .icon {
        opacity: 0.85;
    }
