/* _nta_public.css
   Stylesheet der oeffentlichen Seiten ohne Seitenkopf
   (Wartung, Landingpage, Gruendungs-Wizard). */

:root {
    --tnr-red: #e74a3b;
    --tnr-red-hover: #c0392b;
    --tnr-bg: #0f1115;
    --tnr-card: #1c2029;
    --tnr-border: #2d3238;
    --tnr-text: #aeb9c6;
    --tnr-text-muted: #88909e;
}

body.nta-public {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tnr-bg);
    color: var(--tnr-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* === Seite: Wartung === */
.wartung-box {
    max-width: 440px;
    margin: 1rem;
    padding: 2rem;
    text-align: center;
    background-color: var(--tnr-card);
    border: 1px solid var(--tnr-border);
    border-left: 3px solid var(--tnr-red);
    border-radius: 0.5rem;
}
.wartung-logo {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 1.25rem;
}
.wartung-logo span { color: var(--tnr-red); }
.wartung-titel {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
}
.wartung-zeit {
    color: #fff;
    font-weight: 700;
}
.wartung-hinweis {
    font-size: 0.75rem;
    margin-top: 1.25rem;
}

/* === Seite: Landingpage === */
body.seite-index {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--tnr-bg);
    color: #fff;
    overflow-x: hidden;
}
.seite-index h2 { font-weight: 800; letter-spacing: -1px; }
.seite-index p { color: var(--tnr-text-muted); line-height: 1.7; }

.seite-index .hover-card:hover {
    transform: translateY(-5px);
    border-color: var(--tnr-red) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.seite-index .transition-all { transition: all 0.3s ease; }

.seite-index .hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--tnr-border);
    background-image: url('img/nta_bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
}
.seite-index .hero-title {
    font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(#fff, var(--tnr-text));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    position: relative; overflow: hidden;
}
.seite-index .hero-section::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to bottom, transparent 0%, var(--tnr-bg) 100%);
    z-index: 1; pointer-events: none;
}
.seite-index .hero-section .container { position: relative; z-index: 2; }
.seite-index .hero-subtitle { font-size: 1.25rem; font-weight: 300; margin-bottom: 2rem; max-width: 500px; }
.seite-index .text-accent { color: var(--tnr-red) !important; }

/* Hero-Badges */
.seite-index .hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seite-index .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d6dde8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}
.seite-index .hero-badge:hover {
    background: rgba(231, 74, 59, 0.1);
    border-color: rgba(231, 74, 59, 0.4);
    color: #fff;
}
.seite-index .hero-badge i { color: var(--tnr-red); }

