/* ═══════════════════════════════════════════════════════════════
   Recht oder Ungerecht – Theme CSS
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
    --rou-navy: #0E1A2B;
    --rou-navy-dark: #0a1220;
    --rou-sand: #E8E2D6;
    --rou-gold: #C2A96B;
    --rou-ink: #101521;
    --rou-muted: #6b7280;
    --rou-card: #121f35;
    --rou-card2: #0f1a2e;
    --rou-border: rgba(232, 226, 214, 0.18);
    --rou-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    --rou-radius: 18px;
    --rou-radius2: 24px;
    --rou-max: 1100px;
    --rou-gold-glow: rgba(194, 169, 107, 0.22);
    --rou-sand-soft: rgba(232, 226, 214, 0.86);
    --rou-sand-muted: rgba(232, 226, 214, 0.78);
    --rou-sand-dim: rgba(232, 226, 214, 0.06);
    --rou-sand-subtle: rgba(232, 226, 214, 0.05);
    --rou-gold-border: rgba(194, 169, 107, 0.35);
    --rou-gold-bg: rgba(194, 169, 107, 0.12);
    --rou-gold-border-light: rgba(194, 169, 107, 0.26);

    /* Cookie Banner Button Colors */
    --rou-cookie-btn-primary: #1a1a2e;
    --rou-cookie-btn-secondary: #b0a99f;
}

/* ─── Accessibility Utilities ───────────────────────────────── */

/* Screen Reader Only - Visually hidden but accessible */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip Link - Visible on focus */
.skip-link {
    background: var(--rou-gold);
    color: var(--rou-navy);
    font-weight: 700;
    left: 50%;
    padding: 12px 24px;
    position: absolute;
    transform: translateX(-50%) translateY(-100%);
    transition: transform 0.2s ease;
    z-index: 100000;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateX(-50%) translateY(0);
    outline: 2px solid var(--rou-sand);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Global Focus Styles */
:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

/* ─── Base Reset & Overrides ────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    background: var(--rou-navy) !important;
    color: var(--rou-sand) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--rou-gold);
}

::selection {
    background: var(--rou-gold);
    color: var(--rou-navy);
}

/* ─── Override Bootstrap Reboot ──────────────────────────────── */
/* Bootstrap _reboot kompiliert in bootstrap.min.css setzt eigene
   body/bg/color/link-Werte. Hier werden alle relevanten
   CSS-Variablen und Selektoren auf das Theme zurückgesetzt. */

:root,
[data-bs-theme="dark"] {
    --bs-body-bg: var(--rou-navy);
    --bs-body-color: var(--rou-sand);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.6;
    --bs-emphasis-color: var(--rou-sand);
    --bs-link-color: var(--rou-gold);
    --bs-link-hover-color: var(--rou-gold);
    --bs-border-color: var(--rou-border);
    --bs-heading-color: var(--rou-sand);
    --bs-secondary-bg: var(--rou-card);
    --bs-tertiary-bg: var(--rou-card2);
    --bs-code-color: var(--rou-gold);
    --bs-highlight-color: var(--rou-sand);
    --bs-highlight-bg: transparent;
    color-scheme: dark;
}

/* Reboot: Absätze, Überschriften, Listen */
h1, h2, h3, h4, h5, h6 {
    color: var(--rou-sand);
    margin-top: 0;
}

p {
    color: var(--rou-sand-soft);
}

hr {
    border-color: var(--rou-border);
    opacity: 1;
}

/* Reboot: Links – Bootstrap setzt eigene Farben + Underline */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--rou-gold);
}

/* Reboot: mark – Bootstrap setzt eigene Highlight-Farben */
.mark, mark {
    padding: 0;
    color: var(--rou-sand);
    background-color: transparent;
}

/* Reboot: Tabellen, Code, Pre */
pre, code, kbd, samp {
    color: var(--rou-gold);
}

/* Reboot: Formulare – Bootstrap überschreibt input/textarea/button */
button, input, optgroup, select, textarea {
    color: var(--rou-sand);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Container Override ────────────────────────────────────── */
.container {
    max-width: var(--rou-max) !important;
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR / NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(14, 26, 43, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rou-border);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.brand:hover {
    color: var(--rou-sand);
}

.brand .mark {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--rou-gold);
    flex-shrink: 0;
}

.brand .mark img,
.brand .mark .custom-logo {
    height: 40px;
    width: auto;
}

.brand .name {
    line-height: 1;
}

.brand .brand-title {
    display: block;
    letter-spacing: 0.6px;
    font-size: 15px;
}

.brand .brand-desc {
    display: inline;
    font-size: 12px;
    color: rgba(232, 226, 214, 0.75);
    margin-top: 3px;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.main-nav a,
.main-nav .menu-item a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    text-decoration: none !important;
    color: var(--rou-sand-soft) !important;
    padding: 8px 14px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a i,
.main-nav .menu-item a i {
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover i,
.main-nav .menu-item a:hover i {
    opacity: 1;
    color: var(--rou-gold);
}

.main-nav a:hover,
.main-nav .menu-item a:hover {
    background: var(--rou-sand-dim);
    color: var(--rou-sand) !important;
}

.main-nav .menu-item {
    list-style: none;
}

/* Mobile Toggle */
.nav-toggle {
    background: var(--rou-sand-dim);
    border: 1px solid var(--rou-border);
    color: var(--rou-sand);
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    max-width: 42px;
    padding: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: rgba(232, 226, 214, 0.1);
}

/* Offcanvas Mobile Menu */
.rou-offcanvas {
    background: var(--rou-navy) !important;
    border-left: 1px solid var(--rou-border) !important;
    max-width: 300px;
}

.rou-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--rou-border);
    padding: 18px 20px;
}

.rou-offcanvas .offcanvas-title {
    color: var(--rou-sand);
    font-size: 16px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
}

.mobile-nav a,
.mobile-nav .menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none !important;
    color: var(--rou-sand-soft) !important;
    font-size: 15px;
    transition: background 0.2s ease;
}

.mobile-nav a i,
.mobile-nav .menu-item a i {
    width: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    color: var(--rou-gold);
}

.mobile-nav a:hover,
.mobile-nav .menu-item a:hover {
    background: var(--rou-sand-dim);
}

.mobile-nav a:hover i,
.mobile-nav .menu-item a:hover i {
    opacity: 1;
}

.mobile-nav .menu-item {
    list-style: none;
}

.mobile-nav ul {
    padding: 0;
    margin: 0;
}

/* Footer-Menü im Mobile Offcanvas */
.mobile-footer-nav a,
.mobile-footer-nav .menu-item a {
    font-size: 13px;
    padding: 10px 16px;
    opacity: 0.8;
}

.mobile-footer-nav a i {
    font-size: 12px;
    width: 18px;
}

.mobile-footer-nav a:hover,
.mobile-footer-nav .menu-item a:hover {
    opacity: 1;
}

/* Dark Mode Toggle im Mobile Offcanvas */
.mobile-darkmode-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
}

.mobile-darkmode-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--rou-sand-soft);
}

