/*
 * BKG 13.7 – Booking Journey Visual Layer V1
 * Functional reference layer for later EXP refinement.
 */

.tms-booking-journey {
    margin: 0 0 22px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(224, 231, 255, 0.82),
            rgba(251, 207, 232, 0.72)
        );
    border: 1px solid rgba(148, 163, 184, 0.22);
    overflow: hidden;
}

.tms-booking-journey__inner {
    padding: 18px 22px;
}

.tms-booking-journey__intro {
    margin-bottom: 16px;
}

.tms-booking-journey__eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.62;
}

.tms-booking-journey__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.tms-booking-journey__text {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.72;
}

.tms-booking-journey__steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tms-booking-journey__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}

.tms-booking-journey__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 31px;
    right: -8px;
    top: 14px;
    height: 2px;
    background: rgba(100, 116, 139, 0.20);
    z-index: 0;
}

.tms-booking-journey__dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(100,116,139,0.25);
    font-size: 12px;
}

.tms-booking-journey__label {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tms-booking-journey__step.is-active .tms-booking-journey__dot {
    background: #ffffff;
    border-color: rgba(79,70,229,0.55);
    box-shadow: 0 4px 14px rgba(79,70,229,0.18);
}

.tms-booking-journey__step.is-active {
    font-weight: 700;
}

.tms-booking-journey__step.is-complete .tms-booking-journey__dot {
    background: rgba(255,255,255,0.9);
}

.tms-booking-journey__step.is-upcoming {
    opacity: 0.52;
}

@media (max-width: 900px) {
    .tms-booking-journey__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 14px;
    }

    .tms-booking-journey__step::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .tms-booking-journey__inner {
        padding: 16px;
    }

    .tms-booking-journey__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*
 * BKG 13.7.4f – Learning World alignment
 * Functional reference styling; EXP remains owner of final experience design.
 */

.tms-booking-journey-world {
    background: #f5f2e9;
}

.tms-booking-journey-world .tms-catalog-hero {
    background: #765f20;
    border: 0;
    box-shadow: 0 18px 45px rgba(61,49,15,.12);
}

.tms-booking-journey-world .tms-catalog-eyebrow {
    color: #d4a017;
}

.tms-booking-journey-world .tms-catalog-hero h1,
.tms-booking-journey-world .tms-catalog-hero p {
    color: #fff;
}

.tms-booking-journey-world .tms-booking-journey {
    margin-top: 22px;
    background: #fff;
    border: 1px solid rgba(118,95,32,.16);
    box-shadow: 0 10px 30px rgba(61,49,15,.06);
}

.tms-booking-journey-world .tms-booking-journey__eyebrow {
    color: #8a6a08;
}

.tms-booking-journey-world .tms-booking-journey__step.is-active .tms-booking-journey__dot {
    border-color: #d4a017;
    box-shadow: 0 4px 14px rgba(212,160,23,.18);
}

.tms-booking-journey-world .tms-booking-journey__step.is-complete .tms-booking-journey__dot {
    border-color: rgba(212,160,23,.45);
}

/*
 * BKG 13.7.4j – Coursespublic Learning World alignment
 */

.tms-booking-journey-world .tms-catalog-hero {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-image:
        linear-gradient(
            rgba(15,23,42,.50),
            rgba(15,23,42,.50)
        ),
        url("../../img/Unterricht_1.jpg");
    background-position: center 20%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #765f20;
}

.tms-booking-journey-world .tms-catalog-hero__content,
.tms-booking-journey-world .tms-catalog-hero__meta {
    position: relative;
    z-index: 1;
}

.tms-booking-journey-world .tms-catalog-hero h1,
.tms-booking-journey-world .tms-catalog-hero p,
.tms-booking-journey-world .tms-catalog-stat__label,
.tms-booking-journey-world .tms-catalog-stat__value {
    color: #fff;
}

.tms-booking-journey-world .tms-catalog-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #d4a017;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tms-booking-journey-world .tms-catalog-card {
    background: #fff;
    border-color: rgba(118,95,32,.14);
    box-shadow: 0 10px 30px rgba(61,49,15,.06);
}

.tms-booking-journey-world .tms-catalog-card:hover {
    box-shadow: 0 16px 38px rgba(61,49,15,.12);
}

.tms-booking-journey-world .tms-catalog-card__image--placeholder {
    background: #eee9dc;
    color: #8a6a08;
}

.tms-booking-journey-world .tms-catalog-card__cta,
.tms-booking-journey-world .tms-catalog-card__cta--active {
    background: #d4a017;
    color: #fff;
}

.tms-booking-journey-world .tms-catalog-card__cta:hover,
.tms-booking-journey-world .tms-catalog-card__cta--active:hover {
    background: #b88a12;
}

.tms-booking-journey-world .tms-catalog-card__delivery {
    background: #f4efe3;
    color: #6f5712;
}

.tms-booking-journey-world .tms-catalog-badge--public,
.tms-booking-journey-world .tms-catalog-badge--category {
    background: #f4efe3;
    color: #6f5712;
    border-color: rgba(212,160,23,.26);
}

@media (max-width:700px) {
    .tms-booking-journey-world .tms-catalog-hero {
        min-height: 300px;
    }
}

/*
 * BKG 13.7.5b – Course Public Learning World alignment
 */

.tms-booking-journey-world .tms-course-topnav {
    margin-bottom: 18px;
}

.tms-booking-journey-world .tms-course-backlink {
    color: #6f5712;
}

.tms-booking-journey-world .tms-course-hero {
    border-color: rgba(118,95,32,.14);
    background: #fff;
    box-shadow: 0 16px 40px rgba(61,49,15,.08);
}

.tms-booking-journey-world .tms-course-hero__image {
    background: #eee9dc;
}

.tms-booking-journey-world .tms-course-hero__image--placeholder {
    background: #eee9dc;
    color: #8a6a08;
}

.tms-booking-journey-world .tms-course-hero__content .tms-catalog-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #d4a017;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tms-booking-journey-world .tms-course-hero__content h1 {
    color: #171717;
}

.tms-booking-journey-world .tms-course-hero__subtitle {
    color: #57534e;
}

.tms-booking-journey-world .tms-course-hero__meta {
    color: #6f5712;
}

.tms-booking-journey-world .tms-course-nav {
    background: #fff;
    border-color: rgba(118,95,32,.14);
    box-shadow: 0 8px 24px rgba(61,49,15,.05);
}

.tms-booking-journey-world .tms-course-nav a {
    color: #6f5712;
}

.tms-booking-journey-world .tms-course-card,
.tms-booking-journey-world .tms-trust-card,
.tms-booking-journey-world .tms-date-card {
    border-color: rgba(118,95,32,.14);
    box-shadow: 0 10px 30px rgba(61,49,15,.05);
}

.tms-booking-journey-world .btn-primary {
    background: #d4a017;
    border-color: #d4a017;
    color: #fff;
}

.tms-booking-journey-world .btn-primary:hover {
    background: #b88a12;
    border-color: #b88a12;
}

.tms-booking-journey-world .tms-info-btn {
    background: #f4efe3;
    color: #6f5712;
}

.tms-booking-journey-world .tms-info-btn:hover {
    background: #e8dfc9;
}

.tms-booking-journey-world .tms-catalog-badge--category {
    background: #f4efe3;
    color: #6f5712;
    border-color: rgba(212,160,23,.26);
}