.seite-index .login-card, .seite-index .modal-content-custom {
    background-color: rgba(28, 32, 41, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 16px; padding: 2.5rem; position: relative; z-index: 1;
}
.seite-index .modal-content { background-color: transparent; border: none; }
.seite-index .modal-content-custom { background-color: var(--tnr-card); }
.seite-index .login-icon-kreis { width: 60px; height: 60px; }
.seite-index .login-link-klein { font-size: 0.8rem; }

.seite-index .form-control {
    background-color: rgba(15, 17, 21, 0.8); border: 1px solid var(--tnr-border); color: #fff; padding: 0.75rem 1rem; transition: all 0.3s;
}
.seite-index .form-control:focus { background-color: #000; border-color: var(--tnr-red); color: #fff; box-shadow: 0 0 0 0.25rem rgba(231, 74, 59, 0.2); }

.seite-index .btn-login {
    background: linear-gradient(45deg, var(--tnr-red), #ff6b6b); border: none; color: #fff; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; padding: 0.9rem; width: 100%; margin-top: 1rem; transition: transform 0.2s;
}
.seite-index .btn-login:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(231, 74, 59, 0.4); color: #fff; }
.seite-index .btn-login.btn-login-auto { width: auto; }
.seite-index .btn-login.btn-login-gross { font-size: 1.1rem; }

.seite-index .section-padding { padding: 80px 0; }
.seite-index .bg-darker { background-color: #0b0d10; }
.seite-index .mw-600 { max-width: 600px; }
.seite-index .mw-700 { max-width: 700px; }

.seite-index .feature-icon-lg {
    width: 80px; height: 80px; background: rgba(231, 74, 59, 0.1); border-radius: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--tnr-red); margin-bottom: 1.5rem;
}
.seite-index .feature-icon-lg.feature-icon-md { width: 60px; height: 60px; font-size: 1.5rem; flex-shrink: 0; }
.seite-index .feature-text { min-width: 0; overflow-wrap: anywhere; }

.seite-index .stat-number { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.seite-index .stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tnr-text-muted); margin-top: 10px; }

@media (max-width: 991px) {
    .seite-index .hero-title { font-size: 2.5rem; }
    .seite-index .hero-section { padding: 6rem 0; align-items: flex-start; }
}
@media (max-width: 575px) {
    .seite-index .stat-number { font-size: 2rem; }
    .seite-index .stat-label { font-size: 0.7rem; }
    .seite-index .section-padding { padding: 60px 0; }
    .seite-index h2 { font-size: 1.6rem; }
}

.seite-index .accordion-button::after { filter: invert(1); }
.seite-index .accordion-button:not(.collapsed) { color: var(--tnr-red) !important; box-shadow: none; }
.seite-index .accordion-button:not(.collapsed)::after { filter: invert(0.5) sepia(1) saturate(5) hue-rotate(-50deg); }
.seite-index .accordion-button:focus { box-shadow: none; }

.seite-index .screenshot-item {
    border-radius: 12px; overflow: hidden; border: 1px solid var(--tnr-border);
    background: var(--tnr-card); transition: all 0.3s ease; cursor: pointer; aspect-ratio: 16/10; position: relative;
}
.seite-index .screenshot-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: all 0.3s ease; }
.seite-index .screenshot-item:hover { transform: scale(1.05); border-color: var(--tnr-red); z-index: 5; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.seite-index .screenshot-item:hover img { opacity: 1; }
.seite-index .screenshot-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(231, 74, 59, 0.4); opacity: 0; transition: opacity 0.3s ease;
}
.seite-index .screenshot-item:hover .screenshot-overlay { opacity: 1; }
.seite-index #screenshotModal { backdrop-filter: blur(8px); }
.seite-index .screenshot-gross { max-height: 90vh; }

.seite-index .stat-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--tnr-border); border-radius: 15px; padding: 2rem; transition: all 0.3s ease;
}
.seite-index .stat-card:hover { background: rgba(231, 74, 59, 0.05); border-color: var(--tnr-red); }
.seite-index .stat-card .feature-icon-lg { width: 60px; height: 60px; font-size: 1.5rem; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.seite-index .stat-card h5 { margin-bottom: 0.5rem; }

/* Scroll-Pfeil unten am Hero */
.seite-index .scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--tnr-text-muted); font-size: 1.5rem; z-index: 2;
    text-decoration: none; animation: nta-hero-huepfen 2s infinite;
    transition: color 0.3s ease;
}
.seite-index .scroll-indicator:hover { color: var(--tnr-red); }
@keyframes nta-hero-huepfen {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Nationen-Kacheln */
.seite-index .nation-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tnr-border);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.seite-index .nation-chip:hover {
    background: rgba(231, 74, 59, 0.08);
    border-color: var(--tnr-red);
    transform: translateY(-2px);
}
.seite-index .nation-chip-flagge { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--tnr-border); }
.seite-index .nation-chip-ligen { font-size: 0.7rem; }

