/**
 * WIHOGA Main Stylesheet
 * Version 2.0
 *
 * Copyright (c) 2025 devfour UG (haftungsbeschränkt)
 * All rights reserved.
 *
 * This software and its source code are proprietary and confidential.
 * Unauthorized copying, distribution, modification, or use of this software,
 * via any medium, is strictly prohibited without explicit written permission
 * from devfour UG (haftungsbeschränkt).
 *
 * Contact: contact@devfour.de
 * Company: devfour UG (haftungsbeschränkt)
 * Address: Auf dem Grend 34, 53844 Troisdorf, Germany
 * Registry: Amtsgericht Siegburg, HRB 17140
 * Managing Director: Philipp Kunkel
 */

/* ========================================================================
   1. CSS VARIABLES & THEME
   ======================================================================== */

:root {
    --color-background: #ffffff;
    --color-background-rgb: 255,255,255;
    --color-background-secondary-rgb: 245,245,245;
    --color-background-secondary: #fafafa;
    --color-text-primary: #111111;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-border: #e5e5e5;
    --color-button-bg: #111111;
    --color-button-text: #ffffff;
    --color-button-hover: #333333;
    --color-input-bg: #fafafa;
    --color-input-bg-focus: #ffffff;
    --color-link-hover: #111111;
    --color-wihoga: #00283F;
    --color-wihoga-inv: #B5B4BF;
    --color-wihoga-rgb: 0,40,63;
    --transition-speed: 0.2s;
}

/**
 * Dark Mode Variables
 * Applied both via media query and explicit .dark-mode class
 */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #00283F;
        --color-background-rgb: 0,0,10;
        --color-background-secondary-rgb: 30,30,30;
        --color-background-secondary: #000014;
        --color-text-primary: #ffffff;
        --color-text-secondary: #B5B4BF;
        --color-text-muted: #666666;
        --color-border: #22263a;
        --color-button-bg: #ffffff;
        --color-button-text: #00283F;
        --color-button-hover: #B5B4BF;
        --color-input-bg: #1a1a1a;
        --color-input-bg-focus: #222222;
        --color-link-hover: #B5B4BF;
        --color-wihoga: #B5B4BF;
        --color-wihoga-inv: #00283F;
        --color-wihoga-rgb: 125,156,185;
    }
}

.dark-mode {
    --color-background: #00283F;
    --color-background-rgb: 0,0,10;
    --color-background-secondary-rgb: 30,30,30;
    --color-background-secondary: #000014;
    --color-text-primary: #ffffff;
    --color-text-secondary: #B5B4BF;
    --color-text-muted: #666666;
    --color-border: #22263a;
    --color-button-bg: #ffffff;
    --color-button-text: #00283F;
    --color-button-hover: #B5B4BF;
    --color-input-bg: #1a1a1a;
    --color-input-bg-focus: #222222;
    --color-link-hover: #B5B4BF;
    --color-wihoga: #B5B4BF;
    --color-wihoga-inv: #00283F;
    --color-wihoga-rgb: 125,156,185;
}

/* ========================================================================
   2. BASE STYLES & RESET
   ======================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--color-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--color-text-primary);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/**
 * Subtle background image overlay
 * Fixed positioning with blur and grayscale effect
 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/assets/opener.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(1) blur(10px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    body::before {
        opacity: 0.1;
    }
}

/**
 * Mobile and touch device adjustments for background
 * Uses scroll attachment instead of fixed for better performance
 */
@media (max-width: 900px), (pointer: coarse), (hover: none) {
    body::before {
        background-attachment: scroll;
    }

    .parallax-section {
        background-attachment: scroll !important;
    }
}

@supports (-webkit-touch-callout: none) {
    body::before {
        background-attachment: scroll;
    }

    .parallax-section {
        background-attachment: scroll !important;
    }
}

hr {
    border: 1px solid var(--color-border);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================================
   3. LAYOUT & STRUCTURE
   ======================================================================== */

/**
 * Main content container
 * Grows to fill available space and centers content
 */
.main-content {
    flex-grow: 1;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.main-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.main-content p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

/**
 * Content block containers
 * Provides consistent max-width and padding
 */
.content-block {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
}

.content-block-left {
    max-width: 1200px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 1em;
    padding-right: 1em;
}

/**
 * Border box container
 * Semi-transparent with backdrop blur for glassmorphism effect
 */
.border-box {
    border: 1px solid var(--color-text-primary);
    background: rgba(var(--color-background-rgb), 0.60);
    border-radius: 12px;
    padding: 2em;
    min-width: 500px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/**
 * Full-width border box variant
 * Used for more complex layouts with internal columns
 */
.border-box-full-width {
    background: rgba(var(--color-background-rgb), 0.60);
    border-radius: 1em;
    box-shadow: 0 2px 12px rgba(0,40,63,0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 2em;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-speed);
    display: flex;
    gap: 3em;
    align-items: flex-start;
}

.border-box-full-width:hover {
    background: rgba(var(--color-background-rgb), 0.70);
}

.dark-mode .border-box-full-width {
    background: rgba(var(--color-background-rgb), 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .border-box-full-width {
        background: rgba(var(--color-background-rgb), 0.5);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

/**
 * Column layout inside border boxes
 */
.border-box-column {
    flex: 1;
    min-width: 0;
}

.border-box-column h3 {
    margin-top: 0;
    margin-bottom: 0.7em;
    color: var(--color-text-primary);
}

.border-box-column-large {
    flex: 0 0 60%;
    min-width: 0;
}

.border-box-column-small {
    flex: 0 0 40%;
    min-width: 0;
}

/**
 * Grid layout system
 * Auto-fit columns with minimum width constraint
 */
.grid-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    margin: 2.5em 0;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* ========================================================================
   4. NAVIGATION & HEADER
   ======================================================================== */

/**
 * Sticky header with glassmorphism effect
 * Uses backdrop-filter for blur transparency
 */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 64px;
    background: rgba(var(--color-background-rgb), 0.75);
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.dark-mode .header {
    background: rgba(var(--color-background-rgb), 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(var(--color-background-rgb), 0.65);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

.header .logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 40px;
}

.header .logo-img {
    height: 50px;
    width: auto;
    display: block;
    max-width: 180px;
    object-fit: contain;
}

/**
 * Navigation links container
 */
.header .nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header .nav a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(var(--color-wihoga-rgb), 0.1);
    transition: background var(--transition-speed), color var(--transition-speed),
    box-shadow var(--transition-speed), transform var(--transition-speed);
    position: relative;
    outline: none;
}

.header .nav a:hover,
.header .nav a:focus {
    background: rgba(var(--color-wihoga-rgb), 0.3);
    box-shadow: 0 2px 8px rgba(0,40,63,0.07);
    transform: translateY(-1px) scale(1.01);
}

.header .nav a.active {
    background: rgba(var(--color-wihoga-rgb), 0.2);
    color: var(--color-wihoga);
    font-weight: 600;
}

/**
 * Mobile menu toggle button
 * Hidden on desktop, shown on mobile
 */
.header .menu-checkbox {
    display: none;
}

.header .menu-toggle,
.menu-toggle-modal {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color var(--transition-speed), background var(--transition-speed),
    box-shadow var(--transition-speed), transform var(--transition-speed);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.header .menu-toggle {
    font-size: 1rem;
    margin-left: 1rem;
    z-index: 2002;
}

.menu-toggle-modal {
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 4px;
}

.header .menu-toggle:hover,
.header .menu-toggle:focus,
.menu-toggle-modal:hover,
.menu-toggle-modal:focus {
    background: var(--color-background-secondary);
    color: var(--color-text-secondary);
    box-shadow: 0 2px 8px rgba(0,40,63,0.07);
    transform: scale(1.03);
}

/**
 * Mobile navigation overlay
 * Full-screen backdrop with blur effect
 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    transition: opacity 0.25s;
    opacity: 0;
    pointer-events: none;
}

.header .menu-checkbox:checked ~ .mobile-nav-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.header .nav .menu-close {
    position: absolute;
    top: 1.2em;
    right: 1.2em;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    z-index: 10;
    padding: 0.2em;
    transition: color var(--transition-speed), background var(--transition-speed);
}

.header .nav .menu-close:hover,
.header .nav .menu-close:focus {
    color: var(--color-text-primary);
    background: var(--color-background-secondary);
    border-radius: 50%;
}

/**
 * Theme toggle button
 * Fixed position for easy access
 */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-speed);
    z-index: 2000;
}

.theme-toggle:hover,
.theme-toggle:focus {
    background: var(--color-border);
    color: var(--color-wihoga);
}

/* ========================================================================
   STATUS CHECK MODAL STYLES
   ======================================================================== */

.hidden {
    display: none !important;
}

.status-check-result-header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.status-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: statusIconAppear 0.5s ease;
}

.status-icon-large.status-completed {
    color: #2f855a;
}

.status-icon-large.status-review {
    color: #d9822b;
}

.status-icon-large.status-received {
    color: #2b6cb0;
}

@keyframes statusIconAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.status-application-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-wihoga);
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

.status-check-status-box {
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.6), rgba(var(--color-background-rgb), 0.5));
    border: 2px solid var(--color-border);
    border-radius: 1em;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.status-check-status-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 1em 0 0 1em;
}

.status-check-status-box.status-completed::before {
    background: #2f855a;
}

.status-check-status-box.status-review::before {
    background: #d9822b;
}

.status-check-status-box.status-received::before {
    background: #2b6cb0;
}

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

.status-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.status-check-contact {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
}

.status-check-contact p {
    margin: 0;
    font-size: 0.9rem;
}

.status-check-contact a {
    color: var(--color-wihoga);
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition-speed);
}

