/* Grund-Setup */
body {
    margin: 0;
    padding: 0;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

.container {
    box-sizing: border-box;
}

/* Typografie */
h1,
h2,
h3 {
    font-weight: 700;
    color: #002b5c;
    /* Dunkleres Blau für Autorität */
}

/* Hero-Sektion Anpassungen */
.quickcheck-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
}

/* Formular-Styling */

input[type="text"],
input[type="email"],
input[type="tel"] {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-color: #0056b3 !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Button-Effekt */
button[type="submit"] {
    transition: background 0.3s ease, transform 0.2s active;
}

button[type="submit"]:hover {
    background: #003d82 !important;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

/* PDF Preview Box */
.pdf-preview {
    border: 1px solid #e0e6ed !important;
    background: #ffffff !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pdf-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pdf-preview:hover img {
    transform: scale(1.03);
}

/* Lightbox Grundgerüst */
#lightbox {
    display: none;
    /* Standardmäßig versteckt */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    cursor: default;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

/* RESPONSIVE DESIGN (Wichtig für Mobile) */
@media (max-width: 992px) {
    h1 {
        font-size: 1.8rem !important;
    }

    .container {
        flex-direction: column !important;
    }

    .hero-text,
    .hero-form {
        flex: none !important;
        width: 100% !important;
    }

    .hero-text {
        order: 1;
        /* Text oben */
    }

    .hero-form {
        order: 2;
        /* Formular direkt darunter */
    }

    .pdf-preview {
        display: none !important;
        /* Auf kleinen Handys ausblenden für schnellere Conversion */
    }
}

/* Material Icons Vertikale Ausrichtung */
.material-symbols-outlined {
    vertical-align: middle;
    font-size: 22px;
}