/* ═══════════════════════════════════════════════════════════════════
   PAGES.CSS - Vollständige Styles für Info-Seiten
   Eigenständig - benötigt KEINE styles.css
   Für: Über uns, Impressum, Datenschutz, Kontakt, Bundesländer-Übersicht
   ═══════════════════════════════════════════════════════════════════ */

/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-color: #00bfa6;
    --secondary-color: #007c91;
    --gradient: linear-gradient(135deg, #00bfa6 0%, #007c91 100%);
    --gradient-hover: linear-gradient(135deg, #7a5aad 0%, #f36b68 100%);
    
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient-light: linear-gradient(135deg, #f5f0fa 0%, #fef5f5 100%);
    
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    --container-max-width: 1400px;
    --content-max-width: 1200px;
    --side-padding: 20px;
}

/* ===================================
   Reset & Base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Container - EINHEITLICH FÜR ALLE SEITEN
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

/* ===================================
   Header
   =================================== */
.main-header {
    background: var(--gradient);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--text-white);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Navigation
   =================================== */
.main-nav {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 18px 24px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
    border-bottom-color: var(--secondary-color);
}

/* Dropdown */
.dropdown-icon {
    margin-left: 5px;
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 700px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    padding: 24px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu {
    flex: 1;
}

.submenu-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    padding: 8px 12px;
    margin-bottom: 8px;
    background: var(--bg-gradient-light);
    border-radius: 8px;
    font-size: 0.95rem;
}

.submenu-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.submenu-content a {
    padding: 8px 12px;
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.submenu-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION - NEU
   ═══════════════════════════════════════════════════════════════════ */

.hero-section {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.1) 0%, rgba(0, 124, 145, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-white);
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

/* ===================================
   Main Content - EINHEITLICH
   =================================== */
.main-content {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* Seiten-Titel (h2 direkt im main-content) */
.main-content > .container > h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.main-content > .container > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   INFO-SEITEN CONTENT - MIT BORDER
   (Über uns, Impressum, Datenschutz, Kontakt)
   ═══════════════════════════════════════════════════════════════════ */

.info-page-content {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    color: var(--text-dark);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* ===================================
   Einleitungsparagraph
   =================================== */
.info-page-content .intro-paragraph,
.info-page-content > p:first-of-type {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-gradient-light);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
}

/* ===================================
   Überschriften im Content
   =================================== */
.info-page-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 24px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    text-align: left;
}

.info-page-content h2::after {
    display: none;
}

.info-page-content h2:first-child {
    margin-top: 0;
}

.info-page-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 600;
}

.info-page-content h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* ===================================
   Absätze
   =================================== */
.info-page-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.info-page-content p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Links
   =================================== */
.info-page-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.info-page-content a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ===================================
   Listen
   =================================== */
.info-page-content ul {
    list-style: none;
    margin: 20px 0 30px 0;
    padding: 0;
}

.info-page-content ul li {
    position: relative;
    padding: 12px 0 12px 35px;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-page-content ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    top: 8px;
}

.info-page-content ol {
    margin: 20px 0 30px 0;
    padding-left: 30px;
    list-style: decimal;
}

.info-page-content ol li {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* ===================================
   Hervorgehobene Boxen
   =================================== */
.info-page-content .highlight-box,
.info-page-content .info-box {
    background: var(--bg-gradient-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 8px;
    margin: 30px 0;
}

.info-page-content .highlight-box p,
.info-page-content .info-box p {
    margin-bottom: 12px;
}

.info-page-content .highlight-box p:last-child,
.info-page-content .info-box p:last-child {
    margin-bottom: 0;
}

.info-page-content .highlight-box h3,
.info-page-content .highlight-box h4,
.info-page-content .info-box h3,
.info-page-content .info-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 12px;
}

.info-page-content .info-box ul {
    margin: 12px 0 0 0;
}

/* ===================================
   Kontakt-Informationen
   =================================== */
.info-page-content .contact-info {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.info-page-content .contact-info strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.info-page-content .contact-info p {
    margin-bottom: 8px;
}

.info-page-content .contact-info p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Schlussbemerkung
   =================================== */
.info-page-content .closing-note,
.info-page-content .last-updated {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

.info-page-content .closing-note {
    font-style: italic;
    font-size: 1.1rem;
}

.info-page-content .last-updated {
    font-size: 1rem;
}

/* Letzter Absatz mit Strong (Stand-Datum) */
.info-page-content > p:last-of-type strong {
    display: block;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

/* ===================================
   Tabellen in Info-Pages
   =================================== */
.info-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.info-page-content table th,
.info-page-content table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.info-page-content table th {
    background: var(--bg-gradient-light);
    color: var(--primary-color);
    font-weight: 600;
}

.info-page-content table tr:hover {
    background: var(--bg-light);
}

/* ===================================
   Strong & Code
   =================================== */
.info-page-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.info-page-content em {
    font-style: italic;
    color: var(--text-light);
}

.info-page-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: var(--secondary-color);
}

.info-page-content pre {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.info-page-content pre code {
    background: none;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   BUNDESLÄNDER-ÜBERSICHTSSEITE - OHNE BORDER
   ═══════════════════════════════════════════════════════════════════ */

/* ===================================
   Intro Section
   =================================== */
.intro-section {
    margin: 0 0 40px 0;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

.intro-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
}

/* ===================================
   Info Section (Bundesländer-Seite)
   =================================== */
.info-section {
    max-width: var(--content-max-width);
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.info-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 600;
}

.info-content {
    text-align: center;
    margin-bottom: 40px;
}

.info-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.info-card {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* ===================================
   Tabellen-Container
   =================================== */
.overview-table {
    width: 100%;
    margin: 40px auto;
    overflow-x: auto;
    max-width: var(--content-max-width);
}

.overview-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.overview-table thead {
    background: var(--gradient);
    color: var(--text-white);
}

.overview-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
}

.overview-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.overview-table tbody tr {
    transition: background 0.2s;
    cursor: pointer;
}

.overview-table tbody tr:hover {
    background: var(--bg-light);
}

.overview-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===================================
   Bundesland-Flaggen
   =================================== */
.bundesland-flag {
    width: 70px;
    height: 47px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* ===================================
   Tabellen-Link
   =================================== */
.table-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.table-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ===================================
   Text-Styling in Tabellen
   =================================== */
.table-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.table-highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.table-muted {
    color: var(--text-light);
    font-style: italic;
}

.table-secondary {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Animation
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--text-white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .dropdown-content {
        min-width: 600px;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    
    .main-header {
        padding: 16px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation - ANGEPASST */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--bg-white);
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        z-index: 1002;
        padding: 0;  /* ⭐ WICHTIG: Kein Padding auf Container */
    }
    
    .main-nav.active {
        left: 0;
    }
    
    /* ⭐ NAV-WRAPPER: Kein Flex mehr, normales Block-Layout */
    .nav-wrapper {
        display: block;
        padding: 0;  /* Kein Padding */
    }
    
    .nav-list {
        flex-direction: column;
        padding: 0;  /* ⭐ KEIN Padding auf Liste */
    }
    
    .nav-list > li {
        width: 100%;  /* ⭐ Volle Breite */
    }
    
    .nav-list > li > a {
        padding: 16px 20px;  /* ⭐ Weniger seitliches Padding */
        border-bottom: 1px solid var(--border-color);
        display: block;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        min-width: 100%;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        display: none;
        flex-direction: column;
        padding: 0;
        background-color: var(--bg-light);
    }
    
    .dropdown.active .dropdown-content {
        display: flex;
    }
    
    .submenu {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
        width: 100%;  /* ⭐ Volle Breite */
    }
    
    .submenu-title {
        margin: 0 20px 12px;  /* ⭐ Reduziertes Margin */
    }
    
    .submenu-content a {
        padding: 10px 20px 10px 40px;  /* ⭐ Links 40px für Einrückung */
    }
    
    .submenu-standalone {
        margin: 12px 20px;  /* ⭐ Reduziertes Margin */
    }
    
    /* Hero */
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Main Content */
    .main-content {
        padding: 40px 0;
    }
    
    .main-content section {
        margin-bottom: 50px;
    }
    
    .main-content h2 {
        font-size: 1.8rem;
    }
    
    /* Bundesländer Slider */
    .bl-card {
        flex: 0 0 33.333%;
    }
    
    .bl-btn {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
    
    .bl-prev {
        left: 5px;
    }
    
    .bl-next {
        right: 5px;
    }
    
    /* Feiertage */
    .feiertag-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
    }
    
    .feiertag-date {
        text-align: left;
    }
    
    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .main-content > .container > h2 {
        font-size: 1.5rem;
    }
    
    /* Info Pages */
    .info-page-content {
        padding: 20px 15px;
        border-width: 1px;
    }

    .info-page-content .intro-paragraph,
    .info-page-content > p:first-of-type {
        font-size: 1rem;
        padding: 16px;
    }

    .info-page-content h2 {
        font-size: 1.25rem;
        margin-top: 35px;
    }

    .info-page-content h3 {
        font-size: 1.1rem;
    }

    .info-page-content h4 {
        font-size: 1rem;
    }

    .info-page-content p,
    .info-page-content ul li,
    .info-page-content ol li {
        font-size: 0.95rem;
    }

    .info-page-content ul li {
        padding-left: 25px;
    }

    .info-page-content ul li::before {
        font-size: 1.5rem;
        left: 5px;
    }

    .info-page-content table th,
    .info-page-content table td {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    /* Bundesländer */
    .bundesland-flag {
        width: 40px;
        height: 27px;
    }
    
    .overview-table {
        font-size: 0.85rem;
    }
    
    /* Info Section */
    .info-section {
        padding: 24px 16px;
    }
    
    .info-section h2 {
        font-size: 1.4rem;
    }
    
    .info-content p {
        font-size: 0.95rem;
    }
    
    .info-card {
        padding: 20px 16px;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
}

/* ===================================
   Desktop Navigation Hover
   =================================== */
@media (min-width: 769px) {
    body.menu-open {
        overflow: auto;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===================================
   Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .main-header,
    .main-nav,
    .main-footer,
    .mobile-menu-toggle,
    .hero-section {
        display: none;
    }
    
    .info-page-content {
        border: none;
        box-shadow: none;
        padding: 20px;
    }

    .info-page-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--text-light);
    }
    
    .overview-table table {
        box-shadow: none;
    }
    
    .main-content {
        padding: 20px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   DOWNLOAD-SEITE & ICS-ANLEITUNG - SPEZIFISCHE STYLES
   ═══════════════════════════════════════════════════════════════════ */

/* ===================================
   Download Section
   =================================== */
.download-section {
    max-width: var(--content-max-width);
    margin: 60px auto;
    padding: 0 60px; /* ⭐ SEITENABSTAND HINZUGEFÜGT */
}

.download-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.download-section .info-box {
    background: var(--bg-gradient-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.download-section .info-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.download-section .info-box strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Button Link in Info Box */
.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Download Links in Tabelle */
.download-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    background: var(--bg-gradient-light);
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
    font-size: 0.7rem;
}

.download-link:hover {
    background: var(--gradient);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   ICS-ANLEITUNG - GUIDE SECTION
   =================================== */
.guide-section {
    max-width: var(--content-max-width);
    margin: 60px auto;
    padding: 0 60px; /* ⭐ SEITENABSTAND HINZUGEFÜGT */
}

.guide-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-content {
    margin-bottom: 32px;
}

.guide-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Info Box in Guide Section */
.guide-section .info-box {
    background: var(--bg-gradient-light);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.guide-section .info-box h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.guide-section .info-box h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.guide-section .info-box ul {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
}

.guide-section .info-box ul li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.guide-section .info-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.guide-section .info-box p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.guide-section .info-box p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Step Cards (Anleitung)
   =================================== */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.step-card {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.step-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.step-content a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.step-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-container {
    margin-top: 24px;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-gradient-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 24px;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* ===================================
   CTA Box
   =================================== */
.cta-box {
    background: var(--gradient);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-white);
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* ===================================
   RESPONSIVE - Download & Guide Pages
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .download-section,
    .guide-section {
        padding: 0 40px; /* ⭐ SEITENABSTAND REDUZIERT */
    }
}

/* Tablet */
@media (max-width: 768px) {
    .download-section,
    .guide-section {
        padding: 0 30px; /* ⭐ SEITENABSTAND REDUZIERT */
    }
    
    .download-section h2,
    .guide-section h2 {
        font-size: 1.6rem;
    }
    
    .step-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 16px 20px;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .cta-box {
        padding: 32px 24px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    /* ⭐ DOWNLOAD TABELLE - MOBILE OPTIMIERUNG */
    .overview-table {
        font-size: 0.85rem;
        overflow-x: visible; /* Kein horizontales Scrollen */
    }
    
    /* Tabelle wird zu Cards auf Mobile */
    .overview-table table,
    .overview-table thead,
    .overview-table tbody,
    .overview-table tr,
    .overview-table th,
    .overview-table td {
        display: block;
    }
    
    /* Header verstecken */
    .overview-table thead {
        display: none;
    }
    
    /* Jede Zeile wird zu einer Card */
    .overview-table tbody tr {
        margin-bottom: 20px;
        border: 2px solid var(--border-color);
        border-radius: var(--border-radius);
        padding: 16px;
        background: var(--bg-white);
        box-shadow: var(--shadow-sm);
    }
    
    .overview-table tbody tr:hover {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-md);
    }
    
    /* Zellen mit Labels */
    .overview-table td {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .overview-table td:last-child {
        border-bottom: none;
    }
    
    /* Bundesland-Name (erste Spalte) */
    .overview-table td.table-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 2px solid var(--primary-color);
        justify-content: center;
    }
    
    /* Labels für die Zellen hinzufügen */
    .overview-table td:not(.table-title)::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        flex-shrink: 0;
        margin-right: 10px;
    }
    
    .download-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .download-section,
    .guide-section {
        margin: 40px auto;
        padding: 0 20px; /* ⭐ SEITENABSTAND REDUZIERT */
    }
    
    .download-section h2,
    .guide-section h2 {
        font-size: 1.4rem;
    }
    
    .guide-section h2 {
        flex-direction: column;
        gap: 8px;
    }
    
    .step-card {
        padding: 16px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
    
    .faq-icon {
        font-size: 1.3rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px;
    }
    
    .cta-box {
        padding: 24px 16px;
    }
    
    .cta-box h3 {
        font-size: 1.3rem;
    }
    
    .cta-box p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .guide-section .info-box {
        padding: 16px;
    }
    
    .download-section .info-box {
        padding: 16px;
    }
    
    /* ⭐ MOBILE SMALL - TABELLE ANPASSUNGEN */
    .overview-table td.table-title {
        font-size: 1rem;
    }
    
    .overview-table td:not(.table-title)::before {
        font-size: 0.85rem;
    }
    
    .download-link {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}