/* ==========================================================================
   ÖCB STYLESHEET (style.css) - REDESIGNED
   Visual Theme: Deep Royal Blue & Lime Green
   No emoticons are used. Features clean SVG integrations.
   ========================================================================== */

/* Fonts are loaded via <link rel="preconnect"> + stylesheet in each page head
   (managed by scripts/seo_meta.py). Loading them in HTML rather than via CSS
   @import avoids render-blocking the stylesheet. */

/* --- CUSTOM VARIABLES --- */
:root {
    /* Color Palette - Royal Blue & Lime Green */
    --primary: #225C87;         /* Deep Royal Blue */
    --primary-dark: #133854;    /* Dark Navy/Slate Blue */
    --primary-light: #4294D5;   /* Light Slate Blue */
    --accent: #A2CF5C;          /* Soft Lime-Gold Green */
    --accent-hover: #91C04B;    /* Slightly darker active state */
    --dark: #0B2030;            /* Darkest Blue */
    --dark-muted: #475569;      /* Slate 600 */
    --light: #F1F5F9;           /* Slate 100 */
    --light-card: #FFFFFF;      /* Card background */
    --border: #E2E8F0;          /* Slate 200 */
    --danger: #EF4444;          /* Red 500 */
    --danger-bg: #FEF2F2;       /* Red 50 */
    --success: #10B981;         /* Emerald 500 */
    --success-bg: #ECFDF5;      /* Emerald 50 */

    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Borders */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
}

/* --- RESET & BASIC SETUP --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-muted);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

/* --- STRUCTURE / CONTAINERS --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--primary);
    color: #FFFFFF;
}

.section-dark h2, .section-dark h3 {
    color: #FFFFFF;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- DYNAMIC HEADER --- */
header {
    height: var(--header-height);
    background-color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Redesigned Logo System */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: #FFFFFF;
}

.logo-separator {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.4);
}

.logo-subtext {
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.2;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-mobile-btn-container {
    display: none;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Lang Toggle */
.lang-selector {
    display: flex;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.2rem;
    background-color: rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.lang-btn {
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background-color: var(--accent);
    color: var(--primary-dark);
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--primary);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--dark-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.btn-outline-white:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Profile Square Button */
.btn-profile {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-profile:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-profile svg {
    width: 18px;
    height: 18px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    background-color: var(--primary);
    color: #FFFFFF;
    overflow: hidden;
}

/* Plant Sprout Watermark matching the provided screenshot */
.hero-watermark {
    position: absolute;
    right: 2%;
    bottom: -15%;
    width: 48%;
    height: 130%;
    background-image: url("../img/leaf-watermark.svg");
    opacity: 0.08;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-image-wrapper {
    display: none;
}

.hero-image-el {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-image-el:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        max-width: var(--container-width);
    }
    .hero-image-wrapper {
        display: block;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- CRITICAL ALERT SECTION --- */
.critical-box {
    background-color: var(--danger-bg);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-sm);
}

.critical-box h3 {
    color: #991B1B;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.critical-box p {
    margin-bottom: 1.25rem;
    color: #7F1D1D;
}

/* --- CARD SYSTEM --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(34, 92, 135, 0.2);
}

.card-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--dark-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* --- STATS & FACTS TABLES --- */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-card);
    text-align: left;
    font-size: 0.95rem;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #F8FAFC;
}

tr.danger-row {
    background-color: var(--danger-bg);
}

tr.danger-row td {
    color: #991B1B;
    font-weight: 700;
}

.loss-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--danger);
    display: block;
    margin-top: 0.25rem;
}

/* --- ACCORDIONS (FAQ / STUDIES) --- */
.accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-header svg {
    transition: var(--transition);
    width: 20px;
    height: 20px;
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

/* --- UNIFIED USER JOURNEY (mitgliedschaft.html) --- */
.journey-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.journey-card {
    background-color: var(--light-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.journey-card.featured {
    border-color: var(--accent);
    background-color: #FAFAF9;
}

.journey-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.journey-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pricing-features {
    margin: 1.5rem 0 2.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.pricing-features svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--success);
    margin-top: 0.15rem;
}

.pricing-price-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light);
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

/* Spenden Coordinates Card */
.bank-info-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 2.25rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.bank-info-box h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5rem;
}

.bank-row {
    margin-bottom: 1.25rem;
}

.bank-row:last-child {
    margin-bottom: 0;
}

.bank-row label {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.15rem;
    display: block;
}

.bank-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

/* --- MULTI-STEP FORM --- */
.form-box {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 3rem auto;
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border);
    z-index: 1;
    transform: translateY(-50%);
}

