/* CSS Variables & Tokens */
:root {
    --primary-color: #0b192c;
    --accent-color: #ff8c42;
    --accent-hover: #ff7a21;
    --text-primary: #ffffff;
    --text-secondary: #dcdcdc;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #000;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Utilities */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.small { font-size: 0.875rem; }
.full-width { width: 100%; }

.heading-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 15px 0 30px 0;
    border-radius: 2px;
}
.heading-underline.center {
    margin: 15px auto 40px auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}
.btn-primary {
    background-color: var(--accent-color);
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
}
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Fixed Background Video */
#video-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: #000;
}
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.bg-video.active {
    opacity: 1;
}
.hero-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11, 25, 44, 0.3), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content {
    color: white;
    max-width: 800px;
    padding: 20px;
}
.hero-logo {
    max-width: 350px;
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}
.scroll-down-indicator {
    display: inline-block;
    color: white;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Hub Section (Tiles & Intro) */
.hub-section {
    min-height: 100vh;
    display: block;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.intro-hosts-image {
    max-width: 450px;
    width: 90%;
    height: auto;
    margin-bottom: -25px; /* Overlap with the box below */
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}
.intro-text-box {
    position: relative;
    z-index: 1;
    background: rgba(11, 25, 44, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.intro-signature {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tiles-grid {
        grid-template-columns: 1fr;
    }
}

/* Tile Button */
.tile {
    background: rgba(11, 25, 44, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    color: white;
}

.tile:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(11, 25, 44, 0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.3);
}
.tile.highlight {
    background: linear-gradient(135deg, rgba(200, 150, 130, 0.6), rgba(225, 175, 160, 0.5));
    border-color: rgba(240, 200, 180, 0.7);
}
.tile.highlight:hover {
    background: linear-gradient(135deg, rgba(210, 160, 140, 0.8), rgba(235, 185, 170, 0.7));
}
.tile .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
}
.tile:hover .icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}
.tile .title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
}

/* Modals */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: rgba(11, 25, 44, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.modal.active .modal-content {
    transform: translateY(0) scale(1);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover {
    color: white;
}
.modal-body {
    padding-top: 10px;
}

/* Inner Modal Layouts */
.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.feature-card {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.pricing-cards {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.price-card {
    flex: 1; min-width: 250px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
}
.price { font-size: 2.5rem; font-weight: 700; color: white; margin: 15px 0; }
.price span { font-size: 1rem; color: var(--text-secondary); font-weight: normal; }
.price-details { list-style: none; text-align: left; margin-top: 20px; }
.price-details li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--text-secondary); }

/* Footer */
.glass-footer {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
}
.footer-brand { font-family: var(--font-heading); font-weight: 700; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: white; }

/* Animations */
.fade-in-up { animation: fadeInUp 1s ease-out forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-on-scroll.visible {
    opacity: 1; transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .section-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .modal-content { padding: 30px 20px; }
    .modal-content { padding: 30px 20px; }
    .footer-content { flex-direction: column; text-align: center; }
}

/* --- Floating Contact Buttons --- */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn.phone {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.contact-btn.email {
    background: linear-gradient(135deg, #2196F3, #1565C0);
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    color: white;
}

/* --- Advertisement Banner --- */
.ad-banner {
    display: flex;
    max-width: 1000px;
    margin: 40px auto 60px auto;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: stretch;
}

.ad-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.ad-image-container {
    flex: 1;
    max-width: 45%;
}

.ad-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-content {
    flex: 2;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ad-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 2rem;
    font-family: var(--font-heading);
}

.ad-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .ad-banner {
        flex-direction: column;
        margin: 20px 20px 40px 20px;
    }
    .ad-image-container {
        max-width: 100%;
        height: 250px;
    }
    .ad-content {
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }
}

/* --- Guestbook Book Layout --- */
.book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.book-spread {
    display: flex;
    background: #fdfbf7;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1), 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    max-width: 700px;
    width: 100%;
    min-height: 350px;
}

.book-binding {
    width: 40px;
    background: linear-gradient(to right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 40%, rgba(255,255,255,0.4) 50%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
    box-shadow: inset 2px 0 5px rgba(0,0,0,0.1), inset -2px 0 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.book-page {
    flex: 1;
    padding: 30px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 50%;
}

.left-page {
    border-radius: 10px 0 0 10px;
    box-shadow: inset -10px 0 20px -10px rgba(0,0,0,0.2);
}

.right-page {
    border-radius: 0 10px 10px 0;
    box-shadow: inset 10px 0 20px -10px rgba(0,0,0,0.2);
}

.page-content {
    animation: fadeIn 0.4s ease-in-out;
}

.gb-entry-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    font-family: 'Georgia', serif;
}

.gb-entry-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.gb-entry-text {
    font-style: italic;
    line-height: 1.6;
    font-family: 'Georgia', serif;
}

.gb-entry-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gb-empty {
    color: #999;
    text-align: center;
    font-style: italic;
}

.book-nav-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.book-nav-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.book-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .book-spread {
        flex-direction: column;
    }
    .book-page {
        width: 100%;
    }
    .book-binding {
        width: 100%;
        height: 30px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 40%, rgba(255,255,255,0.4) 50%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
    }
    .left-page {
        border-radius: 10px 10px 0 0;
        box-shadow: inset 0 -10px 20px -10px rgba(0,0,0,0.2);
        border-bottom: 1px solid #ddd;
    }
    .right-page {
        border-radius: 0 0 10px 10px;
        box-shadow: inset 0 10px 20px -10px rgba(0,0,0,0.2);
    }
}

/* --- Calendar Styling --- */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.calendar-year {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.calendar-month {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}
.calendar-month h4 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 600;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
    font-size: 0.75rem;
}
.calendar-day-header {
    font-weight: bold;
    padding-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
}
.calendar-day {
    padding: 6px 2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-day.empty {
    background: transparent;
}
.saison-haupt {
    background: linear-gradient(135deg, #FFB300, #F57C00) !important;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}
.saison-neben {
    background: linear-gradient(135deg, #03A9F4, #0288D1) !important;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- Interactive Booking Calendar --- */
.booking-month {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
    margin-bottom: 20px;
}
.booking-month h4 {
    text-align: center; margin-top: 0; margin-bottom: 10px; color: var(--accent-color); font-family: var(--font-heading);
}
.b-day {
    padding: 10px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.b-day:hover:not(.booked):not(.empty) {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.b-day.booked {
    background: rgba(244, 67, 54, 0.5); /* Red for booked */
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}
.b-day.selected {
    background: var(--accent-color) !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 0 10px var(--accent-color);
}
.b-day.in-range {
    background: rgba(255, 179, 0, 0.4);
}
.booking-controls {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
}
.booking-controls button {
    background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 5px 15px; border-radius: 20px; cursor: pointer;
}
.booking-controls button:hover {
    background: rgba(255,255,255,0.3);
}
