/* Professionelles CSS für Greifswalder Busprobleme - BFSG-konform */

/* Barrierefreiheit: Fokus-Indikatoren */
*:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Barrierefreiheit: Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius);
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Barrierefreiheit: Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-to-top {
        transition: none !important;
    }
    
    .nav-link::after {
        transition: none !important;
    }
    
    .dropdown-menu {
        transition: none !important;
    }
    
    .mobile-menu {
        transition: none !important;
    }
    
    .theme-option,
    .zoom-btn,
    .btn-primary,
    .btn-secondary {
        transition: none !important;
    }
    
    .link-card:hover .link-arrow {
        transform: none !important;
    }
    
    .made-with i {
        animation: none !important;
    }
    
    /* 404 Animations deaktivieren */
    .fundo,
    .pao-baixo,
    .pao-cima,
    .olhos,
    .left-sparks,
    .right-sparks,
    .path {
        animation: none !important;
    }
}

/* Barrierefreiheit: Hoher Kontrast */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #ffffff;
        --card-bg: #1a1a1a;
        --navbar-bg: rgba(0, 0, 0, 0.98);
        --theme-bar-bg: #1a1a1a;
        --theme-bar-text: #ffffff;
        --frame-header-bg: #333333;
        --mobile-time-bg: #333333;
        --mobile-social-bg: #444444;
        --primary: #ffff00;
        --primary-dark: #cccc00;
        --primary-light: #ffff66;
        --warning: #ff6600;
        --warning-dark: #cc5200;
    }
    
    .theme-option.active {
        background: #ffff00;
        color: #000000;
        border-color: #ffffff;
    }
    
    .theme-option.active i {
        color: #000000;
    }
    
    .zoom-btn:focus,
    .theme-option:focus {
        outline: 3px solid #ffff00;
        outline-offset: 2px;
    }
}

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

:root {
    /* Professionelle Farbpalette - BFSG-konform */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #0ea5e9;
    
    /* Neutrale Farben - BFSG-konform */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Farben - BFSG-konform */
    --success: #059669;
    --success-light: #10b981;
    --warning: #d97706;
    --warning-light: #f59e0b;
    --error: #dc2626;
    --error-light: #ef4444;
    
    /* Professionelle Schatten */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Professionelle Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Zoom Factor */
    --zoom-factor: 1;
    
    /* Theme Variablen */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --border-color: var(--gray-200);
    --card-bg: var(--white);
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --footer-bg: var(--gray-900);
    --footer-text: var(--white);
    --theme-bar-bg: var(--gray-100);
    --theme-bar-text: var(--gray-700);
    --frame-header-bg: var(--gray-100);
    --mobile-time-bg: var(--gray-50);
    --mobile-social-bg: var(--gray-100);
}

/* Dark Mode Variablen */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    --card-bg: #1e293b;
    --navbar-bg: rgba(15, 23, 42, 0.98);
    --footer-bg: #020617;
    --footer-text: #f1f5f9;
    --theme-bar-bg: #1e293b;
    --theme-bar-text: #cbd5e1;
    --frame-header-bg: #334155;
    --mobile-time-bg: #334155;
    --mobile-social-bg: #475569;
}

/* Dark Mode - Weiße Icons für mobile Zeit und Theme */
[data-theme="dark"] .mobile-time-display .time-display i,
[data-theme="dark"] .mobile-time-display .date-display i {
    color: var(--white);
}

[data-theme="dark"] .mobile-theme-switch-label i {
    color: var(--white);
}

/* Dark Mode - 404 Error Page */
[data-theme="dark"] .background-blob {
    background: var(--gray-600);
    opacity: 0.2;
}

[data-theme="dark"] .dash {
    background: var(--gray-500);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    font-size: calc(1rem * var(--zoom-factor));
    transition: background-color 0.3s ease, color 0.3s ease, font-size 0.2s ease;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(2rem * var(--zoom-factor));
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Theme Bar */
.theme-bar {
    background: var(--theme-bar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: calc(0.25rem * var(--zoom-factor)) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: calc(36px * var(--zoom-factor));
}

.theme-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(2rem * var(--zoom-factor));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(1.5rem * var(--zoom-factor));
    height: 100%;
}

.theme-left {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
    flex: 1;
}

.theme-info {
    display: flex;
    align-items: center;
    gap: calc(0.375rem * var(--zoom-factor));
    color: var(--theme-bar-text);
    font-size: calc(0.8rem * var(--zoom-factor));
    font-weight: 500;
    flex-shrink: 0;
}

.theme-info i {
    color: var(--primary);
    font-size: calc(0.7rem * var(--zoom-factor));
}

/* Theme Switch */
.theme-switch {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: calc(0.1rem * var(--zoom-factor));
    gap: calc(0.1rem * var(--zoom-factor));
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: calc(0.25rem * var(--zoom-factor));
    font-size: calc(0.7rem * var(--zoom-factor));
    font-weight: 500;
    position: relative;
    overflow: hidden;
    width: calc(24px * var(--zoom-factor));
    height: calc(24px * var(--zoom-factor));
    min-width: calc(24px * var(--zoom-factor));
    min-height: calc(24px * var(--zoom-factor));
}

.theme-option:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.theme-option:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.theme-option.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: scale(1.15);
    border: 2px solid var(--primary-dark);
}

.theme-option.active i {
    color: var(--white);
    font-weight: 600;
}

.theme-option i {
    font-size: calc(0.875rem * var(--zoom-factor));
    transition: all 0.3s ease;
}

.theme-option[data-theme="auto"] i {
    color: var(--text-secondary);
}

.theme-option[data-theme="light"] i {
    color: var(--text-secondary);
}

.theme-option[data-theme="dark"] i {
    color: var(--text-secondary);
}

.theme-option.active[data-theme="auto"] i,
.theme-option.active[data-theme="light"] i,
.theme-option.active[data-theme="dark"] i {
    color: var(--white);
}

/* High Contrast Toggle - Entfernt */

