/* Grundlegende Reset-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basis-Styling für den Body mit Hintergrundbild */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    background-image: url('Pictures/vinyls background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay für bessere Lesbarkeit */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

/* Container für den Inhalt */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
}

/* Header */
.site-header {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    z-index: 3;
}

.site-logo {
    display: block;
    width: 640px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.75));
    transition: width 200ms ease;
}

.site-tagline {
    margin-top: 8px;
    color: #ff2b2b;
    font-weight: 400;
    font-size: 3rem;
    font-family: 'Righteous', cursive;
    line-height: 1;
    letter-spacing: 0.02em;
    -webkit-text-stroke: 0.8px #ffd700;
    text-shadow:
        -0.8px -0.8px 0 #ffd700,
        0.8px -0.8px 0 #ffd700,
        -0.8px 0.8px 0 #ffd700,
        0.8px 0.8px 0 #ffd700;
    z-index: 4;
    text-align: center;
}

/* Navigation */
.site-nav {
    margin-top: 24px;
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 2px solid rgba(255,215,0,0.95);
    border-radius: 12px;
    background: rgba(0,0,0,0.18);
    transition: transform 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}

.site-nav a:hover,
.site-nav a:focus {
    background: #ff2b2b;
    color: #fff;
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

@media (max-width: 600px) {
    .site-nav ul { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .site-nav a { 
        padding: 8px 16px; 
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .site-header { padding-top: 20px; }
    .site-logo { width: 300px; }
    .site-tagline {
        font-size: 1.8rem;
        -webkit-text-stroke: 0.6px #ffd700;
        text-shadow:
            -0.6px -0.6px 0 #ffd700,
            0.6px -0.6px 0 #ffd700,
            -0.6px 0.6px 0 #ffd700,
            0.6px 0.6px 0 #ffd700;
    }
}

/* Willkommensbereich */
.welcome-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.welcome-content {
    display: flex;
    gap: 30px;
    align-items: start;
}

.welcome-image {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

.ueberuns-image {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

.welcome-text {
    flex: 1;
    padding: 20px;
    color: #fff;
}

.welcome-text h1 {
    font-family: 'Bebas Neue', 'Righteous', sans-serif;
    font-size: 1.9rem;
    margin: 0 0 12px 0;
    color: #ffffff;
    line-height: 1.1;
}

.welcome-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

/* News */
.news-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.news-content {
    display: flex;
    gap: 30px;
    align-items: start;
}

.news-image {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

.news-text {
    flex: 1;
    padding: 20px;
    color: #fff;
}

.news-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

.news-text a {
    color: #ffffff;
    text-decoration: underline;
}

.news-text h2 {
    font-family: 'Bebas Neue', 'Righteous', sans-serif;
    font-size: 1.9rem;
    margin: 0 0 12px 0;
    color: #ffffff;
    line-height: 1.1;
}

/* 🔸 Werbesektion (überarbeitet) */
.ad-section {
    margin-top: 18px;
    display: flex;
    flex-direction: column; /* Anzeigen untereinander statt nebeneinander */
    align-items: center;    /* zentriert */
    gap: 18px;              /* Abstand zwischen den Anzeigen */
}

.ad-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,215,0,0.02));
    padding: 14px 22px;
    border-radius: 12px;
    max-width: 980px;
    width: calc(100% - 40px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.ad-marquee {
    width: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.ad-link {
    display: inline-block;
    width: 100%;
}

.ad-image {
    display: block;
    width: auto;
    height: auto;
    max-height: 180px;
    border-radius: 6px;
    opacity: 0.98;
    will-change: transform;
    animation: ad-slide 10s linear infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover-Effekt: Animation pausiert + visueller Effekt */
.ad-marquee:hover .ad-image {
    animation-play-state: paused;
    cursor: pointer;
    filter: brightness(1.15);
    transform: scale(1.02);
}

/* Sliding animation */
@keyframes ad-slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ad-plate {
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(255,215,0,0.06), rgba(255,255,255,0.02));
    border-radius: 8px;
}

.ad-text h3 {
    font-family: 'Bebas Neue', 'Righteous', sans-serif;
    font-size: 1.45rem;
    margin: 0;
    color: #ffd700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.ad-text p {
    margin: 6px 0 0 0;
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
}
    

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .news-content, .welcome-content {
        flex-direction: column;
    }
    .news-image, .welcome-image {
        max-width: 100%;
    }
    .welcome-section {
        margin-top: 20px;
    }
    .ad-card { flex-direction: column; text-align: center; gap: 12px; }
    .ad-marquee { width: 100%; }
    .ad-image { max-height: 140px; }
}

/* Öffnungszeiten-Sektion */
.oeffnungszeiten-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.oeffnungszeiten {
    display: flex;
    gap: 30px;
    align-items: center;
}

.oeffnungszeiten-image {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

.oeffnungszeiten-text {
    flex: 1;
    color: #ff2b2b; /* schönes kräftiges Rot */
    font-family: 'Bebas Neue', 'Righteous', sans-serif;
    font-size: 1.8rem; /* gut lesbar */
    line-height: 1.3;
}

.oeffnungszeiten-text strong {
    text-decoration: underline; /* optional für Hervorhebung */
}
/* Footer */
.site-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 0;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Bebas Neue', 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    padding: 8px 16px;
    transition: color 150ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #ffd700;
}

@media (max-width: 600px) {
    .footer-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 15px;
    }
    .footer-nav a {
        font-size: 1.2rem;
        padding: 6px 12px;
    }
}

/* Falls pointer-events auf Overlay Probleme macht */
.site-header a { pointer-events: auto; }
/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Cursor zum Schließen */
.lightbox:after {
    content: "✖";
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* 🔹 Schmale Laufband-Werbeleiste */
.ad-marquee-section {
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.6);
    padding: 10px 0;
    border-radius: 8px;
    margin: 20px 0;
}

.ad-marquee-container {
    display: flex;
    gap: 20px;
    animation: marquee 15s linear infinite;
}

.ad-marquee-container:hover {
    animation-play-state: paused;
}

.ad-marquee-image {
    height: 120px; /* Höhe der Bilder anpassen */
    border-radius: 6px;
}

/* Animation von rechts nach links */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== RESPONSIVE MEDIA QUERIES FÜR MOBILE GERÄTE ===== */

/* Tablets und kleinere Bildschirme (max 768px) */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .site-logo {
        width: 400px;
    }

    .site-tagline {
        font-size: 2.2rem;
        margin-top: 5px;
    }

    /* Öffnungszeiten responsive */
    .oeffnungszeiten {
        flex-direction: column;
    }

    .oeffnungszeiten-image {
        max-width: 100%;
    }

    .oeffnungszeiten-text {
        text-align: center;
        font-size: 1.5rem;
    }

    /* Laufband-Werbung */
    .ad-marquee-image {
        height: 100px;
    }
}

/* Smartphones (max 600px) */
@media (max-width: 600px) {
    body {
        background-attachment: scroll; /* Bessere Performance auf mobil */
    }

    .container {
        padding: 10px;
    }

    .site-header {
        padding-top: 20px;
    }

    .site-logo {
        width: 320px;
    }

    .site-tagline {
        font-size: 1.8rem;
        -webkit-text-stroke: 0.6px #ffd700;
    }

    .site-nav {
        margin-top: 16px;
    }

    .site-nav ul {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .site-nav li {
        flex: 0 0 auto;
    }

    .site-nav li:nth-child(1),
    .site-nav li:nth-child(2),
    .site-nav li:nth-child(3) {
        flex: 0 0 calc(33.333% - 6px);
    }

    .site-nav li:nth-child(4),
    .site-nav li:nth-child(5) {
        flex: 0 0 calc(40% - 4px);
    }

    .site-nav a {
        padding: 10px 8px;
        font-size: 1.2rem;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Willkommen & News Sections */
    .welcome-section,
    .news-section,
    .oeffnungszeiten-section {
        margin-top: 20px;
        padding: 15px;
    }

    .welcome-text h1,
    .news-text h2 {
        font-size: 1.5rem;
    }

    .welcome-text p,
    .news-text p {
        font-size: 0.95rem;
    }

    /* Werbung */
    .ad-section {
        gap: 15px;
    }

    .ad-card {
        padding: 12px 16px;
    }

    .ad-text h3 {
        font-size: 1.2rem;
    }

    .ad-text p {
        font-size: 0.95rem;
    }

    /* Öffnungszeiten */
    .oeffnungszeiten-text {
        font-size: 1.3rem;
    }

    /* Über-Uns-Bild auf mobil */
    .ueberuns-image {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    /* Laufband */
    .ad-marquee-image {
        height: 80px;
    }

    /* Footer */
    .site-footer {
        margin-top: 30px;
        padding: 20px 0;
    }

    .footer-nav ul {
        gap: 10px;
        flex-direction: column;
    }

    .footer-nav a {
        font-size: 1.2rem;
    }

    /* Lightbox */
    .lightbox img {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox:after {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
    }
}

/* Sehr kleine Smartphones (max 480px) */
@media (max-width: 480px) {
    .site-logo {
        width: 280px;
    }

    .site-tagline {
        font-size: 1.5rem;
    }

    .site-nav a {
        padding: 6px 12px;
        font-size: 1.2rem;
    }

    .welcome-text h1,
    .news-text h2 {
        font-size: 1.3rem;
    }

    .welcome-text p,
    .news-text p {
        font-size: 0.9rem;
    }

    .oeffnungszeiten-text {
        font-size: 1.1rem;
    }

    .ad-marquee-image {
        height: 60px;
    }

    .ad-text h3 {
        font-size: 1.1rem;
    }

    .ad-text p {
        font-size: 0.85rem;
    }
}

/* Sehr kleine Bildschirme (max 360px) */
@media (max-width: 360px) {
    .site-logo {
        width: 240px;
    }

    .site-tagline {
        font-size: 1.3rem;
    }

    .site-nav a {
        padding: 5px 10px;
        font-size: 1.1rem;
    }

    .container {
        padding: 8px;
    }

    .welcome-section,
    .news-section,
    .oeffnungszeiten-section {
        padding: 12px;
    }
}
