/* latin - Outfit */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/outfit-400-normal.woff2') format('woff2');
}

/* latin - Outfit */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/outfit-600-normal.woff2') format('woff2');
}

/* latin - Outfit */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/outfit-800-normal.woff2') format('woff2');
}

/* latin - Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/poppins-300-normal.woff2') format('woff2');
}

/* latin - Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400-normal.woff2') format('woff2');
}

/* latin - Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-normal.woff2') format('woff2');
}

/* latin - Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-normal.woff2') format('woff2');
}

/* latin - Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-normal.woff2') format('woff2');
}

:root {
    --bg-dark: #0f172a;
    --bg-card-dark: #1e293b;
    --text-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    
    --bg-light: #f8fafc;
    --bg-card-light: #ffffff;
    --text-light: #0f172a;
    --text-muted-light: #64748b;

    --primary: #028090;
    --primary-hover: #00f2fe;
    --accent: #f59e0b;
    --border-dark: #334155;
    --border-light: #e2e8f0;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

/* Custom Properties based on theme class */
body.light-theme {
    --bg-body: var(--bg-light);
    --bg-card: var(--bg-card-light);
    --text-main: var(--text-light);
    --text-muted: var(--text-muted-light);
    --border-color: var(--border-light);
    --shadow-color: rgba(15, 23, 42, 0.08);
}

body.dark-theme {
    --bg-body: var(--bg-dark);
    --bg-card: var(--bg-card-dark);
    --text-main: var(--text-dark);
    --text-muted: var(--text-muted-dark);
    --border-color: var(--border-dark);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: var(--transition);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-hover);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
body.light-theme header {
    background: rgba(248, 250, 252, 0.8);
}

.top-bar {
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}
.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo span {
    color: var(--primary);
}

.logo img {
    height: 45px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-link:hover::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    background: var(--border-color);
}

/* Mobile Nav Trigger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)), 
                url('assets/media/20200427_211517-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    color: #ffffff; /* Immer weiße Schrift für maximale Lesbarkeit */
}

body.light-theme .hero {
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)), 
                url('assets/media/20200427_211517-scaled.jpg') no-repeat center center;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background: rgba(2, 128, 144, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(2, 128, 144, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85); /* Immer hell für Lesbarkeit */
    margin-bottom: 40px;
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}
.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}
.btn-primary:hover {
    background: #015f6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 128, 144, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}
.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Floating Animation */
.elementor-animation-float {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
.elementor-animation-float:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.service-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-img {
    transform: scale(1.06);
}

.service-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* PC Hardware & Pricing */
.grid-pcs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pc-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px var(--shadow-color);
}
.pc-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}
.pc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px var(--shadow-color);
}

.pc-header {
    background: rgba(2, 128, 144, 0.05);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pc-header h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.pc-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
.pc-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pc-specs {
    list-style: none;
    padding: 30px;
    flex-grow: 1;
}

.pc-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.pc-specs li i {
    color: var(--primary);
}

.pc-footer {
    padding: 30px;
    text-align: center;
}

/* Games Showcase Tab/Dashboard */
.games-hub-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.grid-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.game-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px var(--shadow-color);
}
.game-card:hover::before {
    opacity: 1;
}

.game-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.game-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.game-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(2, 128, 144, 0.1);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 10px;
}

/* Testimonial / Quote */
.testimonial-section {
    background: linear-gradient(180deg, transparent, rgba(2, 128, 144, 0.05), transparent);
    padding: 80px 20px;
    text-align: center;
}
.testimonial-container {
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
}
.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
}
.testimonial-name {
    font-weight: bold;
    font-size: 1.1rem;
}
.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact & Maps */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .contact-info {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-item {
    display: flex;
    gap: 20px;
}
.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(2, 128, 144, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-details h4 {
    margin-bottom: 5px;
}
.contact-details p {
    color: var(--text-muted);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    height: 350px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--border-color);
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .top-bar {
        display: none; /* Hide topbar on mobile to save space */
    }
    header {
        top: 0;
    }
    .hero {
        padding-top: 120px;
    }
    #pcs {
        padding: 80px 0;
    }
}

/* ==========================================================================
   YouTube Background Video & Modal styles
   ========================================================================== */

#pcs {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    padding: 100px 0;
    overflow: hidden;
    background-color: var(--bg-body);
}

.pcs-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 Ratio */
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.90;
    transition: opacity 0.5s ease;
}

body.light-theme .video-background video {
    opacity: 0.85;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.20), rgba(15, 23, 42, 0.45));
    z-index: 2;
    pointer-events: none;
}

