/* ===================================
   EYECATCHER 2025 THEME CSS
   Version: 1.0.0
   Author: MMT CMS Team
   Description: Premium Metallbau Theme 2025
   =================================== */

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
    /* MMT Brand Colors */
    --mmt-primary: rgb(25, 155, 202);
    --mmt-primary-dark: rgb(20, 124, 162);
    --mmt-primary-light: rgb(77, 185, 222);
    --mmt-primary-rgb: 25, 155, 202;
    
    /* Secondary Colors */
    --mmt-secondary: #1a1a1a;
    --mmt-metal: #71797E;
    --mmt-steel: #43464B;
    
    /* Accent Colors */
    --mmt-accent: #ff6b35;
    --mmt-accent-hover: #ff5722;
    --mmt-success: #28a745;
    --mmt-warning: #ffc107;
    --mmt-danger: #dc3545;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --card-bg: #fafbfc;      /* Very light gray for cards */
    --gray: #6c757d;
    --dark-gray: #212529;
    --black: #000000;

    /* Card System */
    --card-surface: var(--card-bg);
    --card-border: rgba(0, 0, 0, 0.14);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Typography - System Fonts only */
    --font-primary: 'Helvetica Neue', Helvetica, -apple-system, system-ui, 'Segoe UI', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Courier New', monospace;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;     /* 12px */
    --fs-sm: 0.875rem;    /* 14px */
    --fs-base: 1rem;      /* 16px */
    --fs-md: 1.125rem;    /* 18px */
    --fs-lg: 1.25rem;     /* 20px */
    --fs-xl: 1.5rem;      /* 24px */
    --fs-2xl: 2rem;       /* 32px */
    --fs-3xl: 2.5rem;     /* 40px */
    --fs-4xl: 3rem;       /* 48px */
    --fs-5xl: 4rem;       /* 64px */
    --fs-hero: clamp(3rem, 8vw, 4.5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    --space-4xl: 6rem;    /* 96px */
    
    /* Layout */
    --container-max: 1320px;
    --header-height: 60px;
    --header-height-scroll: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 6px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--mmt-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--mmt-primary-dark);
}

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

/* ===================================
   UTILITIES
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navigation Container muss overflow: visible haben */
.site-header .container,
.main-nav .container {
    overflow: visible !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: var(--fs-base);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 48px;
    gap: var(--space-sm);
}

.btn-primary {
    background: var(--mmt-primary);
    color: var(--white);
    border-color: var(--mmt-primary);
}

.btn-primary:hover {
    background: var(--mmt-primary-dark);
    border-color: var(--mmt-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary {
    background: var(--white);
    color: var(--mmt-primary);
    padding: 14px 32px;
    font-size: var(--fs-md);
}

.btn-hero-primary:hover {
    background: var(--mmt-primary);
    color: var(--white);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--mmt-primary);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: var(--space-sm);
    background: var(--mmt-primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    z-index: var(--z-tooltip);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95); /* Always visible background */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    overflow: visible !important;
}

.site-header.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .main-nav {
    min-height: var(--header-height-scroll);
}

.site-header.hidden {
    transform: translateY(-100%);
}

/* Top Bar */
.top-bar {
    background: var(--mmt-secondary);
    color: var(--white);
    font-size: var(--fs-sm);
}

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

.top-bar-content > * {
    flex: 1;
}

.top-bar-content > *:first-child {
    text-align: left;
}

.top-bar-content > *:nth-child(2) {
    text-align: center;
}

.top-bar-content > *:last-child {
    text-align: right;
}

.top-info {
    display: inline-flex;
    gap: var(--space-lg);
    justify-content: center;
}

.top-info a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.top-info a:hover {
    color: var(--mmt-primary);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    color: var(--white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--mmt-primary);
    transform: translateY(-2px);
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    min-height: var(--header-height);
}

.site-header .container,
.main-nav .container {
    overflow: visible !important;
    display: inline-flex;
    align-items: center; /* Vertikal zentrieren */
    vertical-align: middle;
    min-height: var(--header-height);
    width: 100%;
    padding: 0.2em 1em;
    position: relative; /* Für absolute Positionierung der Kinder */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0 var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    overflow: visible !important;
}

/* Logo Section Design - Subtle & Natural */
.logo-section .logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0;
    background: transparent;
    transition: var(--transition);
    text-decoration: none;
    opacity: 0.9;
}

