@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grundlegende Einstellungen, damit die Seite zentriert ist */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #090c11;
    /* Optional: Hintergrundfarbe */
}

body {
    display: flex;
    flex-direction: column;
}

/* Container für die Bilder */
.image-container {
    display: flex;
    flex-direction: column;
    /* Bilder untereinander */
    gap: 10px;
    /* Abstand zwischen den Bildern */
    width: 90vw;
    /* Maximalbreite */
    height: 98vh;
    /* Gesamthöhe für den Container */
    justify-content1: center;
    /* Vertikal zentrieren */
    align-items: center;
    /* Horizontal zentrieren */
    margin-bottom: 0px;
}

/* Bild-Skalierung */
.responsive-img {
    max-width: 100%;
    /* Nie breiter als der Bildschirm */
    max-height: 20vh;
    /* Max 40% Höhe pro Bild (bei 2 Bildern) */
    object-fit: contain;
    /* Bild skalieren ohne Verzerrung */
    height: auto;
    /* Seitenverhältnis beibehalten */
    user-select: none;
}

/* Bild-Skalierung */
.responsive-img2 {
    max-width: 100%;
    /* Nie breiter als der Bildschirm */
    max-height: 68vh;
    /* Max 40% Höhe pro Bild (bei 2 Bildern) */
    object-fit: contain;
    /* Bild skalieren ohne Verzerrung */
    height: auto;
    /* Seitenverhältnis beibehalten */
    user-select: none;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 1152px;
    margin1: auto;
    overflow: hidden;    
}

.slides {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* WICHTIG */
    scroll-behavior: auto;
    /* smooth NICHT global! */
    cursor: grab;
    user-select: none;
}

.slides:active {
    cursor: grabbing;
}

.slides img {
    flex: 0 0 100%;
    width: 100%;
    height1: 100vh;
    max-height: auto;
    object-fit: contain;
    scroll-snap-align: center;
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}

/* Scrollbar ausblenden */
.slides::-webkit-scrollbar {
    display: none;
}

.slides {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pfeile */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Punkte */
.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 2px;
    background: #dce9f6;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.dot.active {
    background: #333;
}

footer {
    color: #878787;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    user-select: none;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #878787;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    color: #c4c3c3;
}

@media (min-width: 768px) {
    footer1 {
        flex-direction: row;
        justify-content: space-between;
    }
}
