/* Steegmüller CI Override für iwcc Cookie Consent Banner */

.iwcc-wrapper {
    font-family: "Heebo", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: #1b1a1a;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    max-width: 64em;
}

.iwcc-wrapper-inner {
    padding: 2em 2em 1.5em;
}

.iwcc-headline {
    font-family: "Rajdhani", "Heebo", sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    color: #1c8cc5;
    margin: 0 0 0.5em;
    letter-spacing: 0.5px;
}

.iwcc-text {
    color: #444;
    line-height: 1.55;
    font-size: 0.95em;
}

.iwcc-cookiegroups {
    margin: 1.25em 0 0.75em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.25em;
}

.iwcc-cookiegroup-checkbox {
    margin: 0;
}

.iwcc-cookiegroup-checkbox label {
    font-weight: 500;
    color: #222;
    cursor: pointer;
    background: transparent !important;
}

/* Checkbox – nur die Box selbst blau einfärben, NICHT das Label */
.pretty.p-icon .state {
    background: transparent !important;
}
.pretty.p-icon .state label::before,
.pretty.p-icon .state label::after {
    background-color: transparent !important;
    border-color: #c8c8c8 !important;
}
.pretty.p-icon input:checked ~ .state label::after,
.pretty.p-icon.p-locked .state label::after {
    background-color: #1c8cc5 !important;
    border-color: #1c8cc5 !important;
}
.pretty.p-icon .state .icon {
    color: #fff !important;
}
.pretty.p-icon input:checked ~ .state .icon,
.pretty.p-icon.p-locked .state .icon {
    opacity: 1;
    color: #fff !important;
}
.pretty.p-locked {
    opacity: 0.85;
}

.iwcc-show-details {
    padding: 0.25em 0 1em;
}
.iwcc-show-details a {
    color: #1c8cc5;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 0;
}
.iwcc-show-details a:hover {
    color: #156fa1;
    text-decoration: none;
    border-bottom: 0;
}

.iwcc-detail {
    border-top: 1px solid #e7ebef;
    padding-top: 1em;
    margin-bottom: 1.25em;
}

.iwcc-cookiegroup-title {
    font-family: "Rajdhani", "Heebo", sans-serif;
    font-weight: 600;
    font-size: 1.15em;
    color: #1c8cc5;
    margin-top: 0.75em;
}

.iwcc-cookiegroup-description {
    color: #555;
    font-size: 0.9em;
    margin: 0.25em 0 0.5em;
    line-height: 1.5;
}

.iwcc-cookie {
    background: #f9f9f9;
    border-left: 3px solid #1c8cc5;
    padding: 0.6em 0.9em;
    margin: 0.4em 0;
    font-size: 0.85em;
    line-height: 1.45;
    display: block;
}
.iwcc-cookie span {
    display: block;
    margin: 0.1em 0;
}
.iwcc-cookie-name strong {
    color: #1b1a1a;
}
.iwcc-cookie-link-privacy-policy a {
    color: #1c8cc5;
    text-decoration: none;
}
.iwcc-cookie-link-privacy-policy a:hover {
    text-decoration: underline;
}

.iwcc-buttons-sitelinks {
    border-top: 1px solid #e7ebef;
    padding-top: 1.25em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.iwcc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.iwcc-save-selection,
.iwcc-accept-all {
    display: inline-block;
    padding: 0.75em 1.75em;
    font-family: "Heebo", sans-serif;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.4px;
    border-radius: 2px;
    border: 2px solid #1c8cc5;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    text-transform: uppercase;
}

/* Outline-Button – Standard: blau auf weiß, Hover: weiß auf blau */
.iwcc-save-selection,
.iwcc-save-selection:link,
.iwcc-save-selection:visited {
    background: transparent;
    color: #1c8cc5;
}
.iwcc-save-selection:hover,
.iwcc-save-selection:focus,
.iwcc-save-selection:active {
    background: #1c8cc5;
    color: #fff !important;
    text-decoration: none;
}

/* Filled-Button – immer weißer Text auf Blau */
.iwcc-accept-all,
.iwcc-accept-all:link,
.iwcc-accept-all:visited {
    background: #1c8cc5;
    color: #fff !important;
}
.iwcc-accept-all:hover,
.iwcc-accept-all:focus,
.iwcc-accept-all:active {
    background: #156fa1;
    border-color: #156fa1;
    color: #fff !important;
    text-decoration: none;
}

.iwcc-sitelinks {
    font-size: 0.85em;
}
.iwcc-sitelinks a {
    color: #666;
    margin-left: 1em;
    text-decoration: none;
    border-bottom: 1px dotted #aaa;
}
.iwcc-sitelinks a:hover {
    color: #1c8cc5;
    border-color: #1c8cc5;
}
.iwcc-sitelinks a:first-child {
    margin-left: 0;
}

/* Schließen-Button (X) oben rechts – in Steegmüller-Blau */
.iwcc-close-box {
    position: absolute;
    top: 0.75em;
    right: 0.75em;
    color: #1c8cc5;
    font-size: 1.4em;
    cursor: pointer;
    transition: color 0.2s ease;
}
.iwcc-close-box:hover {
    color: #156fa1;
}

@media (max-width: 540px) {
    .iwcc-wrapper-inner {
        padding: 1.25em 1em 1em;
    }
    .iwcc-headline {
        font-size: 1.35em;
    }
    .iwcc-buttons-sitelinks {
        flex-direction: column;
        align-items: stretch;
    }
    .iwcc-save-selection,
    .iwcc-accept-all {
        text-align: center;
    }
    .iwcc-sitelinks {
        text-align: center;
        padding-top: 0.5em;
    }
    .iwcc-sitelinks a {
        margin: 0 0.5em;
    }
}