.logo-section .logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.logo-section .logo-img {
    height: 40px !important;
    width: auto;
    max-height: 40px !important;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-section .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-section .logo-main {
    font-family: var(--font-primary);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--mmt-secondary);
    letter-spacing: -0.3px;
    margin-bottom: 2px;
}

.logo-section .logo-sub {
    font-size: var(--fs-xs);
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    opacity: 0.7;
}

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

/* Navigation Menu - essential display for CMS compatibility */
.nav-menu {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    overflow: visible;
}

@media (min-width: 769px) {
    /* Container Layout */
    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    nav {
        flex: 0 0 auto;
    }

    nav .main-menu {
        gap: var(--space-sm);
    }

    .nav-cta {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 2rem;
    }

    .admin-access {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

/* Hover-Effekt für Desktop Menü */
.nav-menu a:hover,
.nav-menu label:hover,
nav .main-menu a:hover,
nav .main-menu label:hover {
    color: var(--primary);
}

.nav-menu a::after,
nav .main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary); /* Blauer Unterstrich */
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after,
nav .main-menu a:hover::after {
    width: 80%;
}

.nav-menu .sub-menu {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
}

/* CMS handles hover functionality */

.nav-menu .sub-menu a,
nav .main-menu .sub-menu a {
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-dark) !important; /* Schwarz für Submenü */
}

.nav-menu .sub-menu a:last-child,
nav .main-menu .sub-menu a:last-child {
    border-bottom: none;
}


/* Nav CTA */
.nav-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Mobile Navigation Toggle - removed, handled in media query */

/* ===================================
   HERO SECTION
   =================================== */
.hero-parallax {
    position: relative;
    min-height: 50vh; /* Match slider height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: var(--mmt-secondary);
    margin-top: calc(var(--header-height) + 30px); /* Space for navigation + top bar */
}

/* ===================================
   LOGO SECTION
   =================================== */
.logo-section {
    background: var(--white);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Slider ganz hinten */
}

.hero-slider .slider {
    height: 50vh !important; /* Slightly larger for better balance */
    max-height: 50vh !important;
}

.hero-slider .slider .slider-container {
    height: 50vh !important;
    max-height: 50vh !important;
}

.hero-slider .slider .slider-container figure {
    height: 50vh !important;
}

.hero-slider img {
    width: 100% !important;
    height: 50vh !important; /* Match slider height */
    object-fit: cover !important;
    opacity: 1 !important; /* Ensure images are visible */
    background: none !important; /* Remove any background override */
    display: block !important; /* Force display */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--mmt-primary-rgb), 0.8) 0%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: 1; /* Overlay über Slider, unter Content */
}

.hero-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Hero content über dem Overlay */
    pointer-events: none; /* Damit der Slider durchklickbar bleibt */
    text-align: center;
    color: var(--white);
    width: 100%;
    padding: var(--space-2xl) 0;
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    animation: heroTitleIn 1s ease-out;
}

.hero-line-1,
.hero-line-2 {
    display: block;
}

.hero-line-2 {
    color: var(--mmt-primary-light);
}

.hero-subtitle {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    animation: heroSubtitleIn 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: heroButtonsIn 1s ease-out 0.6s both;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-xs) 0;
    animation: heroStatsIn 1s ease-out 0.9s both;
}

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

.stat-number {
    display: block;
    font-size: var(--fs-4xl);
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--mmt-primary-light);
    margin-bottom: 0;
}

