/**
 * Sbrinz-Route Design System & Frontend Stylesheet
 * 100% aligned with Figma Design Tokens & Specifications
 */

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties
   ========================================================================== */
:root {
    /* Brand Colors */
    --brand-red: #A72D1E;
    --brand-red-hover: #8F2417;
    --brand-brown: #5E3D2B;
    --brand-brown-dark: #4A2F20;
    --brand-yellow: #D9A036;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F7F3EC;
    --bg-beige: #F0E9DB;

    /* Neutral Scale */
    --neutral-900: #212121;
    --neutral-800: #333333;
    --neutral-700: #4D4D4D;
    --neutral-500: #707070;
    --neutral-400: #A6A6A6;
    --neutral-300: #CCCCCC;
    --neutral-200: #E6E6E6;
    --neutral-100: #F2F2F2;
    --neutral-50:  #F8F8F8;

    /* Feedback Colors */
    --color-success: #548824;
    --color-error:   #DC2626;
    --color-warning: #D97706;
    --color-info:    #3B82F6;

    /* Typography */
    --font-heading: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Dimensions */
    --max-container: 1440px;
    --max-hero:      1200px;
    --max-content:   792px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-header: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
    --shadow-drawer: 4px 0px 24px 0px rgba(0, 0, 0, 0.20);
    --shadow-card:   0px 2px 6px 0px rgba(0, 0, 0, 0.05);
    --shadow-hover:  0px 8px 20px 0px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
}

/* ==========================================================================
   2. Local Font-Face (Source Sans 3 & Lithos Pro)
   ========================================================================== */
@font-face {
    font-family: 'Source Sans 3';
    src: url('../Fonts/sourcesans3.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../Fonts/sourcesans3-italic.woff2') format('woff2');
    font-weight: 400 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lithos Pro';
    src: url('../Fonts/lithos.woff2') format('woff2'),
         url('../Fonts/lithos.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lithos Pro';
    src: url('../Fonts/lithosbold.woff2') format('woff2'),
         url('../Fonts/lithosbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lithos Pro';
    src: url('../Fonts/lithoslight.woff2') format('woff2'),
         url('../Fonts/lithoslight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   3. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-y: scroll !important;
    scrollbar-gutter: stable;
}


body,
body.mm-wrapper,
.mm-wrapper {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
    background-color: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    padding-bottom: 64px;
}

/* Base Links */
a {
    color: var(--brand-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-red-hover);
    text-decoration: underline;
}

img, picture, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Global Content Element Spacing (Abstand nach unten / Trenner nach oben & unten)
   ========================================================================== */
.ce-element,
.frame {
    margin-bottom: 64px; /* Standard: 64px */
}

/* Modifikatoren: Abstand nach unten für alle Inhaltselemente */
.space-after-none,
.frame-space-after-none {
    margin-bottom: 0 !important;
}

.space-after-xs,
.frame-space-after-xs {
    margin-bottom: 16px !important;
}

.space-after-sm,
.frame-space-after-sm {
    margin-bottom: 32px !important;
}

.space-after-default,
.frame-space-after-default {
    margin-bottom: 64px !important;
}

.space-after-md,
.frame-space-after-md {
    margin-bottom: 96px !important;
}

.space-after-lg,
.frame-space-after-lg {
    margin-bottom: 128px !important;
}

/* Horizontal Rules & Dividers (Trenner) */
hr,
hr.ce-div,
.ce-div {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 1px;
    border: none;
    background-color: #E2D7C3;
    margin-top: 64px;
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.frame-type-div {
    margin-top: 64px;
    margin-bottom: 64px;
    padding-top: 0;
    padding-bottom: 0;
    clear: both;
}

.frame-type-div hr.ce-div {
    margin-top: 0;
    margin-bottom: 0;
}

.ce-bodytext hr,
.text-media-body hr {
    margin-top: 64px;
    margin-bottom: 64px;
}

/* Trenner: Gewählter Abstand gilt symmetrisch nach oben UND unten */
.frame-type-div.frame-space-after-none,
.frame-type-div.frame-space-after-none hr.ce-div,
hr.ce-div.space-after-none {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.frame-type-div.frame-space-after-xs,
.frame-type-div.frame-space-after-xs hr.ce-div,
hr.ce-div.space-after-xs {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

.frame-type-div.frame-space-after-sm,
.frame-type-div.frame-space-after-sm hr.ce-div,
hr.ce-div.space-after-sm {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
}

.frame-type-div.frame-space-after-default,
.frame-type-div.frame-space-after-default hr.ce-div,
hr.ce-div.space-after-default {
    margin-top: 64px !important;
    margin-bottom: 64px !important;
}

.frame-type-div.frame-space-after-md,
.frame-type-div.frame-space-after-md hr.ce-div,
hr.ce-div.space-after-md {
    margin-top: 96px !important;
    margin-bottom: 96px !important;
}

.frame-type-div.frame-space-after-lg,
.frame-type-div.frame-space-after-lg hr.ce-div,
hr.ce-div.space-after-lg {
    margin-top: 128px !important;
    margin-bottom: 128px !important;
}

/* Containers */
.header-container,
.hero-container,
.footer-container {
    max-width: var(--max-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 120px;
    padding-right: 120px;
}

.content-container {
    max-width: var(--max-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 48px;
}

.content-flow {
    max-width: var(--max-content);
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   4. Sticky Header & Navbar (Figma 90:9 / 90:163)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-header);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    transition: height var(--transition-base), padding var(--transition-base);
}

/* Compact Sticky Header on scroll */
.site-header.is-scrolled .navbar {
    height: 56px;
}

/* Menu Toggle Button */
.menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 0;
    color: var(--neutral-900);
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}

.menu-toggle-btn:hover .menu-toggle-label {
    color: var(--brand-red);
}

.menu-toggle-btn:hover .menu-toggle-line {
    background-color: var(--brand-red);
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 20px;
}

.menu-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--neutral-900);
    border-radius: 1px;
    transition: background-color var(--transition-fast);
}

.menu-toggle-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.14px;
    text-transform: uppercase;
    color: var(--neutral-900);
    transition: color var(--transition-fast);
}

/* Site Logo */
.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.site-logo-img {
    height: 54px;
    width: auto;
    transition: height var(--transition-base);
}

.site-header.is-scrolled .site-logo-img {
    height: 40px;
}

/* 1px Dividers */
.header-divider {
    height: 1px;
    background-color: var(--neutral-200);
    width: 100%;
}

/* Breadcrumb Navigation Bar (scrolls out) */
.breadcrumb-bar {
    width: 100%;
    background-color: var(--bg-white);
}

.breadcrumb-nav {
    padding-top: 8px;
    padding-bottom: 8px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link {
    color: var(--brand-red);
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--neutral-500);
    user-select: none;
}

.breadcrumb-current {
    color: var(--neutral-900);
    font-weight: 400;
}

/* ==========================================================================
   5. Hero Banner / Image (Figma 110:162)
   ========================================================================== */
.hero-section {
    width: 100%;
    margin-top: 0;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 333px;
    border-radius: 0;
    overflow: hidden;
    background-color: transparent;
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Hero Banner Component (CTA / Campaign Banner)
   ========================================================================== */
.cb-hero-banner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--brand-brown);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 48px 40px;
    margin-top: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cb-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 38, 30, 0.88) 0%, rgba(58, 38, 30, 0.65) 100%);
    z-index: 1;
}

