/* ===============================
   VOLLBREITE – stabil auf Desktop + Handy
   =============================== */
.schacht-carousel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative;
}


/* ===============================
   SLIDES – Einheitliche Höhe
   =============================== */
.schacht-slide {
    position: relative;
    width: 100%;
    height: 575px; /* Desktop */
    overflow: hidden;
    display: none; /* nur aktive Slide wird sichtbar */
}

.schacht-slide.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}


/* ===============================
   MOBILE HÖHE
   =============================== */
@media (max-width: 768px) {
    .schacht-slide {
        height: 400px !important; /* Handy-Höhe */
    }
}


/* ===============================
   BILDER – SAUBER, ZENTRIERT, NICHT VERSCHOBEN
   =============================== */
.schacht-slide img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100% !important;    /* IMMER volle Breite */
    height: 100% !important;   /* IMMER volle Höhe */
    max-width: none !important;
    min-width: 100% !important;


    object-fit: cover;         /* füllt Bereich perfekt */
    display: block;
}


/* ===============================
   TEXTBOX (Titel) – WEISS + SCHWARZ
   =============================== */
.schacht-slide-text {
    position: absolute;
    bottom: 30px;
    left: 30px;

    background: #ffffff !important;  /* weiß */
    color: #000000 !important;       /* schwarz */

    padding: 15px 20px;
    border-radius: 10px;
    max-width: 80%;
}

.schacht-slide-text h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #000000 !important;
}


/* ===============================
   BUTTON – DUNKELGRÜN + WEISS
   =============================== */
.schacht-btn {
    display: inline-block;
    padding: 10px 16px;

    background: #006633 !important; /* dunkelgrün */
    color: #ffffff !important;      /* weiß */

    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    border: none !important;
}

.schacht-btn:hover {
    background: #004d26 !important; /* noch dunkleres Grün */
    color: #ffffff !important;
}


/* ===============================
   DOTS (Punkte)
   =============================== */
.schacht-carousel-dots {
    text-align: center;
    margin-top: 12px;
}

.schacht-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.schacht-dot.active {
    background: #333;
}


/* ===============================
   FADE ANIMATION
   =============================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
