/* Zusatz-Styles der statischen Fassung.
 *
 * Bewusst eine eigene Datei: main.<hash>.css stammt aus der Django-Anwendung
 * und wird beim naechsten Abzug ueberschrieben. Was hier steht, gehoert zur
 * statischen Testaufstellung -- der Entwicklungs-Hinweis und die
 * Partnerverlinkung -- und ueberlebt so ein erneutes Erzeugen des Abzugs,
 * solange diese Datei mitgenommen und eingebunden bleibt.
 *
 * Farben aus main.css uebernommen: #ff4444 / #cc0000 (Rot), #1a1a1a (dunkel).
 */

/* --- Hinweisstreifen: Das Spiel ist noch nicht spielbar ------------------ */

.dev-notice {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 14px 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
}

.dev-notice .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dev-notice strong {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
}

.dev-notice span {
    font-weight: 500;
}

/* Auf den Unterseiten sitzt der Streifen unter dem fixierten Header.
 * Deren Inhalt bringt seinen eigenen Abstand nach oben mit (100-120px),
 * der Streifen braucht ihn deshalb selbst. */
.dev-notice.below-header {
    margin-top: 70px;
}

@media (max-width: 768px) {
    .dev-notice.below-header {
        margin-top: 64px;
    }
}

/* --- Badge im Hero ------------------------------------------------------- */

.dev-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    border: 2px solid #ff4444;
    border-radius: 999px;
    background: rgba(204, 0, 0, 0.35);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Abschnitt zum Entwicklungsstand ------------------------------------- */

.dev-status {
    background: #f8f9fa;
    padding: 70px 0;
}

.dev-status .status-box {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-left: 6px solid #cc0000;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 35px 40px;
}

.dev-status h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #1a1a1a;
}

.dev-status p {
    margin-bottom: 15px;
    color: #444;
}

.dev-status p:last-child {
    margin-bottom: 0;
}

.dev-status ul {
    margin: 0 0 20px 20px;
    color: #444;
}

.dev-status li {
    margin-bottom: 8px;
}

.dev-status a {
    color: #cc0000;
    font-weight: 600;
    text-decoration: underline;
}

.dev-status a:hover {
    color: #ff4444;
}

@media (max-width: 768px) {
    .dev-status .status-box {
        padding: 25px 22px;
    }
}

/* --- Fahrzeugseiten ------------------------------------------------------ */

/* Die Seiten sprangen von H1 direkt auf H3; diese Ebene fehlte. Sichtbar und
 * nicht versteckt: Text, den nur Suchmaschinen sehen, waere Cloaking. */
.sr-title {
    margin: 0 0 18px;
    font-size: 1.35rem;
    color: #1a1a1a;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 8px;
}

/* Querverweise auf die uebrigen Fahrzeugtypen -- ohne sie ist jede
 * Fahrzeugseite eine Sackgasse. */
.fahrzeug-weitere {
    margin: 30px 0 0;
    padding: 22px 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.fahrzeug-weitere h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.fahrzeug-weitere ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fahrzeug-weitere a {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    color: #cc0000;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.fahrzeug-weitere a:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

/* Fliesstext zum Einsatzzweck, ueber den Datenkaesten. */
.fahrzeug-text {
    margin: 0 0 30px;
}

.fahrzeug-text h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #1a1a1a;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 8px;
}

.fahrzeug-text p {
    margin-bottom: 14px;
    color: #444;
    line-height: 1.8;
}

.fahrzeug-text p:last-child {
    margin-bottom: 0;
}

/* Quellen- und Einordnungshinweise -- auch im Kosten-Kasten, wo der
 * Anschaffungspreis als Groessenordnung ausgewiesen wird. */
.fahrzeug-text .quelle,
.info-section .quelle {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #777;
}

.info-section .quelle {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
}

/* --- Normwerte auf den Fahrzeugseiten (#191) ----------------------------- */

/* Was die Typenliste des DIN-FNFW festhaelt, getrennt von den Spielwerten
 * darunter. Wer bei der Feuerwehr ist, vergleicht genau diese Zahlen. */
.normwerte {
    margin: 0 0 30px;
}

.normwerte h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #1a1a1a;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 8px;
}