.cb-hero-banner-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.cb-hero-banner-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 12px;
}

.cb-hero-banner-sub {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #E2B77B;
    margin-bottom: 16px;
}

.cb-hero-banner-body {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.cb-hero-banner-body p {
    margin-bottom: 12px;
    color: inherit;
}

.cb-hero-banner-btn {
    margin-top: 8px;
}

/* ==========================================================================
   Route Stage Component (Wander-Etappe)
   ========================================================================== */
.cb-route-stage-header-group {
    margin-bottom: 24px;
}

.cb-route-stage-header-group .ce-h1 {
    margin-bottom: 8px;
}

.cb-route-stage-header-group .ce-lead {
    margin-bottom: 0;
}

.cb-route-stage {
    background-color: var(--bg-white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cb-route-stage-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 26px;
    line-height: 32px;
    color: var(--brand-red);
    margin-top: 0;
    margin-bottom: 16px;
}

/* Stat Cards Grid in Route Stage */
.cb-route-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .cb-route-meta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.cb-route-stat-card {
    background-color: var(--bg-light);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cb-route-stat-card:hover {
    border-color: var(--neutral-300);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cb-route-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cb-route-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cb-route-stat-label {
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--neutral-600);
}

.cb-route-stat-value {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    word-break: break-word;
}

/* Legacy fallback */
.cb-route-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--neutral-700);
}

.cb-route-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cb-route-meta-item strong {
    color: var(--neutral-900);
}

/* ==========================================================================
   Streckenprofil Card Component (Detailbereich)
   ========================================================================== */
.streckenprofil-card {
    background-color: var(--bg-white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 36px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .streckenprofil-card {
        padding: 20px;
        margin: 24px 0;
    }
}

.streckenprofil-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-200);
}

.streckenprofil-title {
    font-family: var(--font-body);
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--brand-red);
    margin: 0;
}

@media (max-width: 640px) {
    .streckenprofil-title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* ==========================================================================
   Streckenprofil Table Component
   ========================================================================== */
.streckenprofil-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 28px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.streckenprofil-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.streckenprofil-table thead tr {
    background-color: var(--bg-light);
    border-bottom: 2px solid var(--neutral-200);
}

.streckenprofil-table th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--brand-brown);
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border: none !important;
}

.streckenprofil-table th.text-center,
.streckenprofil-table td.text-center {
    text-align: center;
}

.streckenprofil-table th.text-right,
.streckenprofil-table td.text-right {
    text-align: right;
}

.streckenprofil-table tbody tr {
    background-color: #ffffff;
    border-bottom: 1px solid var(--neutral-200);
    transition: background-color 0.15s ease;
}

.streckenprofil-table tbody tr:last-child {
    border-bottom: none;
}

.streckenprofil-table tbody tr:hover {
    background-color: rgba(246, 244, 240, 0.6);
}

.streckenprofil-table td {
    padding: 12px 16px;
    color: var(--neutral-900);
    vertical-align: middle;
    border: none !important;
    border-bottom: 1px solid var(--neutral-200) !important;
}

.streckenprofil-table tbody tr:last-child td {
    border-bottom: none !important;
}

.streckenprofil-variant-title {
    font-weight: 600;
    color: var(--brand-brown);
    display: inline-block;
}

.streckenprofil-route-dir {
    color: var(--neutral-700);
    margin-left: 4px;
}

.streckenprofil-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--bg-light);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    color: var(--neutral-900);
    white-space: nowrap;
}

.streckenprofil-elev {
    white-space: nowrap;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.streckenprofil-elev-up {
    color: #2b7a4b;
    font-weight: 600;
}

.streckenprofil-elev-down {
    color: #a33820;
    font-weight: 600;
}

.streckenprofil-time {
    font-weight: 700;
    color: var(--neutral-900);
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 640px) {
    .streckenprofil-table th,
    .streckenprofil-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.streckenprofil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 860px) {
    .streckenprofil-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.streckenprofil-fact {
    background-color: var(--bg-light);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.streckenprofil-fact-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--neutral-600);
}

.streckenprofil-fact-value {
    display: block;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--neutral-900);
}

