        html,
        body {
            overflow-x: hidden;
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .masthead {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            position: relative;
            width: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 75%, #000 100%),
                        url("/assets/img/5e21928b-297e-4778-b334-077abe76d721-1.webp");
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: scroll;
            background-size: cover;
        }

        .card-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }

        .custom-card {
            background: transparent;
            color: white;
            text-align: center;
            font-size: 1.2em;
            font-weight: bold;
            cursor: pointer;
            width: 250px;
            height: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            border: none;
            box-shadow: none;
        }

        .custom-card img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 15px;
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        .custom-card:hover img {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .card-label {
            text-shadow: 0 2px 5px black;
            transition: color 0.3s ease;
            word-wrap: break-word;
        }

        .custom-card:hover .card-label {
            color: #00ffff;
        }

        .background-logo-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
            opacity: 0.1;
            pointer-events: none;
            width: 100%;
            text-align: center;
        }

        .background-logo-container img {
            max-width: 80vw;
            height: auto;
        }

        .content-wrapper {
            position: relative;
            z-index: 1;
            width: 100%;
        }

        .contact-section {
            padding-top: 5rem;
        }

        .contact-section .card {
            background: linear-gradient(to bottom, #6c757d, black);
            color: white;
            border: none;
        }

        .contact-section .card h4,
        .contact-section .card .small {
            color: rgba(255, 255, 255, 0.85) !important;
        }

        .contact-section .card .small a {
            color: rgba(255, 255, 255, 0.85) !important;
            text-decoration: none;
        }

        .contact-section .card .small a:hover {
            color: white !important;
        }

        .contact-section .card hr {
            border-color: rgba(255, 255, 255, 0.5);
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
        }

        .modal-content {
            background: linear-gradient(to bottom, rgb(65, 167, 167), black);
            color: white;
            margin: 15% auto;
            padding: 30px;
            border: none;
            border-radius: 5px;
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
        }

        .modal-content h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .modal-content .form-group label {
            color: white !important;
        }

        .modal-content .form-control {
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
        }

        .modal-content .form-control:focus {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
        }

        .close {
            position: absolute;
            top: 10px;
            right: 15px;
            color: white;
            font-size: 35px;
            font-weight: bold;
            line-height: 1;
            opacity: 0.8;
            z-index: 10;
        }

        .close:hover,
        .close:focus {
            color: #00ffff;
            text-decoration: none;
            cursor: pointer;
            opacity: 1;
        }

        .vorwort-line {
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }

        @media (max-width: 768px) {
            .masthead {
                height: auto;
                min-height: 100vh;
                padding-top: 100px;
                padding-bottom: 50px;
            }

            .card-container {
                gap: 15px;
            }

            .custom-card {
                width: 45%;
                max-width: 160px;
                font-size: 0.9em;
            }

            .custom-card img {
                border-radius: 10px;
                margin-bottom: 8px;
            }

            .card-label small {
                display: none;
            }
        }