[data-bs-theme="light"] .mobile-darkmode-label {
    color: #1a1a2e;
}

.mobile-darkmode-wrap .darkmode-switch {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-rou {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(194, 169, 107, 0.45);
    background: linear-gradient(180deg, var(--rou-gold-glow), rgba(194, 169, 107, 0.08));
    color: var(--rou-sand) !important;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.btn-rou:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    color: var(--rou-sand) !important;
}

.btn-rou.secondary {
    border: 1px solid var(--rou-border);
    background: var(--rou-sand-dim);
}

.btn-rou.secondary:hover {
    background: rgba(232, 226, 214, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   BADGE / PILL
   ═══════════════════════════════════════════════════════════════ */
.rou-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--rou-sand-dim);
    border: 1px solid var(--rou-border);
    color: rgba(232, 226, 214, 0.9);
    font-size: 13px;
}

.rou-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rou-gold);
    flex-shrink: 0;
}

.rou-pill {
    background: var(--rou-sand-subtle);
    border: 1px solid var(--rou-border);
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    color: rgba(232, 226, 214, 0.85);
}

.rou-pill strong {
    color: var(--rou-sand);
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.rou-card {
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.92), rgba(15, 26, 46, 0.92));
    border: 1px solid var(--rou-border);
    border-radius: var(--rou-radius2);
    box-shadow: var(--rou-shadow);
    padding: 22px;
}

.rou-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    color: var(--rou-sand);
}

.rou-card p {
    margin: 0;
    color: var(--rou-sand-muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Mini rows inside cards */
.rou-mini {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.rou-mini .row-item {
    background: var(--rou-sand-subtle);
    border: 1px solid rgba(232, 226, 214, 0.10);
    padding: 14px;
    border-radius: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rou-mini .icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--rou-gold-bg);
    border: 1px solid rgba(194, 169, 107, 0.28);
    display: grid;
    place-items: center;
    color: var(--rou-gold);
    font-weight: 800;
    font-size: 14px;
    flex: 0 0 auto;
}

.rou-mini .icon i {
    font-size: 14px;
}

.rou-mini .row-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.rou-mini .row-item span {
    color: var(--rou-sand-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    padding: 52px 0 30px;
    background:
        radial-gradient(900px 320px at 20% 10%, rgba(194, 169, 107, 0.18), transparent 60%),
        radial-gradient(900px 320px at 80% 0%, rgba(232, 226, 214, 0.10), transparent 55%);
}

.hero-section h1 {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.05;
    margin: 16px 0 14px;
    letter-spacing: -0.6px;
    color: var(--rou-sand);
}

.hero-section .lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--rou-sand-soft);
    margin: 0 0 20px;
    max-width: 62ch;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-kpis {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (general)
   ═══════════════════════════════════════════════════════════════ */
.rou-section {
    padding: 48px 0;
}

.rou-section h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin: 0 0 10px;
    color: var(--rou-sand);
}

.rou-section .section-sub {
    color: var(--rou-sand-muted);
    margin: 0 0 22px;
    max-width: 70ch;
    line-height: 1.65;
    font-size: 15px;
}

.rou-section .hint {
    font-size: 12px;
    color: rgba(232, 226, 214, 0.7);
    line-height: 1.5;
}

/* Inline Links in Text (hints, form-hints, paragraphs) */
.hint a,
.form-hint a,
.rou-section p a,
.rou-card p a,
.cookie-banner__text a {
    color: var(--rou-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.hint a:hover,
.form-hint a:hover,
.rou-section p a:hover,
.rou-card p a:hover,
.cookie-banner__text a:hover {
    color: var(--rou-sand);
}

/* ═══════════════════════════════════════════════════════════════
   CASE CARDS (Fälle)
   ═══════════════════════════════════════════════════════════════ */
.case-card {
    border-radius: var(--rou-radius2);
    padding: 0;
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.75), rgba(15, 26, 46, 0.75));
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card-thumb {
    overflow: hidden;
    max-height: 200px;
}

.case-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease;
}

.case-card:hover .case-card-thumb img {
    transform: scale(1.05);
}

.case-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.case-card-body::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--rou-gold-glow), transparent 65%);
    transform: rotate(10deg);
    pointer-events: none;
}

.case-card .tag {
    display: inline-block;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--rou-gold-bg);
    border: 1px solid var(--rou-gold-border-light);
    color: rgba(232, 226, 214, 0.92);
    margin-bottom: 12px;
    position: relative;
}

.case-card h4 {
    margin: 0 0 8px;
    font-size: 17px;
    position: relative;
    color: var(--rou-sand);
}

.case-card h4 a {
    text-decoration: none;
    color: inherit;
}

.case-card h4 a:hover {
    color: var(--rou-gold);
}

.case-card p {
    margin: 0;
    color: var(--rou-sand-muted);
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    flex: 1;
}

.case-card .case-meta {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.case-meta span {
    font-size: 12px;
    color: rgba(232, 226, 214, 0.75);
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rou-sand-subtle);
    border: 1px solid rgba(232, 226, 214, 0.10);
}

.case-card .btn-case {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rou-gold);
    border: 1px solid var(--rou-gold-border-light);
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.case-card .btn-case:hover {
    background: var(--rou-gold);
    color: var(--rou-navy);
    transform: translateX(3px);
}

.case-card .btn-case i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.case-card .btn-case:hover i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════
   FALL – ÖFFENTLICHE DOKUMENTE
   ═══════════════════════════════════════════════════════════════ */
.fall-dokumente {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--rou-border);
}

.fall-dokumente h3 {
    font-size: 20px;
    color: var(--rou-sand);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
}

.fall-dokumente-hint {
    font-size: 13px;
    color: var(--rou-sand-muted);
    margin: 0 0 20px;
    line-height: 1.5;
}

.dok-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dok-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--rou-radius2);
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.6), rgba(15, 26, 46, 0.6));
    text-decoration: none;
    color: var(--rou-sand);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dok-item:hover {
    border-color: var(--rou-gold-border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    color: var(--rou-sand);
}

.dok-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--rou-gold-bg);
    border: 1px solid var(--rou-gold-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--rou-gold);
}

