    :root {
        --primary: #cc1d75;
        --black: #000000;
        --white: #ffffff;
        --light-gray: #f5f5f5;
        --dark-gray: #333333;
        --transition: all 0.3s ease-in-out;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    @font-face {
      font-family: 'Montserrat';
      src: url('../fnt/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
      font-weight: 100 900;
      font-style: normal;
      font-display: swap;
    }

    @font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2")}


    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: "Montserrat", sans-serif;
        line-height: 1.6;
        color: var(--dark-gray);
        overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
        font-family: "Oswald", sans-serif;
        font-weight: 600;
        line-height: 1.2;
        color: var(--black);
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: var(--primary);
        color: var(--white);
        border: none;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 4px 10px rgba(204, 29, 117, 0.2);
    }

    .btn:hover {
        background-color: #b01963;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(204, 29, 117, 0.3);
    }

    /* Header & Navigation */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    header.scrolled {
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.98);
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 30px;
        transition: var(--transition);
    }

    header.scrolled .logo img {
        height: 25px;
    }

    .nav-toggle {
        display: none;
        font-size: 24px;
        cursor: pointer;
    }

    .main-nav ul {
        display: flex;
        list-style: none;
    }

    .main-nav li {
        margin-left: 40px;
    }

    .main-nav a {
        color: var(--black);
        font-weight: 500;
        font-size: 16px;
        position: relative;
        transition: var(--transition);
    }

    .main-nav a:hover {
        color: var(--primary);
    }

    .main-nav a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        bottom: -5px;
        left: 0;
        transition: var(--transition);
    }

    .main-nav a:hover::after {
        width: 100%;
    }

    /* Hero Section */
    #hero {
        height: 100vh;
        min-height: 700px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        background-color: var(--dark-gray);
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
            url("../img/head.webp") center/cover no-repeat;
        z-index: 1;
        transform: scale(1.05);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 700px;
        color: var(--white);
        opacity: 0;
        animation: fadeInUp 1s ease forwards;
        animation-delay: 0.5s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 20px;
        color: var(--white);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 40px;
        opacity: 0.9;
    }

    .hero-cta {
        margin-top: 30px;
    }

    .scroll-indicator {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        color: var(--white);
        font-size: 14px;
        text-align: center;
        opacity: 0.7;
        transition: var(--transition);
        animation: bounce 2s infinite;
    }

    .scroll-indicator:hover {
        opacity: 1;
    }

    .scroll-indicator i {
        font-size: 24px;
        margin-top: 8px;
    }

    @keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0) translateX(-50%);
        }
        40% {
            transform: translateY(-15px) translateX(-50%);
        }
        60% {
            transform: translateY(-7px) translateX(-50%);
        }
    }

    /* About Section */
    #about {
        padding: 120px 0;
        background-color: var(--white);
        position: relative;
        overflow: hidden;
    }

    .section-title {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }

    .section-title h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

    .section-title h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--primary);
    }

    .section-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.8;
    }

    .about-content {
        display: flex;
        align-items: center;
        gap: 60px;
        margin-top: 50px;
    }

    .about-text {
        flex: 1;
    }

    .about-text p {
        margin-bottom: 25px;
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .about-image {
        flex: 1;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: perspective(1000px) rotateY(-5deg);
        transition: var(--transition);
    }

    .about-image:hover {
        transform: perspective(1000px) rotateY(0);
    }

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: var(--transition);
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

    .core-values {
        display: flex;
        flex-wrap: wrap;
        margin-top: 50px;
        gap: 30px;
    }

    .value-item {
        flex: 1;
        min-width: 200px;
        text-align: center;
        padding: 30px 20px;
        border-radius: 8px;
        background-color: var(--light-gray);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .value-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transition);
    }

    .value-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .value-item:hover::before {
        transform: scaleX(1);
    }

    .value-icon {
        font-size: 36px;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .value-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .value-text {
        font-size: 0.95rem;
        color: var(--dark-gray);
        opacity: 0.8;
    }

    /* Services Section */
    #services {
        padding: 120px 0;
        background-color: var(--light-gray);
        position: relative;
    }

    .services-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 40px;
    }

    .service-box {
        flex: 1;
        min-width: 300px;
        background-color: var(--white);
        border-radius: 8px;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .service-box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary);
        opacity: 0;
        z-index: -1;
        transition: var(--transition);
    }

    .service-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .service-box:hover::before {
        opacity: 0.03;
    }

    .service-icon {
        font-size: 42px;
        color: var(--primary);
        margin-bottom: 20px;
        transition: var(--transition);
    }

    .service-box:hover .service-icon {
        transform: scale(1.1);
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 15px;
    }

    .service-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition);
    }

    .service-box:hover .service-title::after {
        width: 70px;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.7;
        opacity: 0.9;
    }

    /* Process Section */
    .process-section {
        padding: 80px 0;
        background-color: var(--white);
    }

    .process-container {
        display: flex;
        justify-content: space-between;
        margin-top: 60px;
        position: relative;
    }

    .process-container::before {
        content: "";
        position: absolute;
        top: 30px; /* Angepasst, um vertikal zu zentrieren */
        left: 15%; /* Begrenzt die Linie, sodass sie nicht über die Kreise hinausgeht */
        width: 70%; /* Reduzierte Breite */
        height: 2px;
        background-color: var(--light-gray);
        z-index: 1;
    }

    .process-step {
        position: relative;
        z-index: 2;
        text-align: center;
        width: 33.33%; /* Angepasst für 3 Schritte statt 4 */
    }

    .step-number {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: var(--white);
        border: 2px solid var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: var(--primary);
        font-weight: 700;
        font-size: 1.5rem;
        transition: var(--transition);
        position: relative;
    }

    .step-number::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background-color: var(--primary);
        border-radius: 50%;
        z-index: -1;
        transition: var(--transition);
    }

    .process-step:hover .step-number {
        color: var(--light-grey);
    }

    .process-step:hover .step-number::before {
        width: 100%;
        height: 100%;
    }

    .step-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .step-description {
        font-size: 0.9rem;
        opacity: 0.8;
        max-width: 200px;
        margin: 0 auto;
    }

    .client-info {
        display: flex;
        align-items: center;
    }

    .client-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 20px;
    }

    .client-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .client-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .client-role {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
        cursor: pointer;
        transition: var(--transition);
        color: var(--primary);
        border: 1px solid var(--light-gray);
    }

    .carousel-control:hover {
        background-color: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    .clients-logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 60px;
    }

    .client-logo {
        flex: 1;
        min-width: 150px;
        max-width: 200px;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .client-logo:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .client-logo img {
        max-width: 100%;
        height: auto;
        filter: brightness(0) invert(1) opacity(0.7);
        transition: var(--transition);
    }

    .client-logo:hover img {
        filter: brightness(0) invert(1) opacity(1);
    }

    /* Contact Section */
    #contact {
        padding: 120px 0;
        background-color: var(--white);
        position: relative;
    }

    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
        margin-top: 60px;
    }

    .contact-info {
        flex: 1;
        min-width: 300px;
    }

    .contact-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 15px;
    }

    .contact-heading::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background-color: var(--primary);
    }

    .contact-card {
        background-color: var(--light-gray);
        border-radius: 8px;
        padding: 40px;
        margin-bottom: 40px;
    }

    .contact-detail {
        display: flex;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .contact-detail:last-child {
        margin-bottom: 0;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--primary);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 5px;
        opacity: 0.8;
    }

    .contact-text p {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .contact-form {
        flex: 1;
        min-width: 300px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        width: 100%;
        padding: 15px;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
        font-family: "Montserrat", sans-serif;
        font-size: 1rem;
        transition: var(--transition);
    }

    .form-control:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 2px rgba(204, 29, 117, 0.1);
    }

    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }

    .form-check {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .form-check-input {
        margin-right: 10px;
        margin-top: 5px;
    }

    .form-check-label {
        font-size: 0.9rem;
        opacity: 0.8;
    }


/* Referenzen Section */
.referenzen-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
}

