/* ----------------------
   CLIENT FIXES
   ---------------------- */

.logo {
    width: 250px;
    height: 120px;
}

/* ----------------------
   COOKIE-BANNER (assets/js/koch-consent.js)
   ---------------------- */
#koch-consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: min(600px, calc(100vw - 24px));
    max-width: 600px;
    z-index: 99999;
    box-sizing: border-box;
    padding: 10px 12px;
    background: #ffffff;
    color: #333;
    border-radius: 16px;
    border: 1px solid #d7dfeb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

#koch-consent-banner[hidden],
#koch-consent-modal[hidden] {
    display: none;
}

#koch-consent-banner .kc-title,
#koch-consent-modal .kc-dialog-title {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}

#koch-consent-banner .kc-text,
#koch-consent-modal .kc-text {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

#koch-consent-banner a,
#koch-consent-modal a {
    color: #3BBBC2;
    text-decoration: underline;
}

#koch-consent-banner a:hover,
#koch-consent-modal a:hover {
    color: #319ea4;
}

#koch-consent-banner .kc-buttons,
#koch-consent-modal .kc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

#koch-consent-banner .kc-btn,
#koch-consent-modal .kc-btn {
    background: #3BBBC2;
    border: 1px solid #3BBBC2;
    color: #ffffff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    padding: 6px 10px;
    cursor: pointer;
    transition: background 200ms, border-color 200ms;
}

#koch-consent-banner .kc-btn:hover,
#koch-consent-modal .kc-btn:hover {
    background: #319ea4;
    border-color: #319ea4;
}

#koch-consent-banner .kc-btn:focus-visible,
#koch-consent-modal .kc-btn:focus-visible,
#koch-consent-modal .kc-close:focus-visible,
#koch-consent-modal .kc-switch input:focus-visible + .kc-slider {
    outline: 2px solid #1f6f74;
    outline-offset: 2px;
}

/* Einstellungsfenster */
html.kc-modal-open {
    overflow: hidden;
}

#koch-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

#koch-consent-modal .kc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

#koch-consent-modal .kc-dialog {
    position: relative;
    box-sizing: border-box;
    width: min(560px, 100%);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 18px 18px 16px;
    background: #ffffff;
    color: #333;
    border-radius: 16px;
    border: 1px solid #d7dfeb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

#koch-consent-modal .kc-dialog-title {
    font-size: 16px;
    padding-right: 30px;
}

#koch-consent-modal .kc-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

#koch-consent-modal .kc-rows {
    margin: 10px 0 4px;
    border-top: 1px solid #e6ebf2;
}

#koch-consent-modal .kc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e6ebf2;
}

#koch-consent-modal .kc-row-title {
    display: block;
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
}

#koch-consent-modal .kc-row-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #555;
}

#koch-consent-modal .kc-always {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #319ea4;
    white-space: nowrap;
}

#koch-consent-modal .kc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
}

#koch-consent-modal .kc-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

#koch-consent-modal .kc-slider {
    position: absolute;
    inset: 0;
    background: #c9d1dc;
    border-radius: 24px;
    transition: background 200ms;
}

#koch-consent-modal .kc-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 200ms;
}

#koch-consent-modal .kc-switch input:checked + .kc-slider {
    background: #3BBBC2;
}

#koch-consent-modal .kc-switch input:checked + .kc-slider::before {
    transform: translateX(18px);
}

/* Hinweis-Link unter den Platzhalter-Buttons */
.consent-placeholder-note {
    margin: 8px 0 0;
    font-size: 12px;
}

.consent-placeholder-note a {
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

@media only screen and (max-width: 767px) {
    #koch-consent-banner {
        right: 10px;
        left: 10px;
        bottom: 10px;
        width: auto;
        max-width: none;
    }

    #koch-consent-banner .kc-btn,
    #koch-consent-modal .kc-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ----------------------
   ERSTINFORMATION BANNER
   ---------------------- */
#erstinfo-banner {
    position: fixed;
    top: auto;
    right: auto;
    left: 18px;
    bottom: 18px;
    width: min(600px, calc(100vw - 24px));
    max-width: 600px;
    z-index: 99998;
    background: #ffffff;
    color: #333;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    border: 1px solid #d7dfeb;
}

#erstinfo-banner .erstinfo-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}

#erstinfo-banner p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

#erstinfo-banner a.erstinfo-link {
    color: #3BBBC2;
    text-decoration: underline;
    font-weight: 700;
    white-space: nowrap;
}

#erstinfo-banner a.erstinfo-link:hover {
    color: #319ea4;
}

#erstinfo-banner-btn {
    align-self: flex-start;
    background: #3BBBC2;
    color: #ffffff;
    border: 1px solid #3BBBC2;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 200ms, border-color 200ms;
}

#erstinfo-banner-btn:hover {
    background: #319ea4;
    border-color: #319ea4;
}

@media only screen and (max-width: 767px) {
    #erstinfo-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-width: none;
    }

    #erstinfo-banner-btn {
        width: 100%;
        text-align: center;
    }
}

/* ----------------------
   YOUTUBE CONSENT PLACEHOLDER
   ---------------------- */
