/* rb-termine anfrage modal brand skin */

[x-cloak] { display: none !important; }

.rb-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 50, 43, 0.55);
    backdrop-filter: blur(4px);
}

.rb-modal-content {
    position: relative;
    background: #FCF9F3;
    max-width: 34em;
    width: calc(100% - 2em);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2em;
    border-radius: 0.75em;
    box-shadow: 0 1.25em 3em rgba(58, 50, 43, 0.25);
    font-family: 'Mulish', sans-serif;
    color: #43392F;
    line-height: 1.5;
}

.rb-modal-close {
    position: absolute;
    top: 0.5em;
    right: 0.75em;
    background: transparent;
    border: none;
    font-size: 1.75em;
    line-height: 1;
    cursor: pointer;
    color: #6F6456;
}

.rb-modal-close:hover {
    color: #C86B4A;
}

.rb-modal-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 1.75em;
    margin: 0 0 0.25em;
    color: #43392F;
}

.rb-modal-when {
    font-size: 1em;
    color: #6F6456;
    margin: 0 0 1em;
}

.rb-modal-ort {
    margin: 0 0 1em;
}

.rb-modal-adresse {
    display: block;
    color: #6F6456;
    font-size: 0.9em;
}

.rb-modal-beschreibung {
    margin: 1em 0;
    color: #43392F;
}

.rb-modal-plaetze,
.rb-modal-preis {
    margin: 0.5em 0;
}

.rb-modal-hinweis,
.rb-modal-voll {
    margin: 1em 0;
    padding: 0.75em 1em;
    background: #F3E9DA;
    border-left: 0.25em solid #C86B4A;
    border-radius: 0.25em;
}

.rb-cta {
    background: #C86B4A;
    color: #FCF9F3;
    border: none;
    padding: 0.85em 1.75em;
    border-radius: 0.5em;
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 1em;
    min-height: 48px;
    transition: background 0.2s ease;
}

.rb-modal-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-cta:hover:not(:disabled) {
    background: #A94E32;
}

.rb-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rb-anfrage-form label {
    display: block;
    margin: 0.75em 0;
}

.rb-anfrage-form label > span {
    display: block;
    font-size: 0.875em;
    color: #6F6456;
    margin-bottom: 0.25em;
}

.rb-anfrage-form input[type="text"],
.rb-anfrage-form input[type="email"],
.rb-anfrage-form input[type="tel"],
.rb-anfrage-form textarea {
    width: 100%;
    padding: 0.75em 0.9em;
    border: 1px solid #DED2BE;
    border-radius: 0.375em;
    font-family: inherit;
    font-size: 16px;
    background: #FFF;
    color: #43392F;
    box-sizing: border-box;
    min-height: 44px;
}

.rb-anfrage-form input:focus,
.rb-anfrage-form textarea:focus {
    outline: none;
    border-color: #C86B4A;
    box-shadow: 0 0 0 3px rgba(200, 107, 74, 0.15);
}

.rb-anfrage-form textarea {
    resize: vertical;
    min-height: 4em;
}

.rb-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.rb-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5em;
    margin: 1em 0;
}

.rb-consent input[type="checkbox"] {
    margin-top: 0.25em;
}

.rb-consent span {
    font-size: 0.9em;
    color: #43392F;
}

.rb-consent a {
    color: #C86B4A;
    text-decoration: underline;
}

.rb-hint {
    font-size: 0.85em;
    color: #6F6456;
    font-style: italic;
    margin: 1em 0;
}

.rb-error {
    color: #A94E32;
    background: #F3E9DA;
    padding: 0.5em 0.75em;
    border-radius: 0.25em;
    margin-top: 0.5em;
    font-size: 0.9em;
}

.rb-success {
    color: #43392F;
    background: #F3E9DA;
    border-left: 0.25em solid #8A9A7B;
    padding: 1em 1.25em;
    border-radius: 0.25em;
    margin: 1em 0;
    font-weight: 500;
}

@media (max-width: 30em) {
    .rb-modal-content {
        padding: 1.25em 1em;
        max-height: 95vh;
        width: calc(100% - 0.75em);
        border-radius: 0.5em;
    }
    .rb-modal-title {
        font-size: 1.5em;
        padding-right: 2em;
    }
    .rb-modal-close {
        top: 0.25em;
        right: 0.25em;
        font-size: 1.5em;
    }
    .rb-cta {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.15em;
        padding: 1em 1em;
    }
    .rb-modal-hinweis,
    .rb-modal-voll {
        padding: 0.75em 0.85em;
        font-size: 0.95em;
    }
    .rb-anfrage-form label {
        margin: 1em 0;
    }
}

@supports (-webkit-touch-callout: none) {
    .rb-anfrage-form input[type="text"],
    .rb-anfrage-form input[type="email"],
    .rb-anfrage-form input[type="tel"],
    .rb-anfrage-form textarea {
        font-size: 16px;
    }
}

/* Buchungsangebote (v1.2) */
.rb-angebote {
    border: 1px solid #DED2BE;
    border-radius: 0.5em;
    padding: 0.85em 1em;
    margin: 0 0 1.25em;
}
.rb-angebote legend {
    font-weight: 600;
    color: #43392F;
    padding: 0 0.35em;
    font-size: 0.95em;
}
.rb-angebot {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin: 0.45em 0;
    cursor: pointer;
    min-height: 2.75em;
}
.rb-angebot input[type="radio"] {
    accent-color: #C86B4A;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}
.rb-angebot-label {
    color: #43392F;
}
.rb-angebot-preis {
    margin-left: auto;
    color: #6F6456;
    font-size: 0.9em;
    white-space: nowrap;
}
