@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Manrope:wght@200..800&display=swap');

body {
  font-family: "Manrope", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: 400;
}

/* --- HEADINGS --- */
h1 {

  font-family: "Cormorant Infant", serif;
    color: #1964a6;
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 600;
}

h2 {

  font-family: "Cormorant Infant", serif;
    color: #1964a6;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- LINKS --- */
a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVBAR --- */
.bg-light {
    background-color: transparent !important;
}

.navbar-light .navbar-nav .nav-link {
color: #000;
margin-left: 10px;
margin-right: 10px;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    color: #c00;
}

/* --- LOGO --- */
.logo img {
    width: 270px;
    height: auto;
}

/* --- CONTENT --- */
.content {
  font-size: 24px;
  line-height: 34px;
    margin: 100px 0;
  font-family: "Cormorant Infant", serif;
}

/* --- MOBILE OFFCANVAS --- */
.offcanvas {
    width: 300px;
}

.offcanvas .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 18px;
}

.offcanvas .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    background: none;
}

/* --- Angebote--- */
.my-gallery-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.my-slides-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
}

.my-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
    padding: 0 10px;
}

.my-slide-img {
    width: 100%;
    height: 35vh;
    position: relative;
    overflow: hidden;
}

.my-slide-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.my-slide-img:hover::before {
    transform: scale(1.05);
}

.my-slide-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.2);
    pointer-events: none;
}

.my-slide-text {
    position: absolute;
    bottom: 30px;
    left: 5%;
    color: #fff;
    z-index: 10;
    font-size: 1.2rem;
    line-height: 1.3;
    padding-left: 20px;
    padding-right: 20px;
}

.my-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    padding: 5px;
    border-radius: 50%;
    transition: color 0.3s;
}

.my-slider-nav:hover {
    color: #ff0;
}

.my-slider-prev { left: 30px; }
.my-slider-next { right: 30px; }

@media (max-width: 992px) {
    .my-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .my-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}




/* --- Galerie --- */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.gallery-img-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img-wrapper img:hover {
    transform: scale(1.05);
}


/* --- SLIDER --- */
.carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-welcome-text-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none; 
}

.slider-welcome-text {
    color: #fff;
    max-width: 500px;
    padding: 20px 0;
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    pointer-events: auto; 
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption {
    position: relative;
    z-index: 2; 
}
#acfBootstrapSlider .carousel-item {
    height: 75vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: zoomEffect 20s ease-in-out infinite;
    transition: opacity 2s ease-in-out;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

#acfBootstrapSlider .carousel-caption {
    bottom: 20%;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

@media (max-width: 768px) {
    #acfBootstrapSlider .carousel-caption {
        font-size: 16px;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: #eee;
    padding: 100px 0;
    font-size: 16px;
}

.footerend {
    background-color: #ddd;
    padding: 20px 0;
    font-size: 16px;
    text-align: center;
}
