/* ==========================================================================
   TR-COMMUNITY x TRINITY HOST — gemeinsames Design
   Wird NACH style.css geladen und ueberschreibt das Holo-Terminal-Design.
   Entfernen = Zeile <link ... trinity.css> in layouts/base.blade.php loeschen.
   ========================================================================== */

:root {
    --t-bg: #0f0f10;
    --t-bg2: #141415;
    --t-surface: #1a1a1c;
    --t-surface2: #202023;
    --t-line: #2a2a2e;
    --t-line2: #38383d;
    --t-text: #ececee;
    --t-muted: #9a9aa2;
    --t-gold: #e8a317;
    --t-gold-hi: #f5b936;
    --t-radius: 8px;
    --t-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Variablen des bisherigen Themes auf die neuen Farben umbiegen */
    --c-amber: var(--t-gold);
    --c-amber-dim: rgba(232, 163, 23, .35);
    --c-teal: var(--t-gold);
    --c-teal-dim: var(--t-line2);
    --c-text: var(--t-text);
    --c-muted: var(--t-muted);
    --c-line: var(--t-line);
    --c-line-strong: var(--t-line2);
    --c-bg: var(--t-bg);
    --c-bg-raised: var(--t-surface);
    --chamfer: 0px;

    --bs-border-radius: var(--t-radius);
    --bs-border-radius-sm: 6px;
    --bs-border-radius-lg: var(--t-radius);
    --bs-border-radius-xl: var(--t-radius);
    --bs-border-radius-2xl: var(--t-radius);
    --bs-link-color: var(--t-gold);
    --bs-link-hover-color: var(--t-gold-hi);
    --bs-link-color-rgb: 232, 163, 23;
    --bs-link-hover-color-rgb: 245, 185, 54;
}

[data-bs-theme=dark] {
    --bs-body-bg: var(--t-bg);
    --bs-body-bg-rgb: 15, 15, 16;
    --bs-tertiary-bg: var(--t-surface);
    --bs-tertiary-bg-rgb: 26, 26, 28;
    --bs-border-color: var(--t-line);
    --bs-primary: var(--t-gold);
    --bs-primary-rgb: 232, 163, 23;
    --bs-secondary: var(--t-muted);
    --bs-secondary-rgb: 154, 154, 162;
}