.streckenprofil-fact p {
    margin: 0;
}

.streckenprofil-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.streckenprofil-section + .streckenprofil-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px dashed var(--neutral-200);
}

.streckenprofil-section-title {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: var(--neutral-900);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px 0;
}

.streckenprofil-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    flex-shrink: 0;
}

.streckenprofil-section-body {
    font-size: 15px;
    line-height: 24px;
    color: var(--neutral-800);
}

.streckenprofil-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.streckenprofil-list-item {
    position: relative;
    padding-left: 20px;
    line-height: 22px;
}

.streckenprofil-list-item:before {
    content: "•";
    color: var(--brand-red);
    font-size: 18px;
    position: absolute;
    left: 4px;
    top: -1px;
}

.streckenprofil-actions {
    margin-top: 24px;
    padding-top: 0;
}

.streckenprofil-actions,
.streckenprofil-actions > p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.streckenprofil-actions > p {
    width: 100%;
}

.streckenprofil-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-sizing: border-box;
}

.streckenprofil-btn-restaurant {
    background-color: var(--bg-light);
    border: 1.5px solid var(--neutral-300);
    color: var(--brand-brown) !important;
}

.streckenprofil-btn-restaurant:hover {
    background-color: var(--brand-brown);
    border-color: var(--brand-brown);
    color: #ffffff !important;
}

.streckenprofil-btn-hotel {
    background-color: var(--bg-light);
    border: 1.5px solid var(--neutral-300);
    color: var(--brand-brown) !important;
}

.streckenprofil-btn-hotel:hover {
    background-color: var(--brand-brown);
    border-color: var(--brand-brown);
    color: #ffffff !important;
}

.streckenprofil-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    transition: color var(--transition-fast);
}

.streckenprofil-btn:hover .streckenprofil-btn-icon {
    color: #ffffff;
}

@media (max-width: 640px) {
    .streckenprofil-actions,
    .streckenprofil-actions > p {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .streckenprofil-btn {
        width: 100%;
        justify-content: center;
    }
}

.cb-route-body {
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
    margin-bottom: 20px;
}

.cb-route-body p {
    margin-bottom: 12px;
}

.cb-route-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Teaser Cards Component (Kachel-Raster)
   ========================================================================== */
.ce-teaser-cards {
    width: 100%;
}

.teaser-cards-header {
    margin-bottom: 24px;
}

.teaser-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.teaser-cards-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.teaser-cards-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.teaser-cards-grid--four {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    .teaser-cards-grid--four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .teaser-cards-grid--two,
    .teaser-cards-grid--three,
    .teaser-cards-grid--four,
    .teaser-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.cb-teaser-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.cb-teaser-card:has(.cb-teaser-btn),
.cb-teaser-card.cb-teaser-card--linked {
    cursor: pointer;
}

.cb-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.cb-teaser-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--neutral-200);
}

.cb-teaser-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-fast);
}

.cb-teaser-card:hover .cb-teaser-img {
    transform: scale(1.04);
}

.cb-teaser-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.cb-teaser-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.22px;
    color: var(--neutral-900);
    margin-top: 0;
    margin-bottom: 12px;
}

.cb-teaser-text {
    font-size: 15px;
    line-height: 22px;
    color: var(--neutral-700);
    margin-bottom: 20px;
    flex: 1;
}

.cb-teaser-text p {
    margin-bottom: 8px;
}

.cb-teaser-action {
    margin-top: auto;
    align-self: flex-start;
}

.cb-teaser-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Stretched-link: Entire card surface is clickable */
.cb-teaser-card .cb-teaser-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Card hover -> Button hover state matching button style */
.cb-teaser-card:hover .cb-teaser-btn.btn-primary,
.cb-teaser-card:hover .cb-teaser-btn.btn--primary {
    background-color: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
    color: #ffffff !important;
}

.cb-teaser-card:hover .cb-teaser-btn.btn-secondary,
.cb-teaser-card:hover .cb-teaser-btn.btn--secondary {
    background-color: var(--brand-brown-dark);
    border-color: var(--brand-brown-dark);
    color: #ffffff !important;
}

.cb-teaser-card:hover .cb-teaser-btn.btn-outline,
.cb-teaser-card:hover .cb-teaser-btn.btn--outline {
    background-color: var(--bg-light);
    border-color: var(--brand-red);
    color: var(--brand-red) !important;
}

.cb-teaser-card:hover .cb-teaser-btn.btn-ghost,
.cb-teaser-card:hover .cb-teaser-btn.btn--ghost {
    background-color: var(--neutral-100);
    border-color: transparent;
    color: var(--brand-red-dark) !important;
}

.cb-teaser-card:hover .cb-teaser-btn.btn-link,
.cb-teaser-card:hover .cb-teaser-btn.btn--link {
    color: var(--brand-red-dark) !important;
    text-decoration: underline !important;
}

.cb-teaser-btn .btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.cb-teaser-btn:hover .btn-arrow,
.cb-teaser-card:hover .cb-teaser-btn .btn-arrow {
    transform: translateX(4px);
}




/* ==========================================================================
   6. Content Elements & Typography (Figma Design System)
   ========================================================================== */
/* Headings */
.ce-h1, h1 {
    font-family: var(--font-body);
    font-size: 48px;
    line-height: 56px;
    font-weight: 600;
    letter-spacing: 0.96px;
    color: var(--brand-red);
    margin-bottom: 24px;
}

