:root {
    --blau: #0057c8;
    --dunkelblau: #092b66;
    --text: #102a5c;
    --hintergrund: #f4f7fb;
    --rand: #dbe3f0;
    --grau: #64748b;
    --weiss: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--hintergrund);
    color: var(--text);
}

/* Kopfbereich */

.kopf {
    background: var(--weiss);
    padding: 18px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--rand);
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #003f91;
}

.menue {
    display: flex;
    gap: 25px;
    font-size: 17px;
    color: #334155;
}

.menue span {
    white-space: nowrap;
}

/* Hauptbereich */

.inhalt {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding: 35px;
    max-width: 1500px;
    margin: 0 auto;
}

.startkarte,
.unterlagen,
.profil-auswahl {
    background: var(--weiss);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.startkarte {
    flex: 2 1 0;
    min-width: 0;
    text-align: center;
}

.unterlagen {
    flex: 1;
    min-width: 330px;
}

.symbol {
    font-size: 70px;
    margin-bottom: 10px;
}

h1 {
    margin: 10px 0 18px;
    color: var(--dunkelblau);
    font-size: 42px;
    line-height: 1.15;
}

h2 {
    color: var(--dunkelblau);
    margin-top: 0;
}

p {
    color: #34415a;
    line-height: 1.5;
}

/* Formular */

.profil-formular {
    max-width: 540px;
    margin: 30px auto 15px;
    text-align: left;
}

.profil-formular label {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: bold;
    color: var(--dunkelblau);
}

.profil-formular input {
    width: 100%;
    padding: 14px;
    border: 1px solid #b8c5d8;
    border-radius: 10px;
    font-size: 17px;
}

.profil-formular input:focus {
    outline: 3px solid rgba(0, 87, 200, 0.15);
    border-color: var(--blau);
}

/* Schaltflächen */

.hauptbutton {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 17px 22px;
    background: var(--blau);
    color: var(--weiss);
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.hauptbutton:hover {
    background: #0049aa;
}

.zweiterbutton {
    display: block;
    max-width: 540px;
    margin: 12px auto 0;
    padding: 15px 20px;
    border: 2px solid var(--blau);
    color: var(--blau);
    background: var(--weiss);
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
}

.zweiterbutton:hover {
    background: #eef5ff;
}

/* Hinweise */

.hinweise {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--rand);
}

.hinweis {
    width: 33%;
    color: #475569;
    font-size: 15px;
    line-height: 1.45;
}

.hinweis strong {
    display: inline-block;
    margin-top: 6px;
    color: var(--dunkelblau);
    font-size: 17px;
}

/* Profilübersicht */

.profil-liste {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profil-karte {
    border: 1px solid var(--rand);
    border-radius: 14px;
    padding: 17px;
    background: #fbfdff;
}

.profil-name {
    display: block;
    margin-bottom: 8px;
    color: var(--dunkelblau);
    font-size: 20px;
}

.profil-info {
    display: block;
    margin-bottom: 6px;
    color: var(--grau);
    font-size: 14px;
    line-height: 1.4;
}

.profil-button {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 15px;
    background: var(--blau);
    color: var(--weiss);
    text-decoration: none;
    border-radius: 9px;
    font-weight: bold;
}

.profil-button:hover {
    background: #0049aa;
}

/* Unterlagen */

.unterlagen-titel {
    margin-top: 30px;
}

.dokument {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--rand);
    border-radius: 13px;
    background: #fbfdff;
    color: #475569;
    line-height: 1.4;
}

.dokument strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dunkelblau);
    font-size: 18px;
}

/* Fußbereich */

.fuss {
    padding: 20px;
    text-align: center;
    color: #31527f;
    font-size: 15px;
}
/* Kompakte Profilauswahl */

.profil-auswahl {
    flex: 0 1 330px;
    min-width: 0;
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.profil-auswahl h2 {
    margin-bottom: 20px;
}

.profil-auswahl label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dunkelblau);
}

