@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

:root {
    --primary: #3D3935;
    --contrast: #fab200;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

.logo {
    height: 150px;
    transition: var(--transition);
    position: absolute;
    top: 0px;
    background-color: var(--primary);
    padding: 15px;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
        backdrop-filter: blur(10px);
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.2em;
        opacity: 0;
        transform: translateX(50px);
    }

    .nav.active a {
        opacity: 1;
        transform: translateX(0);
        transition: 0.4s ease-out;
    }

    .nav.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav.active a:nth-child(4) { transition-delay: 0.4s; }

    .logo {
        height: 100px;
        transition: var(--transition);
        position: absolute;
        top: 0px;
        background-color: var(--primary);
        padding: 3px;
        left: 50%;
        transform: translateX(-50%); /* Horizontales Zentrieren */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #333 100%);
    color: white;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg') center/cover;
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.hero p {
    font-size: 1.3em;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    position: relative;
    transform: rotate(0deg);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: #01343a;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #FFC107 100%);
    opacity: 0.1;
    transform: skewY(-5deg);
}

.button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--contrast);
    color: var(--dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFC107;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.button:hover::before {
    transform: translateX(0);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer p {
    color: #ccc;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        margin-top: -4px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .logo-container {
        flex-direction: column;
    }
}

.section {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.arcade-reader {
    background-color: #eaf4f4;
    border-left: 5px solid #008c82;
}
.self-kiosk {
    background-color: #f4efe9;
    border-left: 5px solid #d68c45;
}

ul, li {
    list-style: none;
}

.seperator {
    width: 100%;
    height: 50px; /* Höhe der Trennlinie anpassen */
    background-color: var(--primary); /* Farbe des Trenners */
}

.active::after {
    width: 100% !important;
}

.footer a {
    color: #ccc;
}

.contact-info {
    margin: 20px 35px;
}

a {
    color: #000;
}

/* Cookie-Banner Stile */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(29, 29, 29, 0.95);
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h4 {
    margin-bottom: 10px;
    font-family: "Orbitron", serif;
    color: var(--contrast);
}

.cookie-content p {
    margin-bottom: 15px;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--contrast);
    color: var(--dark);
}

.cookie-btn.accept:hover {
    background-color: #FFC107;
}

.cookie-btn.decline {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: #ccc;
    text-decoration: underline;
    margin-left: 10px;
}

.cookie-link:hover {
    color: #fff;
}

/* Responsive Design für den Cookie-Banner */
@media (max-width: 768px) {
    .cookie-content {
        padding: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
    }
}


/* Galerie-Bereich Styles */
.gallery {
    padding: 100px 0;
    background: var(--light);
    position: relative;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.gallery-item {
    min-width: 320px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transition: all 0.3s ease;
}

.gallery-overlay h3 {
    margin-bottom: 5px;
    font-family: "Orbitron", serif;
}

.gallery-overlay p {
    font-size: 0.9em;
    opacity: 0.9;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.gallery-btn:hover {
    background: var(--contrast);
    color: var(--dark);
}

.gallery-btn span {
    font-size: 1.5em;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-content {
    display: block;
    max-width: 80%;
    max-height: 80vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(0,0,0,0.7);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
}

.lightbox-caption h3 {
    font-family: "Orbitron", serif;
    margin-bottom: 5px;
    color: var(--contrast);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    -webkit-user-select: none;
    transition: 0.3s ease;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--contrast);
    color: var(--dark);
}

/* Responsive Design für die Galerie */
@media (max-width: 768px) {
    .gallery-item {
        min-width: 260px;
        height: 200px;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-caption {
        bottom: 20px;
        padding: 10px;
        max-width: 90%;
    }
}

@media (min-width: 1200px) {
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        overflow: visible;
    }

    .gallery-nav {
        display: none;
    }
}