/* steilvorlage.de – Cookie-Einwilligung (Farben: #00212e Dunkelblau, #00ffaa Mint) */
html.sv-consent-open, html.sv-consent-open body { overflow: hidden; }

.sv-consent-backdrop {
    position: fixed; inset: 0; z-index: 100001;
    background: rgba(0, 33, 46, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.sv-consent-backdrop[hidden], .sv-consent[hidden], .sv-consent fieldset[hidden], .sv-consent [hidden] { display: none !important; }

.sv-consent {
    position: fixed; z-index: 100002;
    left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 32px); overflow: auto;
    background: #fff; color: #00212e;
    border-radius: 16px; padding: 24px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .08);
    font-family: 'Roboto', Arial, sans-serif;
    display: grid; gap: 14px;
    text-align: left;
}
.sv-consent .sv-consent-title { font-family: schal, 'Roboto', Arial, sans-serif; font-size: 24px; font-weight: 400; margin: 0; color: #00212e; line-height: 1.3; }
.sv-consent p { font-size: 15px; line-height: 1.6; margin: 0; color: #3d5560; }
.sv-consent a { color: #007a55; text-decoration: underline; }
.sv-consent a:hover { color: #00212e; }

.sv-consent fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-consent label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; color: #3d5560; margin: 0; font-weight: 400; }
.sv-consent label input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #00a36d; }
.sv-consent label b { color: #00212e; font-weight: 500; }

.sv-consent-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sv-btn {
    font: 500 15px/1 'Roboto', Arial, sans-serif;
    padding: 12px 20px; border-radius: 30px; cursor: pointer;
    border: 2px solid #00212e; background: #fff; color: #00212e;
    transition: background .2s, color .2s, border-color .2s;
}
.sv-btn:hover, .sv-btn:focus-visible { background: #00212e; color: #fff; }
.sv-btn-primary { background: #00ffaa; border-color: #00ffaa; color: #00212e; }
.sv-btn-primary:hover, .sv-btn-primary:focus-visible { background: #00212e; border-color: #00212e; color: #00ffaa; }
.sv-btn-link { border-color: transparent; text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.sv-btn-link:hover, .sv-btn-link:focus-visible { background: transparent; color: #007a55; }
.sv-btn:focus-visible { outline: 3px solid rgba(0, 163, 109, .45); outline-offset: 2px; }

@media (max-width: 480px) {
    .sv-consent { padding: 20px; }
    .sv-consent-btns .sv-btn:not(.sv-btn-link) { flex: 1 1 100%; }
}

/* Footer-Link „Cookie-Einstellungen“ wie normale Footer-Links */
.sv-consent-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.sv-consent-link:hover { text-decoration: underline; }