/* Zielgruppen-Karten */
.seite-index .zielgruppe-karte {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tnr-border);
    border-radius: 15px;
    padding: 2rem;
}
.seite-index .zielgruppe-karte.ist-passend { border-left: 3px solid var(--tnr-red); }
.seite-index .zielgruppe-karte.ist-unpassend { background: rgba(0, 0, 0, 0.2); }
.seite-index .zielgruppe-liste { list-style: none; padding: 0; margin: 0; }
.seite-index .zielgruppe-liste li {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--tnr-text-muted);
    line-height: 1.6;
}
.seite-index .zielgruppe-liste li:last-child { border-bottom: 0; padding-bottom: 0; }
.seite-index .zielgruppe-liste li > i { flex-shrink: 0; width: 1rem; margin-top: 0.3rem; text-align: center; }
.seite-index .zielgruppe-liste strong { color: #fff; font-weight: 600; }
.seite-index .ist-passend .zielgruppe-liste li > i { color: var(--tnr-red); }
.seite-index .ist-unpassend .zielgruppe-liste li > i { color: var(--tnr-text-muted); }

/* Kopfleiste */
.seite-index .landing-nav {
    padding: 0.75rem 0;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.seite-index .landing-nav.ist-gescrollt {
    padding: 0.4rem 0;
    background-color: rgba(15, 17, 21, 0.92);
    border-bottom-color: var(--tnr-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.seite-index .landing-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.seite-index .landing-brand:hover { color: #fff; }
.seite-index .landing-logo { width: 36px; height: 36px; object-fit: contain; }
.seite-index .landing-nav .nav-link {
    color: var(--tnr-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.85rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.seite-index .landing-nav .nav-link:hover,
.seite-index .landing-nav .nav-link:focus-visible { color: #fff; }
.seite-index .landing-nav .nav-link.active { color: #fff; border-bottom-color: var(--tnr-red); }
.seite-index .landing-nav .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, 0.15); padding: 0.35rem 0.7rem; }
.seite-index .landing-nav .navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.3); }
.seite-index .landing-nav-aktionen { display: flex; align-items: center; gap: 0.5rem; }

@media (max-width: 991.98px) {
    .seite-index .landing-nav .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem 1rem 1rem;
        background-color: var(--tnr-card);
        border: 1px solid var(--tnr-border);
        border-radius: 12px;
    }
    .seite-index .landing-nav .nav-link { border-bottom: 0; border-left: 2px solid transparent; }
    .seite-index .landing-nav .nav-link.active { border-left-color: var(--tnr-red); }
    .seite-index .landing-nav-aktionen { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--tnr-border); }
    .seite-index .landing-nav-aktionen .btn { flex: 1; justify-content: center; }
}

/* Sprungziele nicht unter der Kopfleiste verstecken */
.seite-index section[id] { scroll-margin-top: 64px; }
.seite-index #login { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: no-preference) {
    html:has(body.seite-index) { scroll-behavior: smooth; }
}

/* Hero: Aktionen und Kennzahlen */
.seite-index .hero-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.seite-index .btn-login.btn-login-kompakt { margin-top: 0; padding: 0.7rem 1.5rem; font-size: 0.8rem; }
.seite-index .btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s ease;
}
.seite-index .btn-hero-ghost:hover,
.seite-index .btn-hero-ghost:focus-visible { color: #fff; background-color: rgba(231, 74, 59, 0.1); border-color: var(--tnr-red); }
.seite-index .btn-hero-ghost i { color: var(--tnr-red); }
.seite-index .btn.btn-hero-klein { padding: 0.45rem 1rem; font-size: 0.75rem; }

.seite-index .hero-kennzahlen {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: start;
    gap: 0 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.seite-index .hero-kennzahl-wert { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #fff; }
.seite-index .hero-kennzahl-label {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tnr-text-muted);
}
.seite-index .hero-text-kurz { display: none; }

/* Hero auf dem Handy: weniger Elemente, kompaktere Groessen */
@media (max-width: 575.98px) {
    .seite-index .landing-brand { display: none; }
    .seite-index .landing-nav { padding: 0.5rem 0; }
    .seite-index .landing-nav .navbar-toggler { margin-left: auto; padding: 0.25rem 0.6rem; font-size: 1rem; }
    .seite-index .hero-section { padding: 3.25rem 0 3rem; }
    .seite-index .hero-title { font-size: 2.1rem; margin-bottom: 0.75rem; }
    .seite-index .hero-subtitle { font-size: 1.05rem; margin-bottom: 1.25rem; }
    .seite-index .hero-badge-optional { display: none; }
    .seite-index .hero-badge { font-size: 0.65rem; padding: 0.35rem 0.75rem; }
    .seite-index .hero-badges { margin-bottom: 1.25rem !important; }
    .seite-index .hero-section p.text-muted { font-size: 0.9rem; line-height: 1.6; }
    .seite-index .hero-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.25rem; }
    .seite-index .hero-aktionen .btn { justify-content: center; padding: 0.65rem 0.75rem; font-size: 0.72rem; letter-spacing: 0.5px; }
    .seite-index .hero-text-lang { display: none; }
    .seite-index .hero-text-kurz { display: inline; }
    .seite-index .hero-kennzahlen { gap: 0 1.25rem; margin-top: 1.5rem; padding-top: 1rem; }
    .seite-index .hero-kennzahl-wert { font-size: 1.15rem; }
    .seite-index .hero-kennzahl-label { font-size: 0.6rem; letter-spacing: 0.5px; }
    .seite-index .login-card { padding: 1.5rem; }
}
@media (max-width: 359.98px) {
    .seite-index .hero-kennzahlen { grid-template-columns: repeat(2, minmax(0, auto)); gap: 0.75rem 1.5rem; }
}

/* Aktuelle Hinweise (Stoerer) */
.nta-hinweise { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.nta-hinweis {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.5;
    background-color: rgba(231, 74, 59, 0.1);
    border: 1px solid rgba(231, 74, 59, 0.35);
    border-left: 3px solid var(--tnr-red);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nta-hinweis-icon { flex-shrink: 0; font-size: 1rem; color: var(--tnr-red); }
.nta-hinweis-text { flex: 1; min-width: 0; }
.nta-hinweis-text strong { font-weight: 700; }
.nta-hinweis-link {
    flex-shrink: 0;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
}
.nta-hinweis-link:hover, .nta-hinweis-link:focus-visible { color: var(--tnr-red); }
.nta-hinweis-warnung, .nta-hinweis-wartung {
    background-color: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.35);
    border-left-color: var(--bs-warning);
}
.nta-hinweis-warnung .nta-hinweis-icon, .nta-hinweis-wartung .nta-hinweis-icon { color: var(--bs-warning); }
@media (max-width: 575.98px) {
    .nta-hinweise { margin-bottom: 1.25rem; }
    .nta-hinweis { flex-wrap: wrap; gap: 0.35rem 0.65rem; padding: 0.6rem 0.8rem; font-size: 0.8rem; }
    .nta-hinweis-text { flex-basis: calc(100% - 1.75rem); }
    .nta-hinweis-link { margin-left: 1.65rem; }
}

/* BETA-Anfrage (Modal) */
.seite-index .beta-termin {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    background-color: rgba(231, 74, 59, 0.08);
    border-left: 3px solid var(--tnr-red);
    border-radius: 8px;
}
.seite-index .beta-termin i { margin-top: 0.2rem; color: var(--tnr-red); }
.seite-index .beta-feld-hinweis { font-size: 0.75rem; color: var(--tnr-text-muted); }
.seite-index .beta-hp {
    position: absolute; left: -10000px; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}

/* Einblenden beim Scrollen. Ohne Skript, in alten Browsern und bei
   reduzierter Bewegung bleiben die Inhalte einfach sichtbar. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    .seite-index [data-einblenden] {
        opacity: 0;
        transition: opacity 0.8s ease, transform 0.8s ease;
        transition-delay: var(--einblenden-verzoegerung, 0ms);
    }
    .seite-index [data-einblenden="von-links"]  { transform: translate3d(-100px, 0, 0); }
    .seite-index [data-einblenden="von-rechts"] { transform: translate3d(100px, 0, 0); }
    .seite-index [data-einblenden="von-unten"]  { transform: translate3d(0, 100px, 0); }
    .seite-index [data-einblenden="zoom"]       { transform: scale(0.6); }
    .seite-index [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }
    /* Rueckfall: startet das Skript nicht, erscheinen die Inhalte nach kurzer Zeit */
    .seite-index:not(.einblenden-aktiv) [data-einblenden] { animation: nta-einblenden-rueckfall 0s 2s forwards; }
}
@keyframes nta-einblenden-rueckfall { to { opacity: 1; transform: none; } }

/* Gedaempfte Textlinks (Fusszeile, Login): grau, beim Hovern NTA-Rot */
.seite-index .landing-link {
    color: var(--tnr-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.seite-index .landing-link:hover,
.seite-index .landing-link:focus-visible { color: var(--tnr-red); }

/* Kennzahlen: Einheit hinter einem Betrag (z. B. "Mio. €") */
.seite-index .stat-einheit { margin-left: 0.3rem; font-size: 1.25rem; font-weight: 700; }
@media (max-width: 575px) {
    .seite-index .stat-einheit { margin-left: 0.2rem; font-size: 0.85rem; }
}

/* NTAnews */
.seite-index .landing-news {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.25rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tnr-border);
    border-left: 3px solid var(--tnr-red);
    border-radius: 12px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.seite-index .landing-news:hover {
    background: rgba(231, 74, 59, 0.05);
    border-color: rgba(231, 74, 59, 0.45);
    border-left-color: var(--tnr-red);
}
.seite-index .landing-news-kopf { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.seite-index .landing-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(231, 74, 59, 0.12);
    color: var(--tnr-red);
    font-size: 0.85rem;
}
.seite-index .landing-news-kategorie {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.seite-index .landing-news-zeit {
    margin-left: auto;
    color: var(--tnr-text-muted);
    font-size: 0.7rem;
    white-space: nowrap;
}
.seite-index .landing-news-titel {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.seite-index .landing-news-text { margin: 0; font-size: 0.85rem; line-height: 1.6; overflow-wrap: anywhere; }
.seite-index .landing-news-inhalt { display: flex; align-items: flex-start; gap: 0.9rem; }
.seite-index .landing-news-inhalt > .news-bild { flex-shrink: 0; margin-top: 0.15rem; }
.seite-index .landing-news-texte { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.seite-index .landing-news-wappen { display: inline-flex; line-height: 0; filter: drop-shadow(0 2px 3px #000); }
.seite-index .landing-news-fuss {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 0;
}
.seite-index .landing-news-agentur {
    color: var(--tnr-text);
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seite-index .btn.landing-social { min-height: 44px; }

/* News-Bild und Agentur-Logo: gleiche Darstellung wie im Spiel.
   Groesse und Farben kommen als Variablen am Element. */
.seite-index .news-bild { width: var(--news-gr, 64px); height: var(--news-gr, 64px); }
.seite-index .news-bild-rahmen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bild-c1, var(--tnr-card)), var(--bild-c2, var(--tnr-border)));
}
.seite-index .news-bild-silhouette { font-size: calc(var(--news-gr, 64px) * 0.45); opacity: 0.5; }
.seite-index .news-bild-flagge { line-height: 0; }
.seite-index .news-bild-flagge > img {
    width: calc(var(--news-gr, 64px) * 0.32);
    border: 2px solid var(--tnr-bg);
    border-radius: 50%;
    box-shadow: 0 2px 5px #000;
}
.seite-index .agentur-logo-wappen {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: var(--al-gr, 32px);
    height: calc(var(--al-gr, 32px) * 1.2);
    line-height: 0;
    vertical-align: middle;
}
.seite-index .agentur-logo-wappen > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seite-index .agentur-logo-wappen > svg path {
    fill: var(--al-flaeche);
    stroke: var(--al-rand);
    stroke-width: 6;
    stroke-linejoin: round;
}
.seite-index .agentur-logo-wappen > i {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    color: var(--al-symbol);
    font-size: calc(var(--al-gr, 32px) * 0.42);
    line-height: 1;
}
@media (max-width: 575px) {
    .seite-index .landing-news { padding: 1rem; }
    .seite-index .landing-news-inhalt { gap: 0.75rem; }
}

/* === Gruendungs-Wizard (Registrierung, Neugruendung, Passwort-Reset) === */
body.nta-wizard {
    font-family: 'Inter', sans-serif;
    background-color: var(--tnr-bg);
    color: var(--tnr-text);
    min-height: 100vh;
}
.nta-wizard .small, .nta-wizard small { font-size: 0.75rem !important; }
.nta-wizard h1, .nta-wizard .h1 { font-size: 1.5rem !important; }

.nta-wizard .register-card { max-width: 820px; margin: 40px auto; }
.nta-wizard .reset-card { max-width: 480px; margin: 40px auto; }
.nta-wizard .wizard-logo { height: 56px; width: auto; }

/* Karten im NTA-Look */
.nta-wizard .card-bg { background: var(--tnr-card); border: 1px solid var(--tnr-border); }
.nta-wizard .card-bg .text-muted { color: var(--tnr-text) !important; }
.nta-wizard .card-bg .text-secondary { color: var(--tnr-text) !important; }
.nta-wizard .card-bg p { color: #d1d5db; }
.nta-wizard .card-bg strong { color: #fff; }

/* Rote Karten-Header */
.nta-wizard .card-header-nta { background: var(--tnr-red); color: #fff; font-weight: 700; border-bottom: 1px solid var(--tnr-red-hover); }

/* NTA-Rot als Textfarbe */
.nta-wizard .text-nta { color: var(--tnr-red) !important; }

/* Formular */
.nta-wizard .form-label { color: #e9ecef; font-weight: 500; }
.nta-wizard .form-label small { color: #8a929c !important; font-weight: 400; }
.nta-wizard .form-control { background: var(--tnr-bg); border: 1px solid var(--tnr-border); color: #fff; }
.nta-wizard .form-control:focus { background: var(--tnr-bg); color: #fff; border-color: var(--tnr-red); box-shadow: 0 0 0 0.25rem rgba(231, 74, 59, 0.25); }

/* Buttons auf NTA-Rot */
.nta-wizard .btn-nta { background-color: var(--tnr-red); border-color: var(--tnr-red); color: #fff; }
.nta-wizard .btn-nta:hover { background-color: var(--tnr-red-hover); border-color: var(--tnr-red-hover); color: #fff; }
.nta-wizard .btn-nta:disabled { background-color: var(--tnr-red); border-color: var(--tnr-red); color: #fff; opacity: 0.5; }

/* Schritt-Anzeige */
.nta-wizard .step-indicator { display: flex; justify-content: space-between; margin-bottom: 30px; }
.nta-wizard .step { flex: 1; text-align: center; padding: 12px; border-radius: 6px; background: var(--tnr-card); border: 1px solid var(--tnr-border); color: #6b7681; font-weight: 600; margin: 0 4px; }
.nta-wizard .step.active { background: var(--tnr-red); border-color: var(--tnr-red); color: #fff; }
.nta-wizard .step.done { background: rgba(231, 74, 59, 0.12); border-color: var(--tnr-red); color: #fff; }
.nta-wizard a.step, .nta-wizard a.step:hover { text-decoration: none; }
.nta-wizard a.step.done:hover { background: rgba(231, 74, 59, 0.24); }

/* Info-/Zusammenfassungs-Boxen */
.nta-wizard .summary-box { background: var(--tnr-bg); border: 1px solid var(--tnr-border); border-left: 3px solid var(--tnr-red); padding: 10px 14px; border-radius: 4px; margin-bottom: 20px; color: #e9ecef; }
.nta-wizard .summary-box strong { color: #fff; }
.nta-wizard .summary-box .text-muted { color: var(--tnr-text) !important; }

/* Onkel-Mino-Panel */
.nta-wizard .mino-panel { background: linear-gradient(135deg, rgba(231, 74, 59, 0.14), rgba(231, 74, 59, 0.04)); border: 1px solid var(--tnr-border); border-left: 4px solid var(--tnr-red); border-radius: 8px; padding: 18px 20px; margin-bottom: 24px; }
.nta-wizard .mino-avatar { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: var(--tnr-red); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; }
.nta-wizard .mino-panel h5 { color: #fff; text-transform: none; letter-spacing: normal; font-size: 1rem !important; }
.nta-wizard .mino-panel p { color: #cdd5de; margin-bottom: 0.5rem; }
.nta-wizard .mino-gift { color: var(--tnr-red); font-weight: 700; }

.nta-wizard .flag { width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.nta-wizard .footer-link, .nta-wizard .footer-link:hover { color: var(--tnr-text) !important; }

/* Karte */
.nta-wizard .map-container { border-radius: 8px; border: 1px solid var(--tnr-border); overflow: hidden; background: #161920; margin-bottom: 16px; }
.nta-wizard #map-nation, .nta-wizard #map-city { height: 320px; width: 100%; }
@media (max-width: 768px) {
    .nta-wizard #map-nation, .nta-wizard #map-city { height: 240px; }
}
.nta-wizard .leaflet-bar a { background-color: var(--tnr-card) !important; color: #fff !important; border-color: var(--tnr-border) !important; }
.nta-wizard .country-flag-icon,
.nta-wizard .leaflet-container .leaflet-marker-pane .country-flag-icon { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); transition: transform 0.2s; cursor: pointer; }
.nta-wizard .country-flag-icon:hover { transform: scale(1.2); border-color: var(--tnr-red); }
.nta-wizard .country-flag-icon.selected { border-color: var(--tnr-red); transform: scale(1.25); }
.nta-wizard .sw-tooltip-sub { color: #adb5bd; }

/* Stadt-Popup */
.nta-wizard .city-popup .leaflet-popup-content-wrapper { background: var(--tnr-card); color: #fff; border: 1px solid var(--tnr-border); }
.nta-wizard .city-popup .leaflet-popup-tip { background: var(--tnr-card); }
.nta-wizard .city-popup .leaflet-popup-close-button { color: var(--tnr-text) !important; }
.nta-wizard .city-popup .leaflet-popup-content { margin: 12px 14px; }
.nta-wizard .sw-popup { min-width: 200px; }
.nta-wizard .sw-popup-titel { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.nta-wizard .sw-popup-sub { color: #adb5bd; font-size: 11px; margin-bottom: 6px; }
.nta-wizard .sw-popup-ampel { color: #d1d5db; font-size: 11px; margin-bottom: 4px; }
.nta-wizard .sw-popup-miete { color: var(--tnr-red); font-size: 11px; margin-bottom: 8px; }
.nta-wizard .sw-popup-kz { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12px; }
.nta-wizard .sw-popup-kz .sw-kz { margin-right: 0; }

/* Stadt-Tooltip (Hover) */
.nta-wizard .city-tooltip { background: #161920 !important; color: #fff !important; border: 1px solid var(--tnr-border) !important; font-size: 11px !important; padding: 3px 7px !important; }
.nta-wizard .city-tooltip::before { border-top-color: var(--tnr-border) !important; }

/* Leaflet Popup im Dark-Style */
.nta-wizard .leaflet-popup-content-wrapper { background: var(--tnr-card); color: #fff; border-radius: 6px; }
.nta-wizard .leaflet-popup-tip { background: var(--tnr-card); }
.nta-wizard .leaflet-popup-content { margin: 12px 14px; }
.nta-wizard .leaflet-popup-content strong { color: var(--tnr-red); }

/* Standortwahl: Umschalter Karte/Liste, Legende, Ampel, Liste */
.nta-wizard .sw-tabs .nav-link { color: var(--tnr-text); background: var(--tnr-bg); border: 1px solid var(--tnr-border); padding: 0.3rem 0.9rem; font-size: 0.8rem; font-weight: 600; }
.nta-wizard .sw-tabs .nav-link.active { background: var(--tnr-red); border-color: var(--tnr-red); color: #fff; }
.nta-wizard .sw-tabs .nav-item + .nav-item { margin-left: 6px; }
.nta-wizard .sw-legende { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.75rem; color: var(--tnr-text); }
.nta-wizard .sw-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; background: var(--sw-farbe, var(--tnr-text)); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.nta-wizard .sw-kz { margin-right: 14px; white-space: nowrap; }
.nta-wizard .sw-kz i { color: rgba(255, 255, 255, 0.5); }
.nta-wizard .sw-spalte-ampel { width: 32px; }

.nta-wizard .sw-liste-wrap { max-height: 360px; overflow-y: auto; border: 1px solid var(--tnr-border); border-radius: 8px; margin-bottom: 16px; }
.nta-wizard .sw-liste { margin: 0; font-size: 0.8rem; --bs-table-bg: transparent; --bs-table-color: #d1d5db; }
.nta-wizard .sw-liste thead th { position: sticky; top: 0; z-index: 1; background: var(--tnr-card); color: #fff; font-weight: 600; border-bottom: 1px solid var(--tnr-border); white-space: nowrap; }
.nta-wizard .sw-liste td { border-color: var(--tnr-border); vertical-align: middle; }
.nta-wizard .sw-liste tbody tr[data-id] { cursor: pointer; }
.nta-wizard .sw-liste tbody tr[data-id]:hover td { background: rgba(255, 255, 255, 0.04); }
.nta-wizard .sw-liste tbody tr.sw-aktiv td { background: rgba(231, 74, 59, 0.18); color: #fff; }