.dok-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dok-titel {
    font-size: 14px;
    font-weight: 600;
    color: var(--rou-sand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dok-desc {
    font-size: 12px;
    color: var(--rou-sand-muted);
    line-height: 1.4;
}

.dok-meta {
    font-size: 11px;
    color: rgba(232, 226, 214, 0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.dok-action {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--rou-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--rou-sand-muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dok-item:hover .dok-action {
    background: var(--rou-gold);
    color: var(--rou-navy);
    border-color: var(--rou-gold);
}

@media (max-width: 575.98px) {
    .dok-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .dok-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .dok-titel {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRINZIPIEN SECTION
   ═══════════════════════════════════════════════════════════════ */
.rules-list {
    padding-left: 20px;
}

.rules-list li {
    margin: 12px 0;
    color: rgba(232, 226, 214, 0.84);
    line-height: 1.65;
    font-size: 14px;
}

.rules-list li strong {
    color: var(--rou-sand);
}

/* ═══════════════════════════════════════════════════════════════
   FORM SECTION (Mitmachen)
   ═══════════════════════════════════════════════════════════════ */
.rou-form .form-label {
    font-size: 13px;
    color: rgba(232, 226, 214, 0.82);
    margin-bottom: 6px;
}

.rou-form .form-control {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(232, 226, 214, 0.14);
    background: var(--rou-sand-dim) !important;
    color: var(--rou-sand) !important;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rou-form .form-control::placeholder {
    color: rgba(232, 226, 214, 0.4);
}

.rou-form .form-control:focus {
    border-color: rgba(194, 169, 107, 0.55);
    box-shadow: 0 0 0 3px rgba(194, 169, 107, 0.12);
    background: rgba(232, 226, 214, 0.08) !important;
}

.rou-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Form hints and required marker */
.rou-form .form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--rou-sand-soft);
    opacity: 0.7;
}

.rou-form .required {
    color: #ef4444;
    font-weight: 600;
}

/* File input styling */
.rou-form input[type="file"].form-control {
    padding: 10px 14px;
    cursor: pointer;
}

.rou-form input[type="file"].form-control::file-selector-button {
    background: var(--rou-gold-bg);
    border: 1px solid var(--rou-gold-border);
    color: var(--rou-sand);
    padding: 6px 14px;
    border-radius: 8px;
    margin-right: 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease;
}

.rou-form input[type="file"].form-control::file-selector-button:hover {
    background: var(--rou-gold-glow);
}

/* Honeypot */
.rou-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Form status message */
.form-status {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    display: none;
    margin-top: 12px;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION (Accordion)
   ═══════════════════════════════════════════════════════════════ */
.rou-accordion .accordion-item {
    border: 1px solid var(--rou-border);
    border-radius: 16px !important;
    background: rgba(232, 226, 214, 0.04) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.rou-accordion .accordion-button {
    background: transparent !important;
    color: var(--rou-sand) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 18px;
    box-shadow: none !important;
    border: none;
}

.rou-accordion .accordion-button::after {
    filter: invert(0.85);
}

.rou-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(0.85);
}

.rou-accordion .accordion-button:focus {
    box-shadow: none !important;
}

.rou-accordion .accordion-body {
    padding: 0 18px 18px;
    color: var(--rou-sand-muted);
    line-height: 1.65;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   PRESSE SECTION
   ═══════════════════════════════════════════════════════════════ */
.press-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: var(--rou-radius);
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, var(--rou-gold-bg), rgba(232, 226, 214, 0.04));
}

.press-box strong {
    display: block;
    color: var(--rou-sand);
}

.press-box span {
    color: var(--rou-sand-muted);
    font-size: 14px;
}

.press-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--rou-border);
    padding: 28px 0 40px;
    color: rgba(232, 226, 214, 0.7);
    font-size: 13px;
    background: var(--rou-navy-dark);
}

.footer-brand {
    color: rgba(232, 226, 214, 0.88);
    font-size: 15px;
}

.footer-desc {
    margin-top: 8px;
    line-height: 1.65;
    max-width: 50ch;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--rou-sand-dim);
    border: 1px solid var(--rou-border);
    display: grid;
    place-items: center;
    color: var(--rou-sand-muted);
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none !important;
}

.footer-social a:hover {
    background: var(--rou-gold-bg);
    color: var(--rou-gold);
    border-color: var(--rou-gold-border-light);
}

.footer-legal {
    margin-bottom: 12px;
}

.footer-legal a,
.footer-legal .menu-item a {
    color: rgba(232, 226, 214, 0.78);
    text-decoration: none;
    margin-left: 14px;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal .menu-item a:hover {
    text-decoration: underline;
    color: var(--rou-sand);
}

.footer-legal .menu-item {
    display: inline;
    list-style: none;
}

.footer-legal ul {
    margin: 0;
    padding: 0;
}

.footer-copy {
    color: rgba(232, 226, 214, 0.55);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE / SINGLE TEMPLATES
   ═══════════════════════════════════════════════════════════════ */
.page-header {
    padding: 52px 0 28px;
    background:
        radial-gradient(700px 250px at 30% 20%, rgba(194, 169, 107, 0.12), transparent 60%);
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0;
    line-height: 1.15;
}

.page-content {
    padding: 36px 0 60px;
}

.page-content .entry-content {
    max-width: 780px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--rou-sand-soft);
}

.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4 {
    color: var(--rou-sand);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.page-content .entry-content a {
    color: var(--rou-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content .entry-content a:hover {
    text-decoration: none;
}

.page-content .entry-content blockquote {
    border-left: 3px solid var(--rou-gold);
    padding: 12px 20px;
    margin: 20px 0;
    background: var(--rou-sand-dim);
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: var(--rou-sand-muted);
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    padding-left: 22px;
}

.page-content .entry-content li {
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE FALL TEMPLATE
   ═══════════════════════════════════════════════════════════════ */
.fall-hero-inner {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rou-border);
    background:
        radial-gradient(800px 300px at 25% 15%, rgba(194, 169, 107, 0.15), transparent 60%),
        radial-gradient(600px 200px at 75% 5%, rgba(232, 226, 214, 0.08), transparent 55%);
    border-radius: var(--rou-radius2);
    padding: 28px 24px 24px;
}

/* Beitragsbild VOR dem Hero */
.fall-hero-image {
    position: relative;
    border-radius: var(--rou-radius2);
    overflow: hidden;
    margin-bottom: 0;
    max-height: 420px;
    min-height: 200px;
    border: none;
}

.fall-hero-img {
    width: 100%;
    min-height: 200px;
    display: block;
    border-radius: var(--rou-radius2);
    object-fit: cover;
    object-position: top center;
    border: none;
}

@media (max-width: 767.98px) {
    .fall-hero-image {
        max-height: none;
        min-height: auto;
        border-radius: 12px;
    }
    .fall-hero-img {
        min-height: auto;
        max-height: none;
        object-fit: contain;
        height: auto;
    }
}

.fall-hero-image-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top,
        var(--rou-navy) 0%,
        rgba(14, 26, 43, 0.85) 30%,
        rgba(14, 26, 43, 0.4) 60%,
        transparent 100%
    );
    pointer-events: none;
    border-radius: 0 0 var(--rou-radius2) var(--rou-radius2);
}

/* Hero-Text über das Bild-Fade legen */
.fall-hero-inner.has-thumb {
    position: relative;
    z-index: 2;
    margin-top: -100px;
    background: none;
    border-bottom: 1px solid var(--rou-border);
    padding-top: 16px;
}

.fall-hero-inner.has-thumb h1 {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.fall-hero-inner.has-thumb .lead {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    .fall-hero-inner.has-thumb {
        margin-top: -70px;
    }
}

.fall-meta-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.fall-content {
    padding: 36px 0 60px;
}

.fall-container {
    max-width: 1320px !important;
}

.fall-content .entry-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--rou-sand-soft);
}

/* ── Fall Sidebar ────────────────────────────────────────────── */
.fall-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-section {
    border-radius: var(--rou-radius2);
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.65), rgba(15, 26, 46, 0.65));
    padding: 20px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--rou-sand);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: var(--rou-gold);
    font-size: 16px;
}

/* Sidebar Dokumente */
.sidebar-section .dok-list {
    gap: 8px;
}

.sidebar-section .dok-item {
    padding: 10px 12px;
    gap: 10px;
}

.sidebar-section .dok-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: 8px;
}