.stat-label {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    /* padding: var(--space-md) 0 var(--space-xl); */
    color: rgba(255, 255, 255, 0.8);
    animation: scrollPulse 2s infinite;
    /* margin: var(--space-lg) auto var(--space-2xl); */
}

.scroll-indicator span {
    display: block;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.scroll-arrow {
    animation: scrollArrow 1.5s infinite;
}

/* ===================================
   SECTIONS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: var(--fs-4xl);
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mmt-primary);
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--gray);
}

/* Services Section */
.services-showcase {
    background: var(--light-gray);
}

/* Only add padding when there's content */
.services-showcase:has(.services-teaser),
.services-showcase:has(.menu-cards-container) {
    padding: var(--space-2xl) 0;
}

/* Fallback for browsers without :has() - hide if empty */
.services-showcase:empty {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Service Card Styles */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--mmt-primary), var(--mmt-primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--fs-3xl);
}

.service-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.service-card .btn {
    font-size: var(--fs-sm);
    padding: 8px 20px;
}

/* About Section */
.about-section {
    padding: var(--space-2xl) 0;
}

.about-section > .container {
    max-width: min(80vw, 1400px);
}

@media (max-width: 768px) {
    .about-section > .container {
        max-width: 100%;
    }
}

.about-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: 1.5rem 1rem;
    border-left: none;
    position: relative;
}

.about-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--mmt-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-section-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--mmt-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .about-section-header {
        padding: 0.5rem 1rem 1.5rem;
    }
    
    .about-section-header h1 {
        font-size: 2.2rem;
    }
}

.about-section-title {
    font-size: var(--fs-3xl);
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mmt-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: flex-start;
}

/* Sidebar: hidden on homepage, visible on subpages > 1200px */
.about-visual {
    display: none;
}

.is-homepage .about-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1201px) {
    .is-subpage .about-visual {
        display: block;
    }
    .is-subpage .about-grid {
        grid-template-columns: 1fr 240px;
        gap: var(--space-2xl);
    }
}

.about-features {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--mmt-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xs);
}

.feature-item p {
    color: var(--gray);
    font-size: var(--fs-sm);
}

/* About Content & Visual */
.about-content {
    min-width: 0;
    max-width: 100%;
    overflow: hidden; /* Sicherstellen dass Content im Grid bleibt */
}

.about-visual {
    position: relative;
}

.sidebar {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - var(--space-2xl));
    overflow-y: auto;
}

.sidebar h3 {
    color: var(--neutral-900);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--mmt-primary);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: var(--space-xs);
}

.sidebar a {
    color: var(--neutral-700);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    display: block;
    border-radius: var(--radius);
    transition: var(--transition);
}

.sidebar a:hover {
    background: var(--mmt-primary-50);
    color: var(--mmt-primary);
    transform: translateX(4px);
}

/* Hide mobile navigation elements in sidebar */
.sidebar label[for^="menu"],
.sidebar input[type="checkbox"],
.sidebar .nav-toggle,
.sidebar .hamburger {
    display: none !important;
}

/* Hide the first span that's used for mobile toggle */
.sidebar > span:first-child {
    display: none !important;
}

/* Show sidebar menu items directly */
.sidebar .sub-menu {
    display: block !important;
}

.about-image-stack {
    position: relative;
    height: 500px;
}

