/*
Theme Name: OldSkool Gaming
Description: One-Page Gaming Theme für Modpacks, WOT Clients und Gaming-Content
Version: 1.0.0
Author: OldSkool Team
Text Domain: oldskool
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
*/

/* ==========================================================================
   WCAG 2.2 AA Skip-Links und Accessibility
   ========================================================================== */

/* Skip-Links für Barrierefreiheit */
.skip-links {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
}

.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    border: 0;
    padding: 0;
    margin: 0;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    overflow: visible;
    padding: 12px 16px;
    background: var(--color-primary, #ff6b35);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: inline-block;
    margin: 4px;
    transition: all 0.2s ease;
}

.skip-link:focus:hover {
    background: var(--color-primary-dark, #e55a2b);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.3);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Erweiterte Fokus-Management (WCAG 2.2 AA)
   ========================================================================== */

/* Basis-Fokus-Styles für alle interaktiven Elemente */
*:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
}

/* Fokus nur bei Keyboard-Navigation sichtbar */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
}

/* Spezielle Fokus-Styles für Buttons */
.btn:focus,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

/* FAQ Accordion Fokus */
.faq-toggle:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
    box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.3);
}

/* Navigation Links Fokus */
.nav-link:focus,
.main-navigation a:focus,
.primary-menu a:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 3px;
}

/* Form Elements Fokus */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
    border-color: var(--color-primary, #ff6b35);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .skip-link:focus {
        background: #000000;
        color: #ffffff;
        border: 3px solid #ffffff;
    }
    
    *:focus,
    *:focus-visible {
        outline: 3px solid;
        outline-offset: 2px;
    }
    
    .btn:focus,
    .faq-toggle:focus {
        border: 3px solid;
        box-shadow: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .skip-link:focus,
    .btn:focus,
    *:focus {
        transition: none;
        transform: none;
    }
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Design Tokens */
    --color-primary: #ff6b35;
    --color-secondary: #2c3e50;
    --color-accent: #e74c3c;
    --color-text: #ffffff;
    --color-text-light: #b0b0b0;
    --color-bg: #242424;
    --color-bg-dark: #1a1a1a;
    --color-border: #404040;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Orbitron', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Breakpoints */
    --bp-mobile: 768px;
    --bp-tablet: 1024px;
    --bp-desktop: 1200px;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

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

/* Focus Styles */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover,
.btn:focus {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: var(--bp-desktop);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Utility Classes */
.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;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--top-bar-bg, rgba(36, 36, 36, 0.95));
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 56px;
    border-bottom: 1px solid var(--color-border);
    padding: 0 var(--spacing-sm);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
}

.site-title a {
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

.site-tagline {
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: -2px;
    opacity: 0.8;
}

.custom-logo img {
    max-height: 40px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
    align-items: center;
}

.primary-menu a {
    color: white;
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu a.active {
    background: var(--color-primary);
    color: white;
}

/* Top Bar Right */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover,
.social-icon:focus {
    background: var(--color-primary);
    transform: scale(1.1);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Social Media Icons - Inline SVG */
.social-icon.youtube svg {
    fill: currentColor;
}

.social-icon.twitch svg {
    fill: currentColor;
}

.social-icon.discord svg {
    fill: currentColor;
}

.social-icon.x svg {
    fill: currentColor;
}

.social-icon.facebook svg {
    fill: currentColor;
}

/* Language Switcher */
.language-switcher {
    margin-left: var(--spacing-sm);
    position: relative;
}

.language-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    min-width: 120px;
    justify-content: space-between;
}

.language-dropdown-toggle:hover,
.language-dropdown-toggle:focus {
    border-color: var(--color-primary);
    background: rgba(255, 107, 53, 0.1);
    outline: none;
}

.language-dropdown-toggle[aria-expanded="true"] {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    width: 12px;
    height: 12px;
}

.language-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 140px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
}

.language-item:last-child {
    border-bottom: none;
}

.language-item:hover,
.language-item:focus {
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-primary);
}

.language-item.current-lang {
    background: var(--color-primary);
    color: white;
}

.language-item.current-lang:hover {
    background: var(--color-accent);
}

/* Flag Icons für Language Switcher */
.language-switcher .flag-icon,
.language-switcher .flag-url {
    display: inline-block;
    width: 16px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
}

.lang-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: 4px;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 400px; /* Minimale Höhe statt fester Höhe */
    display: flex;
    flex-direction: column; /* Stapelt Elemente vertikal */
    align-items: center;
    justify-content: flex-start; /* Startet von oben */
    text-align: center;
    color: white;
    margin-top: 56px; /* Abstand für Top-Bar */
    background: var(--hero-bg, var(--color-bg)); /* Dynamischer oder Standard-Hintergrund */
    overflow: visible; /* Überlauf erlauben für Content */
    padding-top: 0px; /* Kein Abstand von oben */
    padding-bottom: 0px; /* Kein Abstand nach unten */
}

.hero-background {
    position: static; /* Keine absolute Positionierung mehr */
    z-index: 1;
    width: 100%;
    text-align: center;
}

.hero-bg-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Maximale Höhe begrenzen */
    object-fit: cover;
    object-position: center;
    margin-bottom: 0px; /* Kein Abstand zum Content */
    border-radius: 8px; /* Abgerundete Ecken */
}

