/* -------------------------
   Neue Utility-Klassen
------------------------- */

.internal_links {
    color: var(--dark-color);
}

.field-error {
    color: #b00020 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

/* Ausgangszustand: nichts Besonderes */
.sidebar-additional-block {
    /* optional leer */
}

/* Klasse, die kurz nach dem Update gesetzt wird */
.sidebar-additional-block.fade-in {
    animation: sidebarFadeIn 1.0s ease-out;
}

/* Keyframes für die Animation */
@keyframes sidebarFadeIn {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar ab Desktop sticky machen */
@media (min-width: 992px) {
    .sidebar-selection {
        position: sticky;
        top: 140px;

        /* optional: align-self: flex-start; */
    }
}

/* -------------------------------------
    Thumnails einheiltich darstellen
-------------------------------------- */

.acco_img {
    width: 100%;
    height: 150px; /* Höhe kannst du beliebig wählen (150, 200, 250px ...) */
    overflow: hidden;
    border-radius: 10px; /* optional schöner */
    margin-bottom:10px;
}

.acco_img img.acco-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* wichtig: cropt das Bild */
    object-position: center; /* optional: zentriert das Bild */
    display: block;
}


/* -------------------------
   Lightbox für Bilder
------------------------- */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 25px;
    font-size: 35px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 100000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #f0f0f0;
}

/* -------------------------
   Globale Formular-Fehlerbox
------------------------- */

.form-errors {
    padding: 5px;
    border-radius: 15px;
    margin-top: 20px;
    height: 40px;
    border: 1px solid #a75151;
    background-color: #f3c3c3;
    color: #a75151;
}

/* -------------------------
   Sidebar-Karte / Summary-Box
------------------------- */

.package_submit_button button:disabled,
.package_submit_button button:disabled:hover {
    background-color: var(--primary-color);
    cursor: not-allowed;
        opacity: 0.7;
        box-shadow: none;
}



.sidebar_card_show {
    border-radius: 15px;
    margin-top: 20px;
    background-color: var(--secondary-opacity-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.sidebar_card_show .sidebar_card_header {
    background-color: var(--primary-color);
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    padding: 18px 20px 10px 20px;
}

.sidebar_card_show .sidebar_card_header h3 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    color: var(--white-color);
}

.sidebar_card_show .sidebar_accommodation {
    margin: 0px -20px 10px -20px;
    padding: 20px 20px 10px 20px;
    background-color: var(--secondary-dark-color);
}

.sidebar_card_show .sidebar_acco {
    margin: 0px -20px -20px -20px;
    padding: 20px 20px 10px 20px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: var(--secondary-dark-color);
}

.begle_form{
    margin-bottom: 50px;
}

/* -------------------------
    Step 2 – Button Styling
------------------------- */

.room_page_btn button:disabled,
.room_page_btn button:disabled:hover {
    background-color: var(--primary-color);
    cursor: not-allowed;
        opacity: 0.7;
        box-shadow: none;
}

.room_page_btn a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.room_page_btn button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* -------------------------
   Step 4 – Überprüfungsseite
   (kleine Layout- und Abstandsänderungen)
------------------------- */

.person_one_and_two{
    padding: 20px;
    background-color:#FFF4BE;
    margin-top: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.uber_item_two {
    gap: 40px;
    margin-bottom: 30px; /* statt 40px */
}

.uber_item_three h4 {
    font-family: var(--font-main);
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--dark-color);
}

.uber_item_three ul li {
    font-family: var(--font-main);
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: var(--dark-color);
    padding-bottom: 5px;
}

.uber_item_three p.note {
    font-family: var(--font-main);
    font-weight: 700;
    font-style: Italic;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #FF6929;
    border-bottom: 1px solid #BDBDBD; /* statt border-top */
    padding-top: 0;
    padding-bottom: 20px;
    margin-top: 10px;
}



.booking-sidebar-fixed {
    position: fixed;
    top: 30%;         /* falls du einen festen Header hast, z. B. top: 80px; */
    right: 0;
    bottom: 0;      /* damit sie bis ganz nach unten geht */
    width: 260px;   /* HIER definierst du die Breite der Sidebar */
    padding: 16px;  /* optional */
    overflow-y: auto;
    z-index: 1000;             /* über dem Inhalt */
}

/* Der restliche Inhalt rückt nach rechts, damit nichts verdeckt wird */
.booking-page-content {
    margin-left: 260px;        /* gleich wie width oben */
}

/* Mobile / Tablet: Sidebar nicht fixed, sondern normal im Flow */
@media (max-width: 991.98px) {
    .booking-sidebar-fixed {
        position: static;
        width: 100%;
        height: auto;
    }

    .booking-page-content {
        margin-left: 0;
    }
}

#course_booking_area{
    margin-top: 0px;
}