.referenzen-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.referenz-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.referenz-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.referenz-logo img {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

.referenz-logo:hover img {
    transform: scale(1.05);
}

/* Neue Sektion: Siegel und Zertifikate */
.zertifikate-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.zertifikate-container {
    margin-top: 60px;
}

.zertifikate-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.zertifikat-item {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.zertifikat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.zertifikat-image {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zertifikat-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.zertifikat-item:hover .zertifikat-image img {
    transform: scale(1.05);
}

.zertifikat-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.zertifikat-description {
    font-size: 0.85rem;
    opacity: 0.8;
}

.eu-lizenz-container {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.eu-lizenz-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.eu-lizenz-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.eu-lizenz-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(204, 29, 117, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 30px;
    flex-shrink: 0;
}

.eu-lizenz-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.eu-lizenz-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.eu-lizenz-content {
    padding-left: 80px;
}

.eu-lizenz-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Neu: Container für das Lizenzbild */
.eu-lizenz-image-container {
    margin: 30px 0;
    text-align: center;
}

.eu-lizenz-image {
    position: relative;
    display: inline-block;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eu-lizenz-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.license-img {
    width: auto;
    height: 200px;;
    display: block;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.eu-lizenz-image:hover .license-img {
    transform: perspective(1000px) rotateY(0deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(204, 29, 117, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.eu-lizenz-image:hover .image-overlay {
    opacity: 1;
}

.eu-lizenz-image-caption {
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--dark-gray);
    opacity: 0.7;
}

.eu-lizenz-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.eu-lizenz-feature {
    flex: 1;
    min-width: 200px;
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eu-lizenz-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.eu-lizenz-feature-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.eu-lizenz-feature-title i {
    color: var(--primary);
    margin-right: 10px;
}

.eu-lizenz-feature-text {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: 15px 0;
    font-size: 1rem;
}

        /* Responsive Anpassungen */
        @media screen and (max-width: 768px) {
            .eu-lizenz-content {
                padding-left: 0;
            }

            .eu-lizenz-header {
                flex-direction: column;
                text-align: center;
            }

            .eu-lizenz-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }

            .eu-lizenz-image {
                max-width: 180px;
            }

                .about-content {
                flex-direction: column;
                gap: 40px;
            }

            .about-text {
                order: 1; /* Text zuerst anzeigen */
            }

            .about-image {
                order: 2; /* Bild danach anzeigen */
                max-width: 100%;
                margin: 0 auto;
                transform: none !important; /* 3D-Effekt deaktivieren */
            }

            .about-image img {
                max-width: 100%;
                height: auto;
            }

            .core-values {
                flex-direction: column;
            }

            .value-item {
                width: 100%;
                margin-bottom: 20px;
            }

                html {
                font-size: 14px; /* Basis-Schriftgröße reduzieren (Standard ist 16px) */
            }

            .hero-title {
                font-size: 3rem; /* Reduziert von 3.5rem */
            }

            .hero-subtitle {
                font-size: 1.2rem; /* Reduziert von 1.5rem */
            }

            .section-title h2 {
                font-size: 2rem; /* Reduziert von 2.5rem */
            }

            .service-title {
                font-size: 1.3rem; /* Reduziert von 1.5rem */
            }

            .contact-heading, .eu-lizenz-title {
                font-size: 1.5rem; /* Reduziert von 1.8rem */
            }

            .eu-lizenz-content {
                padding-left: 0; /* Entfernt Padding auf mobilen Geräten */
            }

            /* Container-Padding anpassen */
            .container {
                padding: 0 15px;
            }

            /* Sektionen-Padding reduzieren */
            #about, #services, #contact, .referenzen-section, .zertifikate-section {
                padding: 80px 0; /* Reduziert von 120px */
            }
            }

    .referenzen-logos {
    gap: 20px;
    justify-content: space-around;
    }

    .referenz-logo {
        width: 180px;
        height: 100px;
    }




    /* Footer */
    footer {
        background-color: var(--black);
        color: var(--white);
        padding: 60px 0 30px;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 50px;
    }

    .footer-logo {
        flex: 1;
        min-width: 250px;
    }

    .footer-logo img {
        height: 40px;
        margin-bottom: 20px;
    }

    .footer-text {
        font-size: 0.95rem;
        opacity: 0.7;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .footer-social {
        display: flex;
    }

    .social-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        transition: var(--transition);
    }

    .social-link:hover {
        background-color: var(--primary);
        transform: translateY(-3px);
    }

    .footer-nav {
        flex: 1;
        min-width: 200px;
    }

    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: var(--white);
        position: relative;
        padding-bottom: 10px;
    }

    .footer-heading::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: var(--primary);
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.95rem;
        opacity: 0.7;
        transition: var(--transition);
        display: inline-block;
    }

    .footer-links a:hover {
        color: var(--primary);
        opacity: 1;
        transform: translateX(5px);
    }

    .footer-bottom {
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .scroll-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--primary);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: var(--transition);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .scroll-top.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top:hover {
        background-color: #b01963;
        transform: translateY(-5px);
    }

    /* Animations */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition:
            opacity 0.6s ease,
            transform 0.6s ease;
    }

    .fade-in.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Custom Transitions */
    .parallax-bg {
        transform: translateY(0);
        transition: transform 0.5s ease-out;
    }

    /* Preloader */
    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition:
            opacity 0.5s ease,
            visibility 0.5s ease;
    }

    .preloader.hide {
        opacity: 0;
        visibility: hidden;
    }

    .loader {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 3px solid var(--light-gray);
        border-top-color: var(--primary);
        animation: spin 1s infinite linear;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }

                /* Mobile Navigation */
    @media screen and (max-width: 768px) {
        .nav-toggle {
            display: block;
            font-size: 24px;
            cursor: pointer;
            z-index: 1001;
        }

        .main-nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            display: none;
            z-index: 1000;
        }

        .main-nav.active {
            display: block;
        }

        .main-nav ul {
            flex-direction: column;
            align-items: center;
        }

        .main-nav li {
            margin-left: 0;
            margin-bottom: 15px;
            width: 100%;
            text-align: center;
        }

        .main-nav li:last-child {
            margin-bottom: 0;
        }
        }

        @media screen and (max-width: 480px) {
        .section-title h2 {
            font-size: 2rem;
        }

        .about-content {
            margin-top: 30px;
        }

        .about-text p {
            font-size: 0.95rem;
            margin-bottom: 15px;
        }

        .about-image {
            width: 85%;
            margin: 0 auto;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

                    html {
            font-size: 13px; /* Basis-Schriftgröße für sehr kleine Bildschirme weiter reduzieren */
        }

        .hero-title {
            font-size: 2.6rem; /* Weiter reduziert für iPhone */
            line-height: 1.1; /* Zeilenhöhe verbessern */
        }

        .btn {
            padding: 10px 20px;
            font-size: 14px;
        }

        /* Reduziere Abstände */
        .section-title {
            margin-bottom: 0px; /* Reduziert von 60px */
        }

        /* Kleinere Service-Boxen */
        .service-box {
            padding: 30px 20px; /* Reduziert von 40px 30px */
        }

    .zertifikate-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between; /* Gleichmäßige Verteilung in der Reihe */
            gap: 15px; /* Noch kleinerer Abstand */
        }

        .zertifikat-item {
            flex: 0 0 calc(50% - 10px); /* Genau 2 Zertifikate pro Reihe */
            width: calc(50% - 10px); /* Alternative zur flex-basis */
            height: 150px; /* Noch kleinere Höhe */
            padding: 15px; /* Reduziertes Padding */
            margin-bottom: 10px;
        }

        .zertifikat-image {
            width: 80px;
            height: 80px;
            margin-bottom: 8px;
        }

        .zertifikat-title {
            font-size: 0.9rem;
        }

        .zertifikat-description {
            font-size: 0.8rem;
        }

         .referenzen-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 15px;
        }

        .referenz-logo {
            flex: 0 0 calc(50% - 10px); /* Each logo takes exactly 50% of width minus gap */
            width: calc(50% - 10px);
            margin-bottom: 15px;
        }
    }

        /* Anpassung für Prozess-Schritte */
        .step-number {
            width: 60px;
            height: 60px;
            font-size: 1.2rem;
        }

        /* Kontaktformular Abstände */
        .form-group {
            margin-bottom: 15px;
        }

        .form-control {
            padding: 12px;
            font-size: 0.9rem;
        }

/* Anpassung: Hero mit zwei Buttons (Start- und Hardware-Seite) */
.hero-cta-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero-Bilder (Start- und Hardware-Seite): gleiches Overlay wie .hero-bg, nur anderes Bild */
#hero.hero--start .hero-bg {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
        url("../img/hero-startseite.webp");
    background-position: 70% center;
}