.ce-h2, h2 {
    font-family: var(--font-body);
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    letter-spacing: 0.72px;
    color: var(--neutral-900);
    margin-top: 32px;
    margin-bottom: 16px;
}

.ce-h3, h3 {
    font-family: var(--font-body);
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    letter-spacing: 0.42px;
    color: var(--neutral-900);
    margin-top: 24px;
    margin-bottom: 12px;
}

.ce-h4, h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.22px;
    color: var(--neutral-900);
    margin-top: 20px;
    margin-bottom: 8px;
}

.ce-h5, h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: var(--neutral-900);
    margin-top: 16px;
    margin-bottom: 8px;
}

.ce-lead {
    font-size: 20px;
    line-height: 32px;
    color: var(--neutral-700);
    margin-bottom: 24px;
}

.ce-bodytext {
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
}

.ce-bodytext p {
    margin-bottom: 16px;
}

.ce-bodytext p:last-child {
    margin-bottom: 0;
}

.ce-bodytext ul, .ce-bodytext ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.ce-bodytext li {
    margin-bottom: 6px;
}

.ce-bodytext blockquote {
    border-left: 4px solid var(--brand-red);
    padding-left: 16px;
    margin: 20px 0;
    font-style: italic;
    color: var(--neutral-700);
}

/* ==========================================================================
   Buttons & Call-to-Actions (Figma Button Components)
   ========================================================================== */
.ce-buttons-group,
.btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.16px;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-sizing: border-box;
    border: 1.5px solid transparent;
}

/* Primary Button (Säumerrot) */
.btn-primary,
.btn--primary {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary.is-hover,
.btn--primary:hover,
.btn--primary.is-hover {
    background-color: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
    color: #ffffff !important;
}

.btn-primary:disabled,
.btn-primary.disabled,
.btn-primary.is-disabled,
.btn--primary:disabled,
.btn--primary.disabled,
.btn--primary.is-disabled {
    background-color: var(--neutral-100);
    border-color: var(--neutral-100);
    color: var(--neutral-400) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Secondary Button (Säumerbraun) */
.btn-secondary,
.btn--secondary {
    background-color: var(--brand-brown);
    border-color: var(--brand-brown);
    color: #ffffff !important;
}

.btn-secondary:hover,
.btn-secondary.is-hover,
.btn--secondary:hover,
.btn--secondary.is-hover {
    background-color: var(--brand-brown-dark);
    border-color: var(--brand-brown-dark);
    color: #ffffff !important;
}

.btn-secondary:disabled,
.btn-secondary.disabled,
.btn-secondary.is-disabled,
.btn--secondary:disabled,
.btn--secondary.disabled,
.btn--secondary.is-disabled {
    background-color: var(--neutral-100);
    border-color: var(--neutral-100);
    color: var(--neutral-400) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Outline Button (Umrandet) */
.btn-outline,
.btn--outline {
    background-color: #ffffff;
    border-color: var(--brand-red);
    color: var(--brand-red) !important;
}

.btn-outline:hover,
.btn-outline.is-hover,
.btn--outline:hover,
.btn--outline.is-hover {
    background-color: var(--bg-light);
    border-color: var(--brand-red);
    color: var(--brand-red) !important;
}

.btn-outline:disabled,
.btn-outline.disabled,
.btn-outline.is-disabled,
.btn--outline:disabled,
.btn--outline.disabled,
.btn--outline.is-disabled {
    background-color: #ffffff;
    border-color: var(--neutral-300);
    color: var(--neutral-400) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Ghost Button (Hintergrundlos) */
.btn-ghost,
.btn--ghost {
    background-color: transparent;
    border-color: transparent;
    color: var(--brand-red) !important;
}

.btn-ghost:hover,
.btn-ghost.is-hover,
.btn--ghost:hover,
.btn--ghost.is-hover {
    background-color: var(--bg-light);
    border-color: transparent;
    color: var(--brand-red) !important;
}

.btn-ghost:disabled,
.btn-ghost.disabled,
.btn-ghost.is-disabled,
.btn--ghost:disabled,
.btn--ghost.disabled,
.btn--ghost.is-disabled {
    background-color: transparent;
    border-color: transparent;
    color: var(--neutral-400) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Link Button (Textlink mit Pfeil) */
.btn-link,
.btn--link {
    background-color: transparent;
    border-color: transparent;
    color: var(--brand-red) !important;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover,
.btn-link.is-hover,
.btn--link:hover,
.btn--link.is-hover {
    color: var(--brand-red-hover) !important;
    text-decoration: none !important;
}

.btn-link .btn-arrow,
.btn--link .btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.btn-link:hover .btn-arrow,
.btn-link.is-hover .btn-arrow,
.btn--link:hover .btn-arrow,
.btn--link.is-hover .btn-arrow {
    transform: translateX(4px);
}

.btn-link:disabled,
.btn-link.disabled,
.btn-link.is-disabled,
.btn--link:disabled,
.btn--link.disabled,
.btn--link.is-disabled {
    color: var(--neutral-400) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Secondary Legacy Content & Bottom Content */
.content-legacy-secondary,
.content-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--neutral-200);
}

/* ==========================================================================
   7. Image Gallery Component (Figma 31:472 & Specification)
   ========================================================================== */
.gallery-grid {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
}

/* 1 element: 100% full width */
.gallery-grid--single,
.gallery-grid--count-1 {
    grid-template-columns: 1fr;
}

/* 2 elements: 50% / 50% */
.gallery-grid--two,
.gallery-grid--count-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 elements: 33% / 33% / 33% */
.gallery-grid--three,
.gallery-grid--count-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 elements: 50% / 50% */
.gallery-grid--four,
.gallery-grid--count-4 {
    grid-template-columns: repeat(2, 1fr);
}

/* > 4 elements: 33% / 33% / 33% */
.gallery-grid--many,
.gallery-grid--count-5,
.gallery-grid--count-6,
.gallery-grid--count-7,
.gallery-grid--count-8,
.gallery-grid--count-9,
.gallery-grid--count-10 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: transparent;
}

.gallery-link,
.gallery-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

/* Single image: natural aspect ratio */
.gallery-grid--single .gallery-link,
.gallery-grid--single .gallery-img-wrap {
    aspect-ratio: auto;
    height: auto;
}

.gallery-grid--single .gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-link:hover .gallery-img {
    transform: scale(1.04);
}

.gallery-zoom-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--neutral-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    pointer-events: none;
}

.gallery-link:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: var(--neutral-500);
    margin-top: 6px;
    padding: 0 4px;
}

/* ==========================================================================
   8. Accordion Component (Figma 33:496)
   ========================================================================== */
.ce-accordion {
    width: 100%;
}

.accordion-header {
    margin-bottom: 24px;
}

.accordion-group {
    border-top: 1px solid var(--neutral-200);
}

.accordion-item {
    border-bottom: 1px solid var(--neutral-200);
    overflow: hidden;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    outline: none;
}

.accordion-trigger::-webkit-details-marker {
    display: none;
}

.accordion-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
    flex: 1;
    transition: color var(--transition-base);
}

.accordion-item[open] > .accordion-trigger .accordion-title {
    color: var(--brand-red);
}

.accordion-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--neutral-900);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color var(--transition-base);
}