.status-check-contact a:hover {
    opacity: 0.7;
}

.dark-mode .status-check-status-box {
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.5), rgba(var(--color-background-rgb), 0.4));
    border-color: var(--color-border);
}

@media (max-width: 768px) {
    .status-icon-large {
        font-size: 3rem;
    }

    .status-application-number {
        font-size: 1.25rem;
    }

    .status-value {
        font-size: 1.25rem;
    }

    .status-check-status-box {
        padding: 1.25rem 1.5rem;
    }
}

/* ========================================================================
   5. CONTENT COMPONENTS
   ======================================================================== */

/**
 * Parallax section with background image
 * Fixed attachment for parallax effect on desktop
 */
.parallax-section {
    position: relative;
    min-height: 90vh;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    background-image: url('/static/assets/opener.webp');
}

@media (max-width: 900px), (pointer: coarse), (hover: none) {
    .parallax-section {
        background-attachment: scroll !important;
        min-height: 600px;
        height: 80vh;
    }
}

@supports (-webkit-touch-callout: none) {
    .parallax-section {
        background-attachment: scroll !important;
    }
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,40,63,0.15);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 2em 2em;
    border-radius: 0.5em;
    background: rgba(var(--color-background-rgb), 0.5);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    max-width: 500px;
    text-align: left;
}

.parallax-content p {
    font-size: 1.4rem;
    font-weight: 400;
}

/**
 * Text and image block
 * Flexible layout that can be reversed
 */
.text-image-block {
    display: flex;
    align-items: center;
    gap: 3em;
    margin: 3em 0;
    flex-wrap: wrap;
}

.text-image-block.reverse {
    flex-direction: row-reverse;
}

.text-image-block .block-image {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 480px;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,40,63,0.08);
}

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

.text-image-block .block-text {
    flex: 2 1 320px;
    min-width: 220px;
}

/**
 * Text block variants
 * Different styles for various content types
 */
.text-block {
    max-width: 800px;
    margin: 2.5em auto;
    padding: 2em 1.5em;
    background: rgba(var(--color-background-rgb), 0.60);
    border-radius: 1em;
    box-shadow: 0 2px 12px rgba(0,40,63,0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-speed);
}

.text-block:hover {
    background: rgba(var(--color-background-rgb), 0.70);
}

.dark-mode .text-block {
    background: rgba(var(--color-background-rgb), 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .text-block {
        background: rgba(var(--color-background-rgb), 0.5);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.text-block h2,
.text-block h3 {
    margin-bottom: 0.7em;
    color: var(--color-text-primary);
}

.text-block p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.text-block-plain {
    max-width: 900px;
    margin: 2.5em auto;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
    color: var(--color-text-primary);
}

.text-block-plain h2,
.text-block-plain h3 {
    margin-bottom: 0.7em;
    color: var(--color-text-primary);
}

.text-block-plain p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.text-block-transparent {
    max-width: 800px;
    margin: 2.5em auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--color-text-primary);
}

.text-block-transparent h2,
.text-block-transparent h3 {
    margin-bottom: 0.7em;
    color: var(--color-text-primary);
}

.text-block-transparent p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-block-transparent ul {
    margin-left: 1.5em;
    padding-left: 0;
}

.text-block-transparent li {
    margin-bottom: 0.8em;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    list-style-type: disc;
}

.text-block-transparent a,
.text-block a.subtle-link {
    color: var(--color-wihoga);
    text-decoration: none;
    transition: all var(--transition-speed);
    position: relative;
}

.text-block-transparent a:hover,
.text-block a.subtle-link:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

a.subtle-link {
    color: var(--color-wihoga);
    text-decoration: none;
    transition: all var(--transition-speed);
    position: relative;
}

a.subtle-link:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

/* Listen in text-block-transparent */
.text-block-transparent ul,
.text-block-transparent ol {
    margin-left: 0;
    padding-left: 1.8em;
    list-style-position: outside;
}

.text-block-transparent li {
    margin-bottom: 0.8em;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    list-style-type: disc;
    padding-left: 0.3em;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .text-block-transparent ul,
    .text-block-transparent ol {
        margin-left: 0;
        padding-left: 1.5em;
    }
}

/**
 * Multi-column text layout
 * Scrollable with custom scrollbar styling
 */
.text-block-columns {
    max-width: 1200px;
    margin: 2.5em auto;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--color-text-primary);
    column-gap: 2.5em;
    column-count: 2;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) var(--color-background-secondary);
}

.text-block-columns.text-block-cols-2 { column-count: 2; }
.text-block-columns.text-block-cols-3 { column-count: 3; }
.text-block-columns.text-block-cols-4 { column-count: 4; }

.text-block-columns h2,
.text-block-columns h3 {
    -webkit-column-span: all;
    column-span: all;
    display: block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 0.7em;
    color: var(--color-text-primary);
}

.text-block-columns p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    break-inside: avoid;
    margin-bottom: 1em;
}

.text-block-columns::-webkit-scrollbar {
    width: 8px;
    background: var(--color-background-secondary);
}

.text-block-columns::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

/**
 * Statistics row block
 * Displays metrics in a flexible row layout
 */
