/*
 * Eigene Ergänzungen zum Originaldesign.
 * Gliederung: Bilder, Bedienelemente, Externe Dienste (Platzhalter), Karte, Cookie-Banner, Formular, Mobil.
 * Das Grundlayout steckt unverändert in bootstrap.css und den custom-*.css-Dateien.
 */

/* ---------------------------------------------------------------- Bilder */
img {
    max-width: 100%;
    height: auto;
}

.img-float-right {
    float: right;
    margin-left: 15px;
}

.img-float-right-padded {
    padding: 0 0 20px 20px;
}

/* ---------------------------------------------------------------- Bedienelemente */
.sliderbuttons button,
.link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.sliderbuttons button {
    color: inherit;
    text-shadow: inherit;
}

.sliderbuttons button:hover,
.sliderbuttons button:focus {
    text-decoration: underline;
}

footer .footer-section .link-button {
    color: #41932f;
    text-decoration: none;
}

footer .footer-section .link-button:hover,
footer .footer-section .link-button:focus {
    text-decoration: underline;
}

/* ---------------------------------------------------------------- Externe Dienste (Platzhalter bis zur Zustimmung) */
.consent-embed {
    position: relative;
}

.consent-placeholder {
    background-color: #f2f2f2;
    border: 1px solid #cccccc;
    padding: 15px;
}

.consent-placeholder p {
    margin: 8px 0 12px;
}

.consent-placeholder a {
    margin-right: 5px;
}

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

/* Kompakte Variante (z. B. HolidayCheck im Seitenfuß) */
.consent-embed-compact .consent-placeholder {
    background-color: #0058a2;
    border: 0;
    color: #ffffff;
    font-size: 13px;
    padding: 5px;
    width: 120px;
}

.consent-embed-compact .consent-placeholder strong {
    display: block;
    margin-bottom: 4px;
}

.consent-embed-compact .consent-placeholder a {
    color: #ffffff;
    display: block;
    margin-bottom: 6px;
    text-decoration: underline;
}

/* ---------------------------------------------------------------- Karte (Anfahrt) */
#googlemaps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

#googlemaps iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

#googlemaps .consent-placeholder {
    margin: 200px 20px 0 auto;
    max-width: 380px;
}

/* ---------------------------------------------------------------- Cookie-Banner (CookieConsent) */
#cc-main {
    --cc-font-family: inherit;
    --cc-btn-primary-bg: #41932f;
    --cc-btn-primary-border-color: #41932f;
    --cc-btn-primary-hover-bg: #357a26;
    --cc-btn-primary-hover-border-color: #357a26;
    --cc-btn-secondary-hover-bg: #e6e6e6;
    --cc-toggle-on-bg: #41932f;
    --cc-link-color: #285a1d;
}

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