.accordion-item[open] > .accordion-trigger .accordion-chevron {
    transform: rotate(180deg);
    color: var(--brand-red);
}

.accordion-content {
    padding-bottom: 20px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
    overflow: hidden;
}

.accordion-content p {
    margin-bottom: 12px;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   9. Contact Box Component (Figma 45:929)
   ========================================================================== */
.ce-contact-box {
    background-color: var(--bg-light);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.contact-box-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.22px;
    color: var(--brand-red);
    margin: 0;
}

.contact-box-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
}

.contact-org,
.contact-org-sub {
    font-weight: 600;
}

.contact-box-channels {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
}

.contact-channel--phone .contact-link {
    color: var(--neutral-900);
    text-decoration: none;
}

.contact-channel--email .contact-link {
    color: var(--brand-red);
    text-decoration: none;
}

.contact-channel--email .contact-link:hover {
    text-decoration: underline;
}

.contact-box-action:empty {
    display: none;
}

.ce-contact-box > :last-child,
.contact-box-address > :last-child,
.contact-box-channels > :last-child,
.contact-box-action > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   10. Link List Component (Figma 33:523 / 88:257)
   ========================================================================== */
.ce-link-list {
    width: 100%;
    padding-bottom: 12px;
}

.ce-link-list .link-list-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #1A1A1A;
    margin: 0 0 24px 0;
}

.link-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 6px;
    width: 100%;
}

.link-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.15s ease, transform 0.15s ease;
    color: #8B2317;
    width: 100%;
    min-height: 44px;
}

.link-list-item:hover,
.link-list-item:focus-visible,
.link-list-item.is-active {
    background-color: #F4EBE1;
}

.link-list-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 12px;
    flex-shrink: 0;
    color: #8B2317;
    transition: transform 0.15s ease;
}

.link-list-item:hover .link-list-arrow {
    transform: translateX(3px);
}

.link-list-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #8B2317;
}

@media (max-width: 768px) {
    .link-list-grid {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }
    .link-list-item {
        padding: 10px 12px;
    }
}

/* ==========================================================================
   11. Download List Component (Figma Content / Download List)
   ========================================================================== */
.ce-download-list {
    width: 100%;
}

.download-list-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.25;
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 20px;
}

.download-list-intro {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 24px;
}

.download-list-group {
    width: 100%;
    border-top: 1px solid #E5E5E5;
}

.download-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    border-bottom: 1px solid #E5E5E5;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.download-list-item:hover {
    background-color: #F4EBE1;
}

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #8B2317;
}

.download-title {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
    flex: 1;
    transition: color 0.15s ease;
}

.download-list-item:hover .download-title {
    color: #8B2317;
}

/* ==========================================================================
   12. Table Component (Figma 39:766 / 88:408)
   ========================================================================== */
.ce-table {
    width: 100%;
}

.table-header-block {
    margin-bottom: 24px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.figma-table,
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
}

.table-head-row,
thead tr {
    background-color: var(--bg-light);
}

.table-th,
th {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.14px;
    text-transform: uppercase;
    color: var(--brand-brown);
    padding: 8px 12px;
    text-align: left;
    border: none !important;
}

.table-th-1,
th:first-child {
    width: 200px;
}

.table-body-row,
tbody tr {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--neutral-200);
}

.table-td,
td {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-900);
    padding: 8px 12px;
    vertical-align: top;
    border: none !important;
    border-bottom: 1px solid var(--neutral-200) !important;
}

.table-td-1,
td:first-child {
    width: 200px;
}

/* ==========================================================================
   12. Footer Component (Figma 47:968)
   ========================================================================== */
.site-footer {
    background-color: var(--brand-brown);
    color: #ffffff;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    flex: 1 1 500px;
}

.footer-info-brand {
    max-width: 320px;
    flex: 1 1 280px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.8;
}

.footer-v-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    align-self: stretch;
}

.footer-info-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 240px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0.9;
}

.footer-address p {
    margin: 0;
    line-height: inherit;
}

.footer-address strong {
    font-weight: 600;
}