/* Grundschrift: System-Font, normale Schreibweise */
body {
    background: var(--t-bg);
    color: var(--t-text);
    font-family: var(--t-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.navbar-nav .nav-link,
.btn,
.badge,
.card-title,
label,
.form-label,
.dropdown-item,
.nav-tabs .nav-link,
.footer-bottom,
th {
    font-family: var(--t-font);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -.015em; line-height: 1.15; }
h1 { text-align: left; font-weight: 700; }
.tr-head h1, .home-background h1 { letter-spacing: -.02em; }

::selection { background: rgba(232, 163, 23, .35); color: #fff; }

/* Scanlines, Partikel, Chamfer-Schnitte weg */
.holo-scanlines,
#particles-js,
.home-background::after,
.shop-banner::before { display: none !important; }
.badge, .hero-chip, [data-tilt], .holo-chamfer { clip-path: none !important; }
.scan-in { animation: none !important; }

/* Dropdowns */
.dropdown-menu {
    background: var(--t-surface);
    border: 1px solid var(--t-line2);
    border-radius: var(--t-radius);
    overflow: hidden;
}
.dropdown-item { color: var(--t-text); font-size: .93rem; font-weight: 500; border-bottom: 1px solid var(--t-line); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--t-surface2); color: var(--t-gold); }

/* Buttons: flach wie bei Trinity Host */
.btn {
    border-radius: var(--t-radius);
    background: var(--t-surface);
    border: 1px solid var(--t-line2);
    color: var(--t-text);
    font-size: .95rem;
    padding: .65rem 1.3rem;
    transition: background .15s, border-color .15s;
}
.btn::before { display: none; }
.btn:hover, .btn:focus, .btn:active {
    color: var(--t-text) !important;
    background: var(--t-surface2) !important;
    border-color: #4a4a50 !important;
}
.btn-primary, .btn-primary:disabled {
    background: var(--t-gold);
    border-color: var(--t-gold);
    color: #17130a;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--t-gold-hi) !important;
    border-color: var(--t-gold-hi) !important;
    color: #17130a !important;
}
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-outline-primary { background: transparent; color: var(--t-gold); border-color: var(--t-gold); }
.btn-danger, .btn-outline-danger { color: #fff; }

/* Karten & Flaechen */
.card {
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    overflow: hidden;
}
.card-header { background: var(--t-surface2); border-bottom: 1px solid var(--t-line); }
.card-img-top { border-radius: 0; }
.list-group-item { background: var(--t-surface); border-color: var(--t-line); }
.modal-content { background: var(--t-surface); border: 1px solid var(--t-line2); border-radius: var(--t-radius); }
.modal-content::before { display: none; }
.modal-footer { border-top: 1px solid var(--t-line); }

/* Formulare */
.form-control, .form-select {
    background-color: var(--t-bg2);
    border: 1px solid var(--t-line2);
    border-radius: var(--t-radius);
    color: var(--t-text);
}
.form-control:focus, .form-select:focus {
    background-color: var(--t-bg2);
    border-color: var(--t-gold);
    box-shadow: 0 0 0 3px rgba(232, 163, 23, .18);
    color: var(--t-text);
}
.form-label, label { font-weight: 500; font-size: .93rem; }

/* Badges, Fortschritt, Tabellen */
.badge { border-radius: 4px; font-size: .75rem; padding: .35em .7em; letter-spacing: 0; }
.bg-danger { background-color: rgba(229, 100, 90, .15) !important; border: 1px solid #e5645a; color: #e5645a; }
.progress { background: var(--t-surface2); border-radius: 999px; }
.progress-bar { background: var(--t-gold); }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--t-line); }
th { color: var(--t-muted); font-size: .85rem; }

/* Startseite: Hero */
.home-background { background-position: center 40% !important; }
.home-background::before {
    background: linear-gradient(180deg, rgba(15, 15, 16, .72) 0%, rgba(15, 15, 16, .86) 70%, var(--t-bg) 100%);
}
.home-background h1 { text-align: center; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero-chip {
    background: rgba(15, 15, 16, .85);
    border: 1px solid var(--t-line2);
    border-radius: 999px;
    font-size: .85rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--t-text);
}
.hero-dot { border-radius: 50%; background: #4fbf7a; box-shadow: none; }

/* Startseite: Abschnitte, Kacheln, Neuigkeiten */
.tr-section { padding: 5rem 0; }
.tr-band { background: var(--t-bg2); border-block: 1px solid var(--t-line); }
.tr-band::before { display: none; }
.tr-section-band { background: var(--t-bg2); }
.tr-head h1, .tr-home > .tr-section:not(.tr-band) h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); text-align: left; }
.tr-eyebrow { color: var(--t-gold); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tr-lead, .tr-tile p, .shop-banner p { color: var(--t-muted); }
.tr-tile {
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    transition: border-color .15s;
}
.tr-section-band .tr-tile { background: var(--t-surface); }
.tr-tile::before { display: none; }
.tr-tile:hover { transform: none; border-color: var(--t-gold); }
.tr-tile > i, .home-section-information .element i { color: var(--t-gold); }
.post-preview { transition: border-color .15s; }
.post-preview:hover { border-color: var(--t-gold); }
.post-preview .card-title a { color: var(--t-text); }
.post-preview .card-title a:hover { color: var(--t-gold); }
.news-date { color: var(--t-muted); }
.tr-discord { background-color: var(--t-surface); background-repeat: no-repeat; background-size: cover; background-position: center; border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.tr-discord::before { background: linear-gradient(90deg, rgba(15, 15, 16, .96) 0%, rgba(15, 15, 16, .85) 55%, rgba(15, 15, 16, .6) 100%); }
.tr-discord-inner { position: relative; z-index: 1; }

/* Shop */
.shop-banner { background-color: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.shop-banner h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.col-lg-3 > .list-group .list-group-item { border-radius: 0; }
.col-lg-3 > .list-group .list-group-item.active { background: var(--t-surface2); border-color: var(--t-gold); color: var(--t-gold); }
#shop .col-md-4 > .card { background: var(--t-surface); }
#shop .col-md-4 > .card:hover { transform: none; border-color: var(--t-gold); }
#shop .price-new { color: var(--t-gold); }

/* Footer */
.text-bg-primary { background: var(--t-bg2) !important; border-block: 1px solid var(--t-line); }
.bg-body-tertiary { background: var(--t-bg) !important; border-bottom: 1px solid var(--t-line); }
.bg-body-tertiary h3 { color: var(--t-text) !important; font-size: 1.05rem; }
.bg-body-tertiary p, .bg-body-tertiary li { font-weight: 400; color: var(--t-muted) !important; }
.bg-body-tertiary a:hover { color: var(--t-gold) !important; }
.bg-black { background: var(--t-bg2) !important; border-top: 1px solid var(--t-line); }
.footer-bottom { color: var(--t-muted); font-size: .85rem; font-weight: 400; }

/* Scrollbar */
::-webkit-scrollbar-thumb { background: var(--t-line2); border-radius: 6px; }
::-webkit-scrollbar-track { background: var(--t-bg); }

/* ==========================================================================
   Navigation (neu): sticky, ruhig, ausgerichtet am Seiten-Container
   ========================================================================== */
header.container-fluid { position: sticky; top: 0; z-index: 100; }
.home-background header.container-fluid { position: static; }

.navbar {
    background: rgba(15, 15, 16, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--t-line);
    padding: 0 max(20px, calc((100% - 1320px) / 2 + 12px));
    min-height: 72px;
    flex-wrap: nowrap;
    align-items: center;
}
.navbar::after { display: none; }

.navbar-brand { margin: 0 2rem 0 0; padding: 0; flex-shrink: 0; }
.navbar-brand img { height: 40px; width: auto; }

.navbar .navbar-collapse { align-items: center; gap: 1rem; }
.navbar .navbar-nav { align-items: center; gap: .25rem; flex-wrap: nowrap; }
.navbar .navbar-nav .nav-item { margin: 0; }
.navbar .navbar-left { margin-right: auto; }
.navbar .navbar-right { margin-left: auto; gap: .5rem; }

.navbar .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 40px;
    padding: 0 .85rem;
    border-radius: var(--t-radius);
    color: var(--t-muted);
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: none;
    transition: background .15s, color .15s;
}
.navbar .navbar-nav .nav-link::after { display: none; }
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus { color: var(--t-text); background: var(--t-surface); box-shadow: none; }
.navbar .navbar-nav li.active .nav-link { color: var(--t-gold); background: rgba(232, 163, 23, .1); box-shadow: none; }
.navbar .dropdown-toggle::after { margin-left: .15rem; vertical-align: .1em; border-top-width: .28em; border-inline-width: .28em; opacity: .7; }

/* Rechte Seite: Icon-Buttons (Post, Benachrichtigungen) */
.navbar .nav-mail,
.navbar .notifications-dropdown > .nav-link {
    position: relative;
    width: 40px;
    padding: 0;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    color: var(--t-text);
}
.navbar .notifications-dropdown > .nav-link::after { display: none; }
.navbar .nav-mail:hover,
.navbar .notifications-dropdown > .nav-link:hover { background: var(--t-surface2); border-color: var(--t-line2); }
.nav-mail-badge,
.navbar .notifications-dropdown .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--t-gold) !important;
    border: 2px solid var(--t-bg) !important;
    color: #17130a;
    font-size: .68rem;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    box-sizing: content-box;
}

/* Benutzer-Pille */
.navbar .nav-user > .nav-link {
    padding: 0 .75rem 0 .35rem;
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    color: var(--t-text);
    font-weight: 600;
}
.navbar .nav-user > .nav-link:hover { background: var(--t-surface2); border-color: var(--t-line2); }
.navbar .nav-avatar { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; background: var(--t-surface2); }
.navbar .nav-user-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.navbar .nav-user .dropdown-menu { min-width: 200px; }

/* Ausgeloggt: Login dezent, Registrieren gold */
.navbar .nav-login > .nav-link { color: var(--t-text); }
.navbar .nav-register > .nav-link { background: var(--t-gold); color: #17130a; font-weight: 600; padding: 0 1.1rem; }
.navbar .nav-register > .nav-link:hover { background: var(--t-gold-hi); color: #17130a; }

/* Dropdown-Menues in der Navbar */
.navbar .dropdown-menu {
    margin-top: .5rem;
    padding: .35rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.navbar .dropdown-item { border: 0; border-radius: 6px; padding: .55rem .75rem; color: var(--t-text); }
.navbar .dropdown-header { color: var(--t-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.navbar .dropdown-list { min-width: 320px; max-height: 70vh; overflow-y: auto; }

/* Mobil */
.navbar-toggler { margin-left: auto; padding: .45rem .7rem; }
@media (max-width: 991.98px) {
    .navbar { padding: .75rem 20px; flex-wrap: wrap; }
    .navbar-brand img { height: 36px; }
    .navbar .navbar-collapse {
        flex-basis: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: .75rem;
        margin-top: .75rem;
        padding: .5rem;
        background: var(--t-surface);
        border: 1px solid var(--t-line);
        border-radius: var(--t-radius);
    }
    .navbar .navbar-nav { flex-direction: column; align-items: stretch; width: 100%; }
    .navbar .navbar-nav .nav-item { border: 0; }
    .navbar .navbar-nav .nav-link { height: 44px; }
    .navbar .navbar-right { flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--t-line); padding-top: .75rem; }
    .navbar .navbar-right > .nav-item { flex: 0 0 auto; }
    .navbar .navbar-right > .nav-user { flex: 1 1 auto; }
    .navbar .navbar-right > .nav-user > .nav-link { width: 100%; }
    .navbar .dropdown-menu { position: static !important; transform: none !important; margin-top: .25rem; box-shadow: none; }
    .navbar .dropdown-list { min-width: 0; }
}

/* ==========================================================================
   Navbar: ruhiger (keine Caps, keine Icons in den Links, weniger Rahmen)
   ========================================================================== */
.navbar .navbar-nav .nav-link,
.navbar .dropdown-item,
.navbar .dropdown-header,
.navbar .btn {
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.navbar .dropdown-header { font-size: .85rem; }

/* Icons vor den Menuepunkten ausblenden (nur links in der Hauptnavigation) */
.navbar .navbar-left .nav-link > i { display: none; }

.navbar .navbar-left { gap: 0; }
.navbar .navbar-nav .nav-link { padding: 0 .8rem; font-size: .95rem; }
.navbar .navbar-nav .nav-link { color: #b4b4bb; }

/* Rechts: Icons ohne Rahmen, nur Benutzer als dezente Pille */
.navbar .nav-mail,
.navbar .notifications-dropdown > .nav-link {
    background: transparent;
    border-color: transparent;
    color: #b4b4bb;
    width: 38px;
}
.navbar .nav-mail:hover,
.navbar .notifications-dropdown > .nav-link:hover { background: var(--t-surface); border-color: transparent; color: var(--t-text); }
.navbar .navbar-right { gap: .25rem; }
.navbar .nav-user > .nav-link { background: transparent; border-color: var(--t-line); font-weight: 500; }
.navbar .nav-user .dropdown-toggle::after { display: none; }
.navbar .nav-user-name { max-width: 120px; }

/* ==========================================================================
   Startseite (neu)
   ========================================================================== */
:root { --t-jedi: #5aa9e6; --t-sith: #e5645a; }

/* Hero */
.h-hero { max-width: 880px; padding: 5.5rem 12px 5rem; text-align: center; position: relative; z-index: 2; }
.h-hero h1 { text-align: center; font-size: clamp(3rem, 9vw, 6rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.h-hero h1::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--t-gold); margin: 1.2rem auto 0; }
.h-eyebrow, .h-kicker { color: var(--t-gold); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .9rem; }
.h-lead { color: #c4c4ca; font-size: 1.15rem; max-width: 680px; margin: 0 auto 1.5rem; }
.h-hero .hero-chips { margin: 0 0 1.5rem; }

/* Zahlen */
.h-stats { border-bottom: 1px solid var(--t-line); background: var(--t-bg2); }
.h-stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.h-stats-list li { padding: 1.6rem 1rem; text-align: center; border-left: 1px solid var(--t-line); }
.h-stats-list li:first-child { border-left: 0; }
.h-stats-list b { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--t-gold); font-weight: 700; }
.h-stats-list span { color: var(--t-muted); font-size: .9rem; }
@media (max-width: 767.98px) {
    .h-stats-list { grid-template-columns: repeat(2, 1fr); }
    .h-stats-list li:nth-child(3) { border-left: 0; }
    .h-stats-list li:nth-child(n+3) { border-top: 1px solid var(--t-line); }
}

/* Abschnittskoepfe */
.h-head { max-width: 720px; margin: 0 0 2.5rem; }
.h-head h2, .h-title, .tr-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); text-align: left; margin: 0 0 .7rem; }
.h-head p:not(.h-kicker) { color: var(--t-muted); margin: 0; font-size: 1.05rem; }
.tr-head .h-head { margin-bottom: 0; }

/* Seiten */
.h-side { height: 100%; padding: 2rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); border-top: 3px solid var(--side); }
.h-jedi { --side: var(--t-jedi); }
.h-sith { --side: var(--t-sith); }
.h-side > i { font-size: 2rem; color: var(--side); }
.h-side h3 { font-size: 1.5rem; margin: .6rem 0; }
.h-side p { color: var(--t-muted); }
.h-side ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.h-side li { display: flex; gap: .6rem; color: #cfcfd4; font-size: .95rem; }
.h-side li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--side); }

/* Features */
.h-feature { height: 100%; padding: 1.6rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); transition: border-color .15s; }
.h-feature:hover { border-color: var(--t-gold); }
.h-feature > i { font-size: 1.6rem; color: var(--t-gold); }
.h-feature h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.h-feature p { margin: 0; color: var(--t-muted); font-size: .95rem; }
.tr-band .h-feature { background: var(--t-surface); }

/* Details */
.h-detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.h-detail-list li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.h-detail-list li > i { font-size: 1.4rem; color: var(--t-gold); margin-top: .1rem; }
.h-detail-list h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.h-detail-list p { margin: 0; color: var(--t-muted); font-size: .93rem; }

/* Schritte */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.h-steps li { padding: 1.6rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.h-steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--t-gold); color: #17130a; font-weight: 700; }
.h-steps h3 { font-size: 1.15rem; margin: .9rem 0 .35rem; }
.h-steps p { margin: 0; color: var(--t-muted); font-size: .95rem; }
@media (max-width: 767.98px) { .h-steps { grid-template-columns: 1fr; } }

/* FAQ */
.h-faq { max-width: 820px; display: grid; gap: .6rem; }
.h-faq details { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.h-faq details[open] { border-color: var(--t-line2); }
.h-faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; color: var(--t-gold); font-size: 1.3rem; line-height: 1; }
.h-faq details[open] summary::after { content: "–"; }
.h-faq p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--t-muted); }

/* Abschluss */
.h-final { text-align: center; border-top: 1px solid var(--t-line); background: radial-gradient(ellipse at 50% 0%, rgba(232, 163, 23, .12), transparent 65%); }
.h-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .8rem; text-align: center; }
.h-final p { color: var(--t-muted); max-width: 560px; margin: 0 auto 1.5rem; }
.h-final .hero-actions { justify-content: center; }
.tr-news .card-title { font-size: 1.1rem; }

