/* --- DEINE BESTEHENDEN STANDARDS & HEADER STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { 
    background-color: #f4f6f9; 
    color: #2d3748; 
    line-height: 1.6;
}

/* Navbar & Links */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #cbd5e0;
}

/* Responsives Menü für Handys */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    .nav-links li {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
}

/* --- DESIGN DER NEUEN 4 BEREICHS-KACHELN --- */
.space-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.space-card {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.space-card:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.space-card.active {
    background: #fff;
    color: #333;
    border-color: #fff;
}

.hero-section {
    position: relative;
    width: 100%;
    /* Verhindert das Abschneiden: Nimmt 75% der gesamten Bildschirmhöhe ein */
    min-height: 75vh; 
    
    /* Sorgt dafür, dass das Bild gestreckt wird und sich perfekt anpasst */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Zentriert die Inhalte (Texte und Kacheln) sauber im Bild */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 100px 20px 60px 20px; /* Gibt dem Menü oben genügend Platz */
    transition: background-image 0.5s ease-in-out;
}
/* --- ZENTRIERUNG DER HEADER-TEXTE --- */
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Macht den Text edel und lesbar */
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* --- DER EDLE JETZT BUCHEN BUTTON --- */
.btn-primary {
    background-color: #3182ce; /* Elegantes Blau passend zu den Akzenten */
    color: white !important;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px; /* Abgerundete Ecken für den modernen "Fancy"-Look */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
    display: inline-block;
}

.btn-primary:hover {
    background-color: #2b6cb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.6);
}


/* --- DATUMSAUSWAHL (ELEGANT & ZENTRIERT) --- */
.datepicker-container { 
    background: #ffffff;
    max-width: 500px;
    margin: 40px auto;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    z-index: 10;
}

.datepicker-container h2 {
    font-size: 18px;
    color: #4a5568;
    font-weight: 600;
}

input[type="date"] { 
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #4a5568;
    background-color: #fff;
    outline: none;
    margin-left: 10px;
    transition: all 0.3s ease;
}

input[type="date"]:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}


/* --- BUCHUNGSBEREICHE & STRUKTUR --- */
.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.booking-section h3 { 
    color: #1a202c; 
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px; 
    position: relative;
    padding-bottom: 8px;
}

.booking-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: #3182ce; /* Blauer Akzentbalken */
    border-radius: 2px;
}


/* --- SEKTIONS-RASTER (TISCHE & RÄUME) --- */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.grid > div {
    /* Am Smartphone: Jedes Kästchen nimmt knapp die Hälfte ein (2 nebeneinander) */
    width: calc(50% - 8px);
}

@media (min-width: 600px) {
    .grid > div {
        /* Am Computer: Jedes Kästchen nimmt knapp ein Fünftel ein (5 nebeneinander) */
        width: calc(20% - 12px);
    }
}



/* --- KARTEN-STYLING (FANCY HOVER-EFFEKTE) --- */
.spot { 
    padding: 20px 10px; 
    text-align: center; 
    border-radius: 12px; 
    cursor: pointer; 
    font-size: 14px; 
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid transparent;
}

.spot b {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Status: FREI */
.frei { 
    background-color: #e6fffa; 
    color: #234e52; 
    border-color: #b2f5ea;
}

.frei b {
    background-color: #b2f5ea;
    color: #234e52;
}

.frei:hover { 
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(35, 78, 82, 0.1);
    background-color: #b2f5ea;
}

/* Status: BESETZT */
.besetzt { 
    background-color: #fff5f5; 
    color: #742a2a; 
    border-color: #fed7d7; 
    cursor: not-allowed; 
}

.besetzt b {
    background-color: #fed7d7;
    color: #742a2a;
}

.spot:active { 
    transform: scale(0.95); 
}


/* --- PREMIUM FOOTER: KONTAKT & IMPRESSUM --- */
.section-divider {
    border: 0;
    height: 1px;
    background: #cbd5e0;
    margin: 60px 0 0 0;
}

footer {
    background-color: #1a202c; /* Dunkles Anthrazit */
    color: #a0aec0;
    padding: 60px 20px 30px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 100%;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 50% 50%;
    }
}

.footer-column h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-column p {
    margin: 12px 0;
    font-size: 15px;
}

.footer-column a {
    color: #63b3ed;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 13px;
    color: #718096;
}
/* Macht den eingebetteten Google-Kalender groß und edel */
.calendar-wrapper {
    position: relative;
    width: 100%;
    height: 700px; /* Gibt dem Kalender auf dem PC eine komfortable, große Höhe */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.calendar-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Optimierung fürs Smartphone (Etwas kompakter, aber mit seitlichem Wischen) */
@media (max-width: 600px) {
    .calendar-wrapper {
        height: 500px;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
    }
}