.footer-email {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

.footer-email:hover {
    color: var(--bg-beige);
}

/* Social Media */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.footer-social-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-icon-link:hover {
    background-color: #ffffff;
    color: var(--primary-dark, #571C10);
}

/* Supporters / Partners */
.footer-supporters {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex: 1 1 300px;
}

.supporters-label {
    font-size: 12px;
    letter-spacing: 0.06px;
    text-transform: uppercase;
    opacity: 0.6;
}

.supporters-cards {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.supporter-badge {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.supporter-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.supporter-badge--round {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    padding: 4px;
}

.supporter-badge--round img {
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
}

.supporter-badge--rect {
    height: 48px;
    min-width: 110px;
}

.supporter-badge--rect img {
    max-height: 32px;
    max-width: 100px;
    object-fit: contain;
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.footer-nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 1;
}

.footer-nav-sep {
    opacity: 0.5;
}

/* ==========================================================================
   13. Mmenu.js Drawer Theme — Exact Figma Specification (Node 19:146)
   ========================================================================== */
.mm-wrapper_opened,
.mm-wrapper--opened,
.mm-wrapper--opened body {
    overflow-x: clip !important;
    overflow-y: scroll !important;
}



.mm-menu {
    --mm-color-background: #ffffff !important;
    --mm-color-text: var(--neutral-900) !important;
    --mm-color-border: var(--neutral-200) !important;
    --mm-color-button: var(--neutral-500) !important;
    --mm-line-height: 24px !important;
    font-family: var(--font-body) !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    box-shadow: none !important;
    border-right: none !important;
    z-index: 10000 !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.mm-menu.mm-menu--opened,
.mm-menu.mm-menu_opened,
.mm-wrapper--opened .mm-menu,
.mm-wrapper_opened .mm-menu {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
}

.mm-page,
.mm-slideout {
    transform: none !important;
    left: 0 !important;
}

.mm-wrapper__blocker,
.mm-blocker {
    background: rgba(0, 0, 0, 0.8) !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    opacity: 1 !important;
    z-index: 9999 !important;
}


/* Drawer Header (Figma 19:148) */
.mm-navbars_top {
    border-bottom: 1px solid var(--neutral-200) !important;
    padding: 0 !important;
}

.mm-navbar {
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    border: none !important;
}

.drawer-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    padding: 0 20px;
}

.drawer-close-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    color: var(--neutral-900);
    cursor: pointer;
}

.drawer-close-icon {
    width: 44px;
    height: 44px;
    display: block;
}

.drawer-close-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--neutral-900);
    transition: color var(--transition-fast);
}

.drawer-close-group:hover .drawer-close-text {
    color: var(--brand-red);
}

.drawer-logo {
    width: 120px;
    height: 33px;
    object-fit: contain;
    display: block;
}

/* Nav Items (Figma 19:288) */
.mm-panels {
    background-color: #ffffff !important;
}

.mm-panel {
    background-color: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.mm-listview {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mm-listitem {
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    background-color: transparent !important;
    transition: background-color var(--transition-fast) ease 0s !important;
}

.mm-listitem:after {
    display: none !important;
}

/* Ensure children are always transparent with no delayed background transition */
.mm-listitem__text,
.mm-listitem__btn,
.mm-btn--next,
.mm-btn_next,
.mm-menu--selected-hover .mm-listitem__btn:hover,
.mm-menu--selected-hover .mm-listitem__text:hover,
.mm-menu--selected-parent .mm-listitem__btn,
.mm-menu--selected-parent .mm-listitem__text {
    background: transparent !important;
    background-color: transparent !important;
    border-left: none !important;
    border: none !important;
    transition-delay: 0s !important;
}

.mm-listitem__text {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: var(--neutral-900) !important;
    padding: 16px 24px !important;
    flex: 1 1 auto !important;
    text-decoration: none !important;
    transition: color var(--transition-fast) !important;
}

/* Button / Chevron Container (Figma 19:291) */
.mm-btn--next,
.mm-btn_next,
.mm-listitem__btn {
    width: 60px !important;
    height: 100% !important;
    min-height: 56px !important;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 24px 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: none !important;
}

/* Hover & Selected: ONLY .mm-listitem receives background-color */
.mm-listitem:hover,
.mm-listitem--selected {
    background-color: var(--bg-light) !important;
}

.mm-listitem:hover .mm-listitem__text,
.mm-listitem:hover .mm-listitem__btn,
.mm-listitem:hover .mm-btn--next,
.mm-listitem:hover .mm-btn_next,
.mm-listitem--selected > .mm-listitem__text,
.mm-listitem--selected > .mm-listitem__btn,
.mm-listitem--selected > .mm-btn--next,
.mm-listitem--selected > .mm-btn_next {
    background: transparent !important;
    background-color: transparent !important;
}

.mm-listitem:hover .mm-listitem__text,
.mm-listitem--selected > .mm-listitem__text {
    color: var(--brand-red) !important;
    font-weight: 600 !important;
}

/* Chevrons */
.mm-btn--next:after,
.mm-btn_next:after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    border-style: solid !important;
    border-color: var(--neutral-500) !important;
    border-width: 2px 2px 0 0 !important;
    width: 6px !important;
    height: 6px !important;
    right: 24px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) rotate(45deg) !important;
    transition: border-color var(--transition-fast) !important;
}

.mm-listitem:hover .mm-btn--next:after,
.mm-listitem:hover .mm-btn_next:after,
.mm-listitem--selected .mm-btn--next:after,
.mm-listitem--selected .mm-btn_next:after {
    border-color: var(--brand-red) !important;
}

/* Subpanel Navbar Header */
.mm-panel .mm-navbar {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid var(--neutral-200) !important;
    background-color: var(--bg-light) !important;
    padding: 0 16px !important;
}

/* Hide navbar on root panel */
.mm-panel:first-child > .mm-navbar,
.mm-panel_highest > .mm-navbar,
#mm-1 > .mm-navbar,
.mm-panel[id$="-0"] > .mm-navbar {
    display: none !important;
}

.mm-navbar__title {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--brand-red) !important;
    text-decoration: none !important;
}

