/* Ergänzungen für den Kundenbereich, sonst gilt stil.css des Shops. */
.k-abschnitt { padding-top: 18px; }
.k-form { max-width: 520px; margin-bottom: 18px; }
.k-form-breit { max-width: 760px; }
.k-form textarea, .feld textarea { width: 100%; padding: 8px 12px; border: 1px solid #8D8880; border-radius: 8px; background: #fff; resize: vertical; font: inherit; }
.k-versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-haken { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; }
.k-haken input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.meldung-fehler, .meldung-gut { padding: 10px 14px; border-radius: 9px; font-weight: 600; margin: 0 0 16px; max-width: 760px; }
.meldung-fehler { background: #FBEAE7; color: #A32A1C; }
.meldung-gut { background: #E8F4EC; color: #1E6B3A; }
.k-daten { margin: 0 0 12px; display: grid; gap: 8px; }
.k-daten dt { font-size: .85rem; color: var(--leise); }
.k-daten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.k-titel { font-size: 1.25rem; margin: 26px 0 10px; }
.k-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.k-status { display: inline-block; padding: 1px 9px; border-radius: 7px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.k-status-offen { background: #FFF1E3; color: #9A4B05; }
.k-status-bearbeitung { background: #E7EEF8; color: #1F4B86; }
.k-status-erledigt { background: #E8F4EC; color: #1E6B3A; }
.k-verlauf { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.k-eintrag { padding: 10px 14px; border-radius: 10px; background: var(--flaeche); overflow-wrap: anywhere; }
.k-eintrag p { margin: 0 0 4px; }
.k-eintrag-antwort { background: #E7EEF8; }
.k-steam-aktiv { cursor: pointer; text-decoration: none; color: #C7D5E0; }
.k-menue ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.k-menue a { display: block; padding: 6px 13px; border-radius: 8px; background: var(--flaeche); color: var(--tinte); text-decoration: none; font: 700 .98rem/1.3 var(--titel); }
.k-menue a:hover { background: var(--linie); }
.k-menue a[aria-current="page"] { background: var(--tinte); color: #fff; }
.k-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.k-code { font: 700 1.3rem/1.3 Consolas, monospace; background: var(--flaeche); padding: 12px 16px; border-radius: 10px; user-select: all; display: inline-block; overflow-wrap: anywhere; }
.k-karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 4px 18px 14px; margin-bottom: 14px; max-width: 760px; }
.k-karte .k-titel { margin-top: 12px; }
.k-abmelden { padding: 6px 13px; border: 2px solid var(--tinte); border-radius: 8px; background: #fff; color: var(--tinte); font: 700 .98rem/1.3 var(--titel); cursor: pointer; }
.k-abmelden:hover { background: var(--flaeche); }
.k-google-aktiv { cursor: pointer; text-decoration: none; color: inherit; }
.k-namen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
@media (max-width: 420px) { .k-namen { grid-template-columns: minmax(0, 1fr); } }
/* Anmeldeknöpfe: gilt nur für die aktiven, gesperrte Knöpfe reagieren nicht. Das Google Symbol bleibt unverändert. */
.k-google-aktiv, .k-steam-aktiv, .k-steam-aktiv .steam-feld { transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease; }
.k-google-aktiv:hover, .k-google-aktiv:focus-visible { background-color: #EAF1FE; border-color: #4285F4; box-shadow: 0 2px 8px rgba(66, 133, 244, .35); }
.k-steam-aktiv:hover, .k-steam-aktiv:focus-visible { background-color: #232A38; color: #fff; box-shadow: 0 2px 8px rgba(23, 26, 33, .45); }
.k-steam-aktiv:hover .steam-feld, .k-steam-aktiv:focus-visible .steam-feld { background-color: #3A4252; }
.k-google-aktiv:focus-visible, .k-steam-aktiv:focus-visible { outline: 3px solid var(--tinte); outline-offset: 2px; }
.k-steam-aktiv:focus-visible { border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    .k-google-aktiv, .k-steam-aktiv, .k-steam-aktiv .steam-feld { transition: none; }
}
/* Anmeldeseite: breit drei Spalten, mittel die Anbieter oben und zwei Spalten, schmal untereinander. */
.k-drei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); margin-top: 8px; }
.k-spalte { display: flex; flex-direction: column; min-width: 0; padding: 0 30px; }
.k-spalte:first-child { padding-left: 0; }
.k-spalte:last-child { padding-right: 0; }
.k-spalte + .k-spalte { border-left: 1px solid #BDB8B0; }
.k-spalte .k-form { flex: 1; display: flex; max-width: none; margin-bottom: 0; }
.k-spalte fieldset { flex: 1; min-width: 0; margin-bottom: 0; }
.k-vergessen { margin: 14px 0 0; text-align: center; }
.k-spalte-anbieter { justify-content: center; align-items: center; text-align: center; }
.k-anbieter-titel { font-size: 1.15rem; line-height: 1.3; margin: 0 0 18px; text-wrap: balance; }
.k-spalte-anbieter .anbieter-liste { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; }
.k-spalte-anbieter .anbieter-steam, .k-spalte-anbieter .anbieter-google { display: flex; width: 100%; box-sizing: border-box; }
.k-spalte-anbieter .anbieter-google { align-items: center; justify-content: center; }
@media (max-width: 1119px) {
    .k-drei { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .k-spalte-anbieter { grid-column: 1 / -1; order: -1; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid #BDB8B0; }
    .k-spalte + .k-spalte-anbieter { border-left: 0; }
    .k-spalte-anbieter .anbieter-liste { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
    .k-spalte-anbieter .anbieter-steam, .k-spalte-anbieter .anbieter-google { width: 280px; max-width: 100%; }
    #anmelden { padding: 0 28px 0 0; }
    #konto-anlegen { padding: 0 0 0 28px; }
}
@media (max-width: 760px) {
    .k-drei { grid-template-columns: minmax(0, 1fr); }
    #anmelden { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid #BDB8B0; }
    #konto-anlegen { padding: 0; border-left: 0; }
    .k-spalte-anbieter .anbieter-steam, .k-spalte-anbieter .anbieter-google { width: 100%; }
}
.k-dialog { max-height: calc(100vh - 24px); overflow: auto; max-width: 560px; width: calc(100% - 32px); padding: 26px 28px; border: 0; border-radius: var(--radius); background: #fff; color: var(--tinte); box-shadow: 0 18px 50px rgba(15, 15, 15, .35); }
.k-dialog::backdrop { background: rgba(15, 15, 15, .55); }
.k-dialog .k-titel { margin-top: 0; }
.k-dialog .k-warnung { margin: 14px 0 0; padding: 12px 14px; border: 2px solid #c8102e; border-radius: 8px; }
.k-dialog .k-knoepfe { margin: 18px 0 0; justify-content: flex-end; }
/* Profil und Sicherheit: feste Zeilen, links die Überschrift, rechts der Inhalt, Knöpfe am rechten Rand. */
.k-profil { max-width: 1000px; }
.k-zeile { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 40px; padding: 28px 0; border-top: 1px solid var(--linie); }
.k-zeile:first-child { border-top: 0; padding-top: 6px; }
.k-zeile-titel { font: 700 1.15rem/1.3 var(--titel); margin: 0; color: var(--tinte); }
.k-zeile-inhalt { min-width: 0; }
.k-zeile-inhalt p:last-child { margin-bottom: 0; }
.k-zeile-teil { margin-bottom: 22px; }
.k-zeile-inhalt .k-daten { margin: 0; }
.k-zeile-fuss { display: flex; justify-content: flex-end; margin-top: 6px; }
.k-zeile-inhalt .knopf { min-width: 230px; text-align: center; justify-content: center; }
.k-anbindung { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 10px 0; }
.k-anbindung:first-child { padding-top: 0; }
.k-anbindung:last-child { padding-bottom: 0; }
.k-anbindung + .k-anbindung { border-top: 1px solid var(--linie); }
.k-anbindung-name { font-weight: 600; }
.k-anbindung-stand { color: var(--leise); overflow-wrap: anywhere; }
.k-zeile-gefahr { margin-top: 28px; border-top: 2px solid #BDB8B0; }
.k-zeile-gefahr .k-zeile-titel { color: #A32A1C; }
@media (max-width: 760px) {
    .k-zeile { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .k-zeile-inhalt .knopf, .k-zeile-fuss { width: 100%; }
    .k-anbindung { grid-template-columns: 90px minmax(0, 1fr); }
    .k-anbindung > form, .k-anbindung > a { grid-column: 1 / -1; }
}
.k-karte { position: relative; }
.k-info-knopf { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 1.5px solid var(--leise); border-radius: 50%; background: #fff; color: var(--tinte); font: 700 .78rem/1 var(--titel); cursor: pointer; vertical-align: 1px; }
.k-info-text { display: none; position: absolute; left: 18px; right: 18px; z-index: 5; margin-top: 6px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15, 15, 15, .18); font-size: .95rem; line-height: 1.45; max-width: 460px; }
/* Brücke über den Abstand, damit der Link im Text mit der Maus erreichbar bleibt. */
.k-info-text::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.k-info:hover .k-info-text, .k-info:focus-within .k-info-text, .k-info-offen .k-info-text { display: block; }