#hero.hero--hardware .hero-bg {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
        url("../img/hero-hardware.webp");
    background-position: 70% center;
}

@media screen and (max-width: 767px) {
    #hero.hero--start .hero-bg {
        background-image:
            linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
            url("../img/hero-startseite-m.webp");
        background-position: 78% center;
    }

    #hero.hero--hardware .hero-bg {
        background-image:
            linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
            url("../img/hero-hardware-m.webp");
        background-position: 78% center;
    }
}

/* Kennzeichnung KI-generierter Bilder (EU AI Act Art. 50) */
.ai-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 12px;
    line-height: 1.4;
    pointer-events: none;
    user-select: none;
}

/* KI-Label auf Bildern im Über-uns-Bereich */
.about-image .ai-label {
    left: 12px;
    bottom: 12px;
}

/* 404-Seite: Hero-Stil mit dunkler Fläche statt Bild */
#hero.hero--404 {
    height: auto;
    min-height: 70vh;
    padding: 120px 0 80px;
    background-color: var(--dark-gray);
}

.error-code {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero--404 .hero-subtitle {
    margin-bottom: 30px;
}

.error-help {
    margin-top: 40px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.error-help a {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .hero--404 .hero-cta-multi {
        flex-direction: column;
        align-items: flex-start;
    }
}