.sidebar-section .dok-titel {
    font-size: 13px;
}

.sidebar-section .dok-desc {
    font-size: 11px;
}

.sidebar-section .dok-meta {
    font-size: 10px;
}

.sidebar-section .dok-action {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* Sidebar Galerie */
.fall-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-thumb {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--rou-border);
    aspect-ratio: 1;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb:hover {
    border-color: var(--rou-gold-border-light);
    transform: scale(1.03);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
}

/* Sidebar Empty State */
.sidebar-empty {
    text-align: center;
    padding: 20px 10px;
    color: var(--rou-sand-muted);
}

.sidebar-empty i {
    font-size: 28px;
    opacity: 0.35;
    margin-bottom: 10px;
    display: block;
    color: var(--rou-sand-muted);
}

.sidebar-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.7;
}

/* Sidebar Info Hinweis */
.sidebar-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(194, 169, 107, 0.08);
    border-color: var(--rou-gold-border-light);
}

.sidebar-info > i {
    color: var(--rou-gold);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sidebar-info p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--rou-sand-muted);
}

/* ── Fall Kommentare ──────────────────────────────────────────── */
.fall-comments {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--rou-border);
    max-width: 780px;
}

.fall-comments .comments-title {
    font-size: 20px;
    color: var(--rou-sand);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fall-comments .comments-title::before {
    content: '\f086';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--rou-gold);
    font-size: 18px;
}

.fall-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fall-comments .comment-list .comment {
    margin-bottom: 20px;
}

.fall-comments .comment-list .children {
    list-style: none;
    padding-left: 24px;
    margin: 16px 0 0;
    border-left: 2px solid var(--rou-border);
}

.fall-comments .comment-body {
    border-radius: var(--rou-radius2);
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.55), rgba(15, 26, 46, 0.55));
    padding: 18px 20px;
}

.fall-comments .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.fall-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fall-comments .comment-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.fall-comments .comment-author .fn {
    font-weight: 700;
    font-size: 14px;
    color: var(--rou-sand);
}

.fall-comments .comment-author .fn a {
    color: var(--rou-sand);
    text-decoration: none;
}

.fall-comments .comment-author .says {
    display: none;
}

.fall-comments .comment-metadata {
    font-size: 12px;
    color: var(--rou-sand-muted);
}

.fall-comments .comment-metadata a {
    color: var(--rou-sand-muted);
    text-decoration: none;
}

.fall-comments .comment-metadata a:hover {
    color: var(--rou-gold);
}

.fall-comments .comment-content {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(232, 226, 214, 0.85);
}

.fall-comments .comment-content p {
    margin: 0 0 8px;
}

.fall-comments .comment-content p:last-child {
    margin-bottom: 0;
}

.fall-comments .reply {
    margin-top: 8px;
}

.fall-comments .reply a,
.fall-comments .comment-reply-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--rou-gold);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--rou-gold-border-light);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.fall-comments .reply a:hover,
.fall-comments .comment-reply-link:hover {
    background: var(--rou-gold);
    color: var(--rou-navy);
}

/* Kommentar-Formular */
.fall-comments .comment-respond {
    margin-top: 32px;
}

.fall-comments .comment-reply-title {
    font-size: 18px;
    color: var(--rou-sand);
    margin: 0 0 16px;
}

.fall-comments .comment-reply-title small {
    display: block;
    margin-top: 6px;
}

.fall-comments .comment-reply-title small a {
    font-size: 13px;
    color: var(--rou-gold);
    text-decoration: none;
}

.fall-comments .comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--rou-sand-muted);
    margin-bottom: 4px;
}

.fall-comments .comment-form .comment-form-comment,
.fall-comments .comment-form .comment-form-author,
.fall-comments .comment-form .comment-form-email,
.fall-comments .comment-form .comment-form-url {
    margin-bottom: 16px;
}

.fall-comments .comment-form input[type="text"],
.fall-comments .comment-form input[type="email"],
.fall-comments .comment-form input[type="url"],
.fall-comments .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--rou-radius2);
    border: 1px solid var(--rou-border);
    background: rgba(15, 26, 46, 0.7);
    color: var(--rou-sand);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    outline: none;
}

.fall-comments .comment-form input:focus,
.fall-comments .comment-form textarea:focus {
    border-color: var(--rou-gold);
    box-shadow: 0 0 0 3px rgba(194, 169, 107, 0.25);
    outline: 2px solid transparent;
}

.fall-comments .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.fall-comments .comment-form .form-submit {
    margin-top: 8px;
}

.fall-comments .comment-form .submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--rou-navy);
    background: var(--rou-gold);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fall-comments .comment-form .submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.fall-comments .comment-notes,
.fall-comments .logged-in-as {
    font-size: 13px;
    color: var(--rou-sand-muted);
    margin-bottom: 16px;
}

.fall-comments .logged-in-as a {
    color: var(--rou-gold);
    text-decoration: none;
}

.fall-comments .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fall-comments .comment-form-cookies-consent label {
    display: inline;
    font-size: 12px;
    font-weight: 400;
}

.fall-comments .no-comments {
    font-size: 14px;
    color: var(--rou-sand-muted);
    font-style: italic;
}

.fall-comments .no-comments-yet,
.fall-comments .comments-closed {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--rou-radius2);
    border: 1px solid var(--rou-border);
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.45), rgba(15, 26, 46, 0.45));
    margin-bottom: 24px;
}

.fall-comments .no-comments-yet i,
.fall-comments .comments-closed i {
    font-size: 28px;
    opacity: 0.35;
    margin-bottom: 10px;
    display: block;
    color: var(--rou-sand-muted);
}

.fall-comments .comments-closed i {
    color: var(--rou-gold);
    opacity: 0.5;
}

.fall-comments .no-comments-yet p,
.fall-comments .comments-closed p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--rou-sand-muted);
}

.fall-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--rou-border);
}

.fall-nav a {
    text-decoration: none;
    color: var(--rou-sand-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.fall-nav a:hover {
    color: var(--rou-gold);
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE / BLOG
   ═══════════════════════════════════════════════════════════════ */
.archive-header {
    padding: 52px 0 28px;
    background:
        radial-gradient(700px 250px at 30% 20%, rgba(194, 169, 107, 0.12), transparent 60%);
}

.archive-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 10px;
}

.archive-header p {
    color: var(--rou-sand-muted);
    font-size: 15px;
    max-width: 60ch;
    margin: 0;
}

.archive-content {
    padding: 36px 0 60px;
}

/* Blog post cards */
.post-card {
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.80), rgba(15, 26, 46, 0.80));
    border: 1px solid var(--rou-border);
    border-radius: var(--rou-radius2);
    padding: 22px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.post-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.post-card h3 a {
    color: var(--rou-sand);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--rou-gold);
}

