@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap" rel="stylesheet');


* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #faf8f2;
    min-height: 100vh;
    overflow-x: hidden;
}

.block {
    padding: 60px 50px;
}

.contact-img {
    width: 300px; /* Passt die Breite an - z. B. 80% der Elternbreite */
    max-width: 1200px; /* Optionale maximale Breite */
    margin-top: 0;
}


@media(max-width: 960px) {
    .price-grid.tests {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 900px) {
    .features .feature:nth-child(1) {
        grid-template-columns: 1fr;
        height: auto;
    }

    .features .feature:nth-child(1) .image {
        padding: 20px;
    }

    .features .feature:nth-child(1) .under {
        border-radius: 10px;
    }

    .above {
        max-width: 350px;
        top: 57%;
    }
}

@media(max-width: 880px) {
    .update {
        flex-direction: column;
        gap: 40px;
    }

    .update-img {
        max-width: 100%;
    }

    .blog-data {
        padding: 0px;
    }

    .blog-data .desc {
        margin-bottom: 20px;
    }

    .feat-block {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .feat-block:not(:nth-child(1)) {
        margin-top: 80px;
    }    

    .under {
        width: 100%;
    }

    .features .feature:nth-child(1) .image {
        align-items: center;
        height: 370px;
    }
}

@media(max-width: 850px) {
    #toggle {
        display: block;
    }

    .clients {
        flex-wrap: wrap;
        gap: 40px;
    }

    .clients img {
        width: 125px;
    }
}

.features-contact {
    display: flex;
    flex-wrap: wrap; /* Elemente umbrechen, wenn nicht genug Platz */
    gap: 20px; /* Abstand zwischen den Features */
    justify-content: center; /* Elemente zentrieren */
    margin-top: 40px;
}

.block .feature-contact {
    flex: 0 1 400px; /* Fixe Breite von 300px */
    box-sizing: border-box; /* Box-Model berücksichtigen */
    max-width: 400px; /* Maximalbreite bleibt konstant */
}

.block .contact-button {
    display: block; /* Block-Level-Element */
    margin: 15px auto 0;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background-color: #333;
    text-decoration: none;
    border-radius: 7px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-stretch: 100%;
}

.block .contact-button:hover {
    background-color: #494949;
}

.block .f-img-contact {
    width: 30px;
    margin-bottom: 15px;
}

@media(max-width: 800px) {
    .features {
        grid-template-columns: 1fr;
    }

    .features .feature:nth-child(1) {
        grid-column: span 1
    }

    .footer-main, .footer-links {
        flex-direction: column;
        gap: 50px;
    }
}

@media(max-width: 750px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .heading-three a {
        display: none;
    }

    .feat-block .image {
        padding: 20px;
    }

    .feat-block:nth-child(2) .image {
        align-items: center;
    }

    .feat-block:nth-child(2) .image .under {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}

@media(max-width: 620px) {
    .price-grid.tests {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .pack ul li:not(:nth-child(1)) {
        margin-top: 10px;
    }
}

@media(max-width: 600px) {
    .heading {
        font-size: 45px;
    }
}

@media(max-width: 550px) {
    .block {
        padding: 60px 40px;
    }

    .hero {
        padding: 150px 40px 60px 40px;
    }

    nav {
        padding: 0px 40px;
    }

    .footer-main {
        margin: 60px 40px 0px 40px;
    }
}

@media(max-width: 470px) {
    .submits a {
        display: none;
    }
}

/* Styling nur für das Formular innerhalb der .quick-inquiry-Klasse */
.feature.quick-inquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fffdf7;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    margin-top: 80px;
    max-width: 600px;
}

.feature.quick-inquiry .form-container {
    width: 100%;
    text-align: center;
}

.feature.quick-inquiry .form-heading {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.feature.quick-inquiry .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature.quick-inquiry .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature.quick-inquiry .form-group label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.feature.quick-inquiry .submit-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    width: 100%;
    text-align: center;
}

.feature.quick-inquiry .submit-button:hover {
    background-color: #494949;
}

.feature.quick-inquiry .form-group input,
.feature.quick-inquiry .form-group textarea {
    width: 100%;
    padding: 12px; /* Komfortables Padding */
    font-size: 16px; /* Lesbare Schriftgröße */
    border: 2px solid white !important; /* Weißer Rahmen, überschreibt alle Standardwerte */
    border-radius: 8px; /* Abgerundete Ecken für modernes Design */
    outline: none; /* Kein störender Fokusrahmen */
    transition: all 0.3s ease-in-out; /* Weiche Animation */
    background-color: #f9f9f9; /* Heller Hintergrund */
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.1); /* Innerer Schatten */
    resize: none; /* Verhindert Größenänderung der Textarea */
    -webkit-appearance: none; /* Deaktiviert Standard-Styling auf Safari */
    -moz-appearance: none; /* Deaktiviert Standard-Styling auf Firefox */
    appearance: none; /* Deaktiviert Standard-Styling auf anderen Browsern */
}

.feature.quick-inquiry .form-group input:focus,
.feature.quick-inquiry .form-group textarea:focus {
    background-color: #fff; /* Reinweißer Hintergrund bei Fokus */
}

.feature.quick-inquiry .form-group input:hover,
.feature.quick-inquiry .form-group textarea:hover {
    background-color: #fff; /* Reinweißer Hintergrund bei Fokus */
}

.feature.quick-inquiry .form-group textarea {
    resize: none; /* Verhindert, dass Nutzer die Größe der Textarea verändern */
}

.contact-form + p {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border: 1px solid #d4edda;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
}



@media (max-width: 600px) {
    .feature.quick-inquiry .form-heading {
        font-size: 20px;
    }

    .feature.quick-inquiry .submit-button {
        font-size: 14px;
    }
}

.hero {
    position: relative;
    width: 100vw; /* Volle Breite des Viewports */
    height: 100vh; /* Volle Höhe des Viewports */
    overflow: hidden; /* Überflüssigen Inhalt ausblenden */
    background-image: url('../images/background.webp');
    background-size: cover; /* Skaliert das Bild, damit es den Bereich abdeckt */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat; /* Verhindert Wiederholungen */
    display: flex;
    flex-direction: column; /* Inhalte vertikal anordnen */
    justify-content: center; /* Inhalte vertikal zentrieren */
    align-items: center; /* Inhalte horizontal zentrieren */
    text-align: center;
    box-shadow: inset 0px -4px 6px rgba(0, 0, 0, 0.15);
}

.hero-content {
    z-index: 1; /* Text über dem Hintergrund */
    color: white; /* Weißer Text für Lesbarkeit */
    padding: 20px; /* Abstand um den Text */
    max-width: 800px; /* Breite des Inhalts begrenzen */
}


.clients {
    position: relative;
    z-index: 1; /* Logos über dem Bild */
}

/* Styles for Glassmorphism Card */
.glass-card {
    position: absolute;
    width: 480px; /* Fixe Breite für Visitenkarte */
    height: 270px; /* Fixe Höhe für Visitenkarte */
    margin: 0 auto;
    padding: 10px 20px; /* Leichtes Padding für mehr Kontrolle */
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #fc1c1c71, rgba(255, 255, 255, 0.069) 50%, rgba(47, 111, 250, 0.581)); /* Farbverlauf Rot -> Transparent -> Blau */
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-family: "Crimson Text", serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Elemente oben zusammenführen */
    gap: 5px; /* Minimaler Abstand zwischen Elementen */
}

/* Container for logo and heading */
.desc-container {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
    gap: 10px; /* Abstand zwischen Logo und Text */
    margin-bottom: 5px; /* Minimaler Abstand zum unteren Bereich */
}

/* Logo links */
.card-logo {
    width: 55px; /* Größe des Logos */
    height: auto;
    margin-top: 20px;
}

/* Heading rechts */
.hero .heading {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    margin: 0;
    text-align: left;
    margin-top: 20px;
    color: white;
}

/* Statement logo */
.hero .statement-logo {
    width: 100px; /* Größe des Apostroph-Logos */
    height: auto;
}

/* Zitat */
.hero .desc {
    font-family: "Crimson Text", serif;
    font-size: 26px;
    font-weight: bo;
    margin: 0;
    text-align: left;
    color: white;
}

.tilt-card {
    position: absolute;
    overflow: hidden; /* Wichtig: Beschneidet den Glare-Effekt an den abgerundeten Ecken */
    border-radius: 15px;
}

.tilt-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px; /* Gleiche abgerundete Ecken wie die Karte */
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    opacity: 0.5; /* Optional: Transparenz des Glare-Effekts */
}