/* Embleme der Seiten (Originale sind schwarz, daher invertiert) */
.h-emblem { height: 64px; width: auto; filter: invert(1); opacity: .92; display: block; }
.h-side .h-emblem + h3 { margin-top: 1rem; }

/* News-Modal */
#newsModal .modal-header { border-bottom: 1px solid var(--t-line); align-items: flex-start; }
#newsModal .modal-body { padding: 1.5rem; }
#newsModal .news-modal-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--t-radius); margin-bottom: 1.25rem; }
#newsModal .news-modal-text { color: #d6d6db; line-height: 1.7; overflow-wrap: anywhere; }
#newsModal .news-modal-text img { max-width: 100%; height: auto; border-radius: 6px; }
#newsModal .news-modal-text a { color: var(--t-gold); text-decoration: underline; }
#newsModal .news-modal-text h1, #newsModal .news-modal-text h2, #newsModal .news-modal-text h3 { text-align: left; font-size: 1.3rem; margin: 1.2rem 0 .5rem; }
#newsModal .btn-close { filter: invert(1); opacity: .7; }
.modal-backdrop.show { opacity: .7; }

/* ==========================================================================
   Shop (neu)
   ========================================================================== */
.s-hero {
    margin: 0 0 2.5rem;
    padding: 3rem 2.2rem;
    background: radial-gradient(ellipse at 0% 0%, rgba(232, 163, 23, .14), transparent 55%), var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: 12px;
}
.s-hero h1 { text-align: left; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; margin: 0 0 .7rem; }
.s-hero-sm { padding: 2rem 2.2rem; }
.s-hero-sm h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.s-hero h1 i { color: var(--t-gold); font-size: .8em; margin-right: .3rem; }
.s-hero .h-kicker a { color: var(--t-gold); }
.s-lead { color: var(--t-muted); font-size: 1.1rem; max-width: 680px; margin: 0; }
.s-lead p:last-child { margin-bottom: 0; }
.s-trust { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.s-trust li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; background: rgba(15, 15, 16, .6); border: 1px solid var(--t-line2); border-radius: 999px; font-size: .88rem; color: #cfcfd4; }
.s-trust i { color: var(--t-gold); }

.s-title { font-size: 1.35rem; margin: 0 0 1rem; text-align: left; }
.s-welcome { padding: 1.2rem 1.4rem; margin-bottom: 2rem; background: var(--t-surface); border: 1px solid var(--t-line); border-left: 3px solid var(--t-gold); border-radius: var(--t-radius); color: #cfcfd4; }

/* Kategorie-Kacheln */
.s-cat { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.2rem 1.3rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 10px; color: var(--t-text); transition: border-color .15s, transform .15s; }
.s-cat:hover { border-color: var(--t-gold); color: var(--t-text); transform: translateY(-2px); }
.s-cat-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 12px; background: rgba(232, 163, 23, .12); color: var(--t-gold); font-size: 1.5rem; }
.s-cat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-cat-text strong { font-size: 1.1rem; }
.s-cat-text small { color: var(--t-muted); font-size: .88rem; }
.s-cat-arrow { color: var(--t-muted); transition: color .15s, transform .15s; }
.s-cat:hover .s-cat-arrow { color: var(--t-gold); transform: translateX(3px); }

/* Produktkarten */
.s-product { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 12px; overflow: hidden; transition: border-color .15s, transform .15s; }
.s-product:hover { border-color: var(--t-gold); transform: translateY(-3px); }
.s-product-media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 30%, var(--t-surface2), var(--t-bg2)); overflow: hidden; }
.s-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.s-product:hover .s-product-media img { transform: scale(1.04); }
.s-product-media i { font-size: 3rem; color: var(--t-line2); }
.s-product-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; gap: .6rem; }
.s-product-body h3 { font-size: 1.1rem; margin: 0; }
.s-price { margin-top: auto; display: flex; align-items: baseline; gap: .6rem; }
.s-price .price-new { font-size: 1.6rem; font-weight: 700; color: var(--t-gold); }
.s-price .price-old { color: var(--t-muted); font-size: .95rem; }
.s-product-body .btn { width: 100%; }
.card-sale { position: absolute; top: 10px; left: 10px; right: auto; z-index: 2; padding: .2rem .65rem; background: var(--t-gold); color: #17130a; font-family: var(--t-font); font-weight: 700; font-size: .9rem; letter-spacing: 0; border-radius: 6px; box-shadow: none; pointer-events: none; }
.price-off { display: inline-block; padding: .1rem .5rem; margin-right: .4rem; background: var(--t-gold); color: #17130a; font-weight: 700; border-radius: 6px; font-size: .85rem; letter-spacing: 0; }
.price-old { color: var(--t-muted); }
.price-new { color: var(--t-gold); font-weight: 700; }

/* Seitenleiste */
.col-lg-3 > .list-group { border-radius: 12px; overflow: hidden; border: 1px solid var(--t-line); }
.col-lg-3 > .list-group .list-group-item { background: var(--t-surface); border: 0; border-bottom: 1px solid var(--t-line); padding: .8rem 1rem; color: var(--t-text); font-weight: 500; }
.col-lg-3 > .list-group .list-group-item:last-child { border-bottom: 0; }
.col-lg-3 > .list-group .list-group-item:hover { background: var(--t-surface2); }
.col-lg-3 > .list-group .list-group-item.active { background: rgba(232, 163, 23, .12); color: var(--t-gold); border-left: 3px solid var(--t-gold); }
.shop-extra { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 12px; color: var(--t-text); }
.shop-extra:hover { border-color: var(--t-gold); color: var(--t-text); }
.shop-extra > i { color: var(--t-gold); font-size: 1.4rem; }
.shop-extra small { display: block; color: var(--t-muted); font-size: .8rem; }

/* Paket-Modal */
#itemModal .modal-content { border-radius: 14px; }
#itemModal .modal-header { border-bottom: 1px solid var(--t-line); }
#itemModal .modal-body { color: #d6d6db; line-height: 1.7; }
#itemModal .modal-body img { max-width: 100%; height: auto; border-radius: 8px; }
#itemModal .modal-footer { background: var(--t-bg2); border-top: 1px solid var(--t-line); gap: 1rem; }
#itemModal .modal-footer .flex-md-fill { font-size: 1.5rem; }
#itemModal .btn-close { filter: invert(1); opacity: .7; }
@media (max-width: 767.98px) { .s-hero { padding: 2rem 1.3rem; } }

/* Shop-Kopf: schlicht, ohne Kasten und Chips */
.s-hero { padding: 0 0 2rem; margin: 0 0 2rem; background: none; border: 0; border-bottom: 1px solid var(--t-line); border-radius: 0; }
.s-hero-sm { padding: 0 0 1.5rem; }
.s-trust { display: none; }
.s-hero h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.s-hero-sm h1 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }

/* Shop-Bilder: nicht mehr zuschneiden, in voller Hoehe zeigen */
.s-product-media { aspect-ratio: auto; min-height: 0; display: block; }
.s-product-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.s-product-media i { display: grid; place-items: center; aspect-ratio: 16 / 10; }

/* ==========================================================================
   Rechtliche Seiten (Impressum, Datenschutz, AGB, Widerruf)
   ========================================================================== */
.content:has(.legal-block) { max-width: 880px; }
.content:has(.legal-block) > h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 0 0 1.5rem; }
.card:has(> .card-body > .legal-block) { background: transparent; border: 0; overflow: visible; }
.card:has(> .card-body > .legal-block) > .card-body { padding: 0; }