.normwerte > p {
    margin: 0 0 14px;
    color: #444;
    line-height: 1.7;
}

.normtabelle-rahmen {
    overflow-x: auto;
}

.normtabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.normtabelle th,
.normtabelle td {
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    vertical-align: top;
}

.normtabelle tbody th {
    width: 45%;
    font-weight: 600;
    color: #555;
}

.normtabelle thead th {
    color: #1a1a1a;
    border-bottom: 2px solid #e0e0e0;
}

.normtabelle sup {
    color: #cc0000;
}

/* #666 statt des #777 der uebrigen Quellenzeilen: 5,7:1 auf Weiss statt 4,5. */
.normfussnoten {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.normfussnoten li {
    margin: 0 0 6px;
    padding-left: 2.2em;
    text-indent: -2.2em;
}

.normfussnoten .fn {
    display: inline-block;
    width: 2.2em;
    text-indent: 0;
    color: #cc0000;
}

.normwerte .quelle {
    margin: 14px 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.spielwerte-hinweis {
    margin: 0 0 18px;
    color: #555;
}

@media (max-width: 768px) {
    .normtabelle {
        font-size: 0.9rem;
    }

    .normtabelle tbody th {
        width: 50%;
        hyphens: auto;
    }

    .normtabelle th,
    .normtabelle td {
        padding: 7px 6px;
    }

    /* GW-L1 neben GW-L2: drei Spalten passen bei 390 px nur mit schmaler
     * Kopfspalte, sonst muss man die Tabelle seitlich schieben. */
    .normtabelle-vergleich tbody th {
        width: 34%;
    }

    .normtabelle-vergleich td {
        hyphens: auto;
        overflow-wrap: anywhere;
    }
}

/* --- Partnerseite im Footer ---------------------------------------------- */

.footer-partner {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 25px;
    text-align: center;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-partner a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
}

.footer-partner a:hover {
    text-decoration: underline;
}

.footer-partner .partner-note {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 0.85rem;
}

/* --- Textseiten (Genre-Erklaerung, FAQ, Devlog) --------------------------- */

.textseite {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}

.textseite .eyebrow {
    margin: 0 0 10px;
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cc0000;
}

.textseite .eyebrow a { color: inherit; }

.textseite h1 {
    margin: 0 0 22px;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #1a1a1a;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 14px;
}

.textseite h2 {
    margin: 38px 0 14px;
    font-size: 1.45rem;
    color: #1a1a1a;
}

.textseite p,
.textseite li {
    color: #444;
    line-height: 1.8;
}

.textseite p { margin-bottom: 16px; }

.textseite .einleitung {
    font-size: 1.15rem;
    color: #333;
}

.textseite a {
    color: #cc0000;
    font-weight: 600;
}

.textseite a:hover { color: #ff4444; }

.textseite ul,
.textseite ol {
    margin: 0 0 18px 22px;
}

.textseite li { margin-bottom: 10px; }

.textseite code {
    padding: 2px 6px;
    background: #f1f1f1;
    border-radius: 4px;
    font-size: 0.92em;
}

.textseite .ablauf li { margin-bottom: 14px; }

/* Frage-Antwort-Paare. Sichtbarer Text und FAQPage-Schema sind
 * deckungsgleich -- das ist Googles Bedingung fuer Rich Results. */
.faq-eintrag {
    margin-bottom: 8px;
    padding: 22px 26px;
    background: #f8f9fa;
    border-left: 5px solid #cc0000;
    border-radius: 0 8px 8px 0;
}

.faq-eintrag h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.faq-eintrag p { margin: 0; }

/* Eintragsliste des Entwicklungstagebuchs */
.devlog-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.devlog-liste > li {
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e8e8e8;
}

.devlog-liste > li:last-child { border-bottom: none; }

.devlog-liste .datum {
    margin: 0 0 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #888;
}

.devlog-liste h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.devlog-liste h2 a { text-decoration: none; }

.devlog-liste h2 a:hover { text-decoration: underline; }

.weiterlesen {
    margin-top: 45px;
    padding: 24px 28px;
    background: #f8f9fa;
    border-radius: 10px;
}

.weiterlesen h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.weiterlesen ul { margin: 0 0 0 20px; }

.weiterlesen li:last-child { margin-bottom: 0; }

/* Brotkrumen auf den Fahrzeugseiten */
.brotkrumen {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 20px 0;
    font-size: 0.9rem;
    color: #888;
}

.brotkrumen ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brotkrumen li:not(:last-child)::after {
    content: " ›";
    color: #bbb;
}

.brotkrumen a {
    color: #cc0000;
    text-decoration: none;
}

.brotkrumen a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .textseite { padding: 35px 18px 50px; }
    .textseite h1 { font-size: 1.9rem; }
}

/* --- Aufruf an Feuerwehrleute auf den Fahrzeugseiten (#159) -------------- */

/* Ueber die Fahrzeugseiten kommen die Suchtreffer, und wer dort sucht, ist
 * bei der Feuerwehr. Der Kasten bittet genau diese Leser in die Gruppe. */
.feuerwehr-aufruf {
    margin: 30px 0 0;
    padding: 24px 26px;
    background: #1a1a1a;
    color: #fff;
    border-left: 6px solid #ff4444;
    border-radius: 10px;
}

.feuerwehr-aufruf h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #fff;
}

.feuerwehr-aufruf p {
    margin: 0 0 18px;
    color: #ddd;
    line-height: 1.6;
}

.feuerwehr-aufruf .cta-button:focus-visible,
.einblicke .cta-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* --- Stand-Datum im Entwicklungsstand ------------------------------------ */

.dev-status .stand-datum {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #777;
}

/* --- Einblicke: Screenshots aus der Testfassung (#159) ------------------- */

.einblicke {
    padding: 70px 0;
    background: #1a1a1a;
    color: #fff;
}

.einblicke .section-header h2 {
    color: #fff;
}

.einblicke .section-header p {
    color: #ccc;
    max-width: 680px;
    margin: 0 auto;
}

/* Rechner drei Spalten, Tablet zwei, Handy eine Reihe zum Wischen: sechs
 * Handybilder untereinander waeren auf dem Handy rund 4.000 px lang. */
.einblicke-raster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    justify-content: center;
    gap: 36px 32px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.einblicke-raster:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 8px;
}

