/* Open Sans lokal einbinden */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
}

/* Navigation mit lokalem Open Sans */
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    font-family: 'Open Sans', sans-serif !important;
}

/* CookieHint-Wasserzeichen ausblenden */
#redim-cookiehint .redim-cc-watermark {
    display: none !important;
}

/* Cookie-Banner: Überschrift zentrieren */
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-head {
    justify-content: center !important;
    text-align: center !important;
}

#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-headline {
    font-size: 19px !important;
    line-height: 1.5 !important;
}


/* Cookie-Banner: Beschreibung mittig begrenzen */
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-content {
    font-size: 15px !important;
    line-height: 1.7 !important;
    text-align: center !important;

    max-width: 1000px !important;
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Gesamten Button-Bereich zentrieren */
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-c {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* Drei Buttons mittig ausrichten */
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl
.redim-cc-cookiebuttons.redim-cc-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Buttons rechteckig lassen */
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-btn {
    border-radius: 0 !important;
}



/* Cookie-Banner auf Smartphones kompakter */
@media (max-width: 767px) {

    #redim-cookiehint-bottom #redim-cookiehint.redim-tpl {
        padding: 12px !important;
    }

    #redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-headline {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    #redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-content {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    #redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-cookiebuttons {
        gap: 8px !important;
    }

    #redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-btn {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

 
#redim-cookiehint-bottom #redim-cookiehint.redim-tpl .redim-cc-toggle-details {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #222222 !important;
    border-radius: 0 !important;
}

