/* 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;
    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) */
.start {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.start-hero {
    margin-bottom: 2.5rem;
}

.start-logo {
    width: 420px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
}

.start-titel {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e2a38;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.start-lead {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #3a4650;
    max-width: 44rem;
}

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

.start-frage {
    background: #f3f7fd;
    border-left: 5px solid #2f6fd6;
    border-radius: .5rem;
    padding: 1.5rem 1.75rem;
}

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

.start-frage-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e2a38;
    line-height: 1.35;
}

.start-frage-wer {
    margin-top: .75rem;
    color: #6c757d;
    font-size: .9rem;
}

.start-drei {
    margin-bottom: 2.5rem;
}

.start-karte {
    border: 1px solid #dfe8f0;
    border-radius: .5rem;
    padding: 1.25rem 1.4rem;
    background: #fff;
}

    .start-karte h3 {
        font-size: 1.15rem;
        font-weight: 600;
        color: #2f6fd6;
        margin-bottom: .6rem;
    }

    .start-karte p {
        margin: 0;
        color: #3a4650;
        line-height: 1.5;
    }

.start h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e2a38;
    margin-bottom: 1rem;
}

.start-ablauf {
    margin-bottom: 2.5rem;
}

.start-schritt {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    color: #3a4650;
    line-height: 1.5;
}

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

.start-ehrlich, .start-kontakt {
    max-width: 62rem;
    margin-bottom: 2.5rem;
    color: #3a4650;
    line-height: 1.55;
    font-size: 1.02rem;
}

/* Impressum, Datenschutz */
.rechtlich {
    max-width: 62rem;
    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%;
}