.theme-right {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
    flex-shrink: 0;
}

/* Zoom Controls */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: calc(0.25rem * var(--zoom-factor));
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: calc(0.1rem * var(--zoom-factor));
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: calc(0.2rem * var(--zoom-factor));
    font-size: calc(0.6rem * var(--zoom-factor));
    width: calc(20px * var(--zoom-factor));
    height: calc(20px * var(--zoom-factor));
    min-width: calc(20px * var(--zoom-factor));
    min-height: calc(20px * var(--zoom-factor));
}

.zoom-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.zoom-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.zoom-level {
    color: var(--text-secondary);
    font-size: calc(0.6rem * var(--zoom-factor));
    font-weight: 500;
    min-width: calc(30px * var(--zoom-factor));
    text-align: center;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

/* Language Select - Entfernt */

/* Professionelle Navigation */
.navbar {
    position: fixed;
    top: calc(36px * var(--zoom-factor)); /* Theme Bar Höhe */
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(2rem * var(--zoom-factor));
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(90px * var(--zoom-factor));
    gap: calc(2rem * var(--zoom-factor));
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(48px * var(--zoom-factor));
    height: calc(48px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: calc(1.25rem * var(--zoom-factor));
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: calc(1.125rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: calc(3rem * var(--zoom-factor));
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: calc(0.95rem * var(--zoom-factor));
    transition: all 0.3s ease;
    position: relative;
    padding: calc(0.5rem * var(--zoom-factor)) 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: calc(0.75rem * var(--zoom-factor)) calc(1.5rem * var(--zoom-factor));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: calc(0.9rem * var(--zoom-factor));
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.nav-link.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(calc(-1px * var(--zoom-factor)));
    box-shadow: var(--shadow-md);
}

.nav-link.cta-button::after {
    display: none;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: inherit;
    text-decoration: none;
}

.dropdown-toggle i {
    font-size: calc(0.75rem * var(--zoom-factor));
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: calc(0.5rem * var(--zoom-factor));
    box-shadow: var(--shadow-lg);
    min-width: calc(200px * var(--zoom-factor));
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-10px * var(--zoom-factor)));
    transition: all 0.3s ease;
    z-index: 1000;
    padding: calc(0.5rem * var(--zoom-factor)) 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--zoom-factor));
    padding: calc(0.75rem * var(--zoom-factor)) calc(1rem * var(--zoom-factor));
    color: var(--text-primary);
    text-decoration: none;
    font-size: calc(0.875rem * var(--zoom-factor));
    transition: all 0.3s ease;
    border-radius: calc(0.25rem * var(--zoom-factor));
    margin: calc(0.125rem * var(--zoom-factor)) calc(0.5rem * var(--zoom-factor));
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.dropdown-item i {
    width: calc(16px * var(--zoom-factor));
    text-align: center;
    color: var(--text-secondary);
}

.dropdown-item:hover i {
    color: var(--primary);
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: calc(1rem * var(--zoom-factor));
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: calc(1rem * var(--zoom-factor));
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-dropdown .dropdown-toggle:hover {
    background: var(--bg-secondary);
}

.mobile-dropdown .dropdown-toggle i:last-child {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-dropdown.active .dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: calc(300px * var(--zoom-factor));
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--zoom-factor));
    padding: calc(0.75rem * var(--zoom-factor)) calc(2rem * var(--zoom-factor));
    color: var(--text-primary);
    text-decoration: none;
    font-size: calc(0.875rem * var(--zoom-factor));
    transition: all 0.3s ease;
    border-radius: calc(0.25rem * var(--zoom-factor));
    margin: calc(0.125rem * var(--zoom-factor)) calc(0.5rem * var(--zoom-factor));
    text-align: left;
}

.mobile-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.mobile-dropdown-item i {
    width: calc(16px * var(--zoom-factor));
    text-align: center;
    color: var(--text-secondary);
}

.mobile-dropdown-item:hover i {
    color: var(--primary);
}

.nav-time {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--zoom-factor));
    align-items: flex-end;
}

.time-display,
.date-display {
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 500;
    color: var(--text-secondary);
}

.time-display i,
.date-display i {
    color: var(--primary);
    font-size: calc(0.75rem * var(--zoom-factor));
}

#current-time {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

#current-date {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: calc(2rem * var(--zoom-factor));
    right: calc(2rem * var(--zoom-factor));
    width: calc(50px * var(--zoom-factor));
    height: calc(50px * var(--zoom-factor));
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(calc(-4px * var(--zoom-factor)));
    box-shadow: var(--shadow-xl);
}

.scroll-to-top i {
    font-size: calc(1.25rem * var(--zoom-factor));
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: calc(4px * var(--zoom-factor));
    padding: calc(0.5rem * var(--zoom-factor));
    border-radius: var(--radius);
    transition: all 0.3s ease;
    z-index: 1003;
}

.nav-toggle:hover {
    background: var(--bg-secondary);
}

.nav-toggle span {
    width: calc(24px * var(--zoom-factor));
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 1px;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(calc(6px * var(--zoom-factor)), calc(6px * var(--zoom-factor)));
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(calc(6px * var(--zoom-factor)), calc(-6px * var(--zoom-factor)));
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: calc(500px * var(--zoom-factor));
    height: 100vh;
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
    z-index: 1004;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: calc(2rem * var(--zoom-factor));
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(2rem * var(--zoom-factor));
    padding-bottom: calc(1rem * var(--zoom-factor));
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
}

.mobile-menu-brand .logo {
    width: calc(40px * var(--zoom-factor));
    height: calc(40px * var(--zoom-factor));
    font-size: calc(1rem * var(--zoom-factor));
}

.mobile-menu-brand .brand-text {
    gap: calc(0.25rem * var(--zoom-factor));
}

.mobile-menu-brand .brand-name {
    font-size: calc(0.75rem * var(--zoom-factor));
}