.stats-row-block {
    background: rgba(var(--color-background-rgb), 0.85);
    border-radius: 1em;
    box-shadow: 0 2px 12px rgba(0,40,63,0.04);
    border: 1px solid var(--color-border);
    padding: 2.5em 1.5em 2em 1.5em;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-mode .stats-row-block {
    background: rgba(var(--color-background-rgb), 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .stats-row-block {
        background: rgba(var(--color-background-rgb), 0.5);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.stats-row-block--strip {
    background: rgba(var(--color-wihoga-rgb), 0.08);
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 5em 0 5em 0;
    text-align: center;
}

.stats-row-block--plain {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.stats-row-block .stats-row-title,
.stats-row-block--strip .stats-row-title,
.stats-row-block--plain .stats-row-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5em;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5em;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 0.5em;
}

.stats-item {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5em;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-wihoga);
    margin-bottom: 0.3em;
    line-height: 1.1;
    letter-spacing: -0.01em;
    transition: color var(--transition-speed);
}

.stats-label {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.2em;
    font-weight: 500;
}

.stats-hint {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 0.2em;
    line-height: 1.3;
    min-height: 1.2em;
    max-width: 90%;
    word-break: break-word;
}

/* ========================================================================
   6. CARDS & CONTAINERS
   ======================================================================== */

/**
 * Base card component
 * Semi-transparent with glassmorphism effect
 */
.card {
    background: rgba(var(--color-background-rgb), 0.6);
    border-radius: 1em;
    box-shadow: 0 2px 16px rgba(0,40,63,0.06);
    border: 1px solid var(--color-border);
    padding: 2em 1.5em;
    transition: all 0.25s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover,
.card:focus-within {
    box-shadow: 0 6px 32px rgba(0,40,63,0.13);
    background: rgba(var(--color-background-rgb), 0.70);
    transform: translateY(-2px);
}

.dark-mode .card {
    background: rgba(var(--color-background-rgb), 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .card {
        background: rgba(var(--color-background-rgb), 0.6);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: var(--color-text-primary);
}

.card-text {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/**
 * Funding card variant
 * Specialized layout for funding opportunities
 */
.card-funding {
    background: rgba(var(--color-background-rgb), 0.60);
    border-radius: 1em;
    box-shadow: 0 2px 16px rgba(0,40,63,0.06);
    border: 1px solid var(--color-border);
    padding: 2em 1.5em 1.5em 1.5em;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    min-width: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-funding:hover,
.card-funding:focus-within {
    box-shadow: 0 6px 32px rgba(0,40,63,0.13);
    background: rgba(var(--color-background-rgb), 0.70);
}

.dark-mode .card-funding {
    background: rgba(var(--color-background-rgb), 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .card-funding {
        background: rgba(var(--color-background-rgb), 0.6);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.card-funding-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 0.7em;
}

.card-funding-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
    flex: 1 1 auto;
    margin-right: 0.5em;
}

.funding-tag {
    background: #87D0CB;
    color: black;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 0.4em;
    border: 1px solid #A7C9C9;
    padding: 0.5em 0.9em;
    white-space: nowrap;
    margin-left: auto;
    align-self: flex-start;
    letter-spacing: 0.01em;
    box-shadow: rgba(46, 204, 64, 0.08) 0 1px 4px;
}

.card-funding-text {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 1em;
}

.card-funding-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.1em;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-top: auto;
}

.funding-table {
    width: auto;
    border-collapse: collapse;
    margin-bottom: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
}

.funding-table th,
.funding-table td {
    border: none;
    padding: 0.18em 1em;
    text-align: left;
    font-size: 0.97rem;
    color: var(--color-text-secondary);
    min-width: 0;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.funding-table th {
    font-weight: 600;
    color: var(--color-text-primary);
    padding-bottom: 0.1em;
}

.funding-table tr + tr td {
    color: var(--color-text-muted);
    font-size: 0.93rem;
    padding-top: 0.1em;
}

.funding-table td:last-child,
.funding-table th:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-funding-footer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    flex: 0 0 auto;
    min-width: 0;
    overflow: hidden;
}

.funding-apply-link {
    font-weight: 700;
    color: var(--color-wihoga);
    background: none;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0.1em 0.2em;
    transition: color 0.18s;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.funding-apply-link:hover,
.funding-apply-link:focus {
    opacity: 0.5;
}

/* ========================================================================
   7. BUTTONS & FORMS
   ======================================================================== */

/**
 * Button components
 * Base styles with primary and secondary variants
 */
.btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    box-shadow: 0 2px 8px rgba(0,40,63,0.04);
    transition: background var(--transition-speed), color var(--transition-speed),
    box-shadow var(--transition-speed), transform var(--transition-speed);
    text-decoration: none;
    outline: none;
    min-width: 120px;
    min-height: 44px;
    margin: 8px 0;
    gap: 0.5em;
}

.btn-primary {
    background: var(--color-wihoga);
    color: var(--color-wihoga-inv);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #003a5c;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,40,63,0.09);
    transform: translateY(-1px) scale(1.01);
}

.btn-secondary {
    background: var(--color-background-secondary);
    color: var(--color-wihoga);
    border: 1px solid var(--color-wihoga);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-wihoga);
    color: var(--color-wihoga-inv);
    box-shadow: 0 2px 8px rgba(0,40,63,0.09);
    transform: translateY(-1px) scale(1.01);
}

.btn:active,
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}

/* ========================================================================
   8. MODALS & OVERLAYS
   ======================================================================== */

/**
 * Modal overlay backdrop
 * Full-screen with blur effect
 */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 34, 44, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.25s;
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/**
 * Wide modal component
 * Used for detailed content display
 */
.modal-wide {
    display: none;
    position: fixed;
    z-index: 3100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    width: 90vw;
    max-width: 900px;
    height: 85vh;
    max-height: 850px;
    background: rgba(var(--color-background-rgb), 0.95);
    color: var(--color-text-primary);
    border-radius: 1.2em;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    border: 1px solid var(--color-border);
    transition: opacity 0.25s, transform 0.25s;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    flex-direction: column;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-wide.active {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.dark-mode .modal-wide {
    background: rgba(var(--color-background-rgb), 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-wide .modal-wide-content::after {
    content: "";
    display: block;
    height: 140px;
}

@media (prefers-color-scheme: dark) {
    .modal-wide {
        background: rgba(var(--color-background-rgb), 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.modal-wide .modal-wide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 2em;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.modal-wide .modal-wide-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.modal-wide .modal-wide-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color var(--transition-speed), background var(--transition-speed),
    transform 0.32s cubic-bezier(.45,1.6,.55,1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-wide .modal-wide-close:hover,
.modal-wide .modal-wide-close:focus {
    color: var(--color-text-primary);
    background: var(--color-background-secondary);
    transform: rotate(90deg) scale(1.08);
}

.modal-wide .modal-wide-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2em;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) var(--color-background-secondary);
}

.modal-wide .modal-wide-content::-webkit-scrollbar {
    width: 8px;
    background: var(--color-background-secondary);
}

.modal-wide .modal-wide-content::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.modal-wide .modal-wide-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/**
 * Menu modal component
 * Smaller modal for navigation
 */
.modal-menu {
    display: none;
    position: fixed;
    z-index: 3100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    min-width: 320px;
    width: 90vw;
    max-width: 420px;
    background: rgba(var(--color-background-rgb), 0.95);
    color: var(--color-text-primary);
    border-radius: 1.2em;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    padding: 2.5em 1.5em 2em 1.5em;
    transition: opacity 0.25s, transform 0.25s;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-menu.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.dark-mode .modal-menu {
    background: rgba(var(--color-background-rgb), 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (prefers-color-scheme: dark) {
    .modal-menu {
        background: rgba(var(--color-background-rgb), 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.modal-menu .modal-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2em;
}

.modal-menu .modal-menu-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.modal-menu .modal-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color var(--transition-speed), background var(--transition-speed),
    transform 0.32s cubic-bezier(.45,1.6,.55,1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-menu .modal-menu-close:hover,
.modal-menu .modal-menu-close:focus {
    color: var(--color-text-primary);
    background: var(--color-background-secondary);
    transform: rotate(90deg) scale(1.08);
}

.modal-menu .modal-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.modal-menu .modal-menu-link {
    display: block;
    width: 100%;
    padding: 0.9em 0.7em;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 0.5em;
    font-weight: 500;
    transition: background var(--transition-speed), color var(--transition-speed),
    transform 0.28s cubic-bezier(.45,1.6,.55,1), box-shadow var(--transition-speed);
}

.modal-menu .modal-menu-link:hover,
.modal-menu .modal-menu-link:focus {
    background: rgba(var(--color-wihoga-rgb), 0.1);
}

.modal-menu-link.active {
    background: rgba(var(--color-wihoga-rgb), 0.15);
    color: var(--color-wihoga);
    font-weight: 600;
}


/**
 * Error modal component
 * Centered display for error messages
 */
.error-modal-bg {
    min-height: 60vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-modal {
    background: rgba(var(--color-background-rgb), 0.95);
    color: var(--color-text-primary);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 420px;
    width: 90vw;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: background var(--transition-speed), color var(--transition-speed);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark-mode .error-modal {
    background: rgba(var(--color-background-rgb), 0.85);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (prefers-color-scheme: dark) {
    .error-modal {
        background: rgba(var(--color-background-rgb), 0.85);
        color: var(--color-text-primary);
        border: 1px solid var(--color-border);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

.error-indicator {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f44336;
}

/* ========================================================================
   9. FOOTER & NEWSLETTER
   ======================================================================== */

/**
 * Newsletter section
 * Email subscription form at top of footer
 */
.newsletter {
    background: rgba(var(--color-background-rgb), 0.95);
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-speed);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-mode .newsletter {
    background: rgba(var(--color-background-rgb), 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
    .newsletter {
        background: rgba(var(--color-background-rgb), 0.75);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-text h2 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.newsletter-text p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 300px;
    max-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
    background: var(--color-input-bg);
    color: var(--color-text-primary);
    transition: border-color var(--transition-speed), background var(--transition-speed);
}

.newsletter-input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-text-primary);
    background: var(--color-input-bg-focus);
}

.newsletter-button {
    padding: 10px 20px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition-speed), color var(--transition-speed),
    box-shadow var(--transition-speed), transform var(--transition-speed);
    white-space: nowrap;
}

.newsletter-button:hover,
.newsletter-button:focus {
    background: var(--color-button-hover);
    color: var(--color-text-secondary);
    box-shadow: 0 2px 8px rgba(0,40,63,0.07);
    transform: translateY(-1px) scale(1.01);
}

/**
 * Footer main section
 * Multi-column layout with brand and links
 */
footer {
    background: var(--color-background-secondary);
    border-top: 1px solid var(--color-border);
    margin-top: 80px;
    transition: background-color var(--transition-speed);
}

.footer-main {
    padding: 40px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    margin-top: 16px;
    color: var(--color-text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer-column a:hover {
    color: var(--color-link-hover);
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.footer-description {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-description em {
    font-style: italic;
    color: var(--color-wihoga);
    font-size: 1.05rem;
    line-height: 1.5;
}

.footer-claim {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: 0.5em;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 16px;
    transition: all var(--transition-speed);
    position: relative;
}

.social-link:hover {
    border-color: var(--color-text-primary);
    color: var(--color-link-hover);
    transform: translateY(-2px);
}

.contact-item {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.contact-item a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-item a:hover {
    text-decoration: underline;
}

.badges {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 8px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all var(--transition-speed);
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-speed);
}

.legal-links a:hover {
    color: var(--color-link-hover);
}

/* ========================================================================
   10. WIZARD FORM STYLES
   ======================================================================== */

/**
 * Multi-step wizard form component
 * Used for application processes
 */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.wizard-step-indicator {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.wizard-step-current {
    color: var(--color-wihoga);
    font-weight: 600;
    font-size: 1rem;
}

.wizard-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 200px;
}

.wizard-step {
    flex: 1;
}

.wizard-form-group {
    margin-bottom: 1.5rem;
}

.wizard-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.wizard-form-label.required::after {
    content: " *";
    color: #e74c3c;
}

.wizard-form-input,
.wizard-form-textarea,
.wizard-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-input-bg);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.wizard-form-input:focus,
.wizard-form-textarea:focus,
.wizard-form-select:focus {
    outline: none;
    border-color: var(--color-wihoga);
    background: var(--color-input-bg-focus);
    box-shadow: 0 0 0 3px rgba(var(--color-wihoga-rgb), 0.1);
}

.wizard-form-input.input-error,
.wizard-form-textarea.input-error,
.wizard-form-select.input-error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.wizard-form-input.input-error:focus,
.wizard-form-textarea.input-error:focus,
.wizard-form-select.input-error:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

#applyWizardContent {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.wizard-success-centered {
    min-height: 420px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:2.5rem 1.5rem;
}
.wizard-success-centered h3 {
    margin-top:0;
    font-size:1.5rem;
}
.wizard-success-centered p {
    max-width:640px;
    line-height:1.5;
}

.wizard-progress {
    flex-shrink: 0;
}

.wizard-content {
    flex: 0 1 auto;
}

.wizard-spacer {
    flex: 1 1 auto;
}

.wizard-actions {
    flex-shrink: 0;
}

/**
 * Custom styled select dropdown
 * Enhanced appearance with custom arrow
 */
.wizard-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, var(--color-text-secondary) 50%),
            linear-gradient(135deg, var(--color-text-secondary) 50%, transparent 50%),
            linear-gradient(to right, var(--color-border), var(--color-border));
    background-position:
            calc(100% - 18px) 50%,
            calc(100% - 13px) 50%,
            calc(100% - 2.5em) 50%;
    background-size: 7px 7px, 7px 7px, 1px 70%;
    background-repeat: no-repeat;
    cursor: pointer;
}

.wizard-form-select:hover {
    border-color: var(--color-text-secondary);
}

.wizard-form-select:focus {
    background-image:
            linear-gradient(45deg, transparent 50%, var(--color-wihoga) 50%),
            linear-gradient(135deg, var(--color-wihoga) 50%, transparent 50%),
            linear-gradient(to right, var(--color-wihoga), var(--color-wihoga));
}

.wizard-form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

/**
 * Character counter for text inputs
 */
.wizard-char-counter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0.4em;
    font-size: 0.7rem;
    gap: 0.6em;
    color: var(--color-text-muted);
}

.wizard-char-value {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.wizard-char-value.near-limit {
    color: #d9822b;
}

.wizard-char-value.over-limit {
    color: #d33;
    animation: pulseOver 0.8s ease infinite alternate;
}

@keyframes pulseOver {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/**
 * Alert components for wizard
 * Info, success, and error states
 */
.alert {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 0.8em;
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.58), rgba(var(--color-background-rgb), 0.48));
    padding: 0.85em 1em 0.85em 0.95em;
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    gap: 0.6em;
    align-items: flex-start;
    overflow: hidden;
    margin-top: 1em;
    margin-bottom: 1em;
}

.alert::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-wihoga);
    border-radius: 0.8em 0 0 0.8em;
}

.alert-info::before {
    background: #2b6cb0;
}

.alert-success::before {
    background: #2f855a;
}

.alert i {
    color: var(--color-wihoga);
    margin-top: 0.1em;
}

.dark-mode .alert {
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.5), rgba(var(--color-background-rgb), 0.4));
}

.info-box {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 0.8em;
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.58), rgba(var(--color-background-rgb), 0.48));
    padding: 1em 1.2em 1em 1em;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1em 0;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.info-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 0.8em 0 0 0.8em;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin-bottom: 0.6em;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.info-box-header i {
    font-size: 1.1em;
}

.info-box-content {
    color: var(--color-text-secondary);
    padding-left: 1.7em;
}

.info-box-content p {
    margin: 0;
}

/* Varianten */
.info-box-target::before {
    background: #3b82f6; /* Blau für Zielgruppe */
}

.info-box-target .info-box-header {
    color: #3b82f6;
}

.info-box-requirements::before {
    background: #10b981; /* Grün für Anforderungen */
}

.info-box-requirements .info-box-header {
    color: #10b981;
}

.info-box-exclusion::before {
    background: #ef4444; /* Rot für Ausschlüsse */
}

.info-box-exclusion .info-box-header {
    color: #ef4444;
}

.dark-mode .info-box {
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.5), rgba(var(--color-background-rgb), 0.4));
}

/* Listen in Info-Boxen */
.info-box-content ul {
    margin: 0;
    padding-left: 1.2em;
    list-style-type: disc;
}

.info-box-content li {
    margin-bottom: 0.5em;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.info-box-content li:last-child {
    margin-bottom: 0;
}

/* Info-Meta unter Beschreibung positionieren */
.wizard-info-section .info-meta {
    margin-top: 1.2em;
    margin-bottom: 1.5em;
}

/**
 * AI processing badge
 */
.wizard-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    background: rgba(var(--color-wihoga-rgb), 0.12);
    color: var(--color-wihoga);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35em 0.55em;
    border-radius: 0.5em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    top: -1px;
}

.dark-mode .wizard-ai-badge {
    background: rgba(var(--color-wihoga-rgb), 0.25);
}

/**
 * Wizard review section
 * Displays collected data before submission
 */
.review-section {
    background: rgba(var(--color-background-rgb), 0.55);
    border: 1px solid var(--color-border);
    padding: 1.2em 1.2em 1em;
    border-radius: 0.9em;
    margin-top: 1.2em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.review-section h4 {
    margin-top: 0;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6em 0.9em;
    margin-top: 0.6em;
    font-size: 0.75rem;
}

.review-answer {
    background: rgba(var(--color-background-rgb), 0.6);
    border: 1px solid var(--color-border);
    padding: 0.9em 0.9em 0.75em;
    border-radius: 0.7em;
    margin-top: 0.6em;
    position: relative;
}

.review-answer-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0.35em 0 0;
    white-space: pre-wrap;
}

.review-answer-empty {
    background: rgba(var(--color-background-rgb), 0.4);
    position: relative;
    padding-left: 1.2em;
    overflow: hidden;
}

.review-answer-empty::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #f39c12;
    border-radius: 0.7em 0 0 0.7em;
}

.review-answer-empty .review-answer-text {
    font-style: italic;
}

/**
 * CAPTCHA container
 */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin: 0.4em 0 0.6em;
}

.captcha-image {
    border: 1px solid var(--color-border);
    border-radius: 0.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    height: 54px;
    width: 150px;
    object-fit: cover;
}

/**
 * Wizard error and success states
 */
.wizard-error {
    background: #ffe5e5;
    color: #611;
    border: 1px solid #f5b5b5;
    padding: 0.75em 0.9em;
    border-radius: 0.8em;
    font-size: 0.8rem;
    margin-bottom: 1em;
    display: flex;
    gap: 0.6em;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wizard-error i {
    color: #c62828;
}

.dark-mode .wizard-error {
    background: rgba(130,0,0,0.35);
    border-color: #a33;
    color: #ffdddd;
}

.wizard-success {
    text-align: center;
    padding: 2.5em 1.5em 2em;
    animation: wizardFade 0.35s ease;
}

.wizard-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.6em;
}

.wizard-success .text-success {
    color: #2f855a;
}

/**
 * Checkbox group styling
 * Enhanced appearance for terms acceptance
 */
.wizard-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.55), rgba(var(--color-background-rgb), 0.45));
    border: 1px solid var(--color-border);
    padding: 1rem 1.15rem 0.95rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.06);
    line-height: 1.4;
    margin-top: 1em;
}

.wizard-checkbox-group input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
}

.wizard-checkbox-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.wizard-checkbox-group label a {
    color: var(--color-wihoga);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.wizard-checkbox-group label a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background: currentColor;
    opacity: 0.25;
    transition: opacity 0.25s;
}

.wizard-checkbox-group label a:hover::after {
    opacity: 0.6;
}

.dark-mode .wizard-checkbox-group {
    background: linear-gradient(135deg, rgba(var(--color-background-rgb), 0.48), rgba(var(--color-background-rgb), 0.38));
    box-shadow: 0 4px 16px -6px rgba(0,0,0,0.5);
}

/**
 * Info section styling
 */
.wizard-info-section h2 {
    margin-top: 0;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.wizard-info-section p {
    font-size: 0.92rem;
    line-height: 1.5;
}

.wizard-info-section .info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 0.85rem;
    margin-top: 1rem;
}

.wizard-info-section .info-meta-item {
    background: rgba(var(--color-background-rgb), 0.45);
    border: 1px solid var(--color-border);
    padding: 0.5rem 0.8rem 0.45rem;
    border-radius: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/**
 * Wizard action buttons
 * Floating bar with glassmorphism effect
 */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.9em;
    padding: 0.9em 1.4em 0.95em;
    border-top: none;
    background: linear-gradient(120deg, rgba(var(--color-background-rgb), 0.46), rgba(var(--color-background-rgb), 0.6));
    position: sticky;
    bottom: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    max-width: 760px;
    margin: 1.2rem auto 0.8rem;
    box-shadow: 0 10px 34px -10px rgba(0,0,0,0.35), 0 4px 14px -4px rgba(0,0,0,0.22);
}

.wizard-actions .btn {
    flex: 0 0 auto;
    min-width: 170px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.wizard-actions .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-actions .btn.btn-secondary {
    background: rgba(var(--color-background-rgb), 0.35);
}

.wizard-actions .btn.btn-secondary:hover {
    background: rgba(var(--color-background-rgb), 0.5);
}

.wizard-actions:hover {
    box-shadow: 0 12px 42px -12px rgba(0,0,0,0.45), 0 5px 16px -4px rgba(0,0,0,0.28);
}

.dark-mode .wizard-actions {
    background: linear-gradient(120deg, rgba(var(--color-background-rgb), 0.4), rgba(var(--color-background-rgb), 0.54));
}

/**
 * Scrollable review area
 */
.wizard-review .review-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
}

.wizard-review .review-scroll::-webkit-scrollbar {
    width: 8px;
}

.wizard-review .review-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.wizard-review .review-scroll::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.dark-mode #applyModal {
    background: rgba(var(--color-background-rgb), 0.9);
}

.dark-mode .review-section {
    background: rgba(var(--color-background-rgb), 0.45);
}

.dark-mode .review-answer {
    background: rgba(var(--color-background-rgb), 0.5);
}

.dark-mode .wizard-form-input,
.dark-mode .wizard-form-select,
.dark-mode .wizard-form-textarea {
    background: rgba(255,255,255,0.04);
}

/* ========================================================================
   11. NEWSROOM COMPONENTS
   ======================================================================== */

/**
 * Newsroom container and header
 */
.newsroom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.newsroom-header {
    text-align: center;
    margin-bottom: 3rem;
}

.newsroom-header h1 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.newsroom-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/**
 * Newsroom post card
 * 1:1 aspect ratio image with content
 */
.newsroom-post-card {
    background: rgba(var(--color-background-rgb), 0.60);
    border-radius: 1em;
    box-shadow: 0 2px 16px rgba(0,40,63,0.06);
    border: 1px solid var(--color-border);
    transition: all 0.25s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsroom-post-card:hover {
    box-shadow: 0 6px 32px rgba(0,40,63,0.13);
    background: rgba(var(--color-background-rgb), 0.70);
    transform: translateY(-2px);
}

.dark-mode .newsroom-post-card {
    background: rgba(var(--color-background-rgb), 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.newsroom-post-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--color-background-secondary);
}

.newsroom-post-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsroom-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.newsroom-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.newsroom-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.newsroom-post-title a:hover {
    color: var(--color-wihoga);
}

.newsroom-post-excerpt {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.newsroom-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.newsroom-post-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.newsroom-read-more {
    color: var(--color-wihoga);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity var(--transition-speed);
}

.newsroom-read-more:hover {
    opacity: 0.6;
}

/**
 * Newsroom grid layouts
 * Responsive grid based on number of posts
 */
.newsroom-grid {
    display: grid;
    gap: 2rem;
    margin: 2.5rem 0;
}

.newsroom-grid.posts-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.newsroom-grid.posts-1 .newsroom-post-image {
    padding-bottom: 60%;
}

.newsroom-grid.posts-2 {
    grid-template-columns: repeat(2, 1fr);
}

.newsroom-grid.posts-3 {
    grid-template-columns: repeat(3, 1fr);
}

.newsroom-grid.posts-many {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/**
 * Placeholder for missing images
 */
.newsroom-post-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-wihoga-rgb), 0.05);
}

.newsroom-post-image-placeholder i {
    font-size: 4rem;
    color: var(--color-wihoga);
    opacity: 0.3;
}

.newsroom-post-card:hover .newsroom-post-image-placeholder i {
    opacity: 0.5;
    transform: scale(1.1);
    transition: all var(--transition-speed);
}

.dark-mode .newsroom-post-image-placeholder {
    background: rgba(var(--color-wihoga-rgb), 0.08);
}

.dark-mode .newsroom-post-image-placeholder i {
    opacity: 0.4;
}

/**
 * Article page styles
 */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-article {
    background: var(--color-background-secondary);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.article-keywords {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.article-hero-image {
    margin: 2rem -3rem;
}

.article-hero-image img {
    width: 100%;
    height: auto;
}

.article-summary {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.article-content {
    margin: 2rem 0;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section h2 {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-text-primary);
    background: transparent !important;
}

.back-link {
    color: var(--color-wihoga);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    opacity: 0.7;
}

.devfour-logo {
    max-width: 6em;
}

/* ========================================================================
   12. LEGAL PAGES
   ======================================================================== */

/**
 * Legal page layout and typography
 */
.legal-page {
    max-width: 900px;
    margin: 2.5em auto;
    padding: 0 1.5em;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--color-text-primary);
    line-height: 1.6;
}

.legal-page h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.legal-page .text-muted {
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5em;
}

.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2.5em;
    margin-bottom: 1em;
    color: var(--color-text-primary);
    position: relative;
    padding-left: 1em;
}

.legal-page h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 6px;
    height: 1.2em;
    background: var(--color-wihoga);
    border-radius: 2px;
}

.legal-page h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    color: var(--color-text-primary);
}

.legal-page p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 1.2em;
    text-align: left;
    hyphens: auto;
}

.legal-page ul,
.legal-page ol {
    margin-left: 1.5em;
    margin-bottom: 1.2em;
    padding-left: 0.5em;
}

.legal-page li {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.legal-page li strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.legal-page a {
    color: var(--color-wihoga);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-speed);
    font-weight: 500;
}

.legal-page a:hover,
.legal-page a:focus {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-wihoga);
    background: rgba(var(--color-wihoga-rgb), 0.08);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    margin: -0.1em -0.3em;
}

/**
 * Legal page special sections
 */
.legal-contact-box {
    background: rgba(var(--color-background-rgb), 0.6);
    border-radius: 0.8em;
    border: 1px solid var(--color-border);
    padding: 1.8em 2em;
    margin: 1.5em 0;
    box-shadow: 0 2px 12px rgba(0,40,63,0.04);
}

.legal-contact-box strong {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.8em;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5em;
}

.legal-contact-box p {
    margin-bottom: 0.3em;
    color: var(--color-text-secondary);
    text-align: left;
}

.legal-contact-box br + br {
    display: none;
}

.legal-section {
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(var(--color-border), 0.3);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-disclaimer {
    background: rgba(var(--color-background-rgb), 0.6);
    padding: 1.5em 2em;
    margin: 2em 0;
    border-radius: 0 0.6em 0.6em 0;
    position: relative;
    padding-left: 2.5em;
    overflow: hidden;
}

.legal-disclaimer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-wihoga);
}

.legal-disclaimer h2,
.legal-disclaimer h3 {
    margin-top: 0;
    color: var(--color-text-primary);
}

.legal-disclaimer h2::before {
    display: none;
}

.privacy-rights-list {
    background: rgba(var(--color-background-rgb), 0.6);
    border-radius: 0.8em;
    padding: 1.5em 2em;
    margin: 1.5em 0;
    border: 1px solid var(--color-border);
}

.privacy-rights-list ul {
    margin-left: 0;
    padding-left: 0;
}

.privacy-rights-list li {
    margin-bottom: 1em;
    padding-left: 0.5em;
    position: relative;
}

/* ========================================================================
   13. ANIMATIONS
   ======================================================================== */

/**
 * Scroll-triggered animations
 * Elements fade and slide into view
 */
.animate-fade-in {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

.animate-in-view {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
}

/**
 * Animation delays
 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

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

/* ========================================================================
   14. UTILITY CLASSES
   ======================================================================== */

/**
 * Padding utilities
 */
.p-top-xs { padding-top: 0.25em !important; }
.p-top-sm { padding-top: 0.5em !important; }
.p-top-md { padding-top: 1em !important; }
.p-top-lg { padding-top: 2em !important; }
.p-bottom-xs { padding-bottom: 0.25em !important; }
.p-bottom-sm { padding-bottom: 0.5em !important; }
.p-bottom-md { padding-bottom: 1em !important; }
.p-bottom-lg { padding-bottom: 2em !important; }
.p-left-xs { padding-left: 0.25em !important; }
.p-left-sm { padding-left: 0.5em !important; }
.p-left-md { padding-left: 1em !important; }
.p-left-lg { padding-left: 2em !important; }
.p-right-xs { padding-right: 0.25em !important; }
.p-right-sm { padding-right: 0.5em !important; }
.p-right-md { padding-right: 1em !important; }
.p-right-lg { padding-right: 2em !important; }
.p-zero { padding: 0 !important; }

/**
 * Margin utilities
 */
.m-top-auto { margin-top: auto !important; }
.m-top-xs { margin-top: 0.25em !important; }
.m-top-sm { margin-top: 0.5em !important; }
.m-top-md { margin-top: 1em !important; }
.m-top-lg { margin-top: 2em !important; }
.m-top-xl { margin-top: 3em !important; }
.m-bottom-auto { margin-bottom: auto !important; }
.m-bottom-xs { margin-bottom: 0.25em !important; }
.m-bottom-sm { margin-bottom: 0.5em !important; }
.m-bottom-md { margin-bottom: 1em !important; }
.m-bottom-lg { margin-bottom: 2em !important; }
.m-left-xs { margin-left: 0.25em !important; }
.m-left-sm { margin-left: 0.5em !important; }
.m-left-md { margin-left: 1em !important; }
.m-left-lg { margin-left: 2em !important; }
.m-right-xs { margin-right: 0.25em !important; }
.m-right-sm { margin-right: 0.5em !important; }
.m-right-md { margin-right: 1em !important; }
.m-right-lg { margin-right: 2em !important; }
.margin-null { margin: 0 !important; }

/**
 * Border radius utilities
 */
.rounded-none { border-radius: 0 !important; }
.rounded-xs { border-radius: 0.125em !important; }
.rounded-sm { border-radius: 0.25em !important; }
.rounded-md { border-radius: 0.5em !important; }
.rounded-lg { border-radius: 1em !important; }
.rounded-xl { border-radius: 2em !important; }
.rounded-full { border-radius: 100% !important; }

/**
 * Text alignment utilities
 */
.text-center { text-align: center !important; }
.text-centered { text-align: center; }
.text-justified { text-align: justify; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-align-justify { text-align: justify !important; }
.text-primary { color: var(--color-text-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-muted { color: var(--color-text-muted) !important; }

/**
 * Display utilities
 */
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/**
 * Layout utilities
 */
.element-centered {
    margin-left: auto !important;
    margin-right: auto !important;
}

.offset-navbar {
    margin-top: -64px;
}

.fullpage {
    min-height: 85vh;
}

/**
 * Font size utilities
 */
.font-xs { font-size: 0.75rem !important; }
.font-sm { font-size: 0.875rem !important; }
.font-md { font-size: 1rem !important; }
.font-lg { font-size: 1.25rem !important; }
.font-xl { font-size: 1.5rem !important; }

/* ========================================================================
   15. RESPONSIVE DESIGN
   ======================================================================== */

/**
 * Mobile navigation (900px breakpoint)
 * Transforms navigation into slide-out menu
 */
@media (max-width: 900px) {
    .header {
        padding: 0 18px;
    }

    .header .menu-toggle,
    .menu-toggle-modal {
        display: flex !important;
    }

    .header .nav {
        display: none !important;
    }

    .dark-mode .header .nav {
        background: rgba(0,0,10,0.97);
    }

    .header .menu-checkbox:checked ~ .nav {
        transform: translateX(0);
    }

    .header .nav a {
        width: 100%;
        text-align: left;
        padding: 18px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 1.15rem;
    }

    .text-image-block,
    .text-image-block.reverse {
        flex-direction: column;
        gap: 1.5em;
    }

    .text-image-block .block-image,
    .text-image-block .block-text {
        max-width: 100%;
        min-width: 0;
    }

    .stats-row-block--strip {
        padding: 2em 0 1.2em 0;
    }

    .stats-row {
        gap: 1.2em;
    }

    .stats-item {
        min-width: 120px;
        max-width: 100%;
    }

    .stats-number {
        font-size: 2rem;
    }

    .text-block-columns,
    .text-block-cols-4,
    .text-block-cols-3 {
        column-count: 2 !important;
        max-height: 320px;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-5 {
        grid-template-columns: 1fr !important;
    }

    .newsroom-grid.posts-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/**
 * Tablet breakpoint (1024px)
 * Footer layout adjustments
 */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 3;
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
}

/**
 * Large screen adjustments (1100px)
 */
@media (max-width: 1100px) {
    .text-block-columns,
    .text-block-cols-4 {
        column-count: 3 !important;
        max-height: 400px;
    }
}

/**
 * Tablet breakpoint (768px)
 * Major layout reorganization
 */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 20px;
    }

    .main-content h1 {
        font-size: 1.8rem;
    }

    .main-content p {
        font-size: 1rem;
    }

    footer {
        margin-top: 40px;
    }

    .newsletter {
        padding: 30px 20px;
    }

    .newsletter-text h2 {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
        padding: 12px;
    }

    .footer-main {
        padding: 30px 20px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-brand {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 25px;
        padding-right: 0;
    }

    .footer-column {
        padding-bottom: 20px;
        padding-top: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .legal-links {
        justify-content: center;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .social-links {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .modal-wide {
        width: 95vw;
        height: 90vh;
        max-width: none;
        max-height: none;
    }

    .modal-wide .modal-wide-header {
        padding: 1.2em 1.5em;
    }

    .modal-wide .modal-wide-content {
        padding: 1.5em;
    }

    .modal-wide .modal-wide-title {
        font-size: 1.25rem;
    }

    .legal-page {
        padding: 0 1em;
    }

    .legal-page h1 {
        font-size: 1.8rem;
    }

    .legal-page h2 {
        font-size: 1.25rem;
        margin-top: 2em;
        padding-left: 0.8em;
    }

    .legal-contact-box {
        padding: 1.2em 1.5em;
    }

    .legal-page ul,
    .legal-page ol {
        margin-left: 1em;
        padding-left: 0.3em;
    }

    .privacy-rights-list {
        padding: 1.2em 1.5em;
    }

    .legal-disclaimer {
        padding: 1.2em 1.5em 1.2em 2em;
    }

    .border-box-full-width {
        flex-direction: column !important;
        gap: 1.5em !important;
        align-items: stretch !important;
    }

    .border-box-column {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/**
 * Landscape mode adjustments for tablets
 */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-wide {
        width: 95vw;
        height: 95vh;
        max-width: none;
        max-height: none;
    }

    .modal-wide .modal-wide-content {
        padding: 1em 1.5em;
    }

    .modal-wide .modal-wide-header {
        padding: 1em 1.5em;
    }
}

/**
 * Grid adjustments (700px)
 */
@media (max-width: 700px) {
    .grid-block {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }
}

/**
 * Small mobile breakpoint (600px)
 */
@media (max-width: 600px) {
    .modal-menu {
        min-width: 0;
        width: 92vw;
        max-width: 92vw;
        padding: 1.5em 3vw 1.5em 3vw;
    }

    .modal-menu .modal-menu-header {
        margin-bottom: 1.2em;
    }

    .stats-row-block,
    .stats-row-block--strip {
        padding: 1.2em 0.5em 1em 0.5em;
    }

    .stats-row-title {
        font-size: 1.15rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5em;
        align-items: stretch;
    }

    .stats-item {
        min-width: 0;
        padding: 0 0.2em;
        flex: 1 1 0;
    }

    .stats-number {
        font-size: 1.5rem;
    }

    .text-block-columns,
    .text-block-cols-4,
    .text-block-cols-3,
    .text-block-cols-2 {
        column-count: 1 !important;
        column-gap: 1.2em;
        max-height: none;
    }

    .card-funding {
        padding: 1.2em 0.7em 1em 0.7em;
    }

    .card-funding-title {
        font-size: 1rem;
    }

    .funding-tag {
        font-size: 0.85rem;
        padding: 0.18em 0.7em;
    }

    .funding-table th,
    .funding-table td {
        font-size: 0.92rem;
    }

    .funding-apply-link {
        font-size: 1rem;
    }

    .card-funding-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2em;
        margin-top: auto;
    }

    .card-funding-footer {
        margin-left: 0;
        justify-content: flex-end;
        max-width: 100%;
    }

    .parallax-section {
        min-height: 75vh !important;
    }

    .parallax-content {
        margin-left: auto;
        margin-right: auto;
        transform: none;
        text-align: center;
        max-width: 95vw;
    }

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

    .newsroom-grid.posts-1,
    .newsroom-grid.posts-2,
    .newsroom-grid.posts-3,
    .newsroom-grid.posts-many {
        grid-template-columns: 1fr;
    }

    .newsroom-grid.posts-1 .newsroom-post-image {
        padding-bottom: 100%;
    }

    .wizard-actions {
        padding: 0.85em 1.1em 0.9em;
        flex-wrap: wrap;
        border-radius: 1.6rem;
    }

    .wizard-actions .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }

    .wizard-progress {
        padding: 1em 1.2em 0.4em;
    }
}

/**
 * Extra small mobile breakpoint (480px)
 */
@media (max-width: 480px) {
    .legal-page h1 {
        font-size: 1.6rem;
    }

    .legal-page h2 {
        font-size: 1.15rem;
        padding-left: 0.6em;
    }

    .legal-page h2::before {
        width: 6px;
        height: 1em;
    }

    .legal-contact-box {
        padding: 1em 1.2em;
    }

    .legal-disclaimer {
        padding: 1em 1.2em 1em 1.8em;
    }

    .privacy-rights-list {
        padding: 1em 1.2em;
    }

    .border-box-full-width {
        padding: 1.5em !important;
        gap: 1em !important;
    }
}

/**
 * Tiny mobile breakpoint (380px)
 */
@media (max-width: 380px) {
    .main-content h1 {
        font-size: 1.5rem;
    }

    .newsletter-text h2 {
        font-size: 1rem;
    }

    .newsletter-text p {
        font-size: 0.85rem;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .modal-wide {
        width: calc(100vw - 1em);
        max-width: calc(100vw - 1em);
        height: calc(100vh - 1em);
        max-height: calc(100vh - 1em);
        margin: 0.5em;
        border-radius: 0.8em;
    }

    .modal-wide .modal-wide-content {
        padding: 1em;
    }

    .modal-wide .modal-wide-header {
        padding: 1em;
    }

    .modal-wide .modal-wide-title {
        font-size: 1.1rem;
    }
}

/**
 * Wizard form responsive adjustments
 */
@media (max-width: 840px) {
    #applyModal {
        width: 96vw;
        max-height: 92vh;
    }
}

@media (max-width: 560px) {
    .wizard-form-group {
        margin-bottom: 0.9em;
    }

    .wizard-actions {
        gap: 0.6em;
    }

    .wizard-actions .btn {
        min-width: 0;
        flex: 1 1 100%;
    }

    .review-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .captcha-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-image {
        width: 100%;
        max-width: 220px;
        height: 64px;
    }
}

.no-margin-bottom {
    margin-bottom: 0!important;
}

.no-height-after::after {
    height: 0!important;
}

#wizardActionsContainer:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.answer-pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 0 1em;
    font-family: inherit;
    background: rgba(var(--color-background-rgb), 0.55);
    border: 1px solid var(--color-border);
    padding: 0.75em 0.9em;
    border-radius: 0.6em;
}

/* ========================================================================
   NEWSLETTER MODAL STYLES
   ======================================================================== */

/**
 * Newsletter Footer - Vereinfachtes Design
 * Nur E-Mail-Input + Anmelde-Button
 */
.newsletter-form-simple {
    display: flex;
    gap: 12px;
    max-width: 500px;
}

.newsletter-form-simple .newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-input-bg);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed), background var(--transition-speed);
}

.newsletter-form-simple .newsletter-input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form-simple .newsletter-input:focus {
    outline: none;
    border-color: var(--color-wihoga);
    background: var(--color-input-bg-focus);
    box-shadow: 0 0 0 3px rgba(var(--color-wihoga-rgb), 0.1);
}

.newsletter-form-simple .newsletter-button {
    padding: 12px 32px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
    min-width: 120px;
}

.newsletter-form-simple .newsletter-button:hover,
.newsletter-form-simple .newsletter-button:focus {
    background: var(--color-button-hover);
    box-shadow: 0 2px 8px rgba(0,40,63,0.07);
    transform: translateY(-1px) scale(1.01);
}

/**
 * Wizard Char Counter - Vertikale Zentrierung
 * Überschreibt/erweitert bestehende wizard-char-counter Styles
 */
.wizard-char-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4em;
    font-size: 0.7rem;
    gap: 0.6em;
    color: var(--color-text-muted);
}

/* Button im Char Counter */
.wizard-char-counter .btn-sm {
    margin: 0;
    padding: 6px 12px;
    min-height: auto;
    min-width: auto;
}

/* Newsletter Modal spezifisch */
#newsletterModal .wizard-char-counter {
    margin-top: 0.6em;
}

/**
 * Newsletter Modal CAPTCHA Container
 * Konsistent mit Wizard-CAPTCHA-Styling
 */
#newsletterModalCaptchaBox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.4em 0 0.6em;
    min-height: 64px;
    background: rgba(var(--color-background-rgb), 0.3);
    border: 1px solid var(--color-border);
    border-radius: 0.6em;
    padding: 0.5em;
}

#newsletterModalCaptchaBox .captcha-image {
    border: 1px solid var(--color-border);
    border-radius: 0.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    height: 54px;
    width: 150px;
    object-fit: cover;
    display: block;
}

