/*
 * Ströher Lokschuppen Stylesheet
 * ========================================================================
 * 
 * Inhaltsverzeichnis:
 * 1. Variablen & Grundeinstellungen
 * 2. Layoutelemente (Header, Navigation, Footer)
 * 3. Wiederverwendbare Komponenten
 * 4. Seitenspezifische Stile
 *    - Startseite
 *    - Speisekarte
 *    - Stellplatz
 *    - Galerie
 *    - Kontakt
 *    - News
 * 5. Animationen & Übergänge
 * 6. Medienabfragen
 * 7. Hilfsklassen & Utilities
 */

/* 1. Variablen & Grundeinstellungen
   ========================================================================== */
:root {
    /* Farben */
    --primary-color: #8b5a2b;
    --primary-dark: #6d4f2d;
    --primary-light: #9c6e3e;
    --text-color: #333;
    --bg-light: #fdf5e6;
    
    /* Effekte */
    --shadow-standard: 0 4px 10px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
    --transition-standard: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Grundeinstellungen
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background: url('../images/holz.jpg') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1;
}

/* 3. Layout-Grundstruktur
   ========================================================================== */
header {
    position: relative;
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

/* 4. Navigation & Header
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, #9c6e3e, #6d4f2d);
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-bottom: 2px solid #543719;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Lora', serif;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background: #6d4221;
    color: #fff;
}

.navbar ul li a.active {
    background: #8b5a2b;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 5. Bewegliche Elemente
   ========================================================================== */
/* Sticker */
.sticker {
    position: fixed;
    top: 25px;
    left: 2%;
    transform: rotate(-15deg);
    z-index: 1100;
    transition: all 0.3s ease;
}

.sticker img {
    display: block;
    max-width: 200px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

@keyframes spin-animation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sticker img.spin {
    animation: spin-animation 1s ease-in-out;
}

/* Hängendes Schild */
.hanging-sign {
    position: fixed;
    top: 53px;
    right: 25px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 999;
    transform-origin: top center;
    animation: gentleSwing 5s ease-in-out infinite;
}

.hanging-sign::before,
.hanging-sign::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 30px;
    top: 0; /* Start direkt am Container-Top (Navbar-Unterkante) */
    background: linear-gradient(
        to bottom,
        #8b4513,
        #654321,
        #8b4513
    );
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hanging-sign::before {
    left: 8px;
    transform-origin: bottom left;
}

.hanging-sign::after {
    right: 8px;
    transform-origin: bottom right;
}

.sign {
    margin-top: 30px; /* Platz für die Seile */
    background: linear-gradient(145deg, #fdf5e6, #f5e6d3);
    border: 2px solid #8b5a2b;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(139, 90, 43, 0.1);
    text-align: center;
    font-size: 0.9rem;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
}

.sign h3 {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #6d4f2d;
    margin: 0 0 10px;
    padding-top: 10px;
}

.sign p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #333;
    margin: 5px 0;
}

.sign hr {
    border: 0;
    height: 1px;
    background: #8b5a2b;
    margin: 10px 0;
}

/* Holznägel mit Seilschlaufen */
.sign::before,
.sign::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #654321;
    border-radius: 50%;
    top: 8px;
    box-shadow: 
        inset -1px -1px 2px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(139, 69, 19, 0.3);
    z-index: 2;
}

.sign::before {
    left: 8px;
}

.sign::after {
    right: 8px;
}

/* Zusätzliche Seilschlaufen-Effekte */
.sign::before,
.sign::after {
    box-shadow: 
        inset -1px -1px 2px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(139, 69, 19, 0.3); /* Seilschlaufen-Effekt */
}

@keyframes gentleSwing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(0.5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-0.5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* 6. Wiederverwendbare Komponenten
   ========================================================================== */
/* Slideshow */
.slideshow-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.slideshow .slide {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bilder werden zugeschnitten, aber behalten das Seitenverhältnis */
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.slideshow .slide.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slideshow-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-arrow.left-arrow { left: 15px; }
.slideshow-arrow.right-arrow { right: 15px; }

/* Buttons & Interaktive Elemente */
.button, 
.info-box .button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.button:hover, 
.info-box .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

.button:active, 
.info-box .button:active {
    transform: translateY(1px);
}

/* Info-Box */
.info-box {
    margin: 20px 0;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-box p {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.info-box .button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px 0;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-box .button:hover {
    background: linear-gradient(180deg, #45a049, #409444);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-box .button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Info-Box Container Styles */

.info-box p {
    color: #2e7d32;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Lora', serif;
}

/* PDF Viewer */
#pdf-viewer {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

#pdf-canvas {
    border: 1px solid #ddd;
    margin: 10px 0;
    width: 100%;
}

.pdf-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #333333;
}

.pdf-navigation button {
    padding: 10px 20px;
    margin: 0 10px;
    background: var(--primary-dark);
    color: var(--bg-light);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pdf-navigation button:hover {
    background: var(--primary-color);
}

#page-info {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 10px;
    color: #333333;
}

/* Menu Tabs */
#menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#menu-tabs button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: var(--primary-dark);
    color: white;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#menu-tabs button.active {
    background: var(--primary-color);
    font-weight: bold;
}

#menu-tabs button:hover {
    background: #543819;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary-dark);
    color: var(--bg-light);
    font-size: 0.9rem;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

footer p {
    margin: 0;
    line-height: 1.5;
}

/* Social Media */
.social-media {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--bg-light);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--primary-color);
}

.social-media img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.2);
}