.mobile-menu-brand .brand-subtitle {
    font-size: calc(1rem * var(--zoom-factor));
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: calc(1.5rem * var(--zoom-factor));
    color: var(--text-secondary);
    cursor: pointer;
    padding: calc(0.5rem * var(--zoom-factor));
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--zoom-factor));
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
    padding: calc(1rem * var(--zoom-factor)) calc(1.5rem * var(--zoom-factor));
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: calc(1.1rem * var(--zoom-factor));
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(calc(8px * var(--zoom-factor)));
}

.mobile-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-link i {
    width: calc(20px * var(--zoom-factor));
    text-align: center;
    font-size: calc(1rem * var(--zoom-factor));
}

.mobile-nav-link.cta-button {
    background: var(--primary);
    color: var(--white);
    margin-top: calc(1rem * var(--zoom-factor));
    justify-content: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.mobile-nav-link.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(calc(-2px * var(--zoom-factor)));
    box-shadow: var(--shadow-md);
}

/* Mobile Theme Switch */
.mobile-theme-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(1rem * var(--zoom-factor)) calc(1.5rem * var(--zoom-factor));
    margin: calc(1rem * var(--zoom-factor)) 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.mobile-theme-switch-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: calc(1rem * var(--zoom-factor));
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
}

.mobile-theme-switch-label i {
    color: var(--primary);
    font-size: calc(1.1rem * var(--zoom-factor));
}

.mobile-theme-options {
    display: flex;
    gap: calc(0.125rem * var(--zoom-factor));
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: calc(0.125rem * var(--zoom-factor));
}

.mobile-theme-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: calc(0.375rem * var(--zoom-factor));
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 500;
    position: relative;
    overflow: hidden;
    width: calc(36px * var(--zoom-factor));
    height: calc(36px * var(--zoom-factor));
    min-width: calc(36px * var(--zoom-factor));
    min-height: calc(36px * var(--zoom-factor));
}

.mobile-theme-option:hover {
    color: var(--text-primary);
    background: var(--card-bg);
    transform: translateY(calc(-1px * var(--zoom-factor)));
}

.mobile-theme-option:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.mobile-theme-option.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.mobile-theme-option.active i {
    color: var(--white);
    font-weight: 600;
}

.mobile-theme-option i {
    font-size: calc(1.1rem * var(--zoom-factor));
    transition: all 0.3s ease;
}

.mobile-menu-footer {
    margin-top: calc(2rem * var(--zoom-factor));
    padding-top: calc(2rem * var(--zoom-factor));
    border-top: 1px solid var(--border-color);
}

.mobile-time-display {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
    padding: calc(1.25rem * var(--zoom-factor));
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: calc(1rem * var(--zoom-factor));
    box-shadow: var(--shadow-sm);
}

.mobile-time-display .time-display,
.mobile-time-display .date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(0.25rem * var(--zoom-factor));
    flex: 1;
    text-align: center;
}

.mobile-time-display .time-display i,
.mobile-time-display .date-display i {
    color: var(--primary);
    font-size: calc(1.1rem * var(--zoom-factor));
    margin-bottom: calc(0.25rem * var(--zoom-factor));
}

.mobile-time-display #mobile-current-time,
.mobile-time-display #mobile-current-date {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: calc(1.1rem * var(--zoom-factor));
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.mobile-time-display .time-display {
    border-right: 1px solid var(--border-color);
    padding-right: calc(1rem * var(--zoom-factor));
}

.mobile-time-display .date-display {
    padding-left: calc(1rem * var(--zoom-factor));
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: calc(1rem * var(--zoom-factor));
    margin-top: calc(1rem * var(--zoom-factor));
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(40px * var(--zoom-factor));
    height: calc(40px * var(--zoom-factor));
    background: var(--mobile-social-bg);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(calc(-2px * var(--zoom-factor)));
}

/* Professionelle Hero Section */
.hero {
    padding: calc(148px * var(--zoom-factor)) 0 calc(80px * var(--zoom-factor)); /* Angepasst für Theme Bar */
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(2rem * var(--zoom-factor));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(4rem * var(--zoom-factor));
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: calc(0.5rem * var(--zoom-factor)) calc(1rem * var(--zoom-factor));
    margin-bottom: calc(2rem * var(--zoom-factor));
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 500;
}

.hero-title {
    font-size: calc(3rem * var(--zoom-factor));
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: calc(1.5rem * var(--zoom-factor));
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: calc(1.125rem * var(--zoom-factor));
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: calc(2.5rem * var(--zoom-factor));
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: calc(1rem * var(--zoom-factor));
    margin-bottom: calc(3rem * var(--zoom-factor));
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: calc(1rem * var(--zoom-factor)) calc(2rem * var(--zoom-factor));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: calc(1rem * var(--zoom-factor));
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(calc(-2px * var(--zoom-factor)));
    box-shadow: var(--shadow-lg);
}

.btn-primary.large {
    padding: calc(1.25rem * var(--zoom-factor)) calc(2.5rem * var(--zoom-factor));
    font-size: calc(1.125rem * var(--zoom-factor));
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: calc(1rem * var(--zoom-factor)) calc(2rem * var(--zoom-factor));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: calc(1rem * var(--zoom-factor));
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(calc(-2px * var(--zoom-factor)));
}

.btn-secondary.large {
    padding: calc(1.25rem * var(--zoom-factor)) calc(2.5rem * var(--zoom-factor));
    font-size: calc(1.125rem * var(--zoom-factor));
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: calc(2rem * var(--zoom-factor));
}

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

.stat-number {
    font-size: calc(2rem * var(--zoom-factor));
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: calc(0.25rem * var(--zoom-factor));
}

.stat-label {
    font-size: calc(0.875rem * var(--zoom-factor));
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: calc(40px * var(--zoom-factor));
    background: rgba(255, 255, 255, 0.2);
}

/* Professionelle Sections */
section {
    padding: calc(80px * var(--zoom-factor)) 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: calc(4rem * var(--zoom-factor));
}