.js-youtube-consent {
    position: relative;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    min-height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-youtube-consent .yt-consent-card {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 460px;
    margin: 10px;
}

.js-youtube-consent .yt-consent-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}

.js-youtube-consent .yt-consent-text {
    margin: 0 0 12px;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
}

.js-youtube-consent .yt-consent-button {
    display: inline-block;
    padding: 10px 16px;
    background: #3BBBC2;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.js-youtube-consent .yt-consent-button:hover {
    background: #319ea4;
}

.js-youtube-consent iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ----------------------
   GOOGLE MAPS CONSENT PLACEHOLDER
   ---------------------- */
.js-gmap-consent {
    position: relative;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-gmap-consent .gm-consent-card {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 460px;
    margin: 10px;
}

.js-gmap-consent .gm-consent-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}

.js-gmap-consent .gm-consent-text {
    margin: 0 0 12px;
    color: #444;
}

.js-gmap-consent .gm-consent-button {
    display: inline-block;
    padding: 10px 16px;
    background: #3BBBC2;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.js-gmap-consent .gm-consent-button:hover {
    background: #319ea4;
}

.js-gmap-consent .gm-consent-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: #666;
}

.js-gmap-consent[data-gmap-loaded="1"] {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
}

.js-gmap-consent iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.js-youtube-consent[data-youtube-loaded="1"] {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
}

/* ----------------------
   EXTERNE EINBETTUNGEN CONSENT PLACEHOLDER (Vimeo, Vergleichsrechner)
   ---------------------- */
.js-embed-consent {
    position: relative;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    min-height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videoWrapper > .js-embed-consent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.js-embed-consent .embed-consent-card {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 460px;
    margin: 10px;
}

.js-embed-consent .embed-consent-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}

.js-embed-consent .embed-consent-text {
    margin: 0 0 12px;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
}

.js-embed-consent .embed-consent-button {
    display: inline-block;
    padding: 10px 16px;
    background: #3BBBC2;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.js-embed-consent .embed-consent-button:hover {
    background: #319ea4;
}

.js-embed-consent[data-embed-loaded="1"] {
    display: block;
    min-height: 0;
    background: transparent;
    border: 0;
}

.videoWrapper > .js-embed-consent[data-embed-loaded="1"] {
    position: absolute;
}

/* ----------------------
   COOKIE-SETTINGS LINK IN FOOTER
   ---------------------- */
a.cookieeinstellungen {
    cursor: pointer;
}

/* ----------------------
   AJAX-FORMULAR FEEDBACK
   ---------------------- */
.ki-form-feedback {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.ki-form-feedback:empty {
    display: none;
}

.ki-form-feedback p {
    margin: 0 0 4px 0;
}

.ki-form-feedback ul {
    margin: 6px 0 0 0;
    padding-left: 20px;
}

.ki-form-feedback.is-success {
    padding: 12px 14px;
    background: #e6f6ec;
    border: 1px solid #b7dfc4;
    color: #226e3a;
    border-radius: 6px;
}

.ki-form-feedback.is-error {
    padding: 12px 14px;
    background: #fdecea;
    border: 1px solid #f5b7b1;
    color: #a3271a;
    border-radius: 6px;
}

/* ----------------------
   HERO REVOLUTION SLIDER (unter der Navigation) auf Mobile ausblenden
   ---------------------- */
@media only screen and (max-width: 767px) {
    .ce_revolutionslider {
        display: none !important;
    }
}

/* ----------------------
   FOOTER: Partner-Zeile
   ---------------------- */
#footer .footer-partner {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

#footer .footer-partner h5 {
    margin: 0 0 10px 0;
    font-size: 1em;
}

#footer .footer-partner-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .footer-partner-list li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

#footer .footer-partner-list li + li::before {
    content: "\00b7";
    display: inline-block;
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ----------------------
   404-SEITE
   ---------------------- */
#content-404 {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

#content-404 .error-404 {
    text-align: center;
    margin-bottom: 40px;
}

#content-404 .error-404-code {
    margin: 0 0 10px;
    font-size: 96px;
    line-height: 1;
    font-weight: 700;
    color: #3BBBC2;
}

#content-404 .error-404 h1 {
    margin-bottom: 16px;
}

#content-404 .error-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

#content-404 .error-404-button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #3BBBC2;
    border-radius: 20px;
    background: #3BBBC2;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 200ms, border-color 200ms, color 200ms;
}

#content-404 .error-404-button:hover,
#content-404 .error-404-button:focus-visible {
    background: #319ea4;
    border-color: #319ea4;
    color: #ffffff;
}

#content-404 .error-404-button-outline {
    background: transparent;
    color: #3BBBC2;
}

#content-404 .error-404-links {
    padding: 24px 28px;
    background: #f6f6f6;
    border-radius: 16px;
}

#content-404 .error-404-links ul {
    margin: 10px 0 16px;
    padding-left: 20px;
}

#content-404 .error-404-links li {
    margin-bottom: 6px;
}

@media only screen and (max-width: 767px) {
    #content-404 {
        padding: 20px 0 40px;
    }

    #content-404 .error-404-code {
        font-size: 72px;
    }

    #content-404 .error-404-links {
        padding: 18px;
    }
}
