@charset "utf-8";
/* CSS Document */

/* KS-TERRASSEN CONSENT BANNER */

.ks-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999998;
    display: none;
}

.ks-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: #ffffff;
    color: #222222;
    padding: 28px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
    display: none;
}

.ks-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ks-consent-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
}

.ks-consent-text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
}

.ks-consent-links {
    margin-bottom: 18px;
}

.ks-consent-links a {
    color: #222222;
    text-decoration: underline;
    margin-right: 18px;
}

.ks-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ks-consent-btn {
    min-width: 180px;
    padding: 13px 20px;
    border: 2px solid #222222;
    background: #ffffff;
    color: #222222;
    font-weight: 700;
    cursor: pointer;
}

.ks-consent-btn:hover {
    background: #f3f3f3;
}

.ks-consent-btn-primary {
    background: #D32326;
    border-color: #D32326;
    color: #ffffff;
}

.ks-consent-btn-primary:hover {
    background: #ad1c1f;
}

.ks-consent-settings {
    display: none;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}

.ks-consent-category {
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.ks-consent-category:last-child {
    border-bottom: 0;
}

.ks-consent-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ks-consent-category h4 {
    margin: 0 0 6px;
    font-size: 17px;
}

.ks-consent-category p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ks-consent-status {
    font-weight: 700;
    white-space: nowrap;
}

.ks-consent-switch {
    width: 50px;
    height: 26px;
    position: relative;
    display: inline-block;
}

.ks-consent-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ks-consent-slider {
    position: absolute;
    inset: 0;
    background: #999999;
    border-radius: 26px;
    cursor: pointer;
}

.ks-consent-slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
}

.ks-consent-switch input:checked + .ks-consent-slider {
    background: #D32326;
}

.ks-consent-switch input:checked + .ks-consent-slider:before {
    transform: translateX(24px);
}

.ks-consent-reopen {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 99990;
    padding: 9px 13px;
    border: 0;
    background: #222222;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    display: none;
}

.ks-map-placeholder {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: #eeeeee;
}

.ks-map-placeholder-inner {
    max-width: 480px;
}

.ks-map-placeholder h4 {
    margin-bottom: 15px;
}

.ks-map-placeholder p {
    margin-bottom: 18px;
}

@media only screen and (max-width: 767px) {

    .ks-consent-banner {
        padding: 22px 15px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .ks-consent-title {
        font-size: 20px;
    }

    .ks-consent-buttons {
        display: block;
    }

    .ks-consent-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .ks-map-placeholder {
        min-height: 350px;
    }
}