/* Statische Karten im Hintergrund */
.static-card {
    position: absolute; /* Ermöglicht Überlagerung */
    top: 50%; /* Vertikale Ausrichtung */
    left: 50%; /* Horizontale Ausrichtung */
    transform: translate(-50%, -50%) scale(0.98); /* Zentriert die Karten */
    width: 480px; /* Gleiche Größe wie die Hauptkarte */
    height: 270px;
    backdrop-filter: blur(8px);
    background: linear-gradient(135deg, #fc1c1c71, rgba(255, 255, 255, 0.069) 50%, rgba(47, 111, 250, 0.581));
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: -1; /* Hinter der Hauptkarte */
    pointer-events: none; /* Keine Interaktion */
}

/* Erste statische Karte leicht gedreht */
.card-1 {
    transform: translate(-50%, -42%) scale(0.98) rotate(-6deg);
    z-index: -2; /* Noch weiter nach hinten */
}

/* Zweite statische Karte leicht gedreht */
.card-2 {
    transform: translate(-50%, -42%) scale(0.98) rotate(-12deg);
    z-index: -3; /* Am weitesten nach hinten */
}

@media (max-width: 690px) {
    .tilt-card {
        transition: none; /* Entfernt die Animation */
        transform: none; /* Kein Bewegungseffekt */
        pointer-events: none; /* Kein Hover- oder Bewegungsverhalten */
        z-index: 10;
    }

    .glass-card {
        width: 300px;
        height: 200px;
        position: absolute;
    }

    .static-card {
        width: 300px;
        height: 200px;
        position: absolute;
    }

    .card-1 {
        transform: translate(-50%, -40%) scale(0.98) rotate(-5deg);
    }
    
    /* Zweite statische Karte leicht gedreht */
    .card-2 {
        transform: translate(-50%, -40%) scale(0.98) rotate(-10deg);
    }

    .hero .desc {
        font-size: 16px;
    }

    .hero .heading {
        font-size: 12px;
        margin-top: 20px;
    }

    .hero .statement-logo {
        width: 50px; /* Größe des Apostroph-Logos */
        height: auto;
    }

    .card-logo {
        width: 42px; /* Größe des Logos */
        height: auto;
        margin-top: 20px;
    }

}

@media (max-width: 550px) {
    .tilt-card {
        transition: none; /* Entfernt die Animation */
        transform: none; /* Kein Bewegungseffekt */
        pointer-events: none; /* Kein Hover- oder Bewegungsverhalten */
        margin-bottom: 50px;
    }


    .glass-card {
        width: 300px;
        height: 200px;
        position: absolute;
    }

    .static-card {
        width: 300px;
        height: 200px;
        position: absolute;
    }

    .card-1 {
        transform: translate(-50%, -40%) scale(0.98) rotate(-5deg);
    }
    
    /* Zweite statische Karte leicht gedreht */
    .card-2 {
        transform: translate(-50%, -40%) scale(0.98) rotate(-10deg);
    }
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    margin-top: 5px;
}

.switch > span {
    position: absolute;
    top: 12px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
    color: #000000;
}

input.check-toggle-round-flat:checked ~ .on {
    color: #fff;
}

.switch > span.on {
    left: 0;
    padding-left: 2px;
    color: #000000;
}

.switch > span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
}

.check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.check-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input.check-toggle-round-flat + label {
    padding: 2px;
    width: 100px;
    height: 35px;
    background-color: #000000;
    border-radius: 60px;
}

input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
    display: block;
    position: absolute;
    content: "";
}

input.check-toggle-round-flat + label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: #000000;
    border-radius: 60px;
}

input.check-toggle-round-flat + label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 48px;
    background-color: #fff;
    border-radius: 52px;
    transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label:after {
    margin-left: 44px;
}