.section-header h2 {
    font-size: calc(2.5rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(1rem * var(--zoom-factor));
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: calc(1.125rem * var(--zoom-factor));
    color: var(--text-secondary);
    max-width: calc(600px * var(--zoom-factor));
    margin: 0 auto;
    line-height: 1.6;
}

/* Petition Section mit Rahmen */
.petition {
    background: var(--bg-secondary);
}

.petition-frame {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.frame-header {
    background: var(--frame-header-bg);
    padding: calc(2rem * var(--zoom-factor));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(2rem * var(--zoom-factor));
}

.frame-header h2 {
    font-size: calc(1.75rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.frame-badge {
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
    background: var(--warning);
    color: var(--white);
    padding: calc(0.5rem * var(--zoom-factor)) calc(1rem * var(--zoom-factor));
    border-radius: var(--radius);
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.frame-content {
    padding: calc(2rem * var(--zoom-factor));
}

.petition-text p {
    font-size: calc(1.125rem * var(--zoom-factor));
    color: var(--text-secondary);
    margin-bottom: calc(2rem * var(--zoom-factor));
    line-height: 1.6;
}

.petition-problems {
    display: flex;
    flex-direction: column;
    gap: calc(1.5rem * var(--zoom-factor));
    margin-bottom: calc(2rem * var(--zoom-factor));
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: calc(1rem * var(--zoom-factor));
}

.problem-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(48px * var(--zoom-factor));
    height: calc(48px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: calc(1.25rem * var(--zoom-factor));
    flex-shrink: 0;
}

.problem-item h4 {
    font-size: calc(1.125rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(0.25rem * var(--zoom-factor));
}

.problem-item p {
    color: var(--text-secondary);
    font-size: calc(0.875rem * var(--zoom-factor));
    margin: 0;
}

.petition-action {
    text-align: center;
    padding-top: calc(2rem * var(--zoom-factor));
    border-top: 1px solid var(--border-color);
}

.action-note {
    color: var(--text-secondary);
    font-size: calc(0.875rem * var(--zoom-factor));
    margin-top: calc(1rem * var(--zoom-factor));
}

/* Weblinks Section */
.weblinks {
    background: var(--bg-primary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(2rem * var(--zoom-factor));
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: calc(2rem * var(--zoom-factor));
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: calc(1.5rem * var(--zoom-factor));
}

.link-card:hover {
    transform: translateY(calc(-4px * var(--zoom-factor)));
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(64px * var(--zoom-factor));
    height: calc(64px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: calc(1.5rem * var(--zoom-factor));
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-card h3 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(0.5rem * var(--zoom-factor));
}

.link-card p {
    color: var(--text-secondary);
    font-size: calc(0.875rem * var(--zoom-factor));
    margin-bottom: calc(0.5rem * var(--zoom-factor));
    line-height: 1.5;
}

.link-url {
    color: var(--primary);
    font-size: calc(0.75rem * var(--zoom-factor));
    font-weight: 500;
}

.link-arrow {
    color: var(--primary);
    font-size: calc(1rem * var(--zoom-factor));
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(calc(4px * var(--zoom-factor)));
}

/* Fahrplan Section */
.fahrplan {
    background: var(--bg-secondary);
}

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

.fahrplan-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(2rem * var(--zoom-factor));
    margin-bottom: calc(3rem * var(--zoom-factor));
}

.info-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: calc(2rem * var(--zoom-factor));
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(calc(-4px * var(--zoom-factor)));
    box-shadow: var(--shadow-lg);
}

.info-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(64px * var(--zoom-factor));
    height: calc(64px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: calc(1.5rem * var(--zoom-factor));
    margin: 0 auto calc(1.5rem * var(--zoom-factor));
}

.info-card h3 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(0.5rem * var(--zoom-factor));
}

.info-card p {
    color: var(--text-secondary);
    font-size: calc(0.875rem * var(--zoom-factor));
}

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

/* Kontakt Section */
.kontakt {
    background: var(--bg-primary);
    padding: calc(80px * var(--zoom-factor)) 0;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(4rem * var(--zoom-factor));
    align-items: start;
}

/* Kontakt Informationen */
.kontakt-info h2 {
    font-size: calc(2rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(1rem * var(--zoom-factor));
}

.kontakt-info > p {
    color: var(--text-secondary);
    font-size: calc(1.1rem * var(--zoom-factor));
    margin-bottom: calc(2.5rem * var(--zoom-factor));
    line-height: 1.6;
}

.kontakt-methods {
    display: flex;
    flex-direction: column;
    gap: calc(2rem * var(--zoom-factor));
}

.kontakt-method {
    display: flex;
    align-items: flex-start;
    gap: calc(1.5rem * var(--zoom-factor));
    padding: calc(1.5rem * var(--zoom-factor));
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.kontakt-method:hover {
    transform: translateY(calc(-4px * var(--zoom-factor)));
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.kontakt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(60px * var(--zoom-factor));
    height: calc(60px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: calc(1.5rem * var(--zoom-factor));
    flex-shrink: 0;
}

.kontakt-details h3 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(0.5rem * var(--zoom-factor));
}

.kontakt-details p {
    color: var(--text-secondary);
    font-size: calc(1rem * var(--zoom-factor));
    margin-bottom: calc(0.75rem * var(--zoom-factor));
}

.kontakt-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: calc(0.95rem * var(--zoom-factor));
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
}

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

.kontakt-note {
    color: var(--text-secondary);
    font-size: calc(0.85rem * var(--zoom-factor));
    font-style: italic;
}

/* Kontakt Formular */
.kontakt-form {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: calc(2.5rem * var(--zoom-factor));
    box-shadow: var(--shadow-lg);
}

.kontakt-form h2 {
    font-size: calc(2rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(1rem * var(--zoom-factor));
}

.kontakt-form > p {
    color: var(--text-secondary);
    font-size: calc(1.1rem * var(--zoom-factor));
    margin-bottom: calc(2rem * var(--zoom-factor));
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: calc(1.5rem * var(--zoom-factor));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--zoom-factor));
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: calc(0.95rem * var(--zoom-factor));
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: calc(0.875rem * var(--zoom-factor)) calc(1rem * var(--zoom-factor));
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: calc(1rem * var(--zoom-factor));
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: calc(120px * var(--zoom-factor));
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: calc(0.75rem * var(--zoom-factor));
    cursor: pointer;
    font-size: calc(0.9rem * var(--zoom-factor));
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: calc(18px * var(--zoom-factor));
    height: calc(18px * var(--zoom-factor));
    margin-top: calc(0.125rem * var(--zoom-factor));
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.contact-form .btn-primary {
    margin-top: calc(1rem * var(--zoom-factor));
    width: 100%;
    justify-content: center;
    padding: calc(1rem * var(--zoom-factor)) calc(2rem * var(--zoom-factor));
    font-size: calc(1.1rem * var(--zoom-factor));
    font-weight: 600;
}



/* Professioneller Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: calc(4rem * var(--zoom-factor)) 0 calc(2rem * var(--zoom-factor));
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Footer Header */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(3rem * var(--zoom-factor));
    padding-bottom: calc(2rem * var(--zoom-factor));
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--zoom-factor));
}

.footer-brand .logo {
    width: calc(48px * var(--zoom-factor));
    height: calc(48px * var(--zoom-factor));
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: calc(1.25rem * var(--zoom-factor));
    box-shadow: var(--shadow-sm);
}

.footer-brand .brand-text {
    display: flex;
    flex-direction: column;
    gap: calc(0.25rem * var(--zoom-factor));
}

.footer-brand .brand-name {
    color: var(--gray-400);
    font-size: calc(0.875rem * var(--zoom-factor));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-brand .brand-subtitle {
    color: var(--white);
    font-size: calc(1.125rem * var(--zoom-factor));
    font-weight: 700;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: calc(1rem * var(--zoom-factor));
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(44px * var(--zoom-factor));
    height: calc(44px * var(--zoom-factor));
    background: var(--gray-700);
    border-radius: var(--radius);
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-600);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(calc(-2px * var(--zoom-factor)));
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.social-link i {
    font-size: calc(1.1rem * var(--zoom-factor));
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(3rem * var(--zoom-factor));
    margin-bottom: calc(3rem * var(--zoom-factor));
}

.footer-section h4 {
    font-size: calc(1.125rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--white);
    margin-bottom: calc(1.5rem * var(--zoom-factor));
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: calc(-0.5rem * var(--zoom-factor));
    left: 0;
    width: calc(2rem * var(--zoom-factor));
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-description {
    color: var(--gray-300);
    font-size: calc(0.95rem * var(--zoom-factor));
    line-height: 1.6;
    margin-bottom: calc(1.5rem * var(--zoom-factor));
}



/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: calc(0.75rem * var(--zoom-factor));
}

.footer-links a,
.footer-links span {
    color: var(--gray-300);
    text-decoration: none;
    font-size: calc(0.9rem * var(--zoom-factor));
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--zoom-factor));
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links i {
    color: var(--gray-500);
    font-size: calc(0.8rem * var(--zoom-factor));
    width: calc(16px * var(--zoom-factor));
    text-align: center;
}

.footer-links a:hover i {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: calc(2rem * var(--zoom-factor));
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(1rem * var(--zoom-factor));
}

.copyright {
    color: var(--gray-400);
    font-size: calc(0.875rem * var(--zoom-factor));
}

.made-with {
    color: var(--gray-400);
    font-size: calc(0.875rem * var(--zoom-factor));
    display: flex;
    align-items: center;
    gap: calc(0.25rem * var(--zoom-factor));
}

.made-with i {
    color: var(--error);
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.disclaimer {
    color: var(--gray-300) !important;
    font-size: calc(0.8rem * var(--zoom-factor)) !important;
    text-align: center;
    padding: calc(1.25rem * var(--zoom-factor));
    background: var(--gray-800);
    border-radius: var(--radius);
    border: 1px solid var(--gray-600);
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.5rem * var(--zoom-factor));
    box-shadow: var(--shadow-sm);
    position: relative;
}

.disclaimer i {
    color: var(--primary);
    font-size: calc(1rem * var(--zoom-factor));
    flex-shrink: 0;
}

.disclaimer strong {
    color: var(--white);
    font-weight: 600;
}

/* Barrierefreiheit: Zusätzliche Fokus-Styles */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus,
.mobile-nav-link:focus,
.link-card:focus,
.info-card:focus,
.kontakt-method:focus,
.social-link:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius);
}

/* Barrierefreiheit: Verbesserte Farbkontraste */
:root {
    /* Professionelle Farbpalette - BFSG-konform */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #0ea5e9;
    
    /* Neutrale Farben - BFSG-konform */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Farben - BFSG-konform */
    --success: #059669;
    --success-light: #10b981;
    --warning: #d97706;
    --warning-light: #f59e0b;
    --error: #dc2626;
    --error-light: #ef4444;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Große Bildschirme (Desktop) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-title {
        font-size: calc(3.5rem * var(--zoom-factor));
    }
    
    .hero-subtitle {
        font-size: calc(1.25rem * var(--zoom-factor));
    }
    
    .section-header h2 {
        font-size: calc(3rem * var(--zoom-factor));
    }
    
    .section-header p {
        font-size: calc(1.25rem * var(--zoom-factor));
    }
}

