/**
 * Eigene Ergänzungen zum Template (main.css = Bootstrap 4.0.0-beta + Theme).
 * Hier stehen nur Anpassungen, die für Darstellung, Smartphone/Tablet und Cookie-Banner nötig sind.
 */

/* ---- Allgemein: Bilder und Tabellen auf kleinen Bildschirmen ---- */
img {
    max-width: 100%;
    height: auto;
}

.ce-bodytext table {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .ce-bodytext table {
        display: block;
        overflow-x: auto;
    }
}

/* ---- Footer: Button "Cookie-Einstellungen" sieht aus wie die anderen Footer-Links ---- */
.footer-links .btn-link {
    padding: .5rem 1rem;
    border: 0;
    font: inherit;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.footer-links .btn-link:hover,
.footer-links .btn-link:focus {
    text-decoration: underline;
}

/* ---- Platzhalter für externe Inhalte (Google Maps, Buchungssystem) vor der Zustimmung ---- */
.consent-embed {
    margin: 1rem 0 2rem;
}

.consent-embed-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #f4f1ec;
    border: 1px solid #d1954f;
}

.consent-embed-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.consent-embed-box .btn {
    margin: .25rem;
}

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

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

.newsletter-hint {
    margin-top: 1rem;
}

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

#cc-main .cm--bar .cm__body {
    max-width: 100%;
}

#cc-main .cm__footer a,
#cc-main .pm__section-desc a {
    margin-right: 1rem;
}