/**
 * Newsletter Modal Content Adjustments
 */
.modal-wide#newsletterModal .wizard-content {
    margin-bottom: 0;
}

.modal-wide#newsletterModal .wizard-step {
    max-width: 100%;
}

/**
 * Newsletter Success Section Spacing
 */
#newsletterSuccessSection .status-check-result-header {
    padding-top: 1rem;
}

/**
 * Newsletter Modal Checkbox Styling
 */
.modal-wide#newsletterModal .wizard-checkbox-group {
    margin-top: 1.2rem;
}

.modal-wide#newsletterModal .wizard-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    flex-shrink: 0;
}

.modal-wide#newsletterModal .wizard-checkbox-label {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

/**
 * Info-Box Listen im Newsletter Modal
 */
.modal-wide#newsletterModal .info-box-content ul {
    margin: 0.5em 0 0 0;
    padding-left: 1.2em;
    list-style-type: disc;
}

.modal-wide#newsletterModal .info-box-content li {
    margin-bottom: 0.4em;
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.modal-wide#newsletterModal .info-box-content li:last-child {
    margin-bottom: 0;
}

/**
 * Newsletter Modal Header Spacing
 */
.modal-wide#newsletterModal .modal-wide-title h3 {
    margin: 0;
    font-size: 1.5rem;
}

