/* P4F-Anpassungen: Markenfarben, TeamSpeak, Spielkarten, Navigation und Bild-Großansicht. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/orbitron-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary: #58b8f5;
    --secondary: #35d5c1;
    --dark: #07111b;
    --light: #f4f8fb;
    --glow: #67e8d3;
}

html { scroll-behavior: smooth; }
body { cursor: auto; color: #d9e4ec; background: var(--dark); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #72e7d2; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); background: #102638; color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.hero-container { min-height: 680px; height: 100svh; max-height: 1100px; background: #07111b; isolation: isolate; }
.layer-bg { z-index: 0; background: linear-gradient(90deg, rgba(4,12,20,.78), rgba(4,12,20,.28) 55%, rgba(4,12,20,.55)), linear-gradient(0deg, rgba(4,12,20,.48), transparent 55%), url("img/p4f-sniper.jpg") center 42% / cover no-repeat; transform: translateY(0); }
.grid-overlay { opacity: .45; }
.grid-diagonal-1 { background-image: repeating-linear-gradient(45deg, transparent, transparent 180px, rgba(103,232,211,.09) 180px, rgba(103,232,211,.09) 183px); }
.grid-diagonal-2 { background-image: repeating-linear-gradient(-45deg, transparent, transparent 180px, rgba(88,184,245,.08) 180px, rgba(88,184,245,.08) 183px); }
.features-grid { background-image: repeating-linear-gradient(0deg, transparent, transparent 150px, rgba(103,232,211,.055) 150px, rgba(103,232,211,.055) 153px), repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(88,184,245,.055) 150px, rgba(88,184,245,.055) 153px); }
.features-grid-large { background-image: repeating-linear-gradient(0deg, transparent, transparent 300px, rgba(103,232,211,.04) 300px, rgba(103,232,211,.04) 304px), repeating-linear-gradient(90deg, transparent, transparent 300px, rgba(88,184,245,.04) 300px, rgba(88,184,245,.04) 304px); }
.logo-container { z-index: 15; }
.logo-svg { width: 58px; height: 58px; }
.logo-text { font-family: var(--font-display); font-weight: 900; letter-spacing: .06em; }
.top-nav { position: absolute; z-index: 15; top: 34px; right: clamp(24px, 6vw, 90px); display: flex; gap: clamp(18px, 3vw, 42px); }
.top-nav a { color: rgba(247,241,248,.84); text-decoration: none; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; transition: color .2s ease; }
.top-nav a:hover { color: #72e7d2; }
.hero-content { width: min(1100px, 90vw); top: 53%; }
.hero-eyebrow, .section-kicker { color: #72e7d2; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: clamp(2.5rem, 7.4vw, 6.6rem); letter-spacing: .06em; line-height: 1.08; color: #f4fbff; background: none; -webkit-text-fill-color: #f4fbff; text-shadow: 0 3px 28px rgba(0, 0, 0, .72), 0 0 34px rgba(88, 184, 245, .4); animation: none; }
.hero-title-mark { color: #72e7d2; -webkit-text-fill-color: #72e7d2; text-shadow: 0 0 24px rgba(103, 232, 211, .58); }
.hero-subtitle { color: rgba(247,241,248,.9); font-size: clamp(.9rem, 2vw, 1.2rem); letter-spacing: .16em; line-height: 1.6; margin: 0 auto 32px; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px; }
.cta-button, .submit-btn { color: #06131d; background: linear-gradient(110deg, #76caff, #6be6ce); border: 0; font-size: .95rem; letter-spacing: .04em; }
.hero-secondary { color: #e5f2f8; text-decoration: none; font-size: .9rem; }
.hero-secondary span { color: #72e7d2; padding-left: 5px; }

.content-section, .gallery-section { min-height: auto; padding: 112px max(5%, calc((100% - 1200px)/2)) 120px; background: #07111b; }
.section-gradient, .gallery-section.section-gradient { background: linear-gradient(155deg, #07111b, #0b1d2a 52%, #08131e); }
.features-section-bg { background: linear-gradient(145deg, #07131f, #0b1c29 55%, #07131f); }
.contact-section-bg { background: linear-gradient(145deg, #0a1926, #0b1e2b); }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: .045em; margin: 0 auto 52px; }
.section-title::after { background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.section-kicker { text-align: center; margin-bottom: 10px; }
.about-content { max-width: 1050px; margin: 0 auto; gap: 60px; align-items: center; }
.about-text h3 { color: #f2f8fb; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 18px; }
.about-text p, .box-description { color: #b8c8d3; line-height: 1.8; }
.about-boxes { gap: 16px; }
.info-box { padding: 24px; background: rgba(255,255,255,.035); border-color: rgba(103,232,211,.18); cursor: default; }
.info-box::before, .info-box::after { display: none; }
.info-box:hover { transform: translateY(-4px); }
.box-title { color: #dff8f3; }
.about-visual { display: flex; flex-direction: column; align-items: center; }
.orbit-center { position: absolute; inset: 0; display: grid; place-items: center; color: #e7fbff; font: 900 1.5rem var(--font-display); text-shadow: 0 0 24px #59caff; }
.since-label { color: #8ba4b3; font: 700 .72rem var(--font-heading); letter-spacing: .2em; }
.since-label span { color: #72e7d2; padding: 0 5px; }
.ts-panel { max-width: 1050px; margin: 76px auto 0; padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.85fr); align-items: center; gap: 38px; border: 1px solid rgba(103,232,211,.23); border-radius: 20px; background: linear-gradient(130deg, rgba(28,64,84,.34), rgba(9,24,36,.82)); box-shadow: 0 24px 80px rgba(0,0,0,.2); }
.ts-panel .section-kicker { text-align: left; }
.ts-panel h3 { color: #f2f8fb; font: 700 clamp(1.4rem, 2.6vw, 2rem) var(--font-heading); margin-bottom: 12px; }
.ts-panel-copy > p:not(.section-kicker) { color: #b8c8d3; line-height: 1.7; }
.text-link { display: inline-block; margin-top: 14px; color: #72e7d2; text-decoration: none; font-weight: 700; }
.ts-viewer-wrap { width: 100%; min-height: 125px; display: grid; place-items: center; padding: 18px; border-radius: 14px; background: rgba(0,0,0,.28); overflow-x: auto; }
.ts-viewer { width: 100%; max-width: 300px; min-height: 90px; margin: 0 auto; }

.features-container { max-width: 1000px; margin: 0 auto; }
.feature-logo-3d { display: block; width: calc(100% + 18px); max-width: 228px; height: 116px; margin: 0 0 14px -9px; padding: 0; object-fit: contain; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; backface-visibility: visible; image-rendering: auto; }
.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; }
.feature-card-3d { background: linear-gradient(145deg, rgba(17,39,55,.97), rgba(10,24,37,.98)); border: 1px solid rgba(103,232,211,.3); box-shadow: 0 18px 55px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.05); }
.feature-card-3d:hover { background: linear-gradient(135deg, rgba(0,217,255,.2) 0%, rgba(255,0,234,.12) 55%, rgba(0,255,204,.18) 100%), linear-gradient(145deg, #123047, #071522 78%); border-color: rgba(103,232,211,.55); box-shadow: 0 24px 58px rgba(0,0,0,.5), inset 0 0 24px rgba(88,184,245,.12); }
.feature-card-3d:hover::before { opacity: .18; }
.feature-number { color: #72e7d2; }
.feature-title-3d, .feature-card-3d:hover .feature-title-3d { color: #f2f8fb; }
.feature-description-3d, .feature-card-3d:hover .feature-description-3d { color: #d1e0e9; }
.carousel-btn { color: #f1deeb; background: rgba(88,184,245,.22); border: 1px solid rgba(103,232,211,.32); cursor: pointer; }
.indicator { background: rgba(255,255,255,.25); cursor: pointer; }
.indicator.active { background: #67e8d3; box-shadow: 0 0 12px rgba(103,232,211,.5); }

.gallery-section { position: relative; z-index: 20; }
.gallery-grid { max-width: 1100px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gallery-item { height: auto; min-height: 190px; aspect-ratio: 16 / 10; border: 1px solid rgba(103,232,211,.2); border-radius: 12px; cursor: default; }
.gallery-item:hover { transform: translateY(-3px); }
.gallery-overlay { transform: none; padding: 42px 16px 15px; background: linear-gradient(0deg, rgba(3,12,19,.94), rgba(3,12,19,.04)); }
.gallery-title { font-size: 1rem; }
.gallery-subtitle { font-size: .82rem; }
.gallery-video-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #72e7d2; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gallery-video-link:hover, .gallery-video-link:focus-visible { color: #fff; }

.contact-content { max-width: 1000px; margin: 0 auto; gap: 28px; align-items: stretch; }
.contact-form.contact-invite { padding: clamp(24px, 4vw, 42px); justify-content: center; align-items: flex-start; border: 1px solid rgba(103,232,211,.2); border-radius: 18px; background: rgba(255,255,255,.035); }
.invite-icon { color: #72e7d2; font-size: 1.8rem; }
.contact-invite h3 { color: #f2f8fb; font: 700 clamp(1.5rem, 3vw, 2rem) var(--font-heading); line-height: 1.3; }
.contact-invite p, .contact-note { color: #b8c8d3; line-height: 1.7; }
.contact-invite .submit-btn { display: inline-block; padding: 14px 26px; text-decoration: none; border-radius: 40px; }
.contact-email { color: #77d8f3; text-decoration: none; }
.contact-info { padding: clamp(24px, 4vw, 38px); background: rgba(255,255,255,.035); border-color: rgba(103,232,211,.2); }
.contact-info h3 { color: #72e7d2; }
.info-text { line-height: 1.6; }
.info-text strong { color: #f2f8fb; }
.info-text a { color: #e5cadb; text-decoration: none; }
.info-icon { flex: 0 0 40px; background: linear-gradient(135deg, #388ebd, #29aa9b); }
.contact-note { margin: 24px 0 0; }
.nav-btn-prev, .nav-btn-next { z-index: 25; }
.footer { background: #050d14; }
.footer-copyright { color: #91a6b3; }
.footer-copyright a { color: #72e7d2; }

.imprint-section { position: relative; z-index: 20; padding: 64px 6%; color: #c4b5ca; background: #050d14; border-top: 1px solid rgba(103,232,211,.15); }
.imprint-inner { max-width: 1100px; margin: 0 auto; }
.imprint-inner .section-kicker { text-align: left; margin-bottom: 8px; }
.imprint-title { margin: 0 0 24px; color: #eef8fc; font: 700 1.7rem var(--font-heading); }
.imprint-inner h3 { margin: 20px 0 8px; color: #eee1f0; font: 600 1rem var(--font-heading); }
.imprint-inner address { font-style: normal; line-height: 1.75; }
.imprint-inner p { line-height: 1.7; }
.imprint-inner a { color: #72e7d2; text-decoration: none; }
.imprint-inner a:hover { text-decoration: underline; }

.legal-page-body { min-height: 100vh; background: radial-gradient(ellipse at 50% 0, #39264b 0, #07111b 55%); }
.legal-header { position: absolute; top: 24px; left: 6%; right: 6%; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.legal-header .logo { display: inline-flex; align-items: center; gap: 10px; color: #eef8fc; text-decoration: none; }
.legal-header .logo-svg { width: 48px; height: 48px; }
.legal-home-link { color: #b8d5e3; text-decoration: none; font-size: .9rem; }
.legal-home-link:hover { color: #72e7d2; }
.legal-page { min-height: 100vh; padding: 112px 6% 64px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: clamp(26px, 6vw, 64px); border: 1px solid rgba(103,232,211,.22); border-radius: 20px; background: rgba(10,24,37,.9); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.legal-card .section-kicker { text-align: left; }
.legal-card .imprint-title { margin: 0 0 32px; color: #f2f8fb; font: 700 clamp(2rem, 5vw, 3rem) var(--font-heading); }
.legal-block { margin-top: 26px; }
.legal-block h2 { margin: 0 0 10px; color: #72e7d2; font: 700 1.12rem var(--font-heading); }
.legal-block p, .legal-block address { margin: 0; color: #b8c8d3; font-size: .98rem; line-height: 1.8; font-style: normal; }
.legal-block a { color: #77d8f3; text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }
.legal-updated { margin: 38px 0 0; color: #8297a5; font-size: .82rem; }
.legal-footer { display: flex; justify-content: center; gap: 10px; padding: 24px 12px 32px; color: #9c8ba5; font-size: .85rem; }
.legal-footer a { color: #72e7d2; text-decoration: none; }

@media (max-width: 768px) {
    .hero-container { min-height: 640px; height: 92svh; }
    .top-nav { top: max(598px, calc(92svh - 42px)); bottom: auto; left: 0; right: 0; justify-content: center; gap: clamp(12px, 4vw, 24px); }
    .top-nav a { font-size: .68rem; letter-spacing: .08em; }
    .hero-content { top: 48%; width: 92vw; }
    .hero-title { font-size: clamp(2.1rem, 10vw, 4.2rem); letter-spacing: .025em; }
    .hero-subtitle { max-width: 34rem; letter-spacing: .07em; }
    .content-section, .gallery-section { padding: 82px 6% 92px; }
    .about-content { gap: 32px; }
    .about-boxes { grid-template-columns: 1fr 1fr; }
    .ts-panel { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
    .ts-viewer-wrap { min-height: 110px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .contact-content { grid-template-columns: 1fr; }
    .nav-btn-next { bottom: 14px; }
    .nav-btn-prev { bottom: 14px; }
    .legal-page { padding: 104px 5% 42px; }
    .legal-header { left: 5%; right: 5%; }
}
@media (max-width: 480px) {
    .logo-container { top: 18px; left: 18px; }
    .logo-svg { width: 44px; height: 44px; }
    .logo-text { font-size: 1.1rem; }
    .top-nav { gap: 12px; }
    .top-nav a { font-size: .61rem; }
    .hero-title { font-size: clamp(1.9rem, 10vw, 3rem); }
    .hero-actions { gap: 14px; }
    .cta-button { padding: 14px 24px; }
    .about-boxes, .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { min-height: 200px; }
    .footer-links { flex-wrap: wrap; gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .mouse-follower { display: none; }
}

/* Mausbedienung für das Spiele-Karussell */
.carousel-3d { cursor: grab; }
.carousel-3d.is-dragging { cursor: grabbing; transition: none !important; user-select: none; }
.carousel-3d.is-dragging .feature-card-3d { cursor: grabbing; }
/* Auf Desktop bleibt das P4F-Logo als Zurück-zum-Anfang-Schaltfläche sichtbar. */
@media (min-width: 769px) {
    .logo-container {
        position: fixed;
        top: 20px;
        left: clamp(18px, 3vw, 42px);
        z-index: 1000;
        padding: 7px 13px;
        border: 1px solid rgba(103,232,211,.24);
        border-radius: 14px;
        background: rgba(7,17,27,.78);
        box-shadow: 0 8px 24px rgba(0,0,0,.24);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .logo-container .logo { gap: 13px; }
    .logo-container .logo-svg { width: 50px; height: 50px; }
    .logo-container .logo-text { font-size: 1.5rem; }
}
/* Das Hauptmenü bleibt auf großen Bildschirmen beim Scrollen erreichbar. */
@media (min-width: 1025px) {
    .top-nav {
        position: fixed;
        top: 20px;
        right: clamp(18px, 3vw, 42px);
        z-index: 1000;
        gap: clamp(16px, 2vw, 30px);
        padding: 18px 22px;
        border: 1px solid rgba(103,232,211,.24);
        border-radius: 14px;
        background: rgba(7,17,27,.84);
        box-shadow: 0 8px 24px rgba(0,0,0,.24);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}
/* Abschnitts-Pfeile ruhig halten, damit sie nicht über die Bildausschnitte schweben. */
.nav-btn-prev,
.nav-btn-next,
.pyramid { animation: none !important; }
.nav-btn-prev:hover .hexagon,
.nav-btn-next:hover .pyramid { transform: none; }
/* Kompakte, fest schwebende Abschnittsnavigation am rechten Bildschirmrand. */
.hero-container > .nav-btn-next,
main > section > .nav-btn-prev,
main > section > .nav-btn-next { display: none !important; }
.page-scroll-controls {
    position: fixed;
    top: 50%;
    right: clamp(10px, 1.8vw, 26px);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 7px 5px;
    transform: translateY(-50%);
    border: 1px solid rgba(103,232,211,.24);
    border-radius: 18px;
    background: rgba(7,17,27,.78);
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.page-scroll-controls[hidden] { display: none !important; }
.page-scroll-controls .nav-btn-prev,
.page-scroll-controls .nav-btn-next {
    position: relative;
    inset: auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0;
    perspective: 150px;
    animation: none !important;
}
.page-scroll-controls .nav-btn-prev[hidden],
.page-scroll-controls .nav-btn-next[hidden] { display: none !important; }
.page-scroll-controls .hexagon { width: 50px; height: 28px; margin: 0; }
.page-scroll-controls .hexagon:before,
.page-scroll-controls .hexagon:after { border-left-width: 25px; border-right-width: 25px; }
.page-scroll-controls .hexagon:before { border-bottom-width: 14px; }
.page-scroll-controls .hexagon:after { border-top-width: 14px; }
.page-scroll-controls .pyramid { width: 50px; height: 50px; animation: none !important; transform: rotateX(-20deg) rotateY(45deg); }
.page-scroll-controls .pyramid-face:nth-child(1),
.page-scroll-controls .pyramid-face:nth-child(2),
.page-scroll-controls .pyramid-face:nth-child(3),
.page-scroll-controls .pyramid-face:nth-child(4) {
    border-left-width: 25px;
    border-right-width: 25px;
    border-bottom-width: 44px;
}
.page-scroll-controls .pyramid-face:nth-child(1) { transform: rotateY(0deg) rotateX(30deg) translateZ(13px); }
.page-scroll-controls .pyramid-face:nth-child(2) { transform: rotateY(90deg) rotateX(30deg) translateZ(13px); }
.page-scroll-controls .pyramid-face:nth-child(3) { transform: rotateY(180deg) rotateX(30deg) translateZ(13px); }
.page-scroll-controls .pyramid-face:nth-child(4) { transform: rotateY(-90deg) rotateX(30deg) translateZ(13px); }
.page-scroll-controls .pyramid-base { width: 36px; height: 36px; left: 7px; top: 27px; transform: rotateX(90deg) translateZ(-18px); }
.page-scroll-controls .pyramid-inner { font-size: 20px; }
.page-scroll-controls .nav-btn-prev:hover .hexagon { transform: none; }
.page-scroll-controls .nav-btn-next:hover .pyramid { transform: rotateX(-20deg) rotateY(45deg); }
.page-scroll-controls .nav-btn-prev:hover,
.page-scroll-controls .nav-btn-next:hover { filter: brightness(1.2); }
@media (max-width: 768px) {
    .page-scroll-controls { right: 7px; gap: 2px; padding: 5px 3px; }
    .page-scroll-controls .nav-btn-prev,
    .page-scroll-controls .nav-btn-next { width: 42px; height: 42px; }
    .page-scroll-controls .hexagon { transform: scale(.82); }
    .page-scroll-controls .pyramid { transform: scale(.82) rotateX(-20deg) rotateY(45deg); }
}
@media (max-width: 1024px) {
    .page-scroll-controls,
    .hero-container > .nav-btn-next,
    main > section > .nav-btn-prev,
    main > section > .nav-btn-next { display: none !important; }
}
/* Klarere Schrift in den dunklen Glaskarten: Hintergrund bleibt ruhig und kontrastreich. */
.info-box,
.contact-form.contact-invite,
.contact-info,
.feature-card-3d {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(10, 25, 38, .94);
}
.info-box { background: linear-gradient(145deg, rgba(17,39,55,.96), rgba(10,24,37,.98)); }
.contact-form.contact-invite,
.contact-info { background: linear-gradient(145deg, rgba(17,39,55,.94), rgba(10,24,37,.98)); }
.feature-card-3d { background: linear-gradient(145deg, rgba(17,39,55,.99), rgba(10,24,37,.99)); }
.box-description,
.contact-invite p,
.contact-note,
.feature-description-3d,
.feature-card-3d:hover .feature-description-3d { color: #d9e5ed; }
/* Mehr Platz für lesbare Spielplaketten auf Ultrawide- und großen Desktop-Displays. */
@media (min-width: 1600px) {
    .features-section-bg {
        padding-left: max(5%, calc((100% - 1400px) / 2));
        padding-right: max(5%, calc((100% - 1400px) / 2));
    }
    .features-section-bg .container { max-width: 1400px; }
    .features-container { max-width: 1360px; height: 620px; perspective: 1800px; }
    .features-section-bg .feature-card-3d {
        width: 330px;
        height: 400px;
        margin-left: -165px;
        margin-top: -200px;
        padding: 32px;
    }
    .features-section-bg .feature-logo-3d {
        width: calc(100% + 40px);
        max-width: 300px;
        height: 150px;
        margin-left: -20px;
        margin-bottom: 12px;
    }
    .features-section-bg .feature-card-3d { --carousel-radius: 430px; }
}

/* Gleiche Winkelabstände für jede Kartenzahl, auch nach dem Hinzufügen neuer Spiele. */
.feature-card-3d { transform: rotateY(var(--card-angle, 0deg)) translateZ(var(--carousel-radius, 320px)) !important; }
@media (max-width: 1200px) { .feature-card-3d { --carousel-radius: 180px; } }
@media (max-width: 480px) { .feature-card-3d { --carousel-radius: 140px; } }

/* Größere Einblicke: Karte hebt sich beim Hover hervor; Klick öffnet die Vollansicht. */
.gallery-item { cursor: zoom-in; transition: transform .28s ease, box-shadow .28s ease; }
.gallery-item:hover { transform: scale(1.09); z-index: 35; box-shadow: 0 24px 56px rgba(0,0,0,.55); }
.gallery-image:focus-visible { outline: 3px solid #72e7d2; outline-offset: -4px; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 6vh 5vw; background: rgba(2,8,14,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gallery-lightbox figure { display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; margin: 0; }
.gallery-lightbox-image { display: block; max-width: min(90vw, 1400px); max-height: 80vh; width: auto; height: auto; object-fit: contain; border: 1px solid rgba(103,232,211,.3); border-radius: 12px; box-shadow: 0 24px 90px rgba(0,0,0,.55); }
.gallery-lightbox figcaption { color: #edf7fb; font: 600 1rem var(--font-heading); text-align: center; }
.gallery-lightbox-close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border: 1px solid rgba(103,232,211,.42); border-radius: 50%; background: rgba(10,25,38,.94); color: #f2f8fb; font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery-lightbox-close:hover, .gallery-lightbox-close:focus-visible { color: #07111b; background: #72e7d2; outline: none; }
body.gallery-lightbox-open { overflow: hidden; }
@media (hover: none) { .gallery-item:hover { transform: none; } }
@media (max-width: 600px) { .gallery-lightbox { padding: 9vh 4vw; } .gallery-lightbox-image { max-width: 92vw; max-height: 72vh; } }