/* Tablet und kleinere Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: calc(2.5rem * var(--zoom-factor));
    }
    
    .hero-subtitle {
        font-size: calc(1.1rem * var(--zoom-factor));
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .fahrplan-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

/* Mobile Geräte */
@media (max-width: 768px) {
    /* Theme Bar - Entfernt auf Mobile */
    .theme-bar {
        display: none;
    }
    
    /* Navigation - Mobile */
    .nav-menu {
        display: none !important;
    }
    
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-time {
        display: none;
    }
    
    .navbar {
        top: 0;
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    .nav-brand .brand-subtitle {
        font-size: 1rem;
    }
    
    /* Body Padding für fixed Header */
    body {
        padding-top: 70px;
    }
    
    /* Mobile Menu - Verbessert */
    .mobile-menu {
        width: 100%;
        max-width: 450px;
        padding: 1.5rem;
    }
    
    .mobile-menu-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .mobile-nav-link {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-dropdown .dropdown-toggle {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .mobile-dropdown-item {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section - Mobile */
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: calc(1.75rem * var(--zoom-factor));
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: calc(0.9rem * var(--zoom-factor));
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        text-align: center;
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    /* Content Sections - Mobile */
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    /* Petition Section - Mobile */
    .frame-header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .frame-header h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .frame-badge {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
    
    .frame-content {
        padding: 1rem;
    }
    
    .petition-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .problem-item {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .problem-item i {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .problem-item h4 {
        font-size: 0.9rem;
    }
    
    .problem-item p {
        font-size: 0.75rem;
    }
    
    /* Links Grid - Mobile */
    .links-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .link-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .link-card h3 {
        font-size: 1rem;
    }
    
    .link-card p {
        font-size: 0.75rem;
    }
    
    .link-url {
        font-size: 0.65rem;
    }
    
    /* Fahrplan Section - Mobile */
    .fahrplan-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-card i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.75rem;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a,
    .footer-links span {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .copyright,
    .made-with {
        font-size: 0.75rem;
    }
    
    .disclaimer {
        font-size: 0.7rem !important;
        margin-top: 1rem;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .disclaimer i {
        font-size: 0.9rem;
    }
    
    /* Scroll to Top - Mobile */
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 55px;
        height: 55px;
    }
    
    .scroll-to-top i {
        font-size: 1.25rem;
    }
}

/* Sehr kleine Bildschirme (Smartphones) */
@media (max-width: 480px) {
    /* Theme Bar - Entfernt auf Mobile */
    .theme-bar {
        display: none;
    }
    
    /* Navigation - Kompakt */
    .navbar {
        top: 0;
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 0.75rem;
    }
    
    .nav-brand .logo {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .nav-brand .brand-name {
        font-size: 0.65rem;
    }
    
    .nav-brand .brand-subtitle {
        font-size: 0.8rem;
    }
    
    /* Body Padding anpassen */
    body {
        padding-top: 60px;
    }
    
    /* Mobile Menu - Kompakt */
    .mobile-menu {
        max-width: 350px;
        padding: 1rem;
    }
    
    .mobile-menu-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .mobile-nav-link {
        padding: 0.875rem;
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .mobile-dropdown .dropdown-toggle {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .mobile-dropdown-item {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Mobile Theme Switch - Kompakt */
    .mobile-theme-switch {
        padding: 0.75rem 1rem;
        margin: 0.75rem 0;
    }
    
    .mobile-theme-switch-label {
        font-size: 0.85rem;
    }
    
    .mobile-theme-switch-label i {
        font-size: 1rem;
    }
    
    .mobile-theme-options {
        gap: 0.1rem;
        padding: 0.1rem;
    }
    
    .mobile-theme-option {
        width: 32px;
        height: 32px;
        padding: 0.3rem;
        font-size: 0.75rem;
    }
    
    .mobile-theme-option i {
        font-size: 0.85rem;
    }
    
    /* Mobile Time Display - Kompakt */
    .mobile-time-display {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .mobile-time-display .time-display i,
    .mobile-time-display .date-display i {
        font-size: 1rem;
    }
    
    .mobile-time-display #mobile-current-time,
    .mobile-time-display #mobile-current-date {
        font-size: 1rem;
    }
    
    .mobile-time-display .time-display {
        padding-right: 0.75rem;
    }
    
    .mobile-time-display .date-display {
        padding-left: 0.75rem;
    }
    
    /* Hero Section - Kompakt */
    .hero {
        padding: 50px 0 30px;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
    
    .hero-title {
        font-size: calc(1.5rem * var(--zoom-factor));
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: calc(0.8rem * var(--zoom-factor));
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        gap: 0.5rem;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        min-width: 60px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Content Sections - Kompakt */
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .section-header p {
        font-size: 0.75rem;
    }
    
    /* Petition Section - Kompakt */
    .frame-header {
        padding: 0.75rem;
    }
    
    .frame-header h2 {
        font-size: 1rem;
    }
    
    .frame-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .frame-content {
        padding: 0.75rem;
    }
    
    .petition-text p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .problem-item {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .problem-item i {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .problem-item h4 {
        font-size: 0.8rem;
    }
    
    .problem-item p {
        font-size: 0.65rem;
    }
    
    /* Links Grid - Kompakt */
    .link-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .link-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .link-card h3 {
        font-size: 0.9rem;
    }
    
    .link-card p {
        font-size: 0.7rem;
    }
    
    .link-url {
        font-size: 0.6rem;
    }
    
    /* Fahrplan Section - Kompakt */
    .info-card {
        padding: 0.75rem;
    }
    
    .info-card i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .info-card h3 {
        font-size: 0.9rem;
    }
    
    .info-card p {
        font-size: 0.7rem;
    }
    
    /* Footer - Kompakt */
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .footer-brand .logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-brand .brand-name {
        font-size: 0.75rem;
    }
    
    .footer-brand .brand-subtitle {
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4::after {
        width: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a,
    .footer-links span {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .footer-links i {
        font-size: 0.7rem;
        width: 14px;
    }
    
    .footer-bottom-content {
        gap: 0.5rem;
    }
    
    .copyright,
    .made-with {
        font-size: 0.65rem;
    }
    
    .disclaimer {
        font-size: 0.65rem !important;
        padding: 0.75rem;
        margin-top: 0.75rem;
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .disclaimer i {
        font-size: 0.8rem;
    }
    
    /* Kontakt Mobile Kompakt */
    .kontakt {
        padding: calc(60px * var(--zoom-factor)) 0;
    }
    
    .kontakt-grid {
        gap: calc(1.5rem * var(--zoom-factor));
    }
    
    .kontakt-info h2,
    .kontakt-form h2 {
        font-size: calc(1.5rem * var(--zoom-factor));
    }
    
    .kontakt-info > p,
    .kontakt-form > p {
        font-size: calc(0.9rem * var(--zoom-factor));
    }
    
    .kontakt-method {
        padding: calc(1rem * var(--zoom-factor));
        gap: calc(0.75rem * var(--zoom-factor));
    }
    
    .kontakt-icon {
        width: calc(45px * var(--zoom-factor));
        height: calc(45px * var(--zoom-factor));
        font-size: calc(1.1rem * var(--zoom-factor));
    }
    
    .kontakt-details h3 {
        font-size: calc(1rem * var(--zoom-factor));
    }
    
    .kontakt-details p {
        font-size: calc(0.85rem * var(--zoom-factor));
    }
    
    .kontakt-form {
        padding: calc(1.25rem * var(--zoom-factor));
    }
    
    .contact-form {
        gap: calc(1rem * var(--zoom-factor));
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: calc(0.625rem * var(--zoom-factor)) calc(0.75rem * var(--zoom-factor));
        font-size: calc(0.9rem * var(--zoom-factor));
    }
    
    .form-group textarea {
        min-height: calc(80px * var(--zoom-factor));
    }
    
    .contact-form .btn-primary {
        padding: calc(0.75rem * var(--zoom-factor)) calc(1.25rem * var(--zoom-factor));
        font-size: calc(0.9rem * var(--zoom-factor));
    }
    
    /* Scroll to Top - Kompakt */
    .scroll-to-top {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 50px;
        height: 50px;
    }
    
    .scroll-to-top i {
        font-size: 1.1rem;
    }
}

/* Touch-optimierte Interaktionen für mobile Geräte */
@media (hover: none) and (pointer: coarse) {
    /* Größere Touch-Targets */
    .theme-option,
    .zoom-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-link {
        padding: 0.75rem 0;
    }
    
    .mobile-nav-link {
        padding: 1.25rem;
        min-height: 60px;
    }
    
    .mobile-dropdown .dropdown-toggle {
        padding: 1.25rem;
        min-height: 60px;
    }
    
    .mobile-dropdown-item {
        padding: 1rem 2rem;
        min-height: 50px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 1.25rem 2rem;
        min-height: 50px;
    }
    
    .link-card {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    /* Hover-Effekte deaktivieren */
    .theme-option:hover,
    .zoom-btn:hover,
    .nav-link:hover,
    .mobile-nav-link:hover,
    .mobile-dropdown-item:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .link-card:hover,
    .info-card:hover {
        transform: none;
    }
    
    /* Aktive Zustände für Touch-Feedback */
    .theme-option:active,
    .zoom-btn:active,
    .nav-link:active,
    .mobile-nav-link:active,
    .mobile-dropdown-item:active,
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Landscape-Modus für mobile Geräte */
@media (max-width: 768px) and (orientation: landscape) {
    .theme-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
        height: 60px;
    }
    
    .nav-container {
        height: 50px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: calc(1.5rem * var(--zoom-factor));
    }
    
    .hero-subtitle {
        font-size: calc(0.8rem * var(--zoom-factor));
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        gap: 0.5rem;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    /* 404 Landscape Optimierung */
    .terms-container {
        max-width: 280px;
        padding: 0.5rem;
        margin-top: 50px;
        margin-bottom: 0.5rem;
    }
    
    .terms-container h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .main {
        max-width: 200px;
    }
    
    .back-home-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Impressum Content */
.impressum-content {
    background: var(--bg-primary);
}

.impressum-frame {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.impressum-section {
    margin-bottom: calc(2rem * var(--zoom-factor));
}

.impressum-section:last-child {
    margin-bottom: 0;
}

.impressum-section h3 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(1rem * var(--zoom-factor));
    padding-bottom: calc(0.5rem * var(--zoom-factor));
    border-bottom: 1px solid var(--border-color);
}

.impressum-section h4 {
    font-size: calc(1.1rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin: calc(1.5rem * var(--zoom-factor)) 0 calc(0.75rem * var(--zoom-factor));
}

.impressum-section p {
    color: var(--text-secondary);
    font-size: calc(0.95rem * var(--zoom-factor));
    line-height: 1.6;
    margin-bottom: calc(1rem * var(--zoom-factor));
}

.impressum-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Datenschutz Content */
.datenschutz-content {
    background: var(--bg-primary);
}

.datenschutz-frame {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.datenschutz-section {
    margin-bottom: calc(2rem * var(--zoom-factor));
}

.datenschutz-section:last-child {
    margin-bottom: 0;
}

.datenschutz-section h3 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(1rem * var(--zoom-factor));
    padding-bottom: calc(0.5rem * var(--zoom-factor));
    border-bottom: 1px solid var(--border-color);
}

.datenschutz-section h4 {
    font-size: calc(1.1rem * var(--zoom-factor));
    font-weight: 600;
    color: var(--text-primary);
    margin: calc(1.5rem * var(--zoom-factor)) 0 calc(0.75rem * var(--zoom-factor));
}

.datenschutz-section p {
    color: var(--text-secondary);
    font-size: calc(0.95rem * var(--zoom-factor));
    line-height: 1.6;
    margin-bottom: calc(1rem * var(--zoom-factor));
}

.datenschutz-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.datenschutz-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 404 Error Page - New Design with Animations */
.terms-container {
    min-height: 20px;
    margin: 0px auto;
    width: auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(0.75rem * var(--zoom-factor));
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: calc(140px * var(--zoom-factor));
    margin-bottom: calc(3rem * var(--zoom-factor));
    text-align: center;
}

.last-edited {
    color: var(--white) !important;
    background: var(--primary);
    padding: calc(0.25rem * var(--zoom-factor)) calc(0.5rem * var(--zoom-factor));
    border-radius: var(--radius);
    font-size: calc(0.65rem * var(--zoom-factor));
    font-weight: 500;
    margin-bottom: calc(0.5rem * var(--zoom-factor));
    align-self: center;
}

.terms-container h1 {
    font-size: calc(1.25rem * var(--zoom-factor));
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(0.5rem * var(--zoom-factor));
    letter-spacing: -0.02em;
}

.main {
    min-height: 20px;
    margin: 0px auto;
    width: auto;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(0.25rem * var(--zoom-factor));
}

.back-home-btn {
    padding: calc(8px * var(--zoom-factor)) calc(16px * var(--zoom-factor));
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: calc(14px * var(--zoom-factor));
    font-weight: bold;
    transition: background-color 0.3s;
}

.back-home-btn:hover {
    background-color: var(--primary-dark);
}

.back-home-btn:active {
    background-color: var(--primary-dark);
}

/* SVG Animations */
.fundo {
    animation: scales 3s alternate infinite;
    transform-origin: center;
    opacity: 0.8;
}

.pao-baixo {
    animation: rotatepao 14s cubic-bezier(.1, .49, .41, .97) infinite;
    transform-origin: center;
}

.pao-cima {
    animation: rotatepao 7s 1s cubic-bezier(.1, .49, .41, .97) infinite;
    transform-origin: center;
}

.olhos {
    animation: olhos 2s alternate infinite;
    transform-origin: center;
}

.left-sparks {
    animation: left-sparks 4s alternate infinite;
    transform-origin: 150px 156px;
}

.right-sparks {
    animation: left-sparks 4s alternate infinite;
    transform-origin: 310px 150px;
}

.path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: dash 4s alternate infinite;
}

@keyframes scales {
    from {
        transform: scale(0.98)
    }
    to {
        transform: scale(1)
    }
}

@keyframes rotatepao {
    0% {
        transform: rotate(0deg)
    }
    50%,
    60% {
        transform: rotate(-20deg)
    }
    100% {
        transform: rotate(0deg)
    }
}

@keyframes olhos {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(30deg);
    }
}

@keyframes left-sparks {
    0% {
        opacity: 0;
    }
}

@keyframes dash {
    0%,
    30% {
        fill: #4B4B62;
        stroke-dashoffset: 0;
    }
    80%,
    100% {
        fill: transparent;
        stroke-dashoffset: -200;
    }
}

/* Responsive Design für neue Seiten */
@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: calc(2rem * var(--zoom-factor));
    }
    
    .kontakt-info h2,
    .kontakt-form h2 {
        font-size: calc(1.75rem * var(--zoom-factor));
    }
    
    .kontakt-info > p,
    .kontakt-form > p {
        font-size: calc(1rem * var(--zoom-factor));
    }
    
    .kontakt-methods {
        gap: calc(1.5rem * var(--zoom-factor));
    }
    
    .kontakt-method {
        padding: calc(1.25rem * var(--zoom-factor));
        gap: calc(1rem * var(--zoom-factor));
    }
    
    .kontakt-icon {
        width: calc(50px * var(--zoom-factor));
        height: calc(50px * var(--zoom-factor));
        font-size: calc(1.25rem * var(--zoom-factor));
    }
    
    .kontakt-details h3 {
        font-size: calc(1.1rem * var(--zoom-factor));
    }
    
    .kontakt-details p {
        font-size: calc(0.9rem * var(--zoom-factor));
    }
    
    .kontakt-form {
        padding: calc(1.5rem * var(--zoom-factor));
    }
    
    .contact-form {
        gap: calc(1.25rem * var(--zoom-factor));
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: calc(0.75rem * var(--zoom-factor)) calc(0.875rem * var(--zoom-factor));
        font-size: calc(0.95rem * var(--zoom-factor));
    }
    
    .form-group textarea {
        min-height: calc(100px * var(--zoom-factor));
    }
    
    .contact-form .btn-primary {
        padding: calc(0.875rem * var(--zoom-factor)) calc(1.5rem * var(--zoom-factor));
        font-size: calc(1rem * var(--zoom-factor));
    }
    
    /* Impressum Mobile */
    .impressum-section h3 {
        font-size: calc(1.1rem * var(--zoom-factor));
        margin-bottom: calc(0.75rem * var(--zoom-factor));
    }
    
    .impressum-section h4 {
        font-size: calc(1rem * var(--zoom-factor));
        margin: calc(1.25rem * var(--zoom-factor)) 0 calc(0.5rem * var(--zoom-factor));
    }
    
    .impressum-section p {
        font-size: calc(0.9rem * var(--zoom-factor));
        margin-bottom: calc(0.75rem * var(--zoom-factor));
    }
    
    /* Datenschutz Mobile */
    .datenschutz-section h3 {
        font-size: calc(1.1rem * var(--zoom-factor));
        margin-bottom: calc(0.75rem * var(--zoom-factor));
    }
    
    .datenschutz-section h4 {
        font-size: calc(1rem * var(--zoom-factor));
        margin: calc(1.25rem * var(--zoom-factor)) 0 calc(0.5rem * var(--zoom-factor));
    }
    
    .datenschutz-section p {
        font-size: calc(0.9rem * var(--zoom-factor));
        margin-bottom: calc(0.75rem * var(--zoom-factor));
    }
    
    /* 404 Mobile Responsive */
    .terms-container {
        max-width: 320px;
        padding: 0.75rem;
        margin-top: 70px;
        margin-bottom: 1rem;
    }
    
    .last-edited {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .terms-container h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .main {
        max-width: 220px;
    }
    
    .back-home-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .terms-container {
        max-width: 350px;
        padding: 0.5rem;
        margin-top: 60px;
        margin-bottom: 1rem;
    }
    
    .last-edited {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.4rem;
    }
    
    .terms-container h1 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .main {
        max-width: 250px;
    }
    
    .back-home-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}