.stack-image {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stack-1 {
    top: 0;
    left: 0;
    width: 60%;
    z-index: 3;
}

.stack-2 {
    top: 50px;
    right: 0;
    width: 55%;
    z-index: 2;
}

.stack-3 {
    bottom: 0;
    left: 20%;
    width: 50%;
    z-index: 1;
}

.about-visual:hover .stack-image {
    transform: scale(1.02);
}

/* Products Section */
.products-showcase {
    padding: var(--space-4xl) 0;
    background: var(--light-gray);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--mmt-primary);
    color: var(--white);
    border-color: var(--mmt-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--mmt-primary), var(--mmt-primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    color: var(--mmt-primary);
    font-weight: 700;
    border-radius: var(--radius-md, 6px);
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.btn-cta:hover {
    background: var(--light-gray, #f0f0f0);
    transform: translateY(-2px);
}

.btn-cta-primary {
    background: var(--white);
    color: var(--mmt-primary);
}

.btn-cta-primary:hover {
    background: var(--light-gray);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--mmt-primary);
}

/* References Section */
.references-section {
    padding: var(--space-4xl) 0;
    background: var(--light-gray);
}

.references-section.section-light {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.references-section .section-title {
    color: var(--dark-gray);
}

.references-section .section-subtitle {
    color: var(--gray);
}

.references-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

/* ===================================
   FOOTER
   =================================== */
   
/* Dynamic Footer Content Styling */
.footer-dynamic-content {
    color: var(--white);
}

/* Style the bottom content elements */
.footer-dynamic-content #bottomdaten {
    background: var(--neutral-900);
    padding: var(--space-2xl);
}

.footer-dynamic-content #bottomdaten > ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    justify-content: space-between;
}

.footer-dynamic-content #bottomdaten > ul > li {
    flex: 1 1 280px; /* Grow, Shrink, Basis-Breite */
    max-width: 350px; /* Verhindert zu breite Cards */
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-dynamic-content #bottomdaten h2 {
    color: var(--mmt-primary);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
    border-bottom: 2px solid var(--mmt-primary);
    padding-bottom: var(--space-sm);
}

.footer-dynamic-content #bottomdaten ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-dynamic-content #bottomdaten li {
    margin-bottom: var(--space-sm);
    color: var(--neutral-200);
}

.footer-dynamic-content #bottomdaten a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-dynamic-content #bottomdaten a:hover {
    color: var(--mmt-primary);
}

/* Opening Hours Styling */
.footer-dynamic-content p.big {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--mmt-primary);
}

.footer-dynamic-content .dunkelgrau {
    color: var(--neutral-300);
    font-style: italic;
    margin-bottom: var(--space-md);
}

/* Social Media Links Styling */
.footer-dynamic-content a[href*="facebook"],
.footer-dynamic-content a[href*="google"],
.footer-dynamic-content a[href*="instagram"],
.footer-dynamic-content a[href*="linkedin"],
.footer-dynamic-content a[href*="twitter"],
.footer-dynamic-content a.facebook,
.footer-dynamic-content a.google,
.footer-dynamic-content a.instagram {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    margin-right: var(--space-sm);
    margin-bottom: var(--space-sm);
    transition: all 0.2s ease;
}

/* Specific social media brand colors on hover */
.footer-dynamic-content a[href*="facebook"]:hover,
.footer-dynamic-content a.facebook:hover {
    background: #1877f2;
    transform: translateY(-2px);
}

.footer-dynamic-content a[href*="google"]:hover,
.footer-dynamic-content a.google:hover {
    background: #4285f4;
    transform: translateY(-2px);
}

.footer-dynamic-content a[href*="instagram"]:hover,
.footer-dynamic-content a.instagram:hover {
    background: #e4405f;
    transform: translateY(-2px);
}
.site-footer {
    background: var(--mmt-secondary);
    color: var(--white);
}

.footer-main {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
}

.footer-company h3,
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
    color: var(--mmt-primary);
}

.footer-company p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--mmt-primary);
    transform: translateY(-2px);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: var(--space-xs) 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--mmt-primary);
    transform: translateX(5px);
}

.footer-services li {
    padding: var(--space-xs) 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: var(--white);
}

.footer-contact a:hover {
    color: var(--mmt-primary);
}

.footer-hours {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-md) 0;
    background: var(--black);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-sm);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--mmt-primary);
}

