* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1;
    margin: 5px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.kopfzeile {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:#0078d4;
    color: white;
    padding: 1rem;
    font-size:12px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

.kopfzeile::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );

    animation: shine 1.5s ease-out 0.5s 1;
    transform: skewX(-20deg);
}

@keyframes shine {
    from {
        left: -150%;
    }
    to {
        left: 150%;
    }
}

.sprachwahl img {
    width: 40px;
    height: 30px;
    font-size: 30px
}

.sprachwahl {
    position: sticky;
    z-index: 1000;
    display: flex;
    gap: 10px;
    top: 0;
    background:  rgb(247, 245, 207);
}

nav {
    align-items: center;
    gap: 8px;
    font-size:20px;
    margin-top: 10px;
}

nav a {
    color: white;
    margin: 15px;
    text-decoration: none;
}

.nav-logo {
    height: 1em; 
    width: auto;
}

.hero {
    text-align: center;
    padding: 20px 20px;
}

.hero button {
    background: #0078d4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.cards {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.popup {
    list-style: none;
    padding: 4px 10px;
    line-height: 0.8;
    font-family: "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: bold;
}

.popup a:hover {
    color: rgb(212, 15, 91);
    font-weight: bold;
}

li {
    margin-bottom: 5px;
}

footer {
    clear: both;
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.track img {
    height: 150px;
    width: auto;
    margin-right: 10px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }
    .bild {
        float: none;
        width: 100%;
        margin-right: 5;
    }
}