.post-card .excerpt {
    color: var(--rou-sand-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.post-card .post-meta {
    font-size: 12px;
    color: rgba(232, 226, 214, 0.6);
}

/* Pagination */
.rou-pagination {
    margin-top: 36px;
}

.rou-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    color: var(--rou-sand-muted);
    border: 1px solid var(--rou-border);
    background: var(--rou-sand-dim);
    margin: 0 3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.rou-pagination .page-numbers.current,
.rou-pagination .page-numbers:hover {
    background: var(--rou-gold-bg);
    border-color: var(--rou-gold-border-light);
    color: var(--rou-gold);
}

/* ═══════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════ */
.error-404 {
    text-align: center;
    padding: 80px 0;
}

.error-404 .error-icon {
    font-size: 72px;
    color: var(--rou-gold);
    margin-bottom: 24px;
    opacity: 0.6;
}

.error-404 h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.error-404 p {
    color: var(--rou-sand-muted);
    font-size: 16px;
    max-width: 50ch;
    margin: 0 auto 28px;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.text-gold {
    color: var(--rou-gold) !important;
}

.bg-navy {
    background: var(--rou-navy) !important;
}

.border-rou {
    border-color: var(--rou-border) !important;
}

/* Smooth fade-in animation */
@keyframes rouFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rou-animate {
    animation: rouFadeUp 0.5s ease forwards;
    opacity: 0;
}

/* Loading spinner for form */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════════════════════════ */
[data-bs-theme="light"] {
    --rou-navy: #f5f3ef;
    --rou-navy-dark: #eae7e1;
    --rou-sand: #1a1a2e;
    --rou-gold: #7a6128;
    --rou-ink: #f0ede7;
    --rou-muted: #6b7280;
    --rou-card: #ffffff;
    --rou-card2: #f9f7f4;
    --rou-border: rgba(26, 26, 46, 0.12);
    --rou-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --rou-gold-glow: rgba(122, 97, 40, 0.18);
    --rou-sand-soft: rgba(26, 26, 46, 0.82);
    --rou-sand-muted: rgba(26, 26, 46, 0.68);
    --rou-sand-dim: rgba(26, 26, 46, 0.06);
    --rou-sand-subtle: rgba(26, 26, 46, 0.04);
    --rou-gold-border: rgba(122, 97, 40, 0.35);
    --rou-gold-bg: rgba(122, 97, 40, 0.10);
    --rou-gold-border-light: rgba(122, 97, 40, 0.25);

    --bs-body-bg: #f5f3ef;
    --bs-body-color: #1a1a2e;
    --bs-emphasis-color: #1a1a2e;
    --bs-link-color: #7a6128;
    --bs-link-hover-color: #5c4a1e;
    --bs-border-color: rgba(26, 26, 46, 0.12);
    --bs-heading-color: #1a1a2e;
    --bs-secondary-bg: #ffffff;
    --bs-tertiary-bg: #f9f7f4;
    --bs-code-color: #7a6128;
    color-scheme: light;
}

[data-bs-theme="light"] body {
    background: #f5f3ef !important;
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .topbar {
    background: rgba(245, 243, 239, 0.92);
    border-bottom-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .brand .brand-title {
    color: #1a1a2e;
}

[data-bs-theme="light"] .brand .brand-desc {
    color: rgba(26, 26, 46, 0.6);
}

[data-bs-theme="light"] .brand:hover {
    color: #1a1a2e;
}

/* Light Mode: Main Navigation */
[data-bs-theme="light"] .main-nav a,
[data-bs-theme="light"] .main-nav .menu-item a {
    color: rgba(26, 26, 46, 0.8) !important;
}

[data-bs-theme="light"] .main-nav a i,
[data-bs-theme="light"] .main-nav .menu-item a i {
    color: inherit;
}

[data-bs-theme="light"] .main-nav a:hover i,
[data-bs-theme="light"] .main-nav .menu-item a:hover i {
    color: var(--rou-gold-light);
}

[data-bs-theme="light"] .main-nav a:hover,
[data-bs-theme="light"] .main-nav .menu-item a:hover {
    background: rgba(26, 26, 46, 0.06);
    color: #1a1a2e !important;
}

/* Light Mode: Mobile Toggle */
[data-bs-theme="light"] .nav-toggle {
    background: rgba(26, 26, 46, 0.05);
    border-color: rgba(26, 26, 46, 0.12);
    color: #1a1a2e;
}

[data-bs-theme="light"] .nav-toggle:hover {
    background: rgba(26, 26, 46, 0.1);
}

/* Light Mode: Offcanvas Mobile Menu */
[data-bs-theme="light"] .rou-offcanvas {
    background: #ffffff !important;
    border-left-color: rgba(26, 26, 46, 0.12) !important;
}

[data-bs-theme="light"] .rou-offcanvas .offcanvas-header {
    border-bottom-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .rou-offcanvas .offcanvas-title {
    color: #1a1a2e;
}

[data-bs-theme="light"] .mobile-nav a,
[data-bs-theme="light"] .mobile-nav .menu-item a {
    color: rgba(26, 26, 46, 0.8) !important;
}

[data-bs-theme="light"] .mobile-nav a i,
[data-bs-theme="light"] .mobile-nav .menu-item a i {
    color: var(--rou-gold-light);
}

[data-bs-theme="light"] .mobile-nav a:hover,
[data-bs-theme="light"] .mobile-nav .menu-item a:hover {
    background: rgba(26, 26, 46, 0.06);
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .btn-close-white {
    filter: none;
}

[data-bs-theme="light"] .site-footer {
    background: #eae7e1;
}

/* Light Mode: Text- und Farbkorrekturen */
[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6 {
    color: #1a1a2e;
}

[data-bs-theme="light"] p {
    color: rgba(26, 26, 46, 0.82);
}

[data-bs-theme="light"] .case-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 247, 244, 0.95));
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .case-card h4 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .case-card p {
    color: rgba(26, 26, 46, 0.72);
}

[data-bs-theme="light"] .case-card .tag {
    background: rgba(154, 125, 59, 0.1);
    border-color: rgba(154, 125, 59, 0.25);
    color: #5a4a2a;
}

[data-bs-theme="light"] .case-meta span {
    color: rgba(26, 26, 46, 0.7);
    background: rgba(26, 26, 46, 0.05);
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .rou-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 244, 0.98));
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .rou-card h3 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .rou-card p {
    color: rgba(26, 26, 46, 0.72);
}

[data-bs-theme="light"] .rou-badge {
    background: rgba(26, 26, 46, 0.06);
    border-color: rgba(26, 26, 46, 0.1);
    color: rgba(26, 26, 46, 0.85);
}

[data-bs-theme="light"] .rou-pill {
    background: rgba(26, 26, 46, 0.04);
    border-color: rgba(26, 26, 46, 0.1);
    color: rgba(26, 26, 46, 0.8);
}

[data-bs-theme="light"] .rou-pill strong {
    color: #1a1a2e;
}

[data-bs-theme="light"] .rou-mini .row-item {
    background: rgba(26, 26, 46, 0.04);
    border-color: rgba(26, 26, 46, 0.08);
}

[data-bs-theme="light"] .rou-mini .row-item strong {
    color: #1a1a2e;
}

[data-bs-theme="light"] .rou-mini .row-item span {
    color: rgba(26, 26, 46, 0.7);
}

[data-bs-theme="light"] .rou-mini .icon {
    background: rgba(154, 125, 59, 0.1);
    border-color: rgba(154, 125, 59, 0.2);
}

[data-bs-theme="light"] .hero-section {
    background:
        radial-gradient(900px 320px at 20% 10%, rgba(154, 125, 59, 0.12), transparent 60%),
        radial-gradient(900px 320px at 80% 0%, rgba(26, 26, 46, 0.06), transparent 55%);
}

[data-bs-theme="light"] .hero-section h1 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .hero-section .lead {
    color: rgba(26, 26, 46, 0.78);
}

[data-bs-theme="light"] .rou-section h2 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .rou-section .section-sub {
    color: rgba(26, 26, 46, 0.7);
}

[data-bs-theme="light"] .rou-section .hint {
    color: rgba(26, 26, 46, 0.6);
}

/* Light Mode: Inline Links in Text */
[data-bs-theme="light"] .hint a,
[data-bs-theme="light"] .form-hint a,
[data-bs-theme="light"] .rou-section p a,
[data-bs-theme="light"] .rou-card p a,
[data-bs-theme="light"] .cookie-banner__text a {
    color: var(--rou-gold-light);
}

[data-bs-theme="light"] .hint a:hover,
[data-bs-theme="light"] .form-hint a:hover,
[data-bs-theme="light"] .rou-section p a:hover,
[data-bs-theme="light"] .rou-card p a:hover,
[data-bs-theme="light"] .cookie-banner__text a:hover {
    color: #5a4a1e;
}

[data-bs-theme="light"] .btn-rou {
    background: linear-gradient(180deg, rgba(154, 125, 59, 0.15), rgba(154, 125, 59, 0.08));
    border-color: rgba(154, 125, 59, 0.4);
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .btn-rou:hover {
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .btn-rou.secondary {
    background: rgba(26, 26, 46, 0.05);
    border-color: rgba(26, 26, 46, 0.12);
}

[data-bs-theme="light"] .btn-rou.secondary:hover {
    background: rgba(26, 26, 46, 0.08);
}

[data-bs-theme="light"] .dok-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 247, 244, 0.9));
    border-color: rgba(26, 26, 46, 0.1);
    color: #1a1a2e;
}

[data-bs-theme="light"] .dok-item:hover {
    color: #1a1a2e;
    border-color: rgba(154, 125, 59, 0.3);
}

[data-bs-theme="light"] .dok-info strong {
    color: #1a1a2e;
}

[data-bs-theme="light"] .dok-info span {
    color: rgba(26, 26, 46, 0.65);
}

[data-bs-theme="light"] .fall-dokumente h3 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .fall-dokumente-hint {
    color: rgba(26, 26, 46, 0.65);
}

[data-bs-theme="light"] .footer-desc {
    color: rgba(26, 26, 46, 0.7);
}

[data-bs-theme="light"] .footer-copy {
    color: rgba(26, 26, 46, 0.55);
}

[data-bs-theme="light"] .footer-legal a,
[data-bs-theme="light"] .footer-legal .menu-item a {
    color: rgba(26, 26, 46, 0.7);
}

[data-bs-theme="light"] .footer-legal a:hover,
[data-bs-theme="light"] .footer-legal .menu-item a:hover {
    color: #7a6128;
}

[data-bs-theme="light"] .footer-social a {
    color: rgba(26, 26, 46, 0.6);
    border-color: rgba(26, 26, 46, 0.12);
}

[data-bs-theme="light"] .footer-social a:hover {
    color: #7a6128;
    border-color: rgba(122, 97, 40, 0.35);
}

[data-bs-theme="light"] .nav-link {
    color: rgba(26, 26, 46, 0.8);
}

[data-bs-theme="light"] .nav-link:hover,
[data-bs-theme="light"] .nav-link.active {
    color: #7a6128;
}

[data-bs-theme="light"] .brand-text {
    color: #1a1a2e;
}

/* Light Mode: Press Box */
[data-bs-theme="light"] .press-box {
    background: linear-gradient(180deg, rgba(122, 97, 40, 0.08), rgba(26, 26, 46, 0.03));
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .press-box strong {
    color: #1a1a2e;
}

[data-bs-theme="light"] .press-box span {
    color: rgba(26, 26, 46, 0.7);
}

/* Light Mode: Accordion (FAQ) */
[data-bs-theme="light"] .rou-accordion .accordion-item {
    background: rgba(26, 26, 46, 0.03) !important;
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .rou-accordion .accordion-button {
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .rou-accordion .accordion-button::after {
    filter: none;
}

[data-bs-theme="light"] .rou-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
}

[data-bs-theme="light"] .rou-accordion .accordion-body {
    color: rgba(26, 26, 46, 0.75);
}

/* Light Mode: Form */
[data-bs-theme="light"] .rou-form .form-label {
    color: rgba(26, 26, 46, 0.78);
}

[data-bs-theme="light"] .rou-form .form-control {
    background: rgba(26, 26, 46, 0.04) !important;
    border-color: rgba(26, 26, 46, 0.12);
    color: #1a1a2e !important;
}

[data-bs-theme="light"] .rou-form .form-control::placeholder {
    color: rgba(26, 26, 46, 0.4);
}

[data-bs-theme="light"] .rou-form .form-control:focus {
    border-color: rgba(122, 97, 40, 0.5);
    box-shadow: 0 0 0 3px rgba(122, 97, 40, 0.1);
    background: rgba(26, 26, 46, 0.02) !important;
}

/* Light Mode: Rules List */
[data-bs-theme="light"] .rules-list li {
    color: rgba(26, 26, 46, 0.78);
}

[data-bs-theme="light"] .rules-list li strong {
    color: #1a1a2e;
}

/* Light Mode: Form Status */
[data-bs-theme="light"] .form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #166534;
}

[data-bs-theme="light"] .form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

/* Light Mode: Form hints */
[data-bs-theme="light"] .rou-form .form-hint {
    color: rgba(26, 26, 46, 0.6);
}

[data-bs-theme="light"] .rou-form input[type="file"].form-control::file-selector-button {
    background: rgba(122, 97, 40, 0.1);
    border-color: rgba(122, 97, 40, 0.25);
    color: #1a1a2e;
}

[data-bs-theme="light"] .rou-form input[type="file"].form-control::file-selector-button:hover {
    background: rgba(122, 97, 40, 0.18);
}

/* Light Mode: Single Fall Template */
[data-bs-theme="light"] .fall-hero-inner {
    background:
        radial-gradient(800px 300px at 25% 15%, rgba(122, 97, 40, 0.1), transparent 60%),
        radial-gradient(600px 200px at 75% 5%, rgba(26, 26, 46, 0.05), transparent 55%);
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .fall-hero-inner h1 {
    color: #1a1a2e;
}

[data-bs-theme="light"] .fall-hero-inner .lead {
    color: rgba(26, 26, 46, 0.78) !important;
}

[data-bs-theme="light"] .fall-hero-inner.has-thumb h1 {
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.8);
}

[data-bs-theme="light"] .fall-hero-inner.has-thumb .lead {
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.6);
}

[data-bs-theme="light"] .fall-hero-image {
    background: #f5f3ef;
    border-radius: var(--rou-radius2) var(--rou-radius2) 0 0;
}

[data-bs-theme="light"] .fall-hero-img {
    border-radius: var(--rou-radius2) var(--rou-radius2) 0 0;
}

[data-bs-theme="light"] .fall-hero-image-fade {
    background: linear-gradient(to top,
        #f5f3ef 0%,
        rgba(245, 243, 239, 0.85) 30%,
        rgba(245, 243, 239, 0.4) 60%,
        transparent 100%
    );
    border-radius: 0;
}

[data-bs-theme="light"] .fall-content .entry-content {
    color: rgba(26, 26, 46, 0.82);
}

[data-bs-theme="light"] .fall-content .entry-content h2,
[data-bs-theme="light"] .fall-content .entry-content h3,
[data-bs-theme="light"] .fall-content .entry-content h4 {
    color: #1a1a2e;
}

/* Light Mode: Fall Sidebar */
[data-bs-theme="light"] .sidebar-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 247, 244, 0.95));
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .sidebar-title {
    color: #1a1a2e;
}

[data-bs-theme="light"] .sidebar-empty {
    color: rgba(26, 26, 46, 0.6);
}

[data-bs-theme="light"] .sidebar-empty i {
    color: rgba(26, 26, 46, 0.4);
}

[data-bs-theme="light"] .sidebar-empty p {
    color: rgba(26, 26, 46, 0.6);
}

[data-bs-theme="light"] .sidebar-info {
    background: rgba(122, 97, 40, 0.08);
    border-color: rgba(122, 97, 40, 0.2);
}

[data-bs-theme="light"] .sidebar-info p {
    color: rgba(26, 26, 46, 0.7);
}

/* Light Mode: Dokumente in Sidebar */
[data-bs-theme="light"] .sidebar-section .dok-item,
[data-bs-theme="light"] .dok-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 247, 244, 0.9));
    border-color: rgba(26, 26, 46, 0.1);
    color: #1a1a2e;
}

