.anmelde-layer {
    width: min(480px, calc(100% - 40px));
    padding: 0;
    margin: auto;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #273440;
    overflow: visible;
    box-shadow: 0 8px 35px rgba(0, 0, 0, .25);
}
.anmelde-layer::backdrop { background: rgba(28, 55, 93, .45); }
.anmelde-layer[open] { position: fixed; inset: 0; display: flex; flex-direction: column; height: fit-content; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); animation: anmeldung-einblenden .15s ease-out; }
.anmelde-kopf {
    position: relative;
    padding: 14px 45px 14px 65px;
    border-radius: 6px 6px 0 0;
    background: #1067ad;
    color: #fff;
    flex-shrink: 0;
}
.anmelde-kopf h1 { margin: 0; font-size: 19px; line-height: 1.35; }
.anmelde-onkel { position: absolute; top: -30px; left: -20px; width: 80px; height: 80px; object-fit: contain; }
.anmelde-schliessen { position: absolute; right: 10px; top: 8px; color: #fff; font-size: 28px; line-height: 1; padding: 5px; }
.anmelde-schliessen:hover { text-decoration: none; }
.anmelde-inhalt { position: relative; padding: 16px 26px 18px; min-height: 0; overflow-y: auto; }
.anmelde-inhalt::before,.anmelde-inhalt::after { content: ''; position: absolute; top: 0; bottom: 0; width: 6px; background: linear-gradient(#1067ad, #cf0404); }
.anmelde-inhalt::before { left: 0; }.anmelde-inhalt::after { right: 0; }
.anmelde-einstieg { margin: 0 0 12px; font-size: 14px; color: #586572; line-height: 1.45; }
.anmelde-inhalt label { display: block; margin: 8px 0 4px; font-weight: bold; font-size: 14px; }
.anmelde-inhalt input:not([type=hidden]) { width: 100%; padding: 8px 10px; line-height: 1.4; }
.anmelde-inhalt .layer-checkbox { display: flex; gap: 9px; align-items: flex-start; font-weight: normal; line-height: 1.4; }
.anmelde-inhalt .layer-checkbox input { width: 17px; height: 17px; flex: 0 0 17px; margin: 2px 0 0; padding: 0; }
.passwort-hinweis { font-size: 12px; color: #586572; margin: 4px 0 10px; }
.layer-wechsel { font-size: 14px; margin: 12px 0 0; text-align: center; }
.layer-wechsel a { font-weight: bold; }
.konto-links { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.konto-links { gap: 8px; }
.kopf .konto-links a {
    display: inline-block;
    padding: 8px 12px 8px 40px;
    border-radius: 3px;
    background-color: #ca020d;
    background-position: 3px center;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 17px;
    line-height: 1.4;
    text-shadow: 1px 1px 1px #0f4776;
    text-decoration: none;
    white-space: nowrap;
}
.konto-links .header-anmelden { background-image: url('../images/icon_join.png'); }
.konto-links .header-login { background-image: url('../images/icon_star.png'); }
.kopf .konto-links .header-anmelden:hover { background-color: #20659e; }
.kopf .konto-links .header-login:hover { background-color: #5b9ed3; }
@media(max-width:500px){.kopf .konto-links a{font-size:14px;padding:7px 9px 7px 34px;background-size:27px auto}}
.anmelde-inhalt button { width: 100%; margin-top: 12px; }
.anmelde-fuss { flex-shrink: 0; background: linear-gradient(to right, #ff3019, #cf0404); border-radius: 0 0 6px 6px; padding: 8px 16px; text-align: right; }
.anmelde-fuss a { color: #fff; font-size: 13px; }
@keyframes anmeldung-einblenden { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media(prefers-reduced-motion:reduce){.anmelde-layer[open]{animation:none}}
@media(max-width:500px){.anmelde-kopf{padding-left:58px}.anmelde-kopf h1{font-size:17px}.anmelde-inhalt{padding:14px 20px 16px}.anmelde-onkel{left:-12px;width:70px;height:70px;top:-24px}}
