/**
 * Eigene Ergänzungen zum Theme (main.css enthält Bootstrap 4.0.0-beta und die Gestaltung der Originalseite).
 * Hier stehen nur Regeln für Cookie-Banner, externe Einbettungen, Formulare und kleine Korrekturen.
 */

/* Bilder nicht markierbar (ehemals default.css) */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ---------- Cookie-Banner (CookieConsent) ---------- */
#cc-main {
    --cc-font-family: inherit;
    --cc-btn-primary-bg: #4c8811;
    --cc-btn-primary-border-color: #4c8811;
    --cc-btn-primary-hover-bg: #3d6e0d;
    --cc-btn-primary-hover-border-color: #3d6e0d;
    --cc-btn-secondary-bg: #e8ebe1;
    --cc-btn-secondary-hover-bg: #d6dccb;
    --cc-toggle-on-bg: #4c8811;
    --cc-link-color: #3d6e0d;
}
#cc-main .cc-link {
    text-decoration: underline;
}
#cc-main .cm--bar {
    max-width: none;
    width: 100%;
}

/* Cookie-Einstellungen im Seitenfuß */
.footer-link-button {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.footer-link-button:hover,
.footer-link-button:focus {
    text-decoration: none;
}

/* ---------- Externe Einbettungen (Platzhalter bis zur Zustimmung) ---------- */
.embed-consent {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0de;
    border: 1px solid #d6dccb;
}
.embed-consent-box {
    max-width: 560px;
    padding: 24px;
    text-align: center;
}
.embed-consent-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.embed-consent iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: 0;
}
.embed-consent.is-loaded {
    display: block;
    min-height: 0;
    border: 0;
    background: none;
}
.embed-consent.is-loaded .embed-consent-box {
    display: none;
}

/* ---------- Schnellanfrage (Seitenleiste) ---------- */
.quick-label {
    display: block;
    margin-bottom: 2px;
    color: #8b8b8b;
    font-size: 14px;
    font-weight: normal;
}
.schnellanfrage-form form .btn {
    margin-top: 6px;
}

/* ---------- Anfrageformular ---------- */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.powermail_form .mandatory {
    color: #c0392b;
    margin-left: 2px;
}
.form-control.is-invalid {
    border: 2px solid #dc3545;
}
.form-control.is-invalid ~ .invalid-feedback,
.powermail_form .invalid-feedback {
    display: block;
    color: #b02a37;
    font-weight: 600;
}
.form-error-summary a {
    color: inherit;
    text-decoration: underline;
}
altcha-widget {
    display: block;
    max-width: 100%;
}

/* ---------- Kleinigkeiten ---------- */
.table {
    width: 100%;
}
