.slider {
    position: relative;
    max-width: 500px;   /* halbe Breite */
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.slides img {
    width: 100%;        /* passt sich an max-width an */
    height: auto;       /* Höhe automatisch zur Breite */
    flex-shrink: 0;
}

/* Pfeile */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.4);
    user-select: none;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.6);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Punkte */
.dots {
    text-align: center;
    position: absolute;
    bottom: 12px;
    width: 100%;
}

.dots span {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.4s ease;
}

.dots span.active {
    background-color: var(--tuerkis);
}

.anfahrt {
    margin-top: 40px;
    text-align: center;
}

.map-container {
    margin: 20px auto;
    max-width: 800px;
    border: 2px solid var(--tuerkis);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