.legal-block {
    padding: 1.6rem 1.8rem;
    margin: 0 0 1rem;
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: 12px;
    color: #cfcfd4;
    line-height: 1.75;
    font-size: .98rem;
}
.legal-block h2 {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 0 0 .9rem;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-align: left;
    color: var(--t-text);
}
.legal-block h2 > i {
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(232, 163, 23, .12);
    color: var(--t-gold);
    font-size: .95rem;
    line-height: 1;
}
.legal-block h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; text-align: left; }
.legal-block p { margin: 0 0 .9rem; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: var(--t-text); font-weight: 600; }
.legal-block a { color: var(--t-gold); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(232, 163, 23, .4); overflow-wrap: anywhere; }
.legal-block a:hover { color: var(--t-gold-hi); text-decoration-color: currentColor; }
.legal-block ul, .legal-block ol { margin: 0 0 .9rem; padding-left: 1.3rem; }
.legal-block li { margin-bottom: .35rem; }
.legal-block li::marker { color: var(--t-gold); }
@media (max-width: 575.98px) {
    .legal-block { padding: 1.2rem 1.1rem; }
    .legal-block h2 { font-size: 1.1rem; }
}

/* ==========================================================================
   Serverleitung
   ========================================================================== */
.t-head { margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--t-line); }
.t-head h1 { text-align: left; font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.03em; margin: 0 0 .7rem; }
.t-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; }

