body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
body.login-page {
    background: linear-gradient(to bottom, #BBDEFB, #C8E6C9);
    min-height: 100vh;
}
.bg-image {
    background-color: #007bff; /* Platzhalter für Hintergrundbild */
    padding: 20px;
    color: white;
}
.bg-image h1 {
    margin: 0;
    font-size: 2rem;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}
.card:hover {
    transform: scale(1.05);
}
.card.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.card .emoji {
    font-size: 2rem;
    margin-bottom: 10px;
}
.card-content h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}
.card-content p {
    margin: 0;
    font-size: 1rem;
    color: #666;
}
footer {
    padding: 10px;
    color: #555;
    font-size: 14px;
    text-align: center;
    width: 90%;
    max-width: 400px; /* Gleiche Breite wie login-container */
    margin: 20px auto;
}
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 600px; /* FitFun-Design */
}
.login-container h2 {
    text-align: center;
    color: #333;
    font-size: 22px;
    margin: 10px 0;
}
.login-container form {
    width: 100%;
}
.login-container label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}
.login-container input[type="text"], .login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
.login-container button:hover {
    background-color: #45a049;
}
.login-container .error-message {
    color: red;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}
.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.swiper-container .swiper {
    width: 100%;
    height: 80vh;
    max-height: 675px;
}
.swiper-container .swiper-slide {
    overflow: hidden;
}
.swiper-container .swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-container .swiper-zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #ccc;
}
.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
    color: #007bff;
}
.swiper-container .swiper-pagination {
    display: none; /* Paginierungspunkte global ausblenden */
}
.swiper-container .slide-counter {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    z-index: 1000;
}
.swiper-container .fullscreen-button {
    display: inline-block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}
.swiper-container .fullscreen-button:hover {
    background-color: #218838;
}

/* Mobilgeräte (Hoch- und Querformat) */
@media screen and (max-width: 768px) {
    .swiper-container .swiper {
        height: 70vh;
    }
    .swiper-container .fullscreen-button {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        max-width: 400px;
    }
    .login-container {
        width: 90%;
        max-width: 600px;
        padding: 8px;
    }
    footer {
        width: 90%;
        max-width: 600px;
    }
}

/* Querformat auf Mobilgeräten */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .swiper-container {
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    .swiper-container .swiper {
        height: 100vh;
    }
    .swiper-container .swiper-zoom-container {
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    .swiper-container .swiper-zoom-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border: none;
    }
    .swiper-container .swiper-button-prev,
    .swiper-container .swiper-button-next {
        margin-top: 0;
        transform: translateY(-50%);
    }
    .swiper-container .slide-counter {
        top: 5px;
    }
    .swiper-container .fullscreen-button {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* PC (Vollbild-Button ausblenden) */
@media screen and (min-width: 769px) {
    .swiper-container .fullscreen-button {
        display: none;
    }
}

/* Große Monitore */
@media screen and (min-width: 1200px) {
    .swiper-container .swiper {
        height: 85vh;
        max-height: 840px;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 400px) {
    .login-container {
        padding: 8px;
        max-width: 90%;
    }
    .login-container h2 {
        font-size: 18px;
        margin: 8px 0;
    }
    .login-container input[type="text"], .login-container input[type="password"], .login-container button {
        font-size: 14px;
        padding: 8px;
    }
    footer {
        font-size: 12px;
    }
}