/* ===================================
   FLOATING ACTION BUTTON
   =================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-fixed);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: var(--transition);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.fab-item {
    width: 48px;
    height: 48px;
    background: var(--mmt-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.fab-item:hover {
    background: var(--mmt-primary-dark);
    transform: scale(1.1);
}

.fab-btn {
    width: 60px;
    height: 60px;
    background: var(--mmt-primary);
    border-radius: var(--radius-full);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.fab-btn:hover {
    background: var(--mmt-primary);
    transform: scale(1.1) rotate(90deg);
}

.fab-btn.active {
    background: var(--mmt-primary);
    transform: rotate(45deg);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--mmt-secondary);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-fixed);
}

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

.back-to-top:hover {
    background: var(--mmt-primary);
    transform: translateY(-5px);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

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

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

@keyframes scrollPulse {
    0%, 50%, 100% {
        opacity: 0.9;
        transform: translateY(0);
    }
    25% {
        opacity: 0.6;
        transform: translateY(-5px);
    }
}

@keyframes scrollArrow {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Fade In on Scroll */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --fs-hero: 3rem;
        --fs-5xl: 3rem;
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-stack {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --fs-hero: 2rem; /* Smaller for mobile */
        --fs-5xl: 2rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --fs-2xl: 1.25rem;
        --fs-xl: 1.125rem;
        --fs-lg: 1rem;
        --header-height: 60px;
    }
    
    /* Static Content Mobile Formatting */
    .services-showcase {
        padding: var(--space-2xl) 0;
    }
    
    /* Fix für unformatierte Texte im teaser-top */
    [class*="static-"] {
        font-family: var(--font-primary);
        line-height: 1.6;
        color: var(--text-color);
    }
    
    [class*="static-"] h1,
    [class*="static-"] h2,
    [class*="static-"] h3 {
        font-family: var(--font-heading);
        font-weight: 700;
        margin-bottom: var(--space-md);
        line-height: 1.2;
    }
    
    [class*="static-"] p {
        margin-bottom: var(--space-md);
        font-size: var(--fs-base);
    }
    
    [class*="static-"] ul,
    [class*="static-"] ol {
        margin-left: var(--space-lg);
        margin-bottom: var(--space-md);
    }
    
    [class*="static-"] li {
        margin-bottom: var(--space-xs);
    }
    
    /* Specific teaser-top mobile styles */
    [class*="teaser"] {
        padding: var(--space-lg);
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }
    
    [class*="teaser"] h2 {
        font-size: var(--fs-2xl);
        color: var(--primary);
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    
    [class*="teaser"] .grid,
    [class*="teaser"] .flex {
        display: block;
    }
    
    [class*="teaser"] .card,
    [class*="teaser"] [class*="item"] {
        margin-bottom: var(--space-md);
        padding: var(--space-md);
        background: var(--light-gray);
        border-radius: var(--radius-md);
    }
    
    /* Mobile Hero Adjustments - Kompakter */
    .hero-parallax {
        min-height: 40vh; /* Kompakter auf Mobile */
        max-height: 400px; /* Maximum Höhe begrenzen */
        margin-top: var(--header-height);
    }
    
    .hero-slider .slider,
    .hero-slider .slider .slider-container,
    .hero-slider .slider .slider-container figure,
    .hero-slider img {
        height: 40vh !important; /* Einheitliche Höhe */
        max-height: 400px !important;
    }
    
    /* Mobile Layout - Stack content vertically */
    .about-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: var(--space-2xl);
    }
    
    .about-content {
        order: 1; /* Content first */
    }
    
    .about-visual {
        order: 2; /* Sidebar second */
    }
    
    .sidebar {
        position: static; /* Remove sticky on mobile */
        margin-top: var(--space-lg);
    }
    
    /* Modern Mobile Navigation */
    .top-bar {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--white, #fff);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .main-nav {
        padding: 0;
    }

    /* Container muss BLOCK sein auf Mobile damit Menu UNTER Hamburger erscheint */
    .main-nav .container {
        display: block;
        padding: 0;
    }

    /* Hamburger Toggle */
    nav label[for="menu0"] {
        font-family: var(--font-primary);
        padding: 0.75rem 1rem;
    }
    
    /* Mobile CTA Button */
    .nav-cta {
        display: none;
    }
    
    .nav-cta .btn {
        width: 100%;
        background: var(--white);
        color: var(--primary);
        padding: var(--space-md);
        font-weight: 700;
        border-radius: var(--radius-full);
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .logo-text {
        display: none;
    }
    
    /* Hero Mobile - bereits oben definiert, entfernt Duplikat */
    
    /* Logo Section Mobile */
    .logo-section {
        padding: var(--space-md) 0;
    }
    
    .logo-section .logo {
        gap: var(--space-sm);
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section .logo-img {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 160px;
    }
    
    .logo-section .logo-main {
        font-size: var(--fs-base);
    }
    
    .logo-section .logo-sub {
        font-size: 11px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 var(--space-md);
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: var(--fs-base);
    }
    
    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }
    
    .hero-stats .stat-item {
        flex: 1;
        text-align: center;
    }
    
    .hero-stats .stat-number {
        font-size: var(--fs-xl);
    }
    
    .hero-stats .stat-text {
        font-size: var(--fs-xs);
    }
    
    /* Sections Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    /* FAB Mobile */
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --fs-hero: 1.75rem; /* Noch kleiner für kleine Screens */
        --fs-2xl: 1.25rem;
        --fs-xl: 1rem;
        --fs-lg: 0.9375rem;
        --container-padding: var(--space-md);
    }
    
    /* Better touch targets for mobile */
    button, 
    a.btn,
    .nav-menu a,
    input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ultra-kompakter Hero */
    .hero-parallax {
        min-height: 35vh;
        max-height: 300px;
    }
    
    .hero-slider .slider,
    .hero-slider .slider .slider-container,
    .hero-slider .slider .slider-container figure,
    .hero-slider img {
        height: 35vh !important;
        max-height: 300px !important;
    }
    
    /* Hero Content anpassen */
    .hero-content {
        padding: var(--space-xl) var(--space-md);
        top: 40%; /* Zentrierter */
    }
    
    .hero-title {
        margin-bottom: var(--space-md);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--fs-base);
        margin-bottom: var(--space-lg);
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: var(--fs-sm);
    }
    
    /* Stats komplett horizontal */
    .hero-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-stats .stat-number {
        font-size: var(--fs-lg);
    }
    
    .hero-stats .stat-text {
        font-size: 10px;
        white-space: nowrap;
    }
}