[data-bs-theme="light"] .sidebar-section .dok-item:hover,
[data-bs-theme="light"] .dok-item:hover {
    border-color: rgba(122, 97, 40, 0.3);
    color: #1a1a2e;
}

[data-bs-theme="light"] .dok-titel {
    color: #1a1a2e;
}

[data-bs-theme="light"] .dok-desc {
    color: rgba(26, 26, 46, 0.65);
}

[data-bs-theme="light"] .dok-meta {
    color: rgba(26, 26, 46, 0.5);
}

[data-bs-theme="light"] .dok-icon {
    background: rgba(122, 97, 40, 0.1);
    border-color: rgba(122, 97, 40, 0.2);
}

[data-bs-theme="light"] .dok-action {
    border-color: rgba(26, 26, 46, 0.12);
    color: rgba(26, 26, 46, 0.5);
}

/* Light Mode: Galerie */
[data-bs-theme="light"] .gallery-thumb {
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .gallery-thumb:hover {
    border-color: rgba(122, 97, 40, 0.3);
}

/* Light Mode: Fall Kommentare */
[data-bs-theme="light"] .fall-comments {
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .fall-comments .comments-title {
    color: #1a1a2e;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE SWITCH – Footer Icon Button
   ═══════════════════════════════════════════════════════════════ */
.darkmode-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(194, 169, 107, 0.1);
    border: 1px solid var(--rou-gold-border-light);
    color: var(--rou-gold);
    font-size: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.darkmode-switch:hover {
    background: rgba(194, 169, 107, 0.2);
    border-color: var(--rou-gold);
    transform: scale(1.08);
    box-shadow: 0 0 16px var(--rou-gold-glow);
}

.darkmode-switch:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 3px;
}

.darkmode-switch:active {
    transform: scale(0.95);
}

/* Icons */
.darkmode-icon--moon,
.darkmode-icon--sun {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode: Moon visible, Sun hidden */
.darkmode-icon--moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.darkmode-icon--sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode: Sun visible, Moon hidden */
[data-bs-theme="light"] .darkmode-icon--moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-bs-theme="light"] .darkmode-icon--sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #f59e0b;
}

[data-bs-theme="light"] .darkmode-switch {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

[data-bs-theme="light"] .darkmode-switch:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

/* Position: Bottom Full Width */
.cookie-banner--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    overflow: visible;
}

.cookie-banner--bottom .cookie-banner__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    padding: 16px 24px;
    background: var(--rou-navy);
    border-top: 1px solid var(--rou-border);
    backdrop-filter: blur(12px);
    overflow: visible;
}