.profil-auswahl select {
    width: 100%;
    padding: 13px;
    border: 1px solid #b8c5d8;
    border-radius: 10px;
    background: white;
    font-size: 16px;
}

.profil-oeffnen-button {
    width: 100%;
    margin-top: 14px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.profil-oeffnen-button:hover {
    background: #0049aa;
}

.profil-hinweis {
    margin: 14px 0 0;
    text-align: center;
    color: var(--grau);
    font-size: 14px;
}

/* Anpassung für kleinere Fenster */

@media (max-width: 900px) {

    .kopf {
        flex-direction: column;
        align-items: flex-start;
    }

    .menue {
        flex-wrap: wrap;
        gap: 12px;
    }

    .inhalt {
        flex-direction: column;
        padding: 18px;
    }

    .startkarte,
    .unterlagen,
    .profil-auswahl {
        width: 100%;
        min-width: 0;
        padding: 25px;
    }

    .hinweise {
        flex-direction: column;
    }

    .hinweis {
        width: 100%;
    }

    h1 {
        font-size: 32px;
    }
}
/* Profilseite */

.profil-seite {
    width: min(800px, calc(100% - 40px));
    margin: 40px auto;
}

.profil-bearbeitung {
    max-width: 760px;
    margin: 30px auto;
    padding: 28px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.profil-daten-formular {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.profil-daten-formular label {
    margin-top: 10px;
    font-weight: bold;
    color: var(--dunkelblau);
}

.profil-daten-formular input {
    width: 100%;
    padding: 13px;
    border: 1px solid #b8c5d8;
    border-radius: 9px;
    font-size: 16px;
}

.profil-daten-formular input:focus {
    outline: 3px solid rgba(0, 87, 200, 0.15);
    border-color: var(--blau);
}

.profil-daten-formular button {
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}
.arbeitsstelle-loeschen-button {
    margin-top: 12px;
    padding: 9px 13px;
    border: 2px solid #b91c1c;
    border-radius: 8px;
    background: white;
    color: #b91c1c;
    font-weight: bold;
    cursor: pointer;
}

.arbeitsstelle-loeschen-button:hover {
    background: #fff1f2;
}
.arbeitsstelle-bearbeiten {
    margin-top: 14px;
}

.arbeitsstelle-bearbeiten summary {
    color: var(--blau);
    font-weight: bold;
    cursor: pointer;
}

.arbeitsstelle-bearbeiten form {
    margin-top: 14px;
}
.profil-daten-formular select {
    width: 100%;
    padding: 13px;
    border: 1px solid #b8c5d8;
    border-radius: 9px;
    background: white;
    font-size: 16px;
}

.ausbildungs-liste {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.ausbildung {
    padding: 18px;
    border: 1px solid var(--rand);
    border-radius: 12px;
    background: #f8fbff;
}

.ausbildung h3 {
    margin: 0 0 12px;
    color: var(--dunkelblau);
}

.ausbildung p {
    margin: 6px 0;
}

.dokumente-startbereich {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dokumente-startbereich h2,
.dokumente-startbereich p {
    margin-top: 0;
}

.dokumente-bereich form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.dokumente-bereich label {
    font-weight: bold;
    color: var(--dunkelblau);
}

.dokumente-bereich input[type="file"] {
    padding: 14px;
    border: 1px solid #b8c5d8;
    border-radius: 9px;
    background: #f8fbff;
}

.dokumente-bereich button {
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.dokument-meldung,
.dokument-fehler {
    padding: 12px 14px;
    border-radius: 9px;
    font-weight: bold;
}

.dokument-meldung {
    background: #eaf8ef;
    color: #24613a;
}

.dokument-fehler {
    background: #fff1f2;
    color: #991b1b;
}

.dokument-liste {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.dokument-liste li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid var(--rand);
    border-radius: 9px;
    background: #f8fbff;
}

.profilpruefung-kopf,
.profilpruefung-bereich-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profilpruefung-kopf h2,
.profilpruefung-kopf p,
.profilpruefung-bereich h3 {
    margin: 0;
}

.profilpruefung-kopf > strong {
    color: #0b5dcc;
    font-size: 1.35rem;
    white-space: nowrap;
}

.profilpruefung-fortschritt {
    height: 0.75rem;
    margin: 1rem 0;
    overflow: hidden;
    border-radius: 999px;
    background: #dce6f5;
}

.profilpruefung-fortschritt span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0b5dcc;
}

.profilpruefung-erfolg {
    padding: 0.8rem 1rem;
    border: 1px solid #248349;
    border-radius: 0.6rem;
    color: #155d35;
    background: #eef9f2;
}

.profilpruefung-hinweis {
    color: #59420a;
}

.profilpruefung-liste {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.profilpruefung-bereich {
    padding: 1rem;
    border: 1px solid #cbd7e8;
    border-radius: 0.7rem;
    background: #f8fbff;
}

.profilpruefung-bereich p {
    margin-bottom: 0.3rem;
}

.profilpruefung-bereich ul {
    margin-top: 0.3rem;
}

.profilpruefung-bereich a {
    color: #0b5dcc;
    font-weight: 700;
}

.ist-vollstaendig,
.ist-offen {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.ist-vollstaendig {
    color: #155d35;
    background: #dff4e7;
}

.ist-offen {
    color: #785600;
    background: #fff0bf;
}

.lebenslauf-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.lebenslauf-start h2,
.lebenslauf-start p {
    margin: 0;
}

.lebenslauf-start p {
    margin-top: 0.5rem;
}

.interview-startbereich {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 24px auto 30px;
    padding: 24px 28px;
    background: var(--dunkelblau);
    color: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.interview-startbereich h2,
.interview-startbereich p {
    margin: 0;
}

.interview-startbereich p {
    margin-top: 6px;
}

.interview-start-button,
.interview-zurueck-button {
    display: inline-block;
    padding: 13px 18px;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.spracheinstellungen > p {
    margin: 0 0 18px;
    color: #43556e;
}

.spracheinstellungen-formular {
    display: grid;
    gap: 12px;
}

.spracheinstellungen-schalter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.spracheinstellungen-schalter input {
    width: 20px;
    height: 20px;
}

.spracheinstellungen-formular select {
    width: 100%;
    padding: 13px;
    border: 1px solid #b8c5d8;
    border-radius: 9px;
    background: #ffffff;
    font-size: 16px;
}

.spracheinstellungen-formular button {
    padding: 13px 18px;
    border: none;
    border-radius: 9px;
    background: var(--blau);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.arbeitsstelle-entwurf {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #d7a126;
    border-radius: 12px;
    background: #fff9e8;
}

.arbeitsstelle-entwurf h3 {
    margin-top: 0;
    color: var(--dunkelblau);
}

.entwurf-hinweis {
    color: #765718;
    font-weight: 700;
}

.spracheinstellungen-lernstand {
    margin: 0;
    color: #43556e;
}

.interview-seite {
    width: min(800px, calc(100% - 40px));
    margin: 40px auto;
}

.interview-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.interview-kopf h1,
.interview-kopf p {
    margin: 0;
}

.interview-uebertitel {
    color: var(--blau);
    font-weight: bold;
}

.interview-dialog {
    min-height: 430px;
    padding: 28px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.interview-fortschritt {
    margin-bottom: 20px;
    padding: 18px 22px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 47, 93, 0.08);
}

.interview-fortschritt-kopf {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--dunkelblau);
}

.interview-fortschritt-bahn {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce7f7;
}

.interview-fortschritt-wert {
    height: 100%;
    border-radius: inherit;
    background: var(--blau);
    transition: width 0.25s ease;
}

.interview-letzte-antwort {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #9db9e8;
    border-radius: 10px;
    background: #f4f8ff;
}

.interview-letzte-antwort p {
    margin: 6px 0 14px;
}

.interview-letzte-antwort form {
    margin-top: 4px;
}

.interview-erkannt {
    margin: 4px 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e5f6eb;
    color: #205c35;
}

.interview-letzte-antwort button {
    padding: 10px 14px;
    border: 2px solid #2d5fc5;
    border-radius: 9px;
    background: #ffffff;
    color: #174ba8;
    font-weight: 700;
    cursor: pointer;
}

.interview-letzte-antwort button:hover {
    background: #e8f0ff;
}

@media (max-width: 650px) {
    .interview-fortschritt-kopf {
        flex-direction: column;
        gap: 4px;
    }
}

.interview-nachricht {
    max-width: 620px;
    padding: 18px;
    background: #eaf3ff;
    border-radius: 14px 14px 14px 4px;
}

.interview-nachricht p {
    margin: 8px 0 0;
    line-height: 1.55;
}

.interview-hinweis {
    margin-top: 24px;
    padding: 16px;
    border: 1px dashed #9db2cf;
    border-radius: 10px;
    color: #516174;
}

.interview-frage {
    margin-top: 20px;
}

.interview-vorlesen-button {
    width: auto;
    margin-top: 10px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #315f75;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.interview-vorlesen-button:hover {
    background: #24495b;
}

.interview-vorlesen-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.interview-vorlesen-status {
    min-height: 1.2em;
    margin: 8px 0 0;
    color: #315f75;
    font-size: 0.92rem;
}

.interview-antwort-formular {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.interview-antwort-formular label {
    color: var(--dunkelblau);
    font-weight: bold;
}

.interview-antwort-formular input {
    width: 100%;
    padding: 14px;
    border: 1px solid #b8c5d8;
    border-radius: 10px;
    font-size: 17px;
}

.interview-antwort-formular input:focus {
    outline: 3px solid rgba(0, 87, 200, 0.15);
    border-color: var(--blau);
}

.interview-spracheingabe {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #b8cbe8;
    border-radius: 10px;
    background: #f5f9ff;
}

.interview-antwort-formular .interview-mikrofon-button {
    justify-self: start;
    padding: 11px 16px;
    border: 2px solid #2d5fc5;
    border-radius: 9px;
    background: #ffffff;
    color: #174ba8;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.interview-antwort-formular .interview-mikrofon-button:hover {
    background: #e8f0ff;
}

.interview-antwort-formular .interview-mikrofon-button.aufnahme-aktiv {
    border-color: #b42318;
    background: #fff0ee;
    color: #9f1c12;
}

.interview-antwort-formular .interview-mikrofon-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.interview-spracheingabe p {
    margin: 0;
    color: #43556e;
    font-size: 14px;
    line-height: 1.4;
}

#korrektur-vorschlag {
    padding: 12px;
    border: 1px solid #6aa77b;
    border-radius: 8px;
    background: #eefaf1;
    color: #205c35;
}

#korrektur-vorschlag p {
    margin: 6px 0 10px;
    color: #205c35;
}

.korrektur-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interview-antwort-formular #korrektur-uebernehmen,
.interview-antwort-formular #korrektur-ablehnen,
.interview-antwort-formular #korrektur-merken {
    justify-self: start;
    padding: 9px 12px;
    border: 1px solid #2d5fc5;
    border-radius: 8px;
    background: #ffffff;
    color: #174ba8;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.interview-antwort-formular #korrektur-uebernehmen {
    background: #e5f6eb;
    border-color: #4d9161;
    color: #205c35;
}

#korrektur-status:empty {
    display: none;
}

.interview-antwort-formular button {
    justify-self: end;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.interview-ueberspringen-formular {
    margin-top: 12px;
}

.interview-ueberspringen-formular button {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid #2d5fc5;
    border-radius: 10px;
    background: #ffffff;
    color: #174ba8;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.interview-ueberspringen-formular button:hover {
    background: #eef4ff;
}

.interview-offen {
    border-color: #d7a126;
    background: #fff8e6;
}

.interview-offene-fragen {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #d7a126;
    border-radius: 10px;
    background: #ffffff;
}

.interview-offene-fragen h2 {
    margin-top: 0;
    font-size: 20px;
}

.interview-offene-fragen li + li {
    margin-top: 8px;
}

.interview-erfolg {
    border-color: #4f9d69;
    background: #f0fff4;
    color: #24613a;
}

.interview-abschluss-button {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 18px;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.dokument-liste li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dokument-liste li div {
    display: grid;
    gap: 4px;
}

.dokument-aktionen {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dokumente-bereich .dokument-loeschen-formular {
    display: inline;
    margin: 0;
}

.dokumente-bereich .dokument-loeschen-button {
    padding: 8px 12px;
    border: 1px solid #b42318;
    border-radius: 8px;
    background: #ffffff;
    color: #9f1c12;
    font-size: 14px;
}

.dokumente-bereich .dokument-loeschen-button:hover {
    background: #fff0ee;
}

.dokument-textanzeige {
    max-height: 520px;
    overflow: auto;
    padding: 16px;
    border: 1px solid #b8c5d8;
    border-radius: 10px;
    background: #f7f9fc;
    color: #223044;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.dokument-vorschlaege {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.dokument-vorschlaege li {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid #d7e2ea;
    border-radius: 10px;
    background: #f8fbfd;
}

.dokument-vorschlaege span {
    color: #52616b;
    font-size: 0.9rem;
}

@media (max-width: 650px) {
    .interview-startbereich,
    .dokumente-startbereich,
    .interview-kopf {
        align-items: stretch;
        flex-direction: column;
    }

    .interview-start-button,
    .interview-zurueck-button {
        text-align: center;
    }

    .dokument-liste li {
        align-items: stretch;
        flex-direction: column;
    }

    .dokument-aktionen {
        justify-content: space-between;
    }
}


/* Pilotkennzeichnung und Hilfeseite */

.pilot-leiste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 35px;
    border-bottom: 1px solid var(--rand);
    background: var(--weiss);
}

.pilot-marke {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--dunkelblau);
    text-decoration: none;
}

.pilot-produkt {
    font-size: 25px;
    font-weight: bold;
}

.pilot-version,
.hilfe-status {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #d29a17;
    border-radius: 999px;
    color: #664800;
    background: #fff4cf;
    font-size: 14px;
    font-weight: bold;
}

.pilot-navigation a,
.hilfe-zurueck {
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid var(--blau);
    border-radius: 10px;
    color: var(--blau);
    background: var(--weiss);
    font-weight: bold;
    text-decoration: none;
}

.pilot-navigation a:hover,
.hilfe-zurueck:hover {
    background: #eef5ff;
}

.hilfe-seite {
    width: min(1100px, calc(100% - 32px));
    margin: 32px auto 60px;
}

.hilfe-einfuehrung,
.hilfe-karte {
    padding: 28px;
    border: 1px solid var(--rand);
    border-radius: 16px;
    background: var(--weiss);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hilfe-einfuehrung h1 {
    margin-top: 16px;
}

.hilfe-raster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 22px 0;
}

.hilfe-karte h2 {
    margin-bottom: 12px;
}

.hilfe-karte p,
.hilfe-karte li {
    color: #34415a;
    line-height: 1.6;
}

.hilfe-karte ol {
    margin: 0;
    padding-left: 22px;
}

.hilfe-karte li + li {
    margin-top: 8px;
}

.hilfe-karte-breit {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .pilot-leiste {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .pilot-marke {
        display: grid;
        gap: 6px;
    }

    .pilot-produkt {
        font-size: 20px;
    }

    .hilfe-raster {
        grid-template-columns: 1fr;
    }

    .hilfe-karte-breit {
        grid-column: auto;
    }
}


/* Kennzeichnung der Dokumentenerkennung in Pilot 1 */
.titel-mit-kennzeichnung,
.seitentitel-mit-kennzeichnung {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.titel-mit-kennzeichnung h2,
.seitentitel-mit-kennzeichnung h1 {
    margin-top: 0;
}

.testfunktion-marke {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #a85b00;
    border-radius: 999px;
    background: #fff4df;
    color: #7a4100;
    font-size: 0.82rem;
    font-weight: bold;
    line-height: 1;
}

.testfunktion-hinweis {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 2px solid #d78a22;
    border-radius: 12px;
    background: #fff8e8;
    color: #573500;
}

.testfunktion-hinweis strong {
    display: block;
    margin-bottom: 6px;
}

.testfunktion-hinweis p {
    margin: 0;
    line-height: 1.5;
}

/* Startseite: Profil-Papierkorb */

.start-meldung,
.start-fehler {
    flex: 1 0 100%;
    margin: 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: bold;
}

.start-meldung {
    background: #eaf8ef;
    color: #24613a;
}

.start-fehler {
    background: #fff1f2;
    color: #991b1b;
}

.seiten-spalte {
    flex: 0 1 350px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.seiten-spalte .profil-auswahl {
    width: 100%;
    flex: none;
}

.profil-loeschen-button,
.papierkorb-wiederherstellen,
.papierkorb-endgueltig-loeschen {
    width: 100%;
    margin-top: 10px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.profil-loeschen-button,
.papierkorb-endgueltig-loeschen {
    border: 1px solid #dc2626;
    background: white;
    color: #b91c1c;
}

.profil-loeschen-button:hover,
.papierkorb-endgueltig-loeschen:hover {
    background: #fff1f2;
}

.papierkorb-hinweis {
    margin-top: -6px;
    font-size: 14px;
}

.papierkorb-liste {
    display: grid;
    gap: 13px;
}

.papierkorb-eintrag {
    padding: 14px;
    border: 1px solid var(--rand);
    border-radius: 11px;
    background: #fbfdff;
}

.papierkorb-eintrag strong,
.papierkorb-eintrag span {
    display: block;
}

.papierkorb-eintrag strong {
    margin-bottom: 5px;
    color: var(--dunkelblau);
}

.papierkorb-eintrag span {
    color: var(--grau);
    font-size: 13px;
}

.papierkorb-wiederherstellen {
    border: none;
    background: var(--blau);
    color: white;
}

.papierkorb-wiederherstellen:hover {
    background: #0049aa;
}

.papierkorb-leer {
    padding: 10px 0 0;
}

@media (max-width: 900px) {
    .seiten-spalte {
        width: 100%;
        flex-basis: auto;
    }
}

/* Verständliche Fehlerseiten für Pilot 1 */

.fehler-seite {
    min-height: calc(100vh - 92px);
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.fehler-karte {
    width: min(680px, 100%);
    padding: 38px;
    border: 1px solid var(--rand);
    border-radius: 18px;
    background: var(--weiss);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.10);
    text-align: center;
}

.fehler-symbol {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 38px;
    font-weight: bold;
}

.fehler-code {
    margin: 0 0 8px;
    color: var(--grau);
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fehler-karte h1 {
    margin: 0 0 18px;
    color: var(--dunkelblau);
}

.fehler-text,
.fehler-hinweis {
    line-height: 1.6;
}

.fehler-text {
    margin: 0;
    font-size: 18px;
}

.fehler-hinweis {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f3f7fc;
    color: #334155;
}

.fehler-aktionen {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.fehler-aktionen .hauptbutton,
.fehler-aktionen .zweiterbutton {
    width: auto;
    min-width: 155px;
    margin: 0;
}

.fehler-zurueck {
    cursor: pointer;
}

.fehler-startseite {
    display: inline-block;
    text-decoration: none;
}

@media (max-width: 600px) {
    .fehler-karte {
        padding: 28px 20px;
    }

    .fehler-aktionen {
        display: grid;
    }

    .fehler-aktionen .hauptbutton,
    .fehler-aktionen .zweiterbutton {
        width: 100%;
    }
}

/* Lokale Feedbackseite für Pilot 1 */

.pilot-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feedback-seite {
    width: min(900px, calc(100% - 32px));
    margin: 32px auto 60px;
}

.feedback-einfuehrung,
.feedback-formular {
    padding: 28px;
    border: 1px solid var(--rand);
    border-radius: 16px;
    background: var(--weiss);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.feedback-einfuehrung h1 {
    margin-top: 16px;
}

.feedback-einfuehrung p:last-child,
.feedback-bewertung p,
.feedback-speicherhinweis {
    color: #34415a;
    line-height: 1.6;
}

.feedback-meldung,
.feedback-fehler {
    margin: 20px 0;
    padding: 15px 18px;
    border-radius: 10px;
    font-weight: bold;
}

.feedback-meldung {
    background: #eaf8ef;
    color: #24613a;
}

.feedback-fehler {
    background: #fff1f2;
    color: #991b1b;
}

.feedback-formular {
    display: grid;
    gap: 22px;
    margin: 22px 0;
}

.feedback-feld {
    display: grid;
    gap: 8px;
}

.feedback-feld label,
.feedback-bewertung legend {
    color: var(--dunkelblau);
    font-weight: bold;
}

.feedback-feld label span {
    color: var(--grau);
    font-size: 0.9rem;
    font-weight: normal;
}

.feedback-feld input,
.feedback-feld textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #9fb2ce;
    border-radius: 9px;
    background: #fbfdff;
    color: #15233d;
    font: inherit;
}

.feedback-feld textarea {
    min-height: 105px;
    resize: vertical;
}

.feedback-feld input:focus,
.feedback-feld textarea:focus {
    outline: 3px solid rgba(0, 94, 204, 0.18);
    border-color: var(--blau);
}

.feedback-bewertung {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--rand);
    border-radius: 12px;
}

.feedback-bewertung p {
    margin: 7px 0 14px;
}

.bewertungs-auswahl {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bewertungs-auswahl label {
    cursor: pointer;
}

.bewertungs-auswahl input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bewertungs-auswahl span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid #9fb2ce;
    border-radius: 50%;
    background: white;
    color: var(--dunkelblau);
    font-weight: bold;
}

.bewertungs-auswahl input:checked + span {
    border-color: var(--blau);
    background: var(--blau);
    color: white;
}

.bewertungs-auswahl input:focus-visible + span {
    outline: 3px solid rgba(0, 94, 204, 0.25);
}

.feedback-speicherhinweis {
    margin: 0;
    padding: 12px 14px;
    border-radius: 9px;
    background: #eef5ff;
}

.feedback-speichern {
    padding: 13px 18px;
    border: none;
    border-radius: 10px;
    background: var(--blau);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.feedback-speichern:hover {
    background: #0049aa;
}

@media (max-width: 700px) {
    .pilot-navigation {
        width: 100%;
    }

    .pilot-navigation a {
        flex: 1;
        text-align: center;
    }

    .feedback-einfuehrung,
    .feedback-formular {
        padding: 20px;
    }
}


/* Dokumentvorschläge: kontrollierte Übernahme in das Profil */
.dokumente-bereich .dokument-vorschlaege-formular {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.dokument-vorschlaege li label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.dokument-vorschlaege input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.dokument-vorschlag-inhalt {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dokument-vorschlag-inhalt strong {
    color: #1f2d3d;
    overflow-wrap: anywhere;
}

.dokument-vorschlag-inhalt small {
    color: #52616b;
    font-weight: normal;
    line-height: 1.4;
}

.dokument-vorschlaege li.nicht-uebernehmbar {
    background: #f1f3f5;
    opacity: 0.78;
}

.dokument-vorschlaege li.nicht-uebernehmbar label {
    cursor: not-allowed;
}

.dokument-uebernahme-hinweis {
    margin: 0;
    color: #52616b;
    font-size: 0.94rem;
    line-height: 1.5;
}

/* Schritt 21: schnellere Dokumentübernahme und Rückweg */
.dokument-oben-aktionen {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 18px;
}

.dokument-uebernahme-aktionen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dokument-uebernahme-aktionen button:last-child {
    background: #138a4b;
}

@media (max-width: 720px) {
    .dokument-oben-aktionen {
        justify-content: stretch;
    }

    .dokument-oben-aktionen .interview-zurueck-button {
        width: 100%;
        text-align: center;
    }

    .dokument-uebernahme-aktionen {
        grid-template-columns: 1fr;
    }
}


/* Zusammenführung Pilot-2: Interview-/Profilhilfen und Sprachfähigkeiten */
.interview-fragenhilfe {
    margin-top: 12px;
    border: 1px solid #86a9c7;
    border-radius: 10px;
    background: #ffffff;
    color: #20384b;
}

.interview-fragenhilfe summary {
    padding: 10px 12px;
    color: #174f73;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.interview-fragenhilfe summary:hover {
    background: #f1f7fb;
}

.interview-fragenhilfe-inhalt {
    padding: 0 12px 12px;
    border-top: 1px solid #d8e4ec;
}

.interview-fragenhilfe-inhalt strong {
    display: block;
    margin-top: 12px;
}

.interview-fragenhilfe-inhalt p {
    margin: 6px 0 0;
}

.interview-fragenhilfe-beispiel {
    padding: 9px 10px;
    border-left: 4px solid #4b7d94;
    background: #f3f8fb;
}


/* Pilot 2 – Schritt 3: kleine Info-Kreise bei unklaren Profilfeldern */
.profil-labelzeile {
    display: grid;
    grid-template-columns: minmax(0, auto) 22px;
    align-items: center;
    justify-content: start;
    column-gap: 7px;
    row-gap: 5px;
    max-width: 100%;
    margin-top: 10px;
}

.profil-daten-formular .profil-labelzeile > label {
    min-width: 0;
    margin-top: 0;
}

.profil-daten-formular .profil-info-button {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #336d91;
    border-radius: 50%;
    background: #ffffff;
    color: #245a7c;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.profil-daten-formular .profil-info-button:hover,
.profil-daten-formular .profil-info-button:focus-visible,
.profil-daten-formular .profil-info-button[aria-expanded="true"] {
    outline: none;
    border-color: var(--blau);
    background: #edf6ff;
    color: var(--blau);
    box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.12);
}

.profil-info-kurz {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 2px 0 3px;
    padding: 10px 12px;
    border: 1px solid #b8cadb;
    border-left: 4px solid #4b7d94;
    border-radius: 8px;
    background: #f7fbfe;
    color: #253c4d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.profil-info-kurz[hidden] {
    display: none;
}

.profil-info-kurz strong {
    display: block;
    color: #174f73;
}

.profil-info-kurz p {
    margin: 5px 0 0;
}

.profil-info-beispiel {
    color: #3d596d;
}

@media (max-width: 520px) {
    .profil-info-kurz {
        width: 100%;
        font-size: 13.5px;
    }
}


/* Pilot 2 – Schritt 4: verständliche Sprachfähigkeiten */
.sprachfaehigkeiten-auswahl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #b8c5d8;
    border-radius: 9px;
    background: #f8fbff;
}

.sprachfaehigkeiten-auswahl legend {
    padding: 0 5px;
    color: #52677a;
    font-size: 13px;
}

.profil-daten-formular .sprachfaehigkeiten-auswahl label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--dunkelblau);
    font-weight: 600;
}

.profil-daten-formular .sprachfaehigkeiten-auswahl input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--blau);
}

@media (max-width: 520px) {
    .sprachfaehigkeiten-auswahl {
        grid-template-columns: 1fr;
    }
}