/**
 * CAPTCHA Reload Button
 */
.modal-wide#newsletterModal .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

/**
 * Newsletter Modal Content Scrollbar
 */
.modal-wide#newsletterModal .modal-wide-content {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) var(--color-background-secondary);
}

.modal-wide#newsletterModal .modal-wide-content::-webkit-scrollbar {
    width: 8px;
    background: var(--color-background-secondary);
}

.modal-wide#newsletterModal .modal-wide-content::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.modal-wide#newsletterModal .modal-wide-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/**
 * Focus States für Accessibility
 */
.newsletter-form-simple .newsletter-input:focus-visible,
.modal-wide#newsletterModal .wizard-form-input:focus-visible {
    outline: 2px solid var(--color-wihoga);
    outline-offset: 2px;
}

.newsletter-form-simple .newsletter-button:focus-visible,
.modal-wide#newsletterModal .btn:focus-visible {
    outline: 2px solid var(--color-wihoga);
    outline-offset: 2px;
}

/**
 * Button Loading State
 */
.newsletter-button:disabled,
.modal-wide#newsletterModal .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.newsletter-button:disabled:hover,
.modal-wide#newsletterModal .btn-primary:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,40,63,0.04);
}

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

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/**
 * Modal Öffnen Animation
 */
@keyframes newsletterModalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-wide#newsletterModal.active {
    animation: newsletterModalFadeIn 0.25s ease-out;
}

