/* Footer und Dialoge im Stil der Startseite, nur auf den Unterseiten. */
.memo-site-footer{position:relative;z-index:1;padding:26px 20px 30px;text-align:center;background:#f4f9fd;border-top:1px solid #d8e5ef}
.memo-site-footer nav{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.memo-site-footer a,.memo-site-footer button{display:inline-block;padding:11px 23px;border:1px solid #c8ddeb;border-radius:999px;background:#fff;color:#164b78;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}
.memo-site-footer a:hover,.memo-site-footer button:hover{background:#164b78;color:#fff}
.memo-site-footer .club{display:flex;align-items:center;justify-content:center;gap:18px;margin:22px auto 0;font-weight:700;color:#164b78}
.memo-site-footer .club::before,.memo-site-footer .club::after{content:"";width:95px;height:1px;background:#1768a8;flex-shrink:0}
.memo-footer-dialog{box-sizing:border-box;width:min(720px,calc(100% - 40px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:0;border-radius:14px;background:#fff;color:#173b64;box-shadow:0 18px 55px rgba(0,0,0,.3);overflow:hidden;text-align:left}
.memo-footer-dialog::backdrop{background:rgba(10,34,57,.58)}
.memo-footer-dialog .dialog-inner{display:flex;flex-direction:column;max-height:inherit}
.memo-footer-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 10px;flex-shrink:0}
.memo-footer-dialog h2{margin:0;color:#123f77;font-size:1.65rem}
.memo-footer-dialog .close{flex-shrink:0;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#164f8b;font-size:2rem;line-height:1;cursor:pointer}
.memo-footer-dialog .close:hover{background:#eef6fb}
.memo-footer-dialog .imprint-content,.memo-footer-dialog .contact-content,.memo-footer-dialog .credits-content{padding:0 30px 22px;overflow-y:auto;min-height:0;overscroll-behavior:contain;overflow-wrap:anywhere;line-height:1.55}
.memo-footer-dialog p{margin:0 0 16px}
.memo-footer-dialog h3{font-size:1.1rem;margin:24px 0 10px;color:#173b64}
.memo-footer-dialog a{color:#164f8b}
.memo-footer-dialog .eyebrow{margin:0 0 4px;color:#5b7187;font-size:.85rem;font-weight:700}
.memo-footer-dialog .dialog-form{display:grid;gap:8px}
.memo-footer-dialog .dialog-form label{font-weight:700;margin-top:6px}
.memo-footer-dialog input,.memo-footer-dialog textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #b9cedd;border-radius:8px;font:inherit}
.memo-footer-dialog textarea{resize:vertical;min-height:130px}
.memo-footer-dialog .hint{font-size:.85rem;font-weight:400;color:#5b7187;line-height:1.5}
.memo-footer-dialog p.hint{margin:8px 0}
.memo-footer-dialog .button{justify-self:start;padding:11px 23px;border:0;border-radius:999px;background:#164b78;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.memo-footer-dialog .button:hover{background:#103b60}
.memo-footer-dialog .button:disabled{opacity:.6;cursor:wait}
.memo-footer-dialog .honeypot{position:absolute;left:-9999px}
.memo-footer-dialog .form-msg{padding:12px 14px;border-radius:8px;background:#eef6fb}
.memo-site-footer :focus-visible,.memo-footer-dialog :focus-visible{outline:3px solid #164f8b;outline-offset:3px}
#creditsModal.memo-footer-dialog{width:min(560px,calc(100% - 40px))}
@media(max-width:600px){.memo-site-footer{padding-bottom:76px}.memo-site-footer .club::before,.memo-site-footer .club::after{width:24px}.memo-site-footer .club{gap:10px}}
@media(max-width:480px){.memo-footer-dialog,#creditsModal.memo-footer-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.memo-footer-dialog .dialog-heading{padding:14px 14px 10px 20px}.memo-footer-dialog .imprint-content,.memo-footer-dialog .contact-content,.memo-footer-dialog .credits-content{padding:0 20px 18px}}


/* SKTC: Scrollleisten innerhalb der runden Modal-Ecken. */
:is(dialog,[role="dialog"]:not(.modal),.modal-content){border-radius:16px;clip-path:inset(0 round 16px)}
:is(dialog,[role="dialog"],.modal-content,.modal-body),:is(dialog,[role="dialog"],.modal-content) *{scrollbar-width:thin;scrollbar-color:rgba(90,105,125,.65) transparent}
:is(dialog,[role="dialog"],.modal-content,.modal-body)::-webkit-scrollbar,:is(dialog,[role="dialog"],.modal-content) *::-webkit-scrollbar{width:8px;height:8px}
:is(dialog,[role="dialog"],.modal-content,.modal-body)::-webkit-scrollbar-track,:is(dialog,[role="dialog"],.modal-content) *::-webkit-scrollbar-track{background:transparent;margin-block:14px;border-radius:999px}
:is(dialog,[role="dialog"],.modal-content,.modal-body)::-webkit-scrollbar-thumb,:is(dialog,[role="dialog"],.modal-content) *::-webkit-scrollbar-thumb{background:rgba(90,105,125,.65);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
:is(dialog,[role="dialog"],.modal-content,.modal-body)::-webkit-scrollbar-button,:is(dialog,[role="dialog"],.modal-content) *::-webkit-scrollbar-button{display:none;width:0;height:0}

@supports selector(::-webkit-scrollbar){:is(dialog,[role="dialog"],.modal-content,.modal-body),:is(dialog,[role="dialog"],.modal-content) *{scrollbar-width:auto;scrollbar-color:auto}}

/* SKTC: Links ohne Unterstreichung in allen Zuständen. */
a:any-link,a:any-link:hover,a:any-link:focus,a:any-link:focus-visible,a:any-link:active,a:any-link *{text-decoration:none!important}

/* SKTC: Flache Formularfelder ohne native 3D-Raender. */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not([type="file"]):not([type="color"]),textarea,select){
 appearance:none;-webkit-appearance:none;box-shadow:none!important;background-image:none;border:1px solid #8b96a3!important;border-radius:8px;background-color:rgba(255,255,255,.8);color:inherit;font:inherit;box-sizing:border-box;
}
:where(input,textarea,select):focus-visible{outline:2px solid #224579;outline-offset:2px;box-shadow:none!important}
select{padding-right:2rem!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2330343b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right .65rem center!important;background-size:16px!important}
select[multiple],select[size]:not([size="1"]){background-image:none!important;padding-right:.65rem!important}
input[type="file"]::file-selector-button{border:1px solid #8b96a3;border-radius:8px;background:#f2f5f9;color:#30343b;box-shadow:none;font:inherit;padding:.5rem .8rem}

/* SKTC: Aktionsbuttons in Modal-Fenstern linksbuendig. */
:is(dialog,[role="dialog"],.modal-content) :is(button,input[type="submit"],input[type="button"],input[type="reset"],a.button,a.btn):not(.modal-close):not(.story-close):not(.close):not(.btn-close):not([aria-label][data-close]:empty){margin-left:0!important;margin-right:auto!important;align-self:flex-start!important}
:is(dialog,[role="dialog"],.modal-content) :is(.modal-footer,.dialog-actions,.modal-actions,.form-actions,.actions,.button-row){justify-content:flex-start!important;text-align:left!important}
:is(dialog,[role="dialog"],.modal-content) :is(form,.button-group,.buttons){text-align:left}