.step-indicator {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: #FFFFFF;
    border: 2px solid var(--border);
    color: var(--dark-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-indicator.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #FFFFFF;
}

.step-indicator.completed {
    border-color: var(--success);
    background-color: var(--success);
    color: #FFFFFF;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

input, select, textarea {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(34, 92, 135, 0.15);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

/* Checklist Utility */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checklist svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
}

.checklist-success svg {
    color: var(--success);
}

.checklist-goals svg {
    color: var(--accent);
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: #94A3B8;
    padding: 5rem 0 2.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h3, footer h4 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 0.25rem;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact svg {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
body.nav-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .journey-select-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        text-align: center;
        max-width: 100% !important;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-watermark {
        width: 80% !important;
        height: 80% !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: -10% !important;
        transform: translateX(-50%) !important;
        background-position: center bottom !important;
        opacity: 0.15 !important;
    }
    .hero-actions {
        justify-content: center;
    }
    .nav-mobile-btn-container {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }
    header .nav-actions .btn {
        display: none !important;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 26, 39, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        padding: 2.5rem 2rem;
        gap: 1.25rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        align-items: center;
    }
    header.scrolled .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }
    .nav-links.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.85);
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: var(--transition);
    }
    .nav-link:last-of-type {
        border-bottom: none;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--accent);
        background-color: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
    }
    .card-grid {
        grid-template-columns: 1fr !important;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .journey-card {
        padding: 2rem 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-full {
        grid-column: span 1;
    }
    .form-box {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-separator, .logo-subtext {
        display: none !important;
    }
    .accordion-header {
        padding: 1.25rem 1rem;
    }
    .accordion-content {
        padding: 0 1rem;
    }
    .accordion-item.active .accordion-content {
        padding: 0 1rem 1.25rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
        display: flex;
    }
}

/* --- COOKIE CONSENT SYSTEM --- */
#cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1.5rem;
    overflow-y: auto;
}

#cookie-consent-overlay.active {
    opacity: 1;
    visibility: visible;
}

#cookie-consent-modal {
    background: linear-gradient(135deg, rgba(19, 56, 84, 0.98) 0%, rgba(10, 30, 47, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    color: #FFFFFF;
    backdrop-filter: blur(16px);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
}

#cookie-consent-overlay.active #cookie-consent-modal {
    transform: scale(1);
}

.cookie-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cookie-modal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cookie-categories-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.cookie-category-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-category-info {
    flex-grow: 1;
}

.cookie-category-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-category-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    display: block;
}

/* Custom Toggle Switches */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--accent); /* lime green */
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(20px);
    background-color: var(--primary-dark);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.cookie-btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.cookie-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.cookie-btn-text {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-text:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Floating Cookie Trigger Settings Button */
#cookie-settings-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
    z-index: 9999;
}

#cookie-settings-trigger:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: scale(1.1);
}

#cookie-settings-trigger svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 576px) {
    #cookie-consent-overlay {
        align-items: flex-start;
        padding: 1rem;
    }
    #cookie-consent-modal {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    .cookie-category-item {
        gap: 1rem;
    }
    .cookie-modal-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- SCIENTIFIC STUDY PREMIUM STYLES --- */