/**
 * Responsive: Tablet
 */
@media (max-width: 768px) {
    .newsletter-form-simple {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .newsletter-form-simple .newsletter-button {
        width: 100%;
        padding: 14px;
    }

    .modal-wide#newsletterModal {
        width: 95vw;
        max-width: 95vw;
        height: auto;
        max-height: 90vh;
    }

    .modal-wide#newsletterModal .modal-wide-content {
        padding: 1.5em 1.2em;
    }

    .modal-wide#newsletterModal .wizard-form-group {
        margin-bottom: 1.2rem;
    }
}

/**
 * Responsive: Mobile
 */
@media (max-width: 600px) {
    .newsletter-form-simple .newsletter-input {
        font-size: 16px;
    }
}

/**
 * Responsive: Small Mobile
 */
@media (max-width: 480px) {
    .modal-wide#newsletterModal .modal-wide-header {
        padding: 1em 1.2em;
    }

    .modal-wide#newsletterModal .modal-wide-title h3 {
        font-size: 1.25rem;
    }

    .modal-wide#newsletterModal .info-box-content p {
        font-size: 0.9rem;
    }

    .modal-wide#newsletterModal .info-box-content ul {
        padding-left: 1em;
    }
}

/**
 * Dark Mode
 */
.dark-mode .newsletter-message-success {
    background: linear-gradient(135deg, rgba(47, 133, 90, 0.15), rgba(47, 133, 90, 0.1));
}

.dark-mode .newsletter-message-error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.1));
}

@media (prefers-color-scheme: dark) {
    .newsletter-message-success {
        background: linear-gradient(135deg, rgba(47, 133, 90, 0.15), rgba(47, 133, 90, 0.1));
    }

    .newsletter-message-error {
        background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.1));
    }
}