.t-owner { display: flex; gap: 2rem; align-items: center; margin: 0 0 3rem; padding: 2rem; background: radial-gradient(ellipse at 0% 0%, rgba(232, 163, 23, .12), transparent 60%), var(--t-surface); border: 1px solid var(--t-line2); border-left: 4px solid var(--t-gold); border-radius: 14px; }
.t-owner-pic { flex: 0 0 168px; height: 168px; border-radius: 16px; overflow: hidden; background: var(--t-surface2); display: grid; place-items: center; }
.t-owner-pic img { width: 100%; height: 100%; object-fit: cover; }
.t-owner-pic i { font-size: 4rem; color: var(--t-line2); }
.t-owner-body h2 { text-align: left; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 .5rem; letter-spacing: -.02em; }
.t-owner-body .h-kicker { margin-bottom: .5rem; }
.t-owner-text { color: var(--t-muted); margin: 0 0 1rem; max-width: 520px; }

.t-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.t-tags li { display: inline-flex; align-items: center; gap: .45rem; color: #cfcfd4; font-size: .92rem; }
.t-desc { margin-top: .8rem; color: var(--t-muted); font-size: .92rem; }

.t-group { margin: 0 0 2.5rem; }
.t-group-title { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; text-align: left; margin: 0 0 1rem; color: var(--t-text); }
.t-group-title::after { content: ""; flex: 1; height: 1px; background: var(--t-line); }

.t-member { display: flex; gap: 1rem; align-items: center; height: 100%; padding: 1.1rem; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 12px; transition: border-color .15s; }
.t-member:hover { border-color: var(--t-line2); }
.t-member-pic { flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--t-surface2); display: grid; place-items: center; }
.t-member-pic img { width: 100%; height: 100%; object-fit: cover; }
.t-member-pic i { font-size: 1.8rem; color: var(--t-line2); }
.t-member-body { min-width: 0; }
.t-member-body h3 { font-size: 1.05rem; margin: 0 0 .35rem; text-align: left; overflow-wrap: anywhere; }
.t-member .t-tags { gap: .25rem .9rem; }
.t-member .t-tags li { font-size: .85rem; color: var(--t-muted); }
.t-links { display: flex; gap: .7rem; margin-top: .5rem; }
.t-links a { color: var(--t-muted); }
.t-links a:hover { color: var(--t-gold); }
@media (max-width: 575.98px) {
    .t-owner { flex-direction: column; align-items: flex-start; padding: 1.4rem; }
    .t-owner-pic { flex-basis: auto; width: 128px; height: 128px; }
}