.study-metadata-card {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.study-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.study-badge-accent {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.study-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .study-grid-2 {
        grid-template-columns: 1fr;
    }
}

.study-meta-list {
    margin-top: 1rem;
}

.study-meta-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.study-meta-list li:last-child {
    border-bottom: none;
}

.study-meta-list li strong {
    color: var(--dark);
}

.study-meta-list li span {
    text-align: right;
    color: var(--dark-muted);
}

.blockquote-premium {
    position: relative;
    padding: 2rem;
    background-color: #FAFAFA;
    border-left: 5px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2.5rem 0;
    font-family: var(--font-body);
    box-shadow: var(--shadow-sm);
}

.blockquote-premium p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blockquote-premium cite {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    font-style: normal;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.disclaimer-box {
    background-color: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-left: 4px solid #64748B;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin: 2.5rem 0;
}

.disclaimer-box h4 {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.disclaimer-box p {
    color: #64748B;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag-item {
    background-color: var(--light);
    color: var(--dark-muted);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Custom HSL-colored scenario rows */
.scenario-row-a {
    background-color: hsla(215, 30%, 96%, 1) !important;
}

.scenario-row-b {
    background-color: hsla(82, 53%, 95%, 1) !important;
}

.scenario-row-c {
    background-color: hsla(160, 52%, 95%, 1) !important;
}

/* --- ASSOCIATION STATS GRID (Über Uns) --- */
.association-stats-grid {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    text-align: center;
}

.association-stats-item {
    padding: 0.5rem;
}

.association-stats-item.has-border {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .association-stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .association-stats-item {
        padding: 0.5rem 0;
    }
    .association-stats-item.has-border {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 1.5rem;
    }
}
/* ==========================================================================
   ÖCB PREMIUM REDESIGN STYLES (HOMEPAGE & ARTICLE SEPARATION)
   ========================================================================== */

/* --- HERO VISUAL & STATS BAR --- */
.hero-enhanced {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0F172A 100%);
    position: relative;
    padding-bottom: 8rem;
}

.hero-enhanced .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 3rem;
}

.hero-enhanced .hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-enhanced .hero-actions {
    justify-content: center;
}

.hero-enhanced .hero-image-wrapper {
    display: block;
    width: 100%;
}

.hero-enhanced .hero-image-el {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.hero-enhanced .hero-image-el:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}

@media (min-width: 768px) {
    .hero-enhanced .hero-image-el {
        height: 250px;
    }
}


.stats-bar-wrapper {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.stats-bar-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px -5px rgba(11, 32, 48, 0.15), var(--shadow-xl);
    padding: 2.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 0.5rem;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number.accented {
    color: var(--danger);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .stat-item:not(:last-child)::after {
        right: -1rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stats-bar-wrapper {
        margin-top: -2rem;
    }
}

/* --- DEMAND CARDS (COEXISTENCE MODEL ETC) --- */
.demand-title-sec {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.demand-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.75rem;
}

.demand-card {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.demand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-light);
    opacity: 0;
    transition: var(--transition);
}

.demand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(34, 92, 135, 0.15);
}

.demand-card:hover::before {
    opacity: 1;
}

.demand-icon-container {
    width: 54px;
    height: 54px;
    background-color: var(--light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.demand-card:hover .demand-icon-container {
    background-color: var(--primary);
    color: var(--accent);
}

.demand-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.demand-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--dark-muted);
    margin-bottom: 0;
}

/* --- COMPARISON MATRIX --- */
.comparison-section {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.comparison-column {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.comparison-column.positive {
    border-color: rgba(162, 207, 92, 0.5);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF9 100%);
    box-shadow: var(--shadow-md);
}

.comparison-column.negative {
    border-color: rgba(226, 232, 240, 0.8);
    background: #FAFBFD;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.comparison-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.comparison-column.positive .comparison-icon {
    background-color: var(--success-bg);
    color: var(--success);
}

.comparison-column.negative .comparison-icon {
    background-color: #F1F5F9;
    color: #94A3B8;
}

.comparison-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comparison-item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
}

.comparison-column.positive .comparison-item svg {
    color: var(--success);
}

.comparison-column.negative .comparison-item svg {
    color: var(--danger);
}

.comparison-item-text strong {
    color: var(--dark);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.comparison-item-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--dark-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .comparison-column {
        padding: 2rem 1.5rem;
    }
}

/* --- DIVIDED NEWS FEED --- */
.split-news-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
}

.split-news-column {
    display: flex;
    flex-direction: column;
}

.split-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.split-news-header h3 {
    font-size: 1.45rem;
    color: var(--primary);
}

.statement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.statement-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.statement-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(34, 92, 135, 0.15);
}

.article-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.article-badge.statement {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.article-badge.media {
    background-color: var(--primary-light);
    color: #FFFFFF;
}

.statement-card h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.statement-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--dark-muted);
    margin-bottom: 1.25rem;
}

/* Media list elements */
.media-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.media-mini-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.media-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(34, 92, 135, 0.15);
}

