/*
 * Fröschlhof – Ergänzungen zum Original-Theme (theme.css, Bootstrap 3.3.5):
 * Einwilligungs-Platzhalter, Footer-Zugriff auf die Cookie-Einstellungen,
 * Fehlerdarstellung des Anfrageformulars und kleine responsive Korrekturen.
 */

/* Allgemein */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Im Original blendete ein Skript diese Bilder nach dem Laden ein (Deckkraft 0.3 -> 1). */
img.lazyload {
    opacity: 1;
}

.facebook-icon {
    overflow: visible;
}

/* Platzhalter für Google Maps und Belegungskalender (vor der Einwilligung) */
.consent-embed {
    margin-bottom: 30px;
}

.consent-placeholder {
    padding: 30px 20px;
    background: #f7f4ec;
    border: 1px solid #dcd5c3;
    text-align: center;
}

.consent-placeholder-title {
    font-size: 18px;
    font-weight: bold;
    color: #88240e;
}

.consent-placeholder .btn {
    margin: 5px;
    white-space: normal;
}

.consent-embed.is-loaded .consent-placeholder {
    display: none;
}

.consent-embed-frame {
    display: block;
    width: 100%;
    height: 650px;
    border: 0;
}

@media (max-width: 767px) {
    .consent-embed-frame {
        height: 400px;
    }
}

/* Footer: dauerhaft erreichbare Cookie-Einstellungen */
.footer-menue .cookie-settings-btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.footer-menue .cookie-settings-btn:hover,
.footer-menue .cookie-settings-btn:focus {
    text-decoration: underline;
}

/* CookieConsent: Banner über die volle Breite, bündig am unteren Rand */
#cc-main .cm--bar.cm--bottom {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
}

#cc-main {
    --cc-btn-primary-bg: #44ac3f;
    --cc-btn-primary-border-color: #44ac3f;
    --cc-btn-primary-hover-bg: #378c33;
    --cc-btn-primary-hover-border-color: #378c33;
    --cc-toggle-on-bg: #44ac3f;
    --cc-link-color: #88240e;
}

/* Schnellanfrage */
.toggle-anfrage,
.close-form {
    cursor: pointer;
}

.schnellanfrage .form-control {
    margin-bottom: 5px;
}

/* Anfrageformular */
.anfrage-form .form-field {
    margin-bottom: 15px;
}

.anfrage-form .mandatory {
    color: #88240e;
}

.anfrage-form .checkbox label {
    padding-left: 24px;
}

.anfrage-form .hinweise {
    margin-top: 20px;
    padding-left: 20px;
}

.anfrage-form .anfrage-submit {
    padding: 10px 28px;
    font-size: 16px;
    font-weight: bold;
    background-color: #44ac3f;
    border-color: #378c33;
}

.anfrage-form .anfrage-submit:hover,
.anfrage-form .anfrage-submit:focus {
    background-color: #378c33;
}

/* Fehlerdarstellung: rote Umrandung plus Text (nicht nur Farbe) */
.anfrage-form .has-error .form-control {
    border: 2px solid #c9302c;
    background-color: #fff8f8;
}

.anfrage-form .has-error .help-block,
.anfrage-form .has-error .control-label,
.anfrage-form .has-error .checkbox label {
    color: #a12622;
}

.anfrage-form .has-error .help-block::before {
    content: "\26A0\00A0";
}

.anfrage-form .has-error .checkbox {
    padding: 6px 8px;
    border: 2px solid #c9302c;
}

.anfrage-form .has-error altcha-widget {
    display: block;
    outline: 2px solid #c9302c;
}

.error-summary {
    margin-bottom: 20px;
}

.error-summary:focus {
    outline: 3px solid #a12622;
    outline-offset: 2px;
}

.error-summary-title {
    font-weight: bold;
}

.error-summary ul {
    margin: 0;
    padding-left: 20px;
}

.error-summary a {
    color: #a12622;
    text-decoration: underline;
}

/* Honeypot: für Besucher unsichtbar, für Screenreader und Tastatur nicht erreichbar */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ALTCHA-Widget */
.anfrage-altcha {
    margin: 10px 0 20px;
}

altcha-widget {
    max-width: 100%;
}
