/* Sichtbarkeit im Teilnahmeformular, ohne Parcel-Build. */

.buchung-form [data-zimmer-table][hidden],
.buchung-form [data-verpflegung-wrap][hidden] {
    display: none !important;
}

.buchung-anfrage-kontext {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.buchung-anfrage-kontext__text,
.buchung-anfrage-kontext__label,
.buchung-anfrage-kontext__title,
.buchung-anfrage-kontext__date,
.buchung-anfrage-kontext .buchung-form__paar-hint {
    text-align: left;
}

.buchung-anfrage-kontext__text {
    flex: 1 1 auto;
    min-width: 0;
}

.buchung-anfrage-kontext__flyer {
    flex: 0 0 148px;
}

.buchung-anfrage-kontext__flyer img {
    display: block;
    width: 148px;
    height: 148px;
    object-fit: cover;
}

.buchung-anfrage-kontext--empty,
.buchung-anfrage-kontext--missing {
    display: block;
}

.buchung-hinweis {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.buchung-hinweis[hidden] {
    display: none !important;
}

.buchung-hinweis__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(122, 123, 122, 0.52);
}

.buchung-hinweis__panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 36px 32px 28px;
    border: 1px solid rgba(117, 160, 148, 0.45);
    background: #fff;
    box-shadow: 0 18px 48px rgba(122, 123, 122, 0.28);
    text-align: center;
}

.buchung-hinweis__title {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
    color: #75a094;
}

.buchung-hinweis__text {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.45;
}

body.buchung-hinweis-offen {
    overflow: hidden;
}

.startseite-assistent__row--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buchung-person__line {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.buchung-person__line .startseite-assistent__row {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.buchung-person__remove {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7a7b7a;
    cursor: pointer;
}

.buchung-person__remove:hover,
.buchung-person__remove:focus {
    color: #2e5b6a;
}

.buchung-person__remove svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 767px) {
    .buchung-anfrage-kontext {
        flex-direction: column;
        align-items: stretch;
    }

    .buchung-anfrage-kontext__flyer,
    .buchung-anfrage-kontext__flyer img {
        width: 100%;
        height: auto;
        max-height: 220px;
    }

    .startseite-assistent__row--pair {
        grid-template-columns: 1fr;
    }
}
