/*
 * Eigene Ergänzungen zum Theme (bootstrap-theme.css).
 * Hier stehen nur Anpassungen, die für die statische Version nötig sind.
 */

/* Verhindert horizontales Scrollen auf Smartphones */
html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* Footer: Impressum, Datenschutz und Cookie-Einstellungen */
.footer-legal {
    text-align: center;
    padding: 0.5rem 0;
}

.footer-legal a,
.cookie-settings-link {
    color: inherit;
}

.cookie-settings-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
    text-decoration: none;
}

/* Einbettungen mit Einwilligung (Google Maps) */
.embed-consent {
    width: 100%;
    min-height: 250px;
    margin-bottom: 0.5rem;
    background: #f1f1f1;
}

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

.embed-placeholder {
    padding: 2rem 1.5rem;
    text-align: center;
}

.embed-placeholder p {
    max-width: 40rem;
    margin: 0.5rem auto 1rem;
}

/* Kartenhöhe auf kleinen Bildschirmen */
@media (max-width: 767px) {
    .embed-consent iframe {
        height: 380px;
    }
}

/* Tabellen im Impressum (früher als Inline-Style gesetzt) */
.ce-bodytext table.table {
    width: 100%;
}

.ce-bodytext table.table td {
    vertical-align: middle;
}