/* ===================================
   CORE CSS OVERRIDES
   =================================== */

/* Dropdown menu styling - colors and fonts only */
nav .main-menu .sub-menu a,
nav .main-menu .sub-menu label {
    text-transform: none !important;
    color: var(--gray);
    transition: all 0.2s ease;
}


/* Sub-menu styling - colors only */
.nav-menu .sub-menu a,
.nav-menu .sub-menu label {
    text-transform: none;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
}

.nav-menu .sub-menu a:last-child,
.nav-menu .sub-menu label:last-child {
    border-bottom: none;
}


/* ===================================
   STATS BANNER
   =================================== */
.stats-banner {
    background: rgba(25, 155, 202, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.5rem 0;
    color: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15; /* Stats über allem */
}

.stats-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-compact {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.stat-compact .stat-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--white);
}

.stat-compact .stat-text {
    font-size: var(--fs-base);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.stats-separator {
    font-size: var(--fs-xl);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

@media (max-width: 768px) {
    .stats-inline {
        gap: var(--space-md);
        flex-direction: column;
        text-align: center;
    }
    
    .stats-separator {
        display: none;
    }
    
    .stat-compact .stat-number {
        font-size: var(--fs-lg);
    }
    
    .stat-compact .stat-text {
        font-size: var(--fs-sm);
    }
}

/* ===================================
   HERO LOGO
   =================================== */
.hero-logo {
    transition: all var(--transition-base);
    display: inline-block;
}

.hero-logo:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.hero-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.hero-logo .logo-img {
    height: 200px;
    width: auto;
    max-width: 300px;
}

.hero-logo .logo-text {
    margin-left: var(--space-md);
}

.hero-logo .logo-main {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    line-height: 1.2;
}

.hero-logo .logo-sub {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .hero-logo {
        padding: var(--space-md);
        margin-bottom: var(--space-lg);
    }
    
    .hero-logo .logo-img {
        height: 40px;
    }
    
    .hero-logo .logo-main {
        font-size: var(--fs-base);
    }
    
    .hero-logo .logo-sub {
        font-size: var(--fs-xs);
    }
}

@media (max-width: 480px) {
    .hero-logo a {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .hero-logo .logo-text {
        margin-left: 0;
    }
}

/* Hero Tagline */
.hero-tagline {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.hero-tagline p {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: 0;
    flex-wrap: wrap;
}

.hero-stats .stat-compact {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.hero-stats .stat-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat-text {
    font-size: var(--fs-base);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats .stats-separator {
    font-size: var(--fs-xl);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero-tagline p {
        font-size: var(--fs-lg);
    }
    
    .hero-stats {
        gap: var(--space-md);
        flex-direction: column;
        text-align: center;
        margin-top: var(--space-xl);
    }
    
    .hero-stats .stats-separator {
        display: none;
    }
    
    .hero-stats .stat-number {
        font-size: var(--fs-lg);
    }
    
    .hero-stats .stat-text {
        font-size: var(--fs-sm);
    }
}

/* ===================================
   ADMIN ACCESS BUTTON
   =================================== */
.admin-access {
    position: relative;
    margin-left: var(--space-md);
}

.admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-link:active {
    transform: scale(0.95);
}

/* Hide admin link on mobile to avoid clutter */
@media (max-width: 768px) {
    .admin-access {
        display: none;
    }
}

/* ===================================
   STATIC CONTENT HEADERS (Content Engine)
   =================================== */

/* Static Content Header Styling - Mittig und elegant */
.static-content-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg) 0;
}

.static-content-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.static-content-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mmt-primary);
    border-radius: 2px;
}

.static-content-subtitle {
    font-size: var(--fs-lg);
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Responsive Anpassungen für Static Content Headers */
@media (max-width: 768px) {
    .static-content-title {
        font-size: var(--fs-2xl);
    }
    
    .static-content-subtitle {
        font-size: var(--fs-base);
        max-width: 90%;
    }
    
    .static-content-header {
        padding: var(--space-md) 0;
        margin-bottom: var(--space-xl);
    }
}

/* ===================================
   EYECATCHER THEME VARIABLES
   =================================== */

/* Theme Color Variables - Light Theme Only */
:root {
    /* Theme Colors for Plugin CSS Variables */
    --news-card-bg: #fafbfc;
    --card-bg: #fafbfc;        /* For menu cards and other plugins */
    --news-border-color: #f8f9fa;
    --news-category-bg: rgb(25, 155, 202);
    --news-category-text: #ffffff;
    --news-title-color: #212529;
    --news-text-color: #6c757d;
    --news-meta-color: #6c757d;
    --news-link-hover: rgb(25, 155, 202);
    --news-button-bg: rgb(25, 155, 202);
    --news-button-text: #ffffff;
    --news-button-hover: rgb(20, 124, 162);
    
    /* Additional Theme Variables */
    --accent-color: rgb(25, 155, 202);
    --accent-color-dark: rgb(20, 124, 162);
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --bg-primary: #ffffff;
    --border-color: #f8f9fa;
}

/* Footer Responsive Fixes */
@media (max-width: 1200px) {
    .footer-dynamic-content #bottomdaten > ul > li {
        flex: 1 1 45%; /* 2 Spalten auf Tablets */
        max-width: calc(50% - var(--space-xl)/2);
    }
}

@media (max-width: 768px) {
    .footer-dynamic-content #bottomdaten > ul {
        flex-direction: column;
    }
    
    .footer-dynamic-content #bottomdaten > ul > li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
