/* Allgemeine Stile */
body {
    padding-top: 70px; /* Platz für fixe Navbar */
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .slider {
        height: 300px;
    }
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link i {
    margin-right: 5px;
}

/* Formular */
form .invalid-feedback {
    display: none;
}

form.was-validated .invalid-feedback {
    display: block;
}
#agb .text-justify {
    line-height: 1.6;
}
#agb h4 {
    margin-top: 1.5rem;
}
#agb p {
    margin-bottom: 1rem;
}
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
}

.slide {
    display: none;
}

img {
    width: 100%;
    height: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    user-select: none;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots {
    text-align: center;
    padding: 10px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot:hover, .active {
    background-color: #717171;
}

.fade {
    animation: fade 2s ease 0s 1 normal forwards; /* fade 1s ease-in-out;*/
}

@keyframes fade {
    from {opacity: 0.4;}
    to {opacity: 1;}
}
/* Responsive Design */
@media screen and (max-width: 600px) {
	.text {
		font-size: 14px;
		padding: 6px;
	}
	.prev, .next {
		font-size: 18px;
		padding: 10px;
	}
}