/* ==========================================================================
   Allgemeine Seiten: Rahmen, Hinweise, Tabellen, Paginierung, FAQ, News
   ========================================================================== */
.content { margin-top: 3rem; margin-bottom: 4rem; }
.content > h1:first-child { font-size: clamp(1.9rem, 4.2vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 1.5rem; }
.text-center h1, .text-center h2, .text-center h3 { text-align: center; }

/* Brotkrumen ohne grauen Kasten */
.breadcrumb { --bs-breadcrumb-divider-color: var(--t-line2); background: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; }
.breadcrumb-item a { color: var(--t-muted); }
.breadcrumb-item a:hover { color: var(--t-gold); }
.breadcrumb-item.active { color: var(--t-text); }

/* Hinweise */
.alert {
    --bs-alert-bg: var(--t-surface);
    --bs-alert-border-color: var(--t-line2);
    --bs-alert-color: #d6d6db;
    --bs-alert-link-color: var(--t-gold);
    border-left-width: 3px;
    border-radius: var(--t-radius);
}
.alert-info { border-left-color: #4aa8ff; }
.alert-success { border-left-color: #4fbf7a; }
.alert-warning { border-left-color: var(--t-gold); }
.alert-danger { border-left-color: #e5645a; }
.alert-secondary { border-left-color: var(--t-line2); }
.alert .alert-link { color: var(--t-gold); text-decoration: underline; }

/* Tabellen */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--t-text);
    --bs-table-border-color: var(--t-line);
    --bs-table-striped-bg: rgba(255, 255, 255, .02);
    --bs-table-hover-bg: rgba(255, 255, 255, .04);
}
.table > thead > tr > th { background: var(--t-surface2); color: var(--t-muted); font-size: .82rem; font-weight: 600; border-bottom: 1px solid var(--t-line2); }
.card > .table, .card > .table-responsive { margin-bottom: 0; }
.card-body > .table:last-child { margin-bottom: 0; }

/* Paginierung */
.pagination {
    --bs-pagination-bg: var(--t-surface);
    --bs-pagination-border-color: var(--t-line2);
    --bs-pagination-color: var(--t-muted);
    --bs-pagination-hover-bg: var(--t-surface2);
    --bs-pagination-hover-color: var(--t-text);
    --bs-pagination-hover-border-color: var(--t-line2);
    --bs-pagination-active-bg: var(--t-gold);
    --bs-pagination-active-border-color: var(--t-gold);
    --bs-pagination-active-color: #17130a;
    --bs-pagination-disabled-bg: var(--t-bg2);
    --bs-pagination-disabled-border-color: var(--t-line);
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-border-radius: var(--t-radius);
}

/* FAQ und Akkordeons */
.accordion {
    --bs-accordion-bg: var(--t-surface);
    --bs-accordion-color: #d6d6db;
    --bs-accordion-border-color: var(--t-line);
    --bs-accordion-border-radius: 12px;
    --bs-accordion-inner-border-radius: 12px;
    --bs-accordion-btn-color: var(--t-text);
    --bs-accordion-btn-bg: var(--t-surface);
    --bs-accordion-active-color: var(--t-gold);
    --bs-accordion-active-bg: rgba(232, 163, 23, .08);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-focus-border-color: var(--t-gold);
}
.accordion-item { margin-bottom: .6rem; border: 1px solid var(--t-line); border-radius: 12px !important; overflow: hidden; }
.accordion-button { font-weight: 600; padding: 1rem 1.2rem; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-body { padding: 1.1rem 1.2rem 1.3rem; line-height: 1.7; }

/* News-Liste und Beiträge */
.post-preview { height: 100%; }
.post-preview .card-img-top { aspect-ratio: 16 / 8; object-fit: cover; }
.post-preview .card-footer, .card-footer { background: transparent; border-top: 1px solid var(--t-line); color: var(--t-muted); font-size: .88rem; }
.post-preview .card-title a { color: var(--t-text); }
.post-preview .card-title a:hover { color: var(--t-gold); }
.content img.img-fluid.rounded { border-radius: 12px !important; }

/* Forum */
.card-header { font-weight: 600; }
.list-group-item-action:hover { background: var(--t-surface2); }
.form-text { color: var(--t-muted); }
.btn-close { filter: invert(1); opacity: .7; }
.nav-tabs { --bs-nav-tabs-border-color: var(--t-line); --bs-nav-tabs-link-active-bg: var(--t-surface); --bs-nav-tabs-link-active-color: var(--t-gold); --bs-nav-tabs-link-active-border-color: var(--t-line) var(--t-line) var(--t-surface); --bs-nav-link-color: var(--t-muted); --bs-nav-link-hover-color: var(--t-text); }
.dropdown-divider { border-color: var(--t-line); }
hr { border-color: var(--t-line); opacity: 1; }

.breadcrumb { --bs-breadcrumb-bg: transparent; background: transparent !important; border: 0; }
nav[aria-label="breadcrumb"], nav[aria-label="Breadcrumb"] { background: transparent; }
.content .bg-body-tertiary { background: transparent !important; }
