/* Eigene Ergänzungen zur Website-Kopie (Bootstrap-Layout bleibt in main.css) */

/* Parallax-Hintergrund der Startseite (vorher Inline-Style) */
.parallax-startseite {
    background-image: url(../img/common/parallax.jpg);
}

/* ---- Externe Medien: Platzhalter bis zur Cookie-Zustimmung ---- */
.embed-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: #f1f1f1;
    border: 1px solid #ddd;
    font-size: .875rem;
}

.embed-consent-placeholder p {
    margin-bottom: .75rem;
}

.embed-consent.is-loaded {
    padding: 0;
    background: none;
    border: 0;
}

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

.embed-consent iframe {
    display: block;
    width: 100%;
    border: 0;
}

.embed-map-small { min-height: 200px; }
.embed-map-small iframe { height: 200px; }
.embed-map-large { min-height: 600px; }
.embed-map-large iframe { height: 600px; }

.embed-responsive-item.embed-consent iframe { height: 100%; }

.embed-weather img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .embed-map-large,
    .embed-map-large iframe { height: 400px; min-height: 400px; }
}

/* ---- Cookie-Banner (CookieConsent): volle Breite, bündig unten ---- */
#cc-main {
    --cc-btn-primary-bg: #71a55a;
    --cc-btn-primary-border-color: #71a55a;
    --cc-btn-primary-hover-bg: #5d8c49;
    --cc-btn-primary-hover-border-color: #5d8c49;
    --cc-toggle-on-bg: #71a55a;
    --cc-font-family: inherit;
    --cc-z-index: 2147483000;
}

#cc-main .cm--bar:not(.cm--inline) {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
}

#cc-main .cm__desc a,
#cc-main .pm__section-desc a {
    text-decoration: underline;
}

/* Link „Cookie-Einstellungen“ im Footer */
.meta-section a[data-cc] {
    cursor: pointer;
}