.media-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.media-logo-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #FFFFFF;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.media-logo-tag.presse { background-color: var(--primary-dark); }
.media-logo-tag.orf { background-color: #B91C1C; }
.media-logo-tag.krone { background-color: #DC2626; }
.media-logo-tag.vienna { background-color: #1D4ED8; }
.media-logo-tag.salzburg { background-color: #047857; }
.media-logo-tag.heute { background-color: #DB2777; }
.media-logo-tag.oe24 { background-color: #D97706; }
.media-logo-tag.youtube { background-color: #EF4444; }
.media-logo-tag.momentum { background-color: #0F766E; }
.media-logo-tag.vol { background-color: #0284C7; }
.media-logo-tag.ots { background-color: #475569; }

.media-mini-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.media-mini-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--dark-muted);
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .split-news-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- FISCAL LOSS INFOGRAPHIC --- */
.fiscal-container {
    background-color: var(--light-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
}

.fiscal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.fiscal-left h3 {
    font-size: 1.85rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.fiscal-left p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-muted);
    margin-bottom: 1.5rem;
}

.fiscal-visual {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    border: 1px solid var(--border);
}

.fiscal-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fiscal-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fiscal-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
}

.fiscal-bar-outer {
    height: 24px;
    background-color: #E2E8F0;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.fiscal-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
}

.fiscal-bar-fill.positive {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    width: 100%;
}

.fiscal-bar-fill.negative {
    background: linear-gradient(90deg, #F59E0B 0%, var(--accent-hover) 100%);
    width: 51%; /* €40.8M of €80M is ~51% */
}

.fiscal-bar-fill.damage {
    background: linear-gradient(90deg, #EF4444 0%, #B91C1C 100%);
    width: 35%; /* €27.75M of €80M is ~35% */
}

.fiscal-total-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.fiscal-total-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--danger);
    line-height: 1.1;
}

.fiscal-total-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #991B1B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

@media (max-width: 900px) {
    .fiscal-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- BANNER CTA DYNAMIC --- */
.cta-banner-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-premium h2 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-banner-premium p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-actions-group {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* --- DYNAMIC PRESS PAGE FILTER SWITCHER --- */
.press-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem auto 3rem auto;
    flex-wrap: wrap;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    max-width: 650px;
}

.press-tab-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--dark-muted);
}

.press-tab-btn:hover {
    color: var(--primary);
    background-color: rgba(255, 255, 255, 0.5);
}

.press-tab-btn.active {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

/* Card hide states */
.press-card-filtered {
    display: flex !important;
    animation: fadeIn 0.4s ease-out forwards;
}

.press-card-hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MEMBERSHIP PRICING TABS --- */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 3rem auto;
    flex-wrap: wrap;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    max-width: 550px;
}

.pricing-tab-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--dark-muted);
    flex: 1;
    text-align: center;
}

.pricing-tab-btn:hover {
    color: var(--primary);
    background-color: rgba(255, 255, 255, 0.5);
}

.pricing-tab-btn.active {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.pricing-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.pricing-content.active {
    display: block;
}

/* --- MEMBERSHIP SELECTOR CARDS --- */
.selector-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.selector-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-md) !important;
}

/* --- DYNAMIC SITE SEARCH --- */
.search-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.search-toggle-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: rgba(162, 207, 92, 0.1);
    transform: scale(1.05);
}

.search-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 32, 48, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 80px 20px 20px;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-modal {
    width: 100%;
    max-width: 650px;
    background: rgba(19, 56, 84, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-25px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.search-overlay.active .search-modal {
    transform: translateY(0);
}

.search-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 32, 48, 0.4);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    gap: 0.85rem;
}

.search-input-icon {
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

#search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.25rem 0;
    outline: none;
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.search-close-btn:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
}

.search-results-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem 0;
    background: rgba(10, 26, 39, 0.25);
    min-height: 150px;
}

/* Custom Scrollbar for Search Results */
.search-results-wrapper::-webkit-scrollbar {
    width: 6px;
}
.search-results-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.search-results-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}
.search-results-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 1rem;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    padding: 0.95rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.01);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.search-result-title {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.search-result-item:hover .search-result-title {
    color: var(--accent);
}

.search-result-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: rgba(162, 207, 92, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.search-result-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-match-heading {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 0.45rem;
}

.search-result-match-heading svg {
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.7;
}

.search-no-results, .search-loading, .search-prompt {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.search-no-results svg, .search-prompt svg {
    color: rgba(255, 255, 255, 0.2);
}

/* Header search box positioning & style */
.search-header-container {
    display: flex;
    align-items: center;
}

.search-header-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    width: 150px;
    justify-content: space-between;
    box-sizing: border-box;
}

.search-header-field:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.search-header-field svg {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    flex-shrink: 0;
}

.search-header-field:hover svg {
    color: var(--accent);
}

.search-shortcut {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0.05rem 0.35rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: monospace;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive display rules */
.search-toggle-btn {
    display: none !important; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .search-toggle-btn {
        display: flex !important; /* Shown on mobile */
    }
    .search-header-field {
        display: none !important; /* Hidden on mobile */
    }
}

/* Adjust overlay position on smaller screens */
@media (max-width: 768px) {
    .search-overlay {
        padding-top: 70px;
    }
    .search-modal {
        max-height: calc(100vh - 90px);
    }
}

/* Spinner Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   COMPONENT CLASSES (Loop 4)
   Replacing inline styles component by component. Selectors are scoped to win
   over component descendant rules (e.g. .card p); each is verified in the
   browser to render identically to the inline style it replaces.
   See docs/STYLEGUIDE.md. No emoticons are used.
   ========================================================================== */

/* --- Advisory board cards (netzwerk / en network) --- */
.card--compact {
    padding: 2rem;
}
.card-icon-svg.is-centered {
    margin: 0 auto 1.5rem auto;
}
.card .advisor-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.card .advisor-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.card .advisor-desc {
    font-size: 0.9rem;
    margin: 0;
}