.hero-overlay {
    display: none; /* Overlay wird nicht mehr benötigt */
}

.hero-content {
    position: static; /* Keine absolute Positionierung mehr */
    z-index: 3;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    margin-top: 0; /* Kein zusätzlicher Abstand mehr nötig */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0px; /* Kein Abstand */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0px; /* Kein Abstand */
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px; /* Abstand zu den nächsten Elementen */
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.125rem;
}

/* Scroll Indicator - Entfernt da er die Buttons überlagert */
.scroll-indicator {
    display: none; /* Scroll-Indicator entfernt */
}

/* Responsive Design für Top-Bar */
@media (max-width: 768px) {
    .top-bar {
        height: 48px;
    }
    
    .top-bar-content {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-sm) 0;
    }
    
    .main-navigation {
        order: 2;
        width: 100%;
        justify-content: center;
        margin: var(--spacing-sm) 0;
    }
    
    .top-bar-right {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .language-dropdown-toggle {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.section {
    padding: var(--spacing-xl) 0;
    background: var(--content-bg, var(--color-bg));
}

.section:nth-child(even) {
    background: var(--content-dark-bg, var(--color-bg-dark));
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modpack Section */
.modpack-section {
    background: var(--color-bg-dark);
}

.modpack-content {
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 5px;
}

/* Zentrierung für modpack-content wenn align-center gewählt ist */
.modpack-content:has(.modpack-align-center) {
    text-align: center;
}

.modpack-info h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.modpack-features {
    list-style: none;
    padding: 0;
}

.modpack-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Override für 2-spaltige Layouts */
.modpack-content .modpack-features.modpack-columns-2 li {
    display: flex !important;
    align-items: flex-start !important;
    padding: var(--spacing-sm) !important;
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modpack-features li:last-child {
    border-bottom: none;
}

.modpack-features .feature-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.modpack-features .feature-content {
    flex: 1;
    min-height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modpack-features .feature-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.modpack-features .feature-description {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.modpack-features .feature-description:empty {
    display: none;
}

/* Modpack Layout Options */
.modpack-content .modpack-features.modpack-columns-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--spacing-lg) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
}



/* Alignment Options */
.modpack-features.modpack-align-center {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

/* Spezielle Breite nur für 2-spaltige zentrierte Layouts */
.modpack-content .modpack-features.modpack-align-center.modpack-columns-2 {
    width: 95% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.modpack-features.modpack-align-center li {
    justify-content: center;
    text-align: left; /* Content inside items should be left-aligned for readability */
}

.modpack-features.modpack-align-center .feature-content {
    text-align: left; /* Ensure text content is left-aligned */
}

.modpack-features.modpack-align-left {
    text-align: left;
    width: 100%;
}

.modpack-features.modpack-align-right {
    text-align: right;
    width: 100%;
}

.modpack-features.modpack-align-right li {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.modpack-features.modpack-align-right .feature-content {
    text-align: right;
}

/* Responsive: Zwei Spalten werden bei kleinen Bildschirmen zu einer */
@media (max-width: 768px) {
    .modpack-features.modpack-columns-2 {
        grid-template-columns: 1fr;
    }
}

.modpack-actions {
    margin-top: var(--spacing-lg);
}

.modpack-preview {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
}

.modpack-preview h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

/* WOT Clients Section */
.wot-clients-section {
    background: var(--color-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.client-card {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    margin: 0;
}

.faq-toggle {
    background: var(--color-secondary);
    color: white;
    padding: var(--spacing-md);
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-toggle:hover {
    background: var(--color-primary);
}

.faq-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
    max-height: 500px;
    padding: 0;
}

.faq-answer-content {
    color: #ffffff;
    line-height: 1.6;
    background: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: 0 0 8px 8px;
}

.faq-answer-content p {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

/* Stream Section */
.stream-section {
    background: var(--color-bg);
}

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

.twitch-embed {
    width: 100%;
    margin: 0 auto var(--spacing-lg);
}

.stream-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
}

/* Reviews Section */
.reviews-section {
    background: var(--color-bg-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.review-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.review-author {
    font-weight: 600;
    color: var(--color-primary);
}

.review-rating {
    color: #ffd700;
}

.review-content {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.review-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Design für Sektionen */
@media (max-width: 768px) {
    .modpack-content {
        display: block;
        width: 100%;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--footer-bg, var(--color-bg-dark));
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0;
    color: var(--color-text-light);
}

.footer-content {
    margin-bottom: var(--spacing-lg);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-widget {
    padding: 0 var(--spacing-sm);
}

.footer-widget h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-widget ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
    background: var(--color-primary);
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0.8;
}

.back-to-top:hover {
    background: var(--color-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 45px;
        height: 45px;
    }
    
    /* Modpack Features Responsive */
    .modpack-features.modpack-columns-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .modpack-features.modpack-align-center {
        width: 100%;
    }
}

/* Large Screens: Optimierte Breite für große Bildschirme */
@media (min-width: 1400px) {
    .modpack-features.modpack-align-center.modpack-columns-2 {
        width: 90%;
        max-width: 1400px;
    }
}