/* AI4Cert - eigene Styles. Bootstrap 5.3 liegt unter css/bootstrap/, Telerik-Theme kommt aus dem Paket. */

html, body {
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
}

h1:focus {
    outline: none;
}

/* Seitenkopf: h3 plus erklaerende Zeile, wie in PPS_Schreml (CLAUDE.md, Konvention Seitenlayout) */
.seite-titel {
    margin-bottom: .25rem;
}

.seite-erklaerung {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Formular-Validierung (aus dem Template, unveraendert) */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "Hier ist ein Fehler aufgetreten. Bitte Seite neu laden.";
    }

/* Grid-Werkzeugleiste in einer Zeile (aus PPS_Schreml uebernommen): Buttons und Suchfeld
   nebeneinander, nichts waechst auf volle Breite. */
.tb-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

    .tb-row > * {
        flex: 0 0 auto;
        width: auto;
    }

    .tb-row .k-searchbox .k-input {
        width: 16rem;
        min-width: 12rem;
    }

/* Seite /wozu: das eine Blatt. Volle Breite und linksbuendig wie ueberall, aber Zeilen nicht
   endlos lang, sonst liest das niemand. */
.wozu {
    max-width: 62rem;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.55;
}

    .wozu h4 {
        margin-top: 1.75rem;
    }

    .wozu h5 {
        margin-top: 1.25rem;
    }

    .wozu ol li {
        margin-bottom: .4rem;
    }

.wozu-zitat {
    margin: 1rem 0;
    padding: .6rem 1rem;
    border-left: 4px solid #2f6fd6;
    background: #f3f7fd;
    font-size: 1.1rem;
}

/* Landingpage (Start.razor) - Inhalt max. 1.250 px, 17 px Text, ein Hauptknopf (11.09.2026) */
.start {
    max-width: 1250px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    font-size: 17px;
    line-height: 1.6;
    color: #2b3640;
}

    .start h1 {
        font-size: 2.6rem;
        font-weight: 800;
        line-height: 1.15;
        color: #1e2a38;
        margin-bottom: 1rem;
    }

    .start h2 {
        font-size: 1.7rem;
        font-weight: 700;
        color: #1e2a38;
        margin-bottom: .9rem;
    }

    .start h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1e2a38;
        margin-bottom: .5rem;
    }

    .start h4 {
        font-size: 1.05rem;
        font-weight: 700;
        color: #1e2a38;
        margin: .6rem 0 .3rem;
    }

    .start p {
        max-width: 42rem;
    }

.start-klein {
    font-size: .95rem;
    color: #5b6773;
}

/* Hero */
.start-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
    padding: 1.5rem 0 2.5rem;
}

.start-lead {
    font-size: 1.2rem;
    color: #3a4650;
}

.start-vorteile {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.5rem;
}

    .start-vorteile li {
        padding-left: 1.7rem;
        position: relative;
        margin-bottom: .35rem;
    }

        .start-vorteile li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #2f6fd6;
            font-weight: 700;
        }

.start-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* Vorschau Sammelnachweis (Beispiel) */
.start-vorschau {
    background: #fff;
    border: 1px solid #dfe8f0;
    border-radius: .8rem;
    box-shadow: 0 1rem 2.5rem rgba(30, 42, 56, .12);
    padding: 1.25rem 1.5rem;
    transform: rotate(-2.5deg);
    margin-right: 2.5rem;   /* etwas nach links, damit rechts Luft bleibt (Johann, 11.09.2026) */
}

.start-vorschau-kopf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: #5b6773;
    margin-bottom: .8rem;
}

    .start-vorschau-kopf img {
        height: 28px;
    }

.start-vorschau-betrieb {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1e2a38;
    margin-bottom: .8rem;
}

.start-vorschau-zahlen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 1rem;
}

    .start-vorschau-zahlen div {
        background: #f3f7fd;
        border-radius: .5rem;
        padding: .6rem .5rem;
        text-align: center;
    }

    .start-vorschau-zahlen b {
        display: block;
        font-size: 1.4rem;
        color: #2f6fd6;
        line-height: 1.2;
    }

    .start-vorschau-zahlen span {
        font-size: .8rem;
        color: #5b6773;
    }