/* Position: Bottom Left / Right (Box) */
.cookie-banner--bottom-left,
.cookie-banner--bottom-right {
    bottom: 20px;
    max-width: 380px;
    width: calc(100% - 40px);
}

.cookie-banner--bottom-left {
    left: 20px;
}

.cookie-banner--bottom-right {
    right: 20px;
}

.cookie-banner--bottom-left .cookie-banner__content,
.cookie-banner--bottom-right .cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--rou-navy);
    border: 1px solid var(--rou-border);
    border-radius: var(--rou-radius);
    box-shadow: var(--rou-shadow);
}

/* Banner Elements */
.cookie-banner__icon {
    font-size: 24px;
    color: var(--rou-gold);
}

.cookie-banner--bottom .cookie-banner__icon {
    display: none;
}

.cookie-banner--bottom-left .cookie-banner__icon,
.cookie-banner--bottom-right .cookie-banner__icon {
    display: block;
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--rou-sand-soft);
}

.cookie-banner--bottom .cookie-banner__text {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.cookie-banner--bottom-left .cookie-banner__actions,
.cookie-banner--bottom-right .cookie-banner__actions {
    width: 100%;
    justify-content: space-between;
}

.cookie-banner__link {
    font-size: 13px;
    color: var(--rou-sand-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.cookie-banner__link:hover {
    color: var(--rou-gold);
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--primary {
    background: var(--rou-gold);
    color: var(--rou-navy);
}

.cookie-banner__btn--primary:hover {
    background: var(--rou-sand);
    transform: translateY(-1px);
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: var(--rou-sand-soft);
    border: 1px solid var(--rou-border);
}

.cookie-banner__btn--secondary:hover {
    background: var(--rou-sand-dim);
    color: var(--rou-sand);
    border-color: var(--rou-sand-soft);
}

/* Responsive */
@media (max-width: 767.98px) {
    .cookie-banner--bottom .cookie-banner__content {
        display: block;
        text-align: center;
        padding: 14px;
    }

    .cookie-banner__text {
        display: block;
        margin-bottom: 12px;
    }

    .cookie-banner__actions {
        display: block;
        width: 100%;
    }

    .cookie-banner__actions table {
        width: 100%;
    }

    .cookie-banner__btn {
        padding: 10px 8px;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .cookie-banner--bottom-left,
    .cookie-banner--bottom-right {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        width: auto;
    }
}

/* Light Mode */
[data-bs-theme="light"] .cookie-banner__content {
    background: #ffffff;
    border-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .cookie-banner--bottom .cookie-banner__content {
    border-top-color: rgba(26, 26, 46, 0.1);
}

[data-bs-theme="light"] .cookie-banner__text {
    color: rgba(26, 26, 46, 0.8);
}

[data-bs-theme="light"] .cookie-banner__link {
    color: rgba(26, 26, 46, 0.7);
}

[data-bs-theme="light"] .cookie-banner__link:hover {
    color: var(--rou-gold-light);
}

[data-bs-theme="light"] .cookie-banner__icon {
    color: var(--rou-gold-light);
}

[data-bs-theme="light"] .cookie-banner__btn--primary {
    background: var(--rou-gold-light);
    color: #000000;
}

/* Light Mode Cookie Button Variables */
[data-bs-theme="light"] {
    --rou-cookie-btn-primary: #000000;
    --rou-cookie-btn-secondary: #1a1a2e;
    --rou-cookie-btn-secondary-border: #1a1a2e;
}

[data-bs-theme="light"] .cookie-banner__btn--primary:hover {
    background: #5a4a1e;
}

[data-bs-theme="light"] .cookie-banner__btn--secondary {
    color: rgba(26, 26, 46, 0.7);
    border-color: rgba(26, 26, 46, 0.2);
}

[data-bs-theme="light"] .cookie-banner__btn--secondary:hover {
    background: rgba(26, 26, 46, 0.06);
    color: #1a1a2e;
    border-color: rgba(26, 26, 46, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP – Modern Floating Button with Progress Ring
   ═══════════════════════════════════════════════════════════════ */
.btt {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 26, 43, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--rou-gold);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4),
                inset 0 0 0 1px rgba(194, 169, 107, 0.15);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.8);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* SVG Progress Ring */
.btt-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.btt-progress-bg {
    fill: none;
    stroke: rgba(194, 169, 107, 0.12);
    stroke-width: 2;
}

.btt-progress-bar {
    fill: none;
    stroke: var(--rou-gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 131.95; /* 2 * PI * 21 */
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset 0.15s ease-out;
}

/* Icon container */
.btt-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    font-size: 15px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Visible state */
.btt.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover */
.btt:hover {
    background: rgba(14, 26, 43, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                inset 0 0 0 1px var(--rou-gold),
                0 0 24px rgba(194, 169, 107, 0.2);
}

.btt:hover .btt-icon {
    transform: translateY(-3px);
}

.btt:hover .btt-progress-bar {
    stroke: var(--rou-accent, #f59e0b);
}

/* Active (press) */
.btt:active {
    transform: scale(0.92);
    transition-duration: 0.1s;
}

.btt:active .btt-icon {
    transform: translateY(-1px);
}

/* Focus visible */
.btt:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 4px;
}

/* Light mode overrides */
[data-bs-theme="light"] .btt {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12),
                inset 0 0 0 1px rgba(154, 125, 59, 0.2);
}

[data-bs-theme="light"] .btt-progress-bg {
    stroke: rgba(154, 125, 59, 0.15);
}

[data-bs-theme="light"] .btt:hover {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 0 0 1px var(--rou-gold),
                0 0 20px rgba(154, 125, 59, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 36px 0 24px;
    }

    .rou-section {
        padding: 36px 0;
    }

    .fall-sidebar {
        position: static;
        margin-top: 12px;
    }

    .fall-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .brand .mark {
        font-size: 20px !important;
    }

    .brand .mark img,
    .brand .mark .custom-logo {
        height: 50px !important;
        width: auto !important;
    }

    .brand {
        gap: 10px !important;
    }

    .brand .name {
        gap: 2px;
    }

    .brand .brand-title {
        font-size: 14px !important;
        line-height: 1.2;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .press-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        text-align: left !important;
    }

    .footer-legal a:first-child,
    .footer-legal .menu-item:first-child a {
        margin-left: 0;
    }

    .btt {
        bottom: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
    }

    .btt-icon {
        font-size: 14px;
    }

    .btt-progress-bar,
    .btt-progress-bg {
        stroke-width: 2;
    }

    .darkmode-switch {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ─── WP Admin Bar offset ───────────────────────────────────── */
.admin-bar .topbar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .topbar {
        top: 46px;
    }
}
/* ─── Utility Classes (replacing inline styles) ─────────────── */

/* Icon with gold color */
.rou-icon-gold {
    color: var(--rou-gold);
}

/* Icon margin-right variations */
.rou-icon-mr-4 { margin-right: 4px; }
.rou-icon-mr-6 { margin-right: 6px; }
.rou-icon-mr-8 { margin-right: 8px; }
.rou-icon-mr-10 { margin-right: 10px; }

/* Pills with specific sizes */
.rou-pill-sm {
    font-size: 11px;
    padding: 4px 10px;
}

.rou-pill-md {
    font-size: 12px;
    padding: 6px 12px;
}

.rou-pill-lg {
    font-size: 13px;
    padding: 8px 14px;
}

.rou-pill-inline {
    display: inline-block;
    margin-bottom: 10px;
}

.rou-pill-hero {
    display: inline-block;
    margin-bottom: 14px;
}

/* No text decoration for pill links */
.rou-pill-link {
    text-decoration: none;
}

/* Lead paragraph in fall hero */
.fall-lead {
    font-size: 17px;
    color: rgba(232, 226, 214, 0.82);
    max-width: 70ch;
    margin-top: 12px;
}

[data-bs-theme="light"] .fall-lead {
    color: rgba(30, 40, 50, 0.8);
}

/* Post meta muted */
.post-meta-muted {
    font-size: 13px;
    color: rgba(232, 226, 214, 0.65);
}

[data-bs-theme="light"] .post-meta-muted {
    color: rgba(30, 40, 50, 0.65);
}

/* Max-width containers */
.mw-780 { max-width: 780px; }
.mw-900 { max-width: 900px; }

/* Empty state icon */
.rou-empty-icon {
    font-size: 48px;
    color: var(--rou-gold);
    opacity: 0.5;
    margin-bottom: 18px;
}

/* Empty state text */
.rou-empty-text {
    color: rgba(232, 226, 214, 0.7);
    max-width: 50ch;
    margin: 8px auto 24px;
}

[data-bs-theme="light"] .rou-empty-text {
    color: rgba(30, 40, 50, 0.7);
}

/* Hint with margin */
.rou-hint-mt {
    margin-top: 16px;
}

/* Prinzipien section heading */
.rou-prinzipien-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 26px);
}

/* Section sub with no margin bottom */
.section-sub-compact {
    margin: 0 0 14px;
}

/* Button disabled state */
.btn-rou-disabled {
    opacity: 0.5;
    cursor: default;
}

/* Smaller button text */
.btn-rou-sm {
    font-size: 13px;
}