body.light-theme .video-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.20), rgba(15, 23, 42, 0.45));
}

#pcs .section-header h2 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#pcs .section-header p {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-play-btn {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(2, 128, 144, 0.15);
    border: 2px solid var(--primary);
    color: #ffffff; /* Immer hell für Lesbarkeit */
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn i {
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.85rem;
}

.video-play-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(2, 128, 144, 0.3);
}

.video-play-btn:hover i {
    color: white;
    transform: scale(1.2);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.video-modal-close:hover {
    color: var(--primary-hover);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal-body {
    width: 100%;
}

.iframe-modal-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 10px;
    overflow: hidden;
}

.iframe-modal-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* VPN & Homeoffice Info Section (Parallax) */
.info-section {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    padding: 120px 20px;
    overflow: hidden;
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)), 
                url('assets/media/20200427_143340-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: #ffffff; /* Immer weiße Schrift für maximale Lesbarkeit */
}

body.light-theme .info-section {
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)), 
                url('assets/media/20200427_143340-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.info-section-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.info-section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-section-content p.lead {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-hover);
}

.info-section-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85); /* Immer hell für Lesbarkeit */
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Fallback for touch devices struggling with fixed attachment */
@media (hover: none) {
    .hero, .info-section {
        background-attachment: scroll !important;
    }
}

/* ==========================================================================
   SVG Icons and 2-Click Map styles
   ========================================================================== */

.svg-icon {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
    fill: currentColor;
    display: inline-block;
}

/* Map Placeholder for GDPR 2-Click Solution */
.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.map-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
}

body.light-theme .map-placeholder-overlay {
    background: rgba(248, 250, 252, 0.82);
}

.map-placeholder-box {
    max-width: 400px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.map-placeholder-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.map-placeholder-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.map-placeholder-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Video Placeholder for GDPR 2-Click Solution */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-static-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
}

body.light-theme .video-placeholder-overlay {
    background: rgba(248, 250, 252, 0.85);
}

.video-placeholder-box {
    max-width: 500px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-placeholder-box h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.video-placeholder-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.video-placeholder-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Subpages Background Styles (GDPR Compliant Parallax)
   ========================================================================== */
body.subpage {
    background: linear-gradient(rgba(15, 23, 42, 0.60), rgba(15, 23, 42, 0.60)), 
                url('assets/media/20200427_211517-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

body.subpage.light-theme {
    background: linear-gradient(rgba(248, 250, 252, 0.65), rgba(248, 250, 252, 0.65)), 
                url('assets/media/20200427_211517-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* ============================================================
   Parallax Backgrounds for Games & Contact
   ============================================================ */
#games, #contact {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    padding: 100px 0;
    overflow: hidden;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-image 0.3s ease, var(--transition);
}

/* Dark Theme Overlays (Default - Higher visibility for background images) */
#games {
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), 
                      url('assets/media/spiele-bg.png');
}

#contact {
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), 
                      url('assets/media/kontakt-bg.png');
}

/* Light Theme Overlays (Applied via body.light-theme) */
body.light-theme #games {
    background-image: linear-gradient(rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.7)), 
                      url('assets/media/spiele-bg.png');
}

body.light-theme #contact {
    background-image: linear-gradient(rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.7)), 
                      url('assets/media/kontakt-bg.png');
}

.games-inner, .contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* Text-Shadows for headers on parallax backgrounds */
#games .section-header h2, #contact .section-header h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

body.light-theme #games .section-header h2, body.light-theme #contact .section-header h2 {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

#games .section-header p, #contact .section-header p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

body.light-theme #games .section-header p, body.light-theme #contact .section-header p {
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

/* Mobil-Optimierung: fixed attachment deaktivieren, da Mobil-Browser oft ruckeln */
@media (hover: none) {
    #games, #contact {
        background-attachment: scroll !important;
    }
}

/* ============================================================
   Social Media Links (Footer)
   ============================================================ */
.footer-social {
    min-width: 180px;
}
.footer-social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-text-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-text-link:hover {
    transform: translateX(4px);
}
.social-text-link .svg-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.social-text-link:hover .svg-icon {
    transform: scale(1.15);
}
.social-text-link.suno:hover {
    color: #ff5e00;
}
.social-text-link.youtube:hover {
    color: #ff0000;
}
.social-text-link.facebook:hover {
    color: #1877f2;
}
.social-text-link.instagram:hover {
    color: #f09433; /* or solid instagram orange/pink */
}
.social-text-link.tiktok:hover {
    color: #00f2fe;
    text-shadow: 0 0 8px #ff0050, 0 0 2px #00f2fe;
}




