/* Konten: Anmeldung, Registrierung, zweiter Faktor, Kontomenü */
html.kt-gesperrt, html.kt-gesperrt body { overflow: hidden !important; }
#kontoTor { position: fixed; inset: 0; z-index: 2147483600; overflow-y: auto; background: #f6f5f0; font: 15px/1.55 Manrope, "Segoe UI", system-ui, sans-serif; color: #14323a; }
#kontoTor button, #kontoTor input { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; }
.kt-laden { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: #5f7177; font-weight: 600; background: radial-gradient(circle at 30% 20%, #2f7a6d, #14323a 70%); color: #e9f1ee; }
.kt-laden span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #ffffff33; border-top-color: #f1d6a8; animation: kt-dreh .9s linear infinite; }
.kt-laden button { height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #f1d6a8; color: #14323a; font-weight: 800; cursor: pointer; }
@keyframes kt-dreh { to { transform: rotate(360deg); } }
.kt { min-height: 100%; display: grid; grid-template-columns: minmax(340px, 1.05fr) minmax(360px, 1fr); grid-template-rows: 1fr auto; }
.kt-bild { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 40px clamp(28px, 5vw, 64px); color: #fff; background: linear-gradient(150deg, #0e2a30 0%, #14323a 45%, #2f7a6d 100%); }
.kt-bild::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, #c99a5b55, transparent 68%); animation: kt-schweben 14s ease-in-out infinite alternate; }
.kt-bild::after { content: ""; position: absolute; width: 460px; height: 460px; left: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, #8fd1c255, transparent 68%); animation: kt-schweben 18s ease-in-out infinite alternate-reverse; }
.kt-bild > * { position: relative; z-index: 1; }
@keyframes kt-schweben { to { transform: translate(-40px, 30px); } }
.kt-marke { display: flex; align-items: center; gap: 12px; }
.kt-marke img { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 10px 26px #0006; }
.kt-marke b { display: block; font-size: 18px; font-weight: 800; }
.kt-marke small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #f1d6a8; }
.kt-claim h1 { margin: 0 0 12px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; background: linear-gradient(100deg, #fff, #f1d6a8 60%, #9fd9c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kt-claim p { margin: 0; max-width: 440px; font-size: 16px; color: #ffffffd1; }
.kt-vorteile { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 420px; }
.kt-vorteile li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #ffffff12; border: 1px solid #ffffff1f; backdrop-filter: blur(6px); }
.kt-vorteile b { font-weight: 800; } .kt-vorteile span { color: #ffffffb3; font-size: 13.5px; text-align: right; }
.kt-karte { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 5vw, 72px); max-width: 560px; width: 100%; justify-self: center; }
.kt-reiter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 26px; border-radius: 14px; background: #e8eeeb; }
.kt-reiter button { height: 42px; border: 0; border-radius: 11px; background: none; color: #5f7177; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.kt-reiter button[aria-selected="true"] { background: #fff; color: #14323a; box-shadow: 0 4px 12px #14323a1a; }
.kt-karte h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.kt-unter { margin: 0 0 22px; color: #5f7177; }
.kt-marker { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: #fbf0dd; color: #8a5a2b; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.kt-form { display: grid; gap: 14px; }
.kt-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kt-feld { display: grid; gap: 6px; margin: 0; }
.kt-feld > span:first-child { font-size: 13px; font-weight: 800; color: #34474e; }
#kontoTor .kt-feld input, .kt-dialog .kt-feld input { width: 100%; height: 50px; padding: 0 14px; border-radius: 13px; border: 1.5px solid #cfdcd6; background: #fff; color: #14323a; font-size: 16px; }
#kontoTor .kt-feld input:focus, .kt-dialog .kt-feld input:focus { outline: none; border-color: #1d6d5e; box-shadow: 0 0 0 4px #1d6d5e22; }
.kt-pw { position: relative; display: block; }
#kontoTor .kt-pw input, .kt-dialog .kt-pw input { padding-right: 96px; }
#kontoTor .kt-auge, .kt-dialog .kt-auge { position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: #eef4f1; color: #16564b; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.kt-staerke { height: 5px; border-radius: 99px; background: #e3e9e6; overflow: hidden; margin-top: -6px; }
.kt-staerke i { display: block; height: 100%; width: 0; border-radius: inherit; background: #c0473c; transition: width .25s, background .25s; }
.kt-staerke i[data-s="2"] { background: #d09434; } .kt-staerke i[data-s="3"], .kt-staerke i[data-s="4"] { background: #2a9079; }
.kt-check { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; font-size: 13.5px; color: #34474e; line-height: 1.5; }
.kt-check input { width: 20px; height: 20px; flex: none; margin-top: 1px !important; accent-color: #1d6d5e; }
.kt-check a, .kt-recht a, .kt-klein a { color: #16564b; font-weight: 700; }
#kontoTor .kt-haupt, .kt-dialog .kt-haupt { height: 52px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #2a9079, #1d6d5e 50%, #14323a) !important; color: #fff !important; font-size: 15.5px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px -10px #14323a99 !important; transition: transform .15s, filter .15s; }
#kontoTor .kt-haupt:hover, .kt-dialog .kt-haupt:hover { transform: translateY(-1px); filter: brightness(1.06); }
#kontoTor .kt-haupt:disabled, .kt-dialog .kt-haupt:disabled { opacity: .7; cursor: progress; transform: none; }
#kontoTor .kt-neben, .kt-dialog .kt-neben { height: 46px; border: 1.5px solid #cfdcd6; border-radius: 13px; background: #fff !important; color: #14323a !important; font-weight: 700; cursor: pointer; }
.kt-fehler { margin: 0; padding: 11px 14px; border-radius: 12px; background: #fdecec; border: 1px solid #f2c1bc; color: #9b2c2c; font-weight: 600; font-size: 14px; }
.kt-ok { margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; background: #e3f4ed; border: 1px solid #b6dccb; color: #16564b; font-weight: 600; }
.kt-klein { margin: 0; font-size: 12.5px; color: #66777d; }
/* Rechtliche Hinweise ganz unten über die volle Breite */
.kt-recht { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px clamp(20px, 4vw, 48px); background: #0e2a30; color: #cfe0dc; font-size: 13px; }
.kt-recht nav { display: flex; gap: 18px; flex-wrap: wrap; }
#kontoTor .kt-recht a { color: #f1d6a8; font-weight: 800; text-decoration: none; border-bottom: 1px solid #f1d6a866; padding-bottom: 1px; }
#kontoTor .kt-recht a:hover { border-bottom-color: #f1d6a8; }
.kt-schritte { margin: 0 0 12px; padding-left: 20px; color: #34474e; font-size: 14px; display: grid; gap: 6px; }
.kt-schluessel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; margin: 0 0 6px; border-radius: 14px; background: #14323a; color: #fff; }
.kt-schluessel code { font: 700 17px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.kt-schluessel div { display: flex; gap: 8px; }
.kt-schluessel button, .kt-schluessel a { height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: #f1d6a8; color: #14323a; font-weight: 800; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
#kontoTor .kt-code { font: 800 26px/1 ui-monospace, Consolas, monospace !important; letter-spacing: .3em; text-align: center; height: 60px !important; }

/* Kontomenü */
#kontoChip { position: relative; flex: none; display: inline-flex; align-items: center; margin-left: 4px; z-index: 50; font: 14px/1.4 Manrope, "Segoe UI", system-ui, sans-serif; }
header .actions > #kontoChip, #hgNav .hg-actions > #kontoChip { display: inline-flex !important; visibility: visible !important; }
#kontoChip.kc-frei { position: fixed; top: 10px; right: 12px; z-index: 2147482500; }
#kontoChip button { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; }
#kontoChip .kc-knopf { display: flex; align-items: center; gap: 8px; height: 40px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid #d6e0dc !important; background: #ffffffeb !important; color: #14323a !important; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 6px 18px #14323a1f !important; }
#kontoChip .kc-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #2a9079, #14323a); color: #fff; font-weight: 800; font-size: 13px; }
#kontoChip .kc-name { font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#kontoChip .kc-knopf em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #fbf0dd; color: #8a5a2b; letter-spacing: .04em; }
#kontoChip .kc-menue { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid #e1e7e4; box-shadow: 0 22px 50px -12px #14323a59; }
#kontoChip .kc-kopf { display: grid; gap: 2px; padding: 8px 10px 12px; margin: 0 0 6px; border-bottom: 1px solid #eef1ef; }
#kontoChip .kc-kopf b { font-size: 15px; } #kontoChip .kc-kopf small { color: #66777d; overflow: hidden; text-overflow: ellipsis; }
#kontoChip .kc-kopf span { font-size: 11.5px; font-weight: 800; color: #16564b; }
#kontoChip .kc-menue button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0 !important; border-radius: 10px; background: none !important; color: #14323a !important; font-weight: 700; cursor: pointer; }
#kontoChip .kc-menue button:hover { background: #eef7f4 !important; }

/* Leiste „Sie arbeiten im Bereich von …“ */
#kontoAls { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2147482400; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 14px; background: #8a5a2b; color: #fff; box-shadow: 0 16px 40px #0005; font: 600 13.5px Manrope, "Segoe UI", system-ui, sans-serif; }
#kontoAls button { flex: none; height: 34px; padding: 0 12px; border: 0 !important; border-radius: 9px; background: #fff !important; color: #8a5a2b !important; font: 800 13px Manrope, "Segoe UI", system-ui, sans-serif; cursor: pointer; margin: 0; box-shadow: none !important; }

/* Dialog Passwort ändern */
.kt-dialog { width: min(440px, calc(100vw - 24px)); padding: 26px; border: 0; border-radius: 20px; box-shadow: 0 30px 80px #0b182060; font: 15px/1.55 Manrope, "Segoe UI", system-ui, sans-serif; color: #14323a; }
.kt-dialog::backdrop { background: #0b1820a6; backdrop-filter: blur(3px); }
.kt-dialog h2 { margin: 0 0 6px; font-size: 22px; }
.kt-dialog button, .kt-dialog input { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; }
.kt-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 860px) {
  .kt { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .kt-recht { justify-content: center; text-align: center; }
  .kt-bild { padding: 22px 20px 26px; gap: 16px; }
  .kt-claim h1 { font-size: 30px; }
  .kt-claim p, .kt-vorteile { display: none; }
  .kt-karte { padding: 26px 20px 34px; }
  #kontoChip .kc-name, #kontoChip .kc-knopf em { display: none; }
  #kontoChip .kc-knopf { padding: 3px; }
}
@media (max-width: 560px) { #kontoAls { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; justify-content: center; text-align: center; } }
@media (max-width: 420px) { .kt-zwei { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kt-bild::before, .kt-bild::after, .kt-laden span { animation: none; } }