.einblicke .einblick-gross {
    display: block;
    border-radius: 18px;
}

.einblicke .einblick-gross:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.einblicke-wischen {
    display: none;
}

@media (max-width: 999px) {
    .einblicke-raster {
        grid-template-columns: repeat(2, minmax(0, 280px));
    }
}

@media (max-width: 699px) {
    .einblicke-raster {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        justify-content: start;
        gap: 18px;
        margin-top: 12px;
        padding-bottom: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .einblicke-raster li {
        scroll-snap-align: center;
    }

    .einblicke-wischen {
        display: block;
        margin: 24px 0 0;
        font-size: 0.9rem;
        color: #999;
        text-align: center;
    }
}

/* Mit .einblicke davor, sonst gewinnt `.einblicke figure { margin: 0 }`
 * und die Rechneransicht steht links statt mittig. */
.einblicke .einblicke-rechner {
    max-width: 960px;
    margin: 50px auto 0;
}

.einblicke-rechner img {
    border-radius: 12px;
}

/* Bilder im Devlog: zwei Handybilder nebeneinander auf hellem Grund */
.devlog-bilder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.devlog-bilder img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #ddd;
}

.devlog-bilder-text {
    margin: -14px 0 30px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.einblicke figure {
    margin: 0;
}

.einblicke img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.einblicke figcaption {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

.einblicke figcaption strong {
    display: block;
    color: #fff;
}

.einblicke .quelle {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

.einblicke .quelle a {
    color: #ccc;
}

.einblicke .einblicke-cta {
    margin-top: 30px;
    text-align: center;
}

/* --- "Ueber das Spiel" auf dem Handy (#159) ------------------------------ */

/* main.css setzt .about-content immer zweispaltig, und die drei Kennzahlen
 * brechen nicht um. Bei 390 px wurde die Seite dadurch 557 px breit und
 * liess sich seitlich verschieben (gemessen am 12.10.2026). */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 28px;
    }
}

/* --- 33 Fahrzeugtypen (#205) --------------------------------------------- */

/* Die Startseite zeigt die Karten seit #205 in fuenf Gruppen statt in einem
 * Raster; 33 Karten ohne Gliederung waren nicht mehr ueberschaubar. */
.vehicles .fahrzeuggruppe {
    margin: 0 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4444;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.vehicles .vehicles-grid + .fahrzeuggruppe {
    margin-top: 10px;
}

@media (max-width: 768px) {
    /* .vehicles-grid hat dort 20 px Innenabstand, die Ueberschrift auch */
    .vehicles .fahrzeuggruppe {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    /* ... und unter 480 px nur noch 10 px */
    .vehicles .fahrzeuggruppe {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Lehrgaenge je Sitzplatz, aus Django; der Satz darueber ordnet sie ein. */
.positionen-hinweis {
    margin: 0;
    padding: 14px 20px 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* Lange Typnamen in der Kopfzeile der Fahrzeugseite. Die Trennstellen
 * stehen als &shy; im HTML; das hier faengt nur ab, was trotzdem nicht passt.
 * .vehicle-info-card hat overflow: hidden, ein Ueberlauf faellt deshalb
 * nicht als seitliches Scrollen auf, sondern wird abgeschnitten (#205). */
.vehicle-info-card .card-header h1 {
    overflow-wrap: break-word;
}

/* Lehrgangs-Plaketten: Django setzt weisse Schrift auf #007bff, das sind
 * rund 4:1 -- zu wenig fuer 0,8em. #0062cc erreicht rund 5,8:1. Die
 * Spezifitaet schlaegt den <style>-Block im Kopf der Fahrzeugseiten. */
.positions-section .qualification-badge {
    background: #0062cc;
}

/* Fahrzeugkarten auf dem Handy in zwei Spalten. Mit einer Karte je Zeile war
 * der Abschnitt bei 33 Typen ueber 10.000 px hoch (390 px, gemessen am
 * 16.10.2026). Die Kartennamen tragen weiche Trennstellen. */
@media (max-width: 768px) {
    .vehicles .vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vehicles .vehicle-type-preview-card {
        margin-bottom: 0;
    }

    .vehicles .vehicle-type-preview-card .card-header {
        padding: 12px 8px;
    }

    .vehicles .vehicle-short-name {
        font-size: 1.15em;
    }

    .vehicles .vehicle-full-name {
        font-size: 0.8em;
        overflow-wrap: break-word;
    }

    .vehicles .card-body {
        padding: 10px 12px 12px;
    }

    .vehicles .vehicle-specs {
        margin-bottom: 10px;
    }

    .vehicles .spec-item {
        margin-bottom: 4px;
        font-size: 0.85em;
    }

    .vehicles .card-actions {
        padding-top: 10px;
    }

    .vehicles .info-button {
        padding: 6px 12px;
        font-size: 0.82em;
    }
}

/* Gleicher Grund wie bei den Lehrgangs-Plaketten: #007bff mit weisser
 * Schrift erreicht nur rund 4:1. */
.vehicles .info-button {
    background: #0062cc;
}

/* --- Telegram-Link im Hinweisstreifen und auf den Textseiten ------------- */

/* Der Streifen sitzt auf jeder Unterseite; der Link darin ist der kürzeste
 * Weg von einem Suchbesucher in die Telegram-Gruppe. */
.dev-notice a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dev-notice a:hover,
.dev-notice a:focus-visible {
    color: #fff;
    text-decoration-thickness: 2px;
}

/* Aufruf-Kasten auf Textseiten: .textseite färbt Links rot, im dunklen
 * Kasten muss der Fließtext-Link hell bleiben. */
.textseite .feuerwehr-aufruf a:not(.cta-button) {
    color: #fff;
}

/* Screenshot auf einer Textseite */
.textseite .textbild {
    margin: 24px 0 28px;
}

.textseite .textbild img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.textseite .textbild figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}