.mm-btn--prev:before,
.mm-btn_prev:before {
    border-color: var(--brand-red) !important;
    border-width: 2px 0 0 2px !important;
    width: 7px !important;
    height: 7px !important;
    left: 16px !important;
}

/* Drawer Footer (Figma 19:332 / 19:333) */
.mm-navbars_bottom,
.mm-navbars_bottom .mm-navbar {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: #ffffff !important;
    overflow: visible !important;
}

.drawer-footer-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 24px 24px 24px !important;
    background-color: #ffffff !important;
    border: none !important;
    border-top: none !important;
}

.drawer-kontakt-btn {

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    background-color: var(--brand-red) !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: background-color var(--transition-fast) !important;
}

.drawer-kontakt-btn:hover {
    background-color: var(--brand-red-hover) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   13. TYPO3 Form Framework (EXT:form) Styling
   ========================================================================== */
.frame-type-form_formframework,
form[id*="kontaktformular"] {
    width: 100%;
    max-width: var(--max-content);
    margin-left: auto;
    margin-right: auto;
}

form[id*="kontaktformular"] h2,
.frame-type-form_formframework h2 {
    font-family: var(--font-body);
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    letter-spacing: 0.72px;
    color: var(--neutral-900);
    margin-top: 0;
    margin-bottom: 28px;
}

.form-element {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
    width: 100%;
}

.form-label,
.form-element label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--neutral-900);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}

.form-label .required,
.form-element label .required {
    display: inline;
    color: var(--brand-red);
    font-weight: 700;
    margin-left: 4px;
}

.form-control,
.form-element input[type="text"],
.form-element input[type="email"],
.form-element input[type="tel"],
.form-element input[type="url"],
.form-element input[type="password"],
.form-element input[type="number"],
.form-element textarea,
.form-element select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-900);
    background-color: var(--bg-white);
    border: 2px solid #C4C4C4;
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-element input[type="text"],
.form-element input[type="email"],
.form-element input[type="tel"],
.form-element input[type="url"],
.form-element input[type="password"] {
    height: 48px;
}

.form-control:hover,
.form-element input:hover,
.form-element textarea:hover,
.form-element select:hover {
    border-color: #888888;
}

.form-control:focus,
.form-element input:focus,
.form-element textarea:focus,
.form-element select:focus {
    outline: none;
    border-color: #333333;
    background-color: var(--bg-white);
}

.form-control::placeholder,
.form-element input::placeholder,
.form-element textarea::placeholder {
    color: #A6A6A6;
    opacity: 1;
}

textarea.form-control,
.form-element textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
    border: 2px solid #C4C4C4;
}

textarea.form-control:focus,
.form-element textarea:focus {
    outline: none;
    border-color: #333333;
    background-color: var(--bg-white);
}

.form-element-textarea,
.form-element:has(textarea),
.form-element:last-of-type {
    margin-bottom: 8px;
}

.actions,
.form-navigation {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-navigation button[type="submit"],
.form-navigation .btn-primary,
form[id*="kontaktformular"] button[type="submit"],
form[id*="kontaktformular"] .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.16px;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-sizing: border-box;
    background-color: var(--brand-red) !important;
    border: 1.5px solid var(--brand-red) !important;
    color: #ffffff !important;
    box-shadow: none;
    transform: none;
}

.form-navigation button[type="submit"]:hover,
.form-navigation .btn-primary:hover,
form[id*="kontaktformular"] button[type="submit"]:hover,
form[id*="kontaktformular"] .btn.btn-primary:hover {
    background-color: var(--brand-red-hover) !important;
    border-color: var(--brand-red-hover) !important;
    color: #ffffff !important;
    box-shadow: none;
    transform: none;
}

.form-navigation button[type="submit"]:active,
.form-navigation .btn-primary:active,
form[id*="kontaktformular"] button[type="submit"]:active,
form[id*="kontaktformular"] .btn.btn-primary:active {
    transform: translateY(1px);
}

/* Validation Feedback & Error States */
.has-error .form-control,
.form-control.is-invalid,
.error .form-control {
    border-color: var(--color-error) !important;
    background-color: #FFF5F5;
}

.has-error .form-control:focus,
.form-control.is-invalid:focus,
.error .form-control:focus {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.help-block,
.error,
.form-error-message,
.text-danger {
    color: var(--color-error);
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Form Success & Info Alerts */
.alert-success,
.form-message--success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: var(--color-success);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 22px;
}

/* ==========================================================================
   14. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
    .header-container,
    .hero-container,
    .footer-container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    .header-container,
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .hero-image-wrapper {
        height: 240px;
        width: 100%;
        border-radius: 0;
    }

    .hero-image {
        border-radius: 0;
    }

    .ce-h1, h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .ce-h2, h2 {
        font-size: 26px;
        line-height: 32px;
    }

    .ce-h3, h3 {
        font-size: 22px;
        line-height: 28px;
    }

    .ce-h4, h4 {
        font-size: 18px;
        line-height: 24px;
    }

    .gallery-grid--three,
    .gallery-grid--many {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-supporters {
        align-items: flex-start;
    }

    .supporters-cards {
        justify-content: flex-start;
    }

    .footer-v-divider {
        display: none;
    }

    .mm-menu {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid--two,
    .gallery-grid--three,
    .gallery-grid--four,
    .gallery-grid--many {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fancybox Customizations */
.fancybox__button--download {
    display: none !important;
}

/* ==========================================================================
   Stage Navigation Component (Vorherige / Nächste Etappe)
   ========================================================================== */
.stage-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-200);
}

