/* Altes CF7-Buchungsformular auf der Reservierungsseite ausblenden. */
body.page-id-356 .wpcf7[id*="wpcf7-f276"],
body.page-reservieren .wpcf7[id*="wpcf7-f276"] {
    display: none !important;
}

.dagstuhl-booking {
    max-width: 820px;
    margin: 0 auto 40px;
    font-family: inherit;
    color: #333;
}

.dhb-perks {
    background: #ffffff;
    border: 1px solid #e4dccb;
    padding: 16px 18px 14px;
    margin-bottom: 14px;
}

.dhb-perks__title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d8cdb6;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #6b3a2a;
}

.dhb-perks__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4a4036;
    font-size: 13.5px;
    line-height: 1.35;
}

.dhb-perks__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 52px;
    padding: 9px 10px;
    background: #fffdf8;
    border: 1px solid #e8e0d0;
    box-sizing: border-box;
}

.dhb-perks__list li::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23b08948'/%3E%3Cpath d='M5.6 10.2l2.8 2.8 6-6.2' fill='none' stroke='%23fffdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.dhb-perks__note {
    margin: 10px 2px 0;
    font-size: 12px;
    line-height: 1.4;
    color: #7a6d5c;
    font-style: italic;
}

.dagstuhl-booking input,
.dagstuhl-booking select,
.dagstuhl-booking textarea,
.dagstuhl-booking button,
.dagstuhl-booking option {
    font-family: inherit;
}

.dhb-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    padding: 28px 24px;
}

.dhb-title {
    margin: 0 0 12px;
    font-size: 28px;
    color: #962d31;
}

.dhb-lead,
.dhb-hint {
    margin: 0 0 18px;
    color: #555;
}

.dhb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 18px;
}

.dhb-grid--party {
    grid-template-columns: 1fr 1fr 1fr;
}

.dhb-field-hint {
    margin: -8px 0 18px;
    color: #732225;
    font-size: 13px;
}

.dhb-child-ages {
    margin: -4px 0 18px;
}

.dhb-child-ages__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

.dhb-grid--ages {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    margin-bottom: 0;
}

.dhb-field-hint[hidden] {
    display: none !important;
}

.dhb-label {
    display: block;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

.dhb-label input,
.dhb-label select,
.dhb-label textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #cfc8bc;
    background: #fff;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.4;
    color: #333;
    box-sizing: border-box;
}

.dagstuhl-booking .dhb-label input:not([type="checkbox"]):not([type="radio"]),
.dagstuhl-booking .dhb-label select {
    height: 44px;
    min-height: 44px;
}

.dagstuhl-booking .dhb-label select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555555' d='M1.41.59 6 5.17 10.59.59 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
}

.dagstuhl-booking .dhb-label select::-ms-expand {
    display: none;
}

.dhb-button {
    background: #962d31;
    color: #fff;
    border: 0;
    width: 100%;
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.dhb-button:hover,
.dhb-button:focus {
    background: #732225;
}

.dhb-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.dhb-button--ghost {
    background: #fff;
    color: #962d31;
    border: 1px solid #962d31;
}

.dhb-button--ghost:hover {
    background: #f8eeee;
}

.dhb-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 18px;
}

.dhb-actions--back-only {
    grid-template-columns: 1fr;
}

.dhb-room {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eee;
}

.dhb-room__price {
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
}

.dhb-room__price span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #777;
}

.dhb-room__nightly {
    margin-top: 2px;
    color: #999;
}

.dhb-meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.dhb-avail {
    font-weight: 700;
    color: #2e7d32;
}

.dhb-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dagstuhl-booking .dhb-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid #962d31;
    background: #fff;
    color: #962d31;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    cursor: pointer;
}

.dhb-stepper span {
    min-width: 1.5em;
    text-align: center;
    font-weight: 700;
}

.dhb-services {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.dhb-services label {
    font-weight: 400;
}

.dhb-total {
    margin: 16px 0 0;
    text-align: right;
}

.dhb-error {
    background: #f8eeee;
    color: #732225;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.dhb-success {
    background: #f4f8f2;
    padding: 20px;
}

.dhb-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.dhb-guarantee {
    margin: 22px 0 8px;
    padding: 16px 16px 8px;
    border: 1px solid #e5e0d8;
    background: #faf8f5;
}

.dhb-guarantee[hidden] {
    display: none !important;
}

.dhb-guarantee h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #962d31;
}

.dhb-card-note {
    margin: 0 0 14px;
    color: #555;
    font-size: 0.95em;
}

.dhb-policy {
    margin: 16px 0 0;
    padding: 12px 14px;
    background: #f8eeee;
    color: #4a2a2c;
    font-size: 0.95em;
    line-height: 1.45;
}

.dhb-card-box {
    min-height: 22px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    background: #fff;
}

.dhb-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 8px;
}

.dhb-card-row .dhb-label {
    margin-bottom: 0;
}

.dhb-section-title {
    margin: 24px 0 8px;
    font-size: 18px;
    color: #962d31;
}

.dhb-guest-room {
    margin: 0 0 16px;
    padding: 14px 16px 4px;
    border: 1px solid #e5e0d8;
    background: #faf8f5;
}

.dhb-guest-room__title {
    font-weight: 700;
    margin-bottom: 10px;
}

.dhb-guest-room__optional {
    font-weight: 400;
    color: #6b655c;
}

.dhb-guest-person .dhb-grid--guest {
    grid-template-columns: 1fr 1fr minmax(160px, 1fr);
    margin-bottom: 0;
}

.dhb-guest-person {
    margin: 0 0 12px;
}

.dhb-guest-person__label {
    font-size: 13px;
    font-weight: 600;
    color: #5c564e;
    margin-bottom: 6px;
}

.dhb-guest-person--optional .dhb-guest-person__label {
    font-weight: 500;
    color: #7a746c;
}

.dhb-legal {
    margin-top: 22px;
    margin-bottom: 6px;
}

.dhb-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    margin: 0;
    line-height: 1.45;
    cursor: pointer;
}

.dagstuhl-booking .dhb-check input {
    width: auto;
    margin: 0;
    display: inline-block;
}

.dhb-check a {
    color: #962d31;
    text-decoration: underline;
}

.dhb-check a:hover,
.dhb-check a:focus {
    color: #732225;
}

@media (max-width: 780px) {
    .dhb-perks__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .dhb-grid,
    .dhb-grid--party,
    .dhb-grid--ages,
    .dhb-guest-person .dhb-grid--guest,
    .dhb-actions,
    .dhb-room,
    .dhb-card-row,
    .dhb-perks__list {
        grid-template-columns: 1fr;
    }

    .dhb-perks__list li {
        min-height: 0;
    }
}