/* Status-Anzeigen */
.success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* 7. Seitenspezifische Stile
   ========================================================================== */

/* Startseite - Über Uns
   ----------------------- */
.section.about {
    background: var(--bg-light);
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.section.about h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0;
}

.section.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 15px;
}

.section.about p:first-of-type {
    margin-top: 0;
}

/* News-Sektion
   ----------------------- */
.section.news {
    background: var(--bg-light);
    padding: 20px 30px;
    margin: 20px auto;
    width: calc(100% - 40px);
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    box-sizing: border-box;
}

.section.news .content {
    width: 100%;
    max-width: 100%;
}

.section.news h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0 20px;
    text-align: center;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.news-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: auto;
    box-sizing: border-box;
    margin: 0;
}

.news-item:hover {
    transform: translateY(-2px);
}

.news-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.news-item h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.news-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Speisekarte
   ----------------------- */
.section.speisekarte {
    background: var(--bg-light);
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.section.speisekarte h1 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.section.speisekarte .download-info {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 20px;
}

.section.speisekarte .download-info a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.section.speisekarte .download-info a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Galerie
   ----------------------- */
.gallery-section {
    background: var(--bg-light);
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.gallery-section .section-heading {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.gallery-section .section-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item img:hover {
    transform: scale(1.2);
}

/* Links-Sektion
   ----------------------- */
.links-section {
    background: var(--bg-light);
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.links-section .section-heading {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.links-section .section-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.links-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.link-item {
    text-align: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    transition: var(--transition-smooth);
}

.link-item img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-bottom: 2px solid var(--primary-color);
}

.link-item a {
    text-decoration: none;
    color: var(--text-color);
}

.link-item p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 15px 0;
    font-weight: 500;
    padding: 10px;
    transition: color 0.3s ease;
}

.link-item:hover p {
    color: var(--primary-dark);
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#content h1 {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #ffffff; /* Weiß für starken Kontrast */
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Deutlicher Schatten für Lesbarkeit */
}


.impressum-section {
    background: #fdf5e6; /* Gleiche helle Farbe wie andere Abschnitte */
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    text-align: left; /* Text linksbündig */
}

.impressum-section h2,
.impressum-section h3,
.impressum-section h4 {
    font-family: 'Lora', serif;
    color: #8b5a2b; /* Rustikale Überschriftfarbe */
    margin-bottom: 10px;
}

.impressum-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.datenschutz-section {
    background: #fdf5e6; /* Gleiche helle Farbe wie andere Abschnitte */
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    text-align: left; /* Text linksbündig */
}

.datenschutz-section h2,
.datenschutz-section h3,
.datenschutz-section h4 {
    font-family: 'Lora', serif;
    color: #8b5a2b; /* Rustikale Überschriftfarbe */
    margin-bottom: 10px;
}

.datenschutz-section p,
.datenschutz-section ul {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.contact-section {
    background: #fdf5e6; /* Helle Hintergrundfarbe */
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    text-align: center;
}

.contact-section .section-heading {
    font-family: 'Lora', serif; /* Gleiche Überschrift-Schriftart */
    font-size: 2.5rem;
    color: #8b5a2b; /* Rustikale Farbe */
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

.contact-section .section-description {
    font-family: 'Roboto', sans-serif; /* Gleiche Schriftart wie Fließtext */
    font-size: 1.2rem;
    color: #333; /* Dunkler Fließtext */
    margin-bottom: 20px;
}

.contact-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.contact-section a {
    color: #8b5a2b; /* Rustikale Farbe für Links */
    text-decoration: none;
    font-weight: bold;
}

.contact-section a:hover {
    color: #6d4f2d; /* Dunklere Farbe bei Hover */
    text-decoration: underline;
}

.contact-opening-hours {
    background: var(--bg-light);
    padding: 20px 30px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.contact-opening-hours h3 {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-opening-hours h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.contact-opening-hours ul {
    list-style: none;
    padding: 0;
}

.contact-opening-hours ul li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.map-container {
    width: 100%;
    max-width: 800px; /* Maximalbreite der Karte */
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schatteneffekt */
}

iframe {
    width: 100%;
    height: 450px; /* Passt die Höhe für kleinere Bildschirme an */
    border: 0;
}

ul {
    list-style-position: inside; /* Punkte erscheinen innerhalb des Textblocks */
    margin: 10px 0; /* Abstand nach oben und unten */
    padding-left: 20px; /* Einrückung der Liste */
}

ul li {
    margin-bottom: 8px; /* Abstand zwischen den Listeneinträgen */
    font-size: 1rem; /* Einheitliche Schriftgröße */
    line-height: 1.5; /* Lesbare Zeilenhöhe */
    color: #333; /* Einheitliche Schriftfarbe */
}

/* Stellplatz-Section */
.booking-section {
    background: #fdf5e6; /* Helle Hintergrundfarbe passend zur Galerie */
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 15px; /* Abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    text-align: center;
}

.booking-section h2 {
    font-family: 'Lora', serif; /* Gleiche Überschrift-Schriftart */
    font-size: 2.5rem;
    color: #8b5a2b; /* Rustikale Farbe */
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

.booking-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.booking-section form label {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #333; /* Dunkler Fließtext */
}

.booking-section form input,
.booking-section form select,
.booking-section form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.booking-section form button {
    background-color: #4CAF50; /* Grün */
    color: white;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.booking-section form button:hover {
    background-color: #45a049;
}

/* Kalender */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
}

.calendar-info {
    margin-top: 20px;
    padding: 10px;
    background-color: #fdf5e6; /* Heller Hintergrund */
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.calendar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 Spalten */
    gap: 5px;
}

.calendar-weekdays {
    background-color: #f9f9f9; /* Heller Hintergrund */
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #ddd; /* Untere Linie */
}

.calendar-weekday {
    font-size: 1rem;
    text-transform: uppercase;
    color: #333;
}

.calendar-days .calendar-day {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    background-color: #e0e0e0; /* Standardhintergrund */
    transition: all 0.3s;
}

.calendar-days .calendar-day.frei {
    background-color: #4CAF50; /* Grün für freie Tage */
}

.calendar-days .calendar-day.knapp {
    background-color: #FFA500; /* Orange für knappe Verfügbarkeit */
}

.calendar-days .calendar-day.ausgebucht {
    background-color: #F44336; /* Rot für ausgebuchte Tage */
}

.calendar-days .calendar-day.leer {
    background-color: transparent;
    pointer-events: none; /* Keine Interaktion */
}

.calendar-days .calendar-day:hover {
    transform: scale(1.05); /* Zoom-Effekt */
    opacity: 0.9;
}

.calendar-day:hover:not(.leer) {
    opacity: 0.8;
    transform: scale(1.05);
}

.calendar-day.past {
    background-color: #dcdcdc; /* Grau für vergangene Tage */
    color: #888; /* Hellgrauer Text */
    pointer-events: none; /* Keine Interaktion */
    cursor: not-allowed; /* Kein Klick erlaubt */
    opacity: 0.6; /* Leicht ausgegraut */
}

.calendar-legend {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: bold;
    font-size: 0.9em;
}

.calendar-legend p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: inline-block;
}

.legend-box.frei {
    background-color: #4CAF50; /* Grün */
}

.legend-box.knapp {
    background-color: #FFA500; /* Orange */
}

.legend-box.ausgebucht {
    background-color: #F44336; /* Rot */
}

.selected-plaetze {
    text-align: center;
    margin-bottom: 20px;
    background-color: #fdf5e6;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.selected-plaetze h3 {
    font-size: 1.5rem;
    color: #6d4f2d;
    margin-bottom: 10px;
}

.selected-plaetze ul {
    list-style-type: none;
    padding: 0;
}

.selected-plaetze ul li {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
}

#selected-places-container {
    text-align: center;
    margin-bottom: 20px;
    background-color: #fdf5e6;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#selected-places-container h3 {
    font-size: 1.5rem;
    color: #6d4f2d;
    margin-bottom: 10px;
}

#selected-places-container ul {
    list-style-type: none;
    padding: 0;
}

#selected-places-container ul li {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
}

.confirmation-section {
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #fdf5e6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.confirmation-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #6d4f2d;
}

.confirmation-section p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.confirmation-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.confirmation-section ul li {
    margin: 5px 0;
}

.confirmation-section form {
    max-width: 100%;
}

.confirmation-section label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.confirmation-section input,
.confirmation-section select,
.confirmation-section textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}


.confirmation-section textarea {
    resize: vertical;
    min-height: 100px;
}

/* Datenschutz Container Styling */
.datenschutz-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.datenschutz-container input[type="checkbox"] {
    width: auto;
    margin: 3px 0 0 0;
}

.datenschutz-container label {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.datenschutz-container a {
    color: #6d4f2d;
    text-decoration: underline;
}

.datenschutz-container a:hover {
    color: #8b5a2b;
}

.confirmation-submit {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.confirmation-submit:hover {
    background-color: #45a049;
}

/* Stellplatz-Section */
.stellplatz-section {
    max-width: 1400px; /* Erhöht die maximale Breite */
    margin: 30px auto;
    padding: 30px;
    background: #fdf5e6;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.stellplatzplan-container {
    width: 100%;
    max-width: 1200px;
	overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Breiteres Grid */
.stellplatzplan-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 15px;
    min-width: 750px; /* Mindestbreite für 5 Spalten */
    width: max-content;
    margin: 0 auto;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Stellplatz-Stile */
.stellplatz {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease, transform 0.2s ease;
	min-width: 150px;
    height: 150px; /* Einheitliche Höhe */
    grid-column: span 1; /* Standardmäßig 1 Spalte */
}

.stellplatz[style*="grid-column:"] {
    height: auto; /* Dynamische Höhe für große Bereiche */
}

/* Checkbox und Text getrennt darstellen */
.stellplatz-info {
    font-size: 0.9rem;
    color: #333;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
}


.stellplatz-info li {
    margin: 5px 0;
}

/* Checkbox-Stile */
.stellplatz label {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
}
.stellplatz input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.2);
}
/* Hover-Effekt für freie Plätze */
.stellplatz.frei {
    background-color: #e6ffe6; /* Grün für freie Stellplätze */
}

/* Belegte Stellplätze */
.stellplatz.belegt {
    background-color: #ffcccb; /* Rot für belegte Stellplätze */
    color: #a94442;
    cursor: not-allowed;
}

/* Gebäude: Individuelle Farben */
.stellplatz.camperhaus {
    background-color: #ffe4c4; /* Beige */
}

.stellplatz.grillhuette {
    background-color: #d9d2e9; /* Helles Lila passend zum Design */
}

.stellplatz.spielplatz {
    background-color: #c2f0c2; /* Sanftes Grün */
}

.stellplatz.gebaeude {
    background-color: #add8e6; /* Hellblau */
}

.stellplatz.special-platz {
    background-color: #f0f0f0; /* Hellgrauer Hintergrund */
    opacity: 0.7; /* Leicht transparent */
    cursor: not-allowed; /* "Verboten"-Cursor */
}

.stellplatz.special-platz:hover {
    background-color: #f0f0f0; /* Keine Hover-Effekte für spezielle Plätze */
}

.stellplatz.special-platz .error {
    color: #666; /* Dunkelgraue Schrift für "Nicht buchbar" Text */
    font-style: italic;
}

/* Leere Plätze */
.stellplatz.leer {
    background-color: transparent;
    border: none;
    pointer-events: none;
}

.stellplatz.strasse {
    position: relative; /* Ermöglicht die Positionierung von Text innerhalb des Containers */
    background-color: #d3d3d3; /* Grau für Straßen */
    overflow: hidden;
}

.stellplatz.strasse .strasse-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg); /* Text quer drehen */
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Leichter Schatten für Lesbarkeit */
}

.button-container {
    display: flex;
    justify-content: space-between; /* Platzierung der Buttons links und rechts */
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
}

.button-back,
.button-confirm {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.button-back {
    background-color: #d9534f; /* Rot */
    color: white;
}

.button-back:hover {
    background-color: #c9302c;
}

.button-confirm {
    background-color: #5cb85c; /* Grün */
    color: white;
}

.button-confirm:hover {
    background-color: #4cae4c;
}

/* Stellplatz Hauptsektion
   ========================================================================== */
/* Hauptsektion */
.section.stellplatz-section {
    position: relative;
    background: #fdf5e6;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.section-content {
    text-align: center;
}

/* Überschriften und Text
   ========================================================================== */
.section.stellplatz-section h2.section-heading {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #8b5a2b;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.section.stellplatz-section p.section-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.section.stellplatz-section h3,
.section.stellplatz-section p,
.section.stellplatz-section ul {
    text-align: center;
}

.section.stellplatz-section ul {
    list-style-position: inside;
    padding-left: 0;
}

/* Slideshow Container
   ========================================================================== */
   
.stellplatz-viewer {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background: #fff;
    overflow: hidden;
}

.stellplatz-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.stellplatz-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.stellplatz-slide.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.stellplatz-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.stellplatz-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.stellplatz-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.stellplatz-nav.left { left: 15px; }
.stellplatz-nav.right { right: 15px; }

/* Slideshow Navigation
   ========================================================================== */
.stellplatz-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding: 0;
}

.stellplatz-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.stellplatz-arrow.left {
    left: 15px;
}

.stellplatz-arrow.right {
    right: 15px;
}

/* Propangas Sektion
   ========================================================================== */
.gas-prices-section {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px; /* Reduziert von 300px */
    padding: 10px; /* Reduziert von 15px */
    background: #fdf5e6;
    border-radius: 8px; /* Leicht verkleinert */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gas-prices-section h3 {
    margin-top: 0;
    margin-bottom: 8px; /* Kompakterer Abstand */
    font-size: 1.1rem; /* Kleinere Schriftgröße */
    text-align: center;
}

.gas-prices-container {
    max-width: 300px;
    margin: 20px auto;
    padding: 15px;
}

.gas-prices-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Clear-Fix für Float */
.section-content::after {
    content: "";
    display: table;
    clear: both;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section-heading {
    transition: var(--transition-smooth);
}

.section-heading:hover {
    color: var(--primary-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item {
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.link-item {
    transition: var(--transition-smooth);
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Shop-Seite */
.shop-section {
    background: var(--bg-light);
    padding: 30px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-standard);
    text-align: center;
}

.shop-section h1 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.shop-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.opening-hours {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.opening-hours li {
    margin-bottom: 5px;
}

.map-container {
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shop-section .slideshow-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background: #fff;
    /* Entfernen der festen Aspect-Ratio */
    aspect-ratio: auto;
    height: auto;
    overflow: hidden;
}

.shop-section .slideshow {
    position: relative;
    width: 100%;
    /* Entfernen der festen Höhe */
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-section .slide {
    position: absolute;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-section .slide.active {
    opacity: 1;
    position: relative; /* Damit sich der Container an die Bildhöhe anpasst */
}

/* Bildanpassungen */
.shop-section .slide img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Änderung von 'cover' zu 'contain' */
    display: block;
    margin: 0 auto;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

#lightbox-caption {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 10px;
    font-size: 1rem;
}

#lightbox-prev,
#lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

#lightbox-prev:hover,
#lightbox-next:hover,
.lightbox-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-wrapper::-webkit-scrollbar {
    display: none;
}

/* Fügt einen visuellen Indikator für Scrollbarkeit hinzu */
.scroll-wrapper::after {
    content: '←  →';
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    pointer-events: none;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Announcements Banner */
.announcements-banner {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0;
}

.announcements-banner .announcement-item {
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

.announcements-banner .announcement-item h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.announcements-banner .announcement-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.announcements-banner .priority-hoch {
    border-left: 5px solid #ff4444;
    background-color: #fff5f5;
}

.announcements-banner .priority-mittel {
    border-left: 5px solid #ffbb33;
    background-color: #fffaf0;
}

.announcements-banner .priority-niedrig {
    border-left: 5px solid #00C851;
    background-color: #f0fff4;
}

/* Popup Announcement */
.announcement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.announcement-popup {
    max-width: 600px;
    width: 90%;
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.announcement-popup h3 {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #8b5a2b;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b5a2b;
}

.announcement-popup p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.announcement-popup .priority-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.announcement-popup .priority-hoch .priority-icon {
    background-color: #ff4444;
}

.announcement-popup .priority-mittel .priority-icon {
    background-color: #ffbb33;
}

.announcement-popup .priority-niedrig .priority-icon {
    background-color: #00C851;
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #8b5a2b;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.announcement-close:hover {
    background-color: rgba(139, 90, 43, 0.1);
}

.announcement-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #8b5a2b;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.announcement-btn:hover {
    background: #6d4f2d;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media screen and (max-width: 768px) {
    .announcement-popup {
        width: 95%;
        padding: 20px;
    }
    
    .announcement-popup h3 {
        font-size: 1.5rem;
    }
    
    .announcement-popup p {
        font-size: 1.1rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.25) {
    .navbar {
        position: fixed;
    }
    
    .navbar ul {
        padding-left: 100px;  /* Reduziert den linken Padding */
        padding-right: 20px;  /* Minimaler rechter Padding */
    }
    
    main {
        margin-top: 60px;
    }

    .sticker {
        top: 5px;
        left: 3px;  /* Weiter nach links verschoben */
        transform: scale(0.8) rotate(-15deg);
    }

    .hanging-sign {
        display: none; /* Hanging Sign wird ausgeblendet */
    }
}

/* Alternative für Firefox und andere Browser */
@media screen and (min-resolution: 120dpi) {
    .navbar {
        position: fixed;
    }
    
    .navbar ul {
        padding-left: 100px;
        padding-right: 20px;
    }
    
    main {
        margin-top: 60px;
    }

    .sticker {
        top: 5px;
        left: 3px;
        transform: scale(0.8) rotate(-15deg);
    }

    .hanging-sign {
        display: none;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .navbar {
        position: fixed;
        width: 100%;
        padding: 8px 0;
    }

    .navbar ul {
        padding: 0 230px; /* Mehr Platz auf beiden Seiten */
    }

    main {
        margin-top: 60px; /* Platz für fixed Navbar */
    }

    header {
        margin-top: 20px;
    }

    /* Anpassungen für den Sticker */
    .sticker {
        position: fixed;
        top: 8px; /* Weiter nach oben */
        left: 10px;
        transform: scale(0.7) rotate(-15deg); /* Kleiner skaliert */
    }

    .sticker img {
        max-width: 150px; /* Etwas kleiner */
    }

    /* Anpassungen für das Hanging Sign */
    .hanging-sign {
        position: fixed;
        top: 8px; /* Weiter nach oben */
        right: 10px;
        transform: scale(0.7);
    }

    .sign {
        width: 250px; /* Etwas schmaler */
        margin-top: 20px; /* Weniger Abstand nach oben */
    }

    /* Slider-Container Anpassung */
    .slideshow-container {
        margin-top: 40px; /* Mehr Abstand nach oben */
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) and (-webkit-min-device-pixel-ratio: 1.25),
       screen and (min-width: 1024px) and (max-width: 1440px) and (min-resolution: 120dpi) {
    .navbar ul {
        padding: 0 250px; /* Noch mehr Platz für die Navbar */
    }

    .sticker {
        transform: scale(0.65) rotate(-15deg); /* Noch kleiner */
        top: 5px;
    }

    .hanging-sign {
        transform: scale(0.65);
        top: 5px;
    }
}

/* Spezifisch für Laptops mit hoher Skalierung (125% oder höher) */
@media screen and (min-width: 1024px) and (max-width: 1440px) and (max-height: 900px) {
    .sticker {
        top: 15px;
        left: 15px;
        transform: scale(0.8) rotate(-15deg);
    }

    .hanging-sign {
        top: 45px;
        right: 15px;
        transform: scale(0.8);
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar ul {
        padding: 0 180px;
    }

    .navbar ul li a {
        padding: 8px 15px;
    }
}

/* Spezifisch für kleine Laptops */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .sticker {
        top: 12px;
        left: 12px;
        transform: scale(0.75) rotate(-15deg);
    }

    .hanging-sign {
        top: 40px;
        right: 12px;
        transform: scale(0.75);
    }

    .navbar ul {
        padding: 0 160px;
    }
}

@media screen and (max-width: 1400px) {
    .sticker img {
        max-width: 180px;
    }
    
    .sign {
        width: 250px;
    }
	
    .sticker {
        top: 20px;
        left: 15px;
        transform: scale(0.9) rotate(-15deg);
    }
    
    .hanging-sign {
        right: 15px;
        transform: scale(0.9);
    }
}

@media screen and (max-width: 1200px) {
    .section {
        margin: 20px;
        max-width: 90%;
    }

    .slideshow-container {
        width: 90%;
    }

    header {
        height: 55vh;
    }

    .sticker img {
        max-width: 160px;
    }
    
    .hanging-sign {
        right: 20px;
    }
    
    .sign {
        width: 230px;
    }
	
    .navbar {
        padding: 12px 0;
    }

    .navbar ul {
        justify-content: flex-start;
        padding: 0 120px; /* Platz für Sticker */
    }

    .sticker {
        top: 15px;
        left: 10px;
        transform: scale(0.8) rotate(-15deg);
    }
    
    .hanging-sign {
        right: 10px;
        transform: scale(0.8);
    }
}

@media screen and (max-width: 1100px) {
    .sticker {
        position: absolute;
        top: 15px;
        left: 10px;
        transform: scale(0.7) rotate(-15deg);
    }
    
    .hanging-sign {
        position: absolute;
        top: 15px;
        right: 10px;
        transform: scale(0.7);
    }
}

@media screen and (max-width: 992px) {
    html, body {
        font-size: 15px;
    }

    .navbar {
        position: fixed;
        padding: 10px 0;
    }

    .navbar ul {
        padding: 0 100px 0 110px; /* Angepasster Platz für Sticker */
        overflow-x: auto;
    }

    .sticker {
        position: fixed;
        top: 12px;
        left: 8px;
        transform: scale(0.7) rotate(-15deg);
    }

    .hanging-sign {
        transform: scale(0.7);
        top: 45px;
    }

    main {
        margin-top: 60px; /* Platz für fixed Navbar */
    }

    .slideshow-container {
        width: 95%;
    }
    
    header {
        height: 50vh;
    }

    .sticker img {
        max-width: 140px;
    }
    
    .hanging-sign {
        right: 15px;
    }
    
    .sign {
        width: 200px;
        padding: 12px 15px;
    }

    .section.about,
    .section.speisekarte,
    .section.stellplatz-section {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    html, body {
        font-size: 14px;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
		z-index: 1000;
    }

    .navbar ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 15px;
        width: auto;
        min-width: min-content;
		padding-left: 100px;
		padding-right: 20px;
    }

    .navbar ul li {
        flex: 0 0 auto;
        margin: 0 5px;
        white-space: nowrap;
    }

    .navbar ul li a {
        padding: 8px 15px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }
    
    .navbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
	
	.sticker {
        position: fixed;
        top: 5px;
        left: 5px;
        transform: rotate(-10deg) scale(0.85);
        pointer-events: none;
    }
	
    .sticker img {
        max-width: 95px; /* Erhöht von 70px auf 75px */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .hanging-sign {
        display: none;
    }

    main {
        margin-top: 60px;
    }

    header {
        height: auto;
        margin-top: calc(60px + 20px); /* Navbar-Höhe (60px) + zusätzlicher Abstand (20px) */
        padding: 0; /* Padding entfernt, da wir jetzt genug Abstand haben */
    }

    .slideshow-container {
        width: 94%;
        max-width: none;
        border-radius: 15px;
        margin: 0 auto;
        position: relative;
    }

    .slideshow {
        aspect-ratio: 16/9;
        border-radius: 15px;
        overflow: hidden;
    }

    .slideshow .slide {
		border-radius: 15px;
    }

    .slideshow-arrow {
        width: 35px;
        height: 35px;
    }

    .slideshow-arrow.left-arrow {
        left: 10px;
    }

    .slideshow-arrow.right-arrow {
        right: 10px;
    }

    .section {
        margin: 15px;
        padding: 15px;
    }

    .section h1,
    .section h2 {
        font-size: 1.8rem;
    }

    .social-media {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .stellplatzplan-grid {
        width: max-content; /* Grid bestimmt die Breite */
        min-width: 750px; /* Minimale Breite für 5 Spalten (5 x 150px) */
        overflow-x: auto; /* Ermöglicht horizontales Scrollen */
        -webkit-overflow-scrolling: touch; /* Smoothes Scrollen auf iOS */
        padding: 10px 5px;
        grid-template-columns: repeat(5, minmax(150px, 1fr)); /* Minimale Spaltenbreite */
    }

    /* Container für den scrollbaren Bereich */
    form {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px; /* Platz für Scrollbar */
    }
    
    /* Stellplatz Anpassungen */
    .stellplatz {
        min-width: 150px; /* Minimale Breite beibehalten */
        height: 150px; /* Höhe beibehalten */
    }
    .selected-plaetze, 
    .button-container {
        width: 100%; /* Volle Breite des Formulars */
        min-width: inherit; /* Erbt die Mindestbreite vom Formular */
        box-sizing: border-box; /* Padding wird in Breite eingerechnet */
        padding: 15px;
        margin: 20px 0;
    }
    
    .button-container {
        display: flex;
        justify-content: space-between;
        padding: 10px 15px;
    }
	
    .section.news {
        margin: 15px;
        padding: 15px;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-item h3 {
        font-size: 1.2rem;
    }
    
    .news-item p {
        font-size: 1rem;
    }
	
    .links-gallery {
        grid-template-columns: 1fr; /* Stack links vertically on mobile */
    }
	
    .links-section .section-heading {
        font-size: 2rem;
    }
    .links-section .section-description {
        font-size: 1.1rem;
    }
	
    .section.stellplatz-section {
        padding: 20px 10px;
        margin: 30px 5px;
        width: auto;
    }

    .stellplatz-slideshow-container {
        width: 100%;
        border-radius: 0;
        margin: 10px 0;
    }

    .stellplatz-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .gas-prices-container {
        max-width: 250px;
        padding: 10px;
    }
	
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Kleinere Mindestbreite */
        gap: 15px; /* Reduzierter Abstand */
        padding: 10px; /* Weniger Padding */
    }

    .gallery-item {
        height: 200px; /* Reduzierte Höhe */
        width: 100%; /* Volle Breite des Containers */
        margin: 0 auto; /* Zentriert die Items */
    }

    .gallery-section {
        padding: 15px; /* Reduziertes Padding */
        margin: 15px auto; /* Reduzierter Margin */
        width: calc(100% - 30px); /* Berücksichtigt den Margin */
        max-width: none; /* Entfernt die max-width Beschränkung */
        box-sizing: border-box; /* Padding wird in Breite eingerechnet */
    }
	
    .shop-section {
        padding: 15px;
        margin: 15px auto;
        width: calc(100% - 30px);
        max-width: none;
        box-sizing: border-box;
    }

    .shop-section h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .shop-section h2 {
        font-size: 1.5rem;
        margin: 25px 0 15px 0;
    }

    .shop-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .opening-hours {
        margin: 15px 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .opening-hours li {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding: 5px 0;
        border-bottom: 1px solid rgba(139, 90, 43, 0.2);
    }

    .opening-hours li:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Slideshow Anpassungen */
    .shop-section .slideshow-container {
        width: 100%;
        margin: 15px 0;
        border-radius: 8px;
    }

    .shop-section .slideshow {
        min-height: 200px;
        padding-bottom: 0;
    }

    .shop-section .slide {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .shop-section .slide img {
        max-height: 400px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 8px;
    }

    /* Map Container Anpassungen */
    .map-container {
        margin: 15px 0;
        border-radius: 8px;
    }

    .map-container iframe {
        height: 300px;
        border-radius: 8px;
    }
	
    #lightbox-img {
        max-width: 95%;
    }

    #lightbox-prev,
    #lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-close {
        font-size: 30px;
    }
	
    .stellplatz-viewer {
        width: 94%;
        margin: 15px auto;
    }

    .stellplatz-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
	
    .scroll-wrapper {
        width: 100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
        position: relative;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
	
    .scroll-wrapper form {
        min-width: fit-content;
        width: max-content;
        padding: 0 5px;
    }
	
    .scroll-wrapper, .stellplatzplan-grid {
        touch-action: pan-x pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
	
    .announcements-banner {
        margin: 10px;
        padding: 0;
    }
    
    .announcements-banner .announcement-item {
        padding: 12px 15px;
        margin-bottom: 10px;
    }
    
    .announcements-banner .announcement-item h3 {
        font-size: 1.1rem;
    }

}

@media screen and (max-width: 480px) {
    html, body {
        font-size: 13px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar ul {
        padding: 0 10px;
		padding-left: 90px;
		padding-right: 20px;
    }

    .navbar ul li {
        margin: 0 3px;
    }

    .navbar ul li a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    header {
        margin-top: calc(50px + 5px); /* Angepasst für kleinere Bildschirme */
        min-height: 200px;
        aspect-ratio: 4/3;
    }

    .slideshow-container {
        width: 99%; /* Noch etwas weniger Abstand für sehr kleine Bildschirme */
    }

    .slideshow {
        padding-bottom: 75%;
    }
	
    .slideshow .slide {
        border-radius: 10px;
    }

    .slideshow-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .section {
        margin: 10px;
        padding: 10px;
    }

    /* Form adjustments */
    input, select, textarea {
        font-size: 16px;
        padding: 8px;
    }

    /* Calendar adjustments */
    .calendar-days {
        font-size: 0.7rem;
    }

    .calendar-weekday {
        font-size: 0.7rem;
    }
	
    .sticker {
        transform: rotate(-10deg) scale(0.8); /* Erhöht von 0.6 auf 0.7 */
        left: 3px;
        top: 3px; /* Leicht nach unten verschoben für bessere Sichtbarkeit */
    }

    .sticker img {
        max-width: 90px; /* Erhöht von 70px auf 80px */
    }
	
    .stellplatz-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .stellplatzplan-grid {
        gap: 10px; /* Kleinerer Abstand zwischen den Elementen */
        padding: 8px;
    }
    
    .stellplatz h3 {
        font-size: 0.9rem; /* Kleinere Überschrift */
    }
    
    .stellplatz-info {
        font-size: 0.8rem; /* Kleinerer Infotext */
    }
    
    .stellplatz label {
        font-size: 0.8rem; /* Kleinerer Label-Text */
    }
	
    .gallery {
        grid-template-columns: 1fr; /* Eine Spalte */
        gap: 10px;
        padding: 5px;
    }

    .gallery-item {
        height: 180px; /* Noch kleinere Höhe */
        max-width: 100%; /* Verhindert Überbreite */
    }

    .gallery-section {
        padding: 10px;
        margin: 10px auto;
        width: calc(100% - 20px);
    }

    .gallery-section .section-heading {
        font-size: 2rem; /* Kleinere Überschrift */
        margin-bottom: 15px;
    }

    .gallery-section .section-description {
        font-size: 1rem; /* Kleinerer Beschreibungstext */
        margin-bottom: 15px;
    }
	
    .links-section .section-heading {
        font-size: 1.8rem;
    }
    .links-section .section-description {
        font-size: 1rem;
    }
	
    .shop-section {
        padding: 10px;
        margin: 10px auto;
        width: calc(100% - 20px);
    }

    .shop-section h1 {
        font-size: 1.8rem;
    }

    .shop-section h2 {
        font-size: 1.3rem;
    }

    .shop-section p {
        font-size: 0.95rem;
    }

    .opening-hours {
        margin: 10px 0;
        padding: 8px;
    }

    .opening-hours li {
        font-size: 0.9rem;
        padding: 4px 0;
    }

    .shop-section .slideshow {
        min-height: 150px;
    }

    .shop-section .slide img {
        max-height: 300px;
    }

    .map-container {
        margin: 10px 0;
    }

    .map-container iframe {
        height: 250px;
    }

    /* Navigation Pfeile */
    .shop-section .slideshow-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .shop-section .slideshow-arrow.left-arrow {
        left: 5px;
    }

    .shop-section .slideshow-arrow.right-arrow {
        right: 5px;
    }
	
    .stellplatz-viewer {
        width: 98%;
    }

    .stellplatz-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Support for older browsers */
@supports not (aspect-ratio: 16/9) {
    .slideshow-container {
        height: 0;
        padding-bottom: 56.25%;
    }
    
    .slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .navbar {
        touch-action: pan-x pan-y;
    }
    
    .navbar ul li a {
        touch-action: manipulation;
    }
    
    .gallery-item img:hover,
    .link-item:hover {
        transform: none;
    }
    
    button,
    .calendar-day,
    .stellplatz {
        touch-action: manipulation;
    }

    .slideshow-arrow {
        padding: 12px;
    }
}

/* High-contrast mode support */
@media (prefers-contrast: high) {
    .navbar {
        background: #000;
    }

    .section {
        background: #fff;
        border: 2px solid #000;
    }

    a {
        text-decoration: underline;
    }
}

/* Print styles */
@media print {
    .navbar,
    .sticker,
    .hanging-sign,
    .social-media,
    .slideshow-arrow {
        display: none;
    }

    body {
        background: none;
        color: #000;
    }

    .section {
        box-shadow: none;
        margin: 20px 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Additional mobile optimizations */
@media (orientation: landscape) and (max-height: 500px) {
    .navbar {
        padding: 5px 0;
    }
    
    header {
        max-height: 80vh;
    }
    
    .slideshow-container {
        max-height: 70vh;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.visually-hidden {
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #8b5a2b;
    outline-offset: 2px;
}

/* Safe area insets for modern mobile devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    footer {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
}