.start-vorschau-liste {
    width: 100%;
    font-size: .9rem;
    border-collapse: collapse;
}

    .start-vorschau-liste td {
        padding: .35rem .2rem;
        border-top: 1px solid #eef2f6;
    }

    .start-vorschau-liste .ok { color: #1d7d45; font-weight: 600; text-align: right; }
    .start-vorschau-liste .offen { color: #9a6b00; text-align: right; }

.start-vorschau-fuss {
    margin-top: .8rem;
    font-size: .78rem;
    color: #8a96a3;
    letter-spacing: .02em;
}

/* Drei Zielgruppen */
.start-drei {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0 3rem;
}

.start-karte {
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: .8rem;
    padding: 1.6rem 1.6rem 1.2rem;
    box-shadow: 0 .4rem 1.2rem rgba(30, 42, 56, .06);
}

    .start-karte p { margin-bottom: 0; }

.start-karte-icon {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}

/* Vier Schritte */
.start-ablauf {
    margin-bottom: 3rem;
}

.start-schritte {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.start-schritt {
    background: #f8fafc;
    border: 1px solid #e3eaf0;
    border-radius: .8rem;
    padding: 1.2rem 1.3rem;
}

    .start-schritt p { margin-bottom: 0; font-size: .98rem; }

.start-nr {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #2f6fd6;
    color: #fff;
    font-weight: 700;
    align-items: center;
    justify-content: center;
}

/* Die Frage */
.start-frage {
    background: #f3f7fd;
    border-left: 5px solid #2f6fd6;
    border-radius: .5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
}

.start-frage-label {
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2f6fd6;
    font-weight: 600;
    margin-bottom: .3rem;
}

.start-frage-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e2a38;
    margin-bottom: .4rem;
}

.start-frage-wer {
    font-size: .9rem;
    color: #5b6773;
}

/* Einordnung + Preise */
.start-zwei {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.start-ehrlich, .start-preise {
    background: #f8fafc;
    border: 1px solid #e3eaf0;
    border-radius: .8rem;
    padding: 1.5rem 1.7rem;
}

    .start-ehrlich p { margin-bottom: 0; }

.start-preistabelle td {
    padding: .3rem .8rem .3rem 0;
    vertical-align: baseline;
}

.start-preis {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f6fd6;
    white-space: nowrap;
}

/* Kontakt */
.start-kontakt {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #dfe8f0;
}

.start-anbieter {
    text-align: right;
}

@media (max-width: 991px) {
    .start-hero, .start-drei, .start-schritte, .start-zwei, .start-kontakt {
        grid-template-columns: 1fr;
    }
    .start h1 { font-size: 2rem; }
    .start-vorschau { transform: none; margin-right: 0; }
    .start-anbieter { text-align: left; }
}

/* Impressum, Datenschutz */
.rechtlich {
    max-width: 62rem;
    margin: 0 auto;
    line-height: 1.55;
    color: #3a4650;
}

    .rechtlich h5 {
        margin-top: 1.5rem;
        color: #1e2a38;
    }

/* DTS-Logo statt des Textes "DTS Bayern" (Johann, 10.09.2026): klein in Fusszeilen, gross auf
   Impressum und Landingpage. Dateien: wwwroot/logo/dts_kompakt.png, dts_voll.png */
.dts-logo-klein {
    height: 20px;
    width: auto;
    vertical-align: -4px;
    margin-left: 4px;
}

.dts-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
}

/* Pruefung Teil A (Pruefung.razor): eine Frage pro Bildschirm, grosse Klickflaechen, Uhr rechts */
.pruefung-kopf {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pruefung-uhr {
    font-size: 1.6rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1e2a38;
    background: #f3f7fd;
    border: 1px solid #dfe8f0;
    border-radius: .5rem;
    padding: .3rem .9rem;
}

.pruefung-uhr-knapp {
    color: #b02a37;
    background: #fdf3f4;
    border-color: #f1c2c7;
}

.pruefung-frage {
    max-width: 62rem;
}

.pruefung-fragetext {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #1e2a38;
    margin-bottom: 1rem;
}

.pruefung-optionen {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.pruefung-option {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: .8rem 1rem;
    background: #fff;
    border: 1px solid #cfd8e0;
    border-radius: .5rem;
    font-size: 1rem;
    line-height: 1.45;
    color: #1e2a38;
    cursor: pointer;
}

    .pruefung-option:hover {
        border-color: #2f6fd6;
        background: #f7faff;
    }

    .pruefung-option.gewaehlt {
        border-color: #2f6fd6;
        background: #eaf2fd;
        box-shadow: inset 4px 0 0 #2f6fd6;
    }

.pruefung-option-mark {
    flex: 0 0 auto;
    color: #2f6fd6;
    font-size: 1.1rem;
}

.pruefung-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 62rem;
}

.pruefung-punkte {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    flex: 1 1 auto;
}

.pruefung-punkt {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #cfd8e0;
    background: #fff;
    color: #6c757d;
    font-size: .8rem;
    cursor: pointer;
}

    .pruefung-punkt.beantwortet {
        background: #e6f4ea;
        border-color: #7cc48f;
        color: #1e5631;
    }

    .pruefung-punkt:not(.beantwortet) {
        background: #fff4e5;
        border-color: #f0b86e;
        color: #8a5a00;
    }

    .pruefung-punkt.aktiv {
        outline: 2px solid #2f6fd6;
        outline-offset: 1px;
    }



/* ---- Pruefung Teil B (Komponente TeilB) ---- */
.teilb-block {
    border: 1px solid #d9e2e8;
    border-radius: .5rem;
    padding: .8rem 1rem;
    margin-bottom: .8rem;
    background: #fff;
}

.teilb-material { background: #fbfcfd; }
.teilb-auftrag { border-left: 4px solid #2f6fd6; }
.teilb-prompt { background: #f5f7fa; }
.teilb-ausgabe { background: #fffdf5; border-color: #ecdfb0; }

.teilb-titel {
    font-weight: 600;
    color: #1f3a48;
    margin-bottom: .3rem;
}

.teilb-text { line-height: 1.5; }

.teilb-pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    margin: 0;
}

.teilb-schritt {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e2a38;
    margin-bottom: .6rem;
}

.teilb-eingabe { font-size: 1rem; line-height: 1.5; }

.teilb-grenze {
    border: 1px dashed #b7c7d3;
    border-radius: .5rem;
    padding: 1rem;
    background: #f7fafc;
}

.teilb-grenze-link { font-size: .95rem; }
.teilb-warten { max-width: 62rem; }
.teilb-details summary { cursor: pointer; font-weight: 600; }

.teilb-hinweis {
    color: #3a4a58;
    line-height: 1.5;
    margin-bottom: .6rem;
}

.teilb-stand {
    margin: .5rem 0 1.25rem;
}

.teilb-stand-zeile {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem 0;
    border-bottom: 1px solid #eef2f6;
}

    .teilb-stand-zeile.fertig { color: #6c757d; }
    .teilb-stand-zeile.fertig .start-nr { background: #1d7d45; }