.stage-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background-color: var(--bg-white);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    color: var(--neutral-900);
    transition: all var(--transition-fast);
    flex: 1 1 0;
    max-width: calc(50% - 8px);
    box-sizing: border-box;
}

.stage-nav-item--empty {
    border: none;
    background: transparent;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
}

.stage-nav-item--next {
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
}

.stage-nav-item--prev {
    justify-content: flex-start;
    text-align: left;
}

.stage-nav-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stage-nav-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 2px;
}

.stage-nav-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: var(--neutral-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition-fast);
}

.stage-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--brand-red);
    transition: all var(--transition-fast);
}

.stage-nav-item:hover {
    border-color: var(--brand-red);
    background-color: #FAFAFA;
    box-shadow: 0 4px 14px rgba(167, 45, 30, 0.08);
    transform: translateY(-2px);
}

.stage-nav-item:hover .stage-nav-title {
    color: var(--brand-red);
}

.stage-nav-item:hover .stage-nav-arrow {
    background-color: var(--brand-red);
    color: #ffffff;
}

.stage-nav-item--prev:hover .stage-nav-arrow {
    transform: translateX(-3px);
}

.stage-nav-item--next:hover .stage-nav-arrow {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .stage-navigation {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .stage-nav-item {
        max-width: 100%;
        width: 100%;
    }

    .stage-nav-item--empty {
        display: none;
    }

    .stage-nav-item--next {
        justify-content: space-between;
        text-align: left;
    }

    .stage-nav-item--prev {
        justify-content: space-between;
    }

    .stage-nav-item--next .stage-nav-content {
        order: 1;
    }

    .stage-nav-item--next .stage-nav-arrow {
        order: 2;
    }
}

/* ==========================================================================
   16. Floating Section Navigation (Eigenständige Bereichsnavigation)
   ========================================================================== */
.content-container--with-subnav {
    display: grid;
    grid-template-columns: 300px minmax(0, var(--max-content));
    justify-content: space-between;
    align-items: start;
    gap: 48px;
    padding-left: 120px;
    padding-right: 120px;
}

.content-container--with-subnav > .content-flow {
    width: 100%;
    max-width: var(--max-content);
    margin-left: 0;
    margin-right: 0;
}

.floating-subnav-wrapper {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.sec-nav {
    background-color: transparent;
    border: 1px solid #E5E5E5;
    border-radius: var(--radius-sm);
    padding: 24px;
}

.sec-nav-header {
    padding-bottom: 0;
    margin-bottom: 12px;
    border-bottom: none;
}

.sec-nav-root-link {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.22px;
    color: var(--brand-red);
    margin: 0;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.sec-nav-root-link:hover,
.sec-nav-root-link.is-current {
    color: var(--brand-red-hover);
}

.sec-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sec-nav-row {
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

.sec-nav-row:hover {
    background-color: rgba(167, 45, 30, 0.06);
}

.sec-nav-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--neutral-900);
    text-decoration: none !important;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.sec-nav-link:hover {
    color: var(--brand-red);
    text-decoration: none !important;
}

.sec-nav-toggle {
    flex: 0 0 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--neutral-700);
    cursor: pointer;
    margin-right: 4px;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.sec-nav-toggle:hover {
    color: var(--brand-red);
    background-color: rgba(167, 45, 30, 0.08);
}

.sec-nav-chevron {
    transition: transform 0.2s ease;
}

.sec-nav-item.is-open > .sec-nav-row .sec-nav-chevron {
    transform: rotate(90deg);
}

.sec-nav-item.is-active > .sec-nav-row {
    background-color: var(--brand-red);
}

.sec-nav-item.is-active > .sec-nav-row > .sec-nav-link {
    color: #FFFFFF;
    font-weight: 600;
}

.sec-nav-item.is-active > .sec-nav-row > .sec-nav-toggle {
    color: #FFFFFF;
}

.sec-nav-item.is-active > .sec-nav-row > .sec-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

/* Level 3 Sublist (Always expanded inside active section) */
.sec-nav-sublist {
    list-style: none;
    margin: 4px 0 8px 14px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid #DFD5C5;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sec-nav-sublink {
    display: block;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--neutral-700);
    text-decoration: none !important;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.sec-nav-sublink:hover {
    color: var(--brand-red);
    background-color: rgba(167, 45, 30, 0.05);
    text-decoration: none !important;
}

.sec-nav-sublink.is-current,
.sec-nav-subitem.is-active > .sec-nav-sublink {
    color: var(--brand-red);
    font-weight: 700;
    background-color: rgba(167, 45, 30, 0.09);
}

/* Level 4 Deep Sublist */
.sec-nav-deep-list {
    list-style: none;
    margin: 2px 0 4px 12px;
    padding: 2px 0 2px 10px;
    border-left: 1px dashed #C9B99F;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sec-nav-deeplink {
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--neutral-500);
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.sec-nav-deeplink:hover,
.sec-nav-deeplink.is-current {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: none !important;
}

@media (max-width: 1200px) {
    .content-container--with-subnav {
        padding-left: 48px;
        padding-right: 48px;
        grid-template-columns: 260px minmax(0, var(--max-content));
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .content-container--with-subnav {
        display: block;
        padding-left: 24px;
        padding-right: 24px;
    }

    .content-container--with-subnav > .content-flow {
        margin-left: auto;
        margin-right: auto;
    }

    .floating-subnav-wrapper {
        display: none;
    }
}



