/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fdfbf7; /* Sanfter warmer Beigeton aus deinem Design */
    color: #2c3531;
    line-height: 1.6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: #1b4332; /* Edles Dunkelgrün */
}

h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin: 15px 0;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

p {
    color: #4a5568;
    font-size: 0.98rem;
}

.subtitle-light {
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #d1e7dd;
    text-transform: uppercase;
}

.subtitle-dark {
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #1b4332;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: #fdfbf7;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0eae1;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b4332;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #666;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3531;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1b4332;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dark {
    background-color: #1b4332;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #2d6a4f;
}

.btn-accent {
    background-color: #d4a373; /* Sanftes Ocker/Gold */
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #bc8a5f;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero h1 {
    color: #ffffff;
}

.hero-content {
    max-width: 650px;
}

.hero-text {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin: 20px 0 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- CARDS & GRIDS --- */
.card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0eae1;
}

.lead-text {
    max-width: 750px;
    margin: 0 auto 50px auto;
    font-size: 1.05rem;
    color: #4a5568;
}

.sub-text {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 0.95rem;
}

.sub-imp {
    max-width: 700px;
    margin: 0 auto auto;
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    text-align: center;
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- CTA BANNER --- */
.cta-banner {
    background-color: #1b4332;
    color: #ffffff;
    padding: 60px 20px;
}

.cta-banner h2 {
    color: #ffffff;
}

.cta-banner p {
    color: #e0e0e0;
    margin-bottom: 25px;
}

/* --- PREISE TABLE & CARDS --- */
.table-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px 30px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    border: 1px solid #f0eae1;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f0eae1;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.info-card {
    text-align: left;
}

.check-list, .cross-list {
    list-style: none;
    margin-top: 10px;
    font-size: 0.9rem;
}

.check-list li { color: #2d6a4f; margin-bottom: 6px; }
.cross-list li { color: #e63946; margin-bottom: 6px; }

.general-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background-color: #f7f3eb;
}

/* GALERIE GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 15px; /* Abstand zwischen den Bildern */
}

.gallery-img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 8px;
}

.item-wide {
    grid-column: span 2; /* 2 Spalten breit */
    grid-row: span 2;    /* 2 Zeilen hoch (automatisch exakt 200px + 15px + 200px = 415px) */
}

/* --- LAGE & UMGEBUNG STYLES --- */

/* 1. Höheres Hero-Bild ganz oben */
.hero-section {
    min-height: 380px !important; /* Nutzt min-height für sauberen Raum */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px !important; /* Erzeugt oben und unten ordentlich Abstand */
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.2rem;
    color: #ffffff;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.subtitle-light {
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 0.85rem;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* 2. Obere große Infobox */
.info-card-large {
    background-color: #f7f3eb;
    padding: 35px 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.info-card-large h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin: 10px 0 15px 0;
}

/* 3. EXAKT 2x2 Grid für die 4 kleinen Karten */
.info-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Genau 2 Spalten nebeneinander */
    gap: 20px;
    margin-bottom: 40px;
}

/* Einzelne weiße Info-Karte */
.info-card {
    background-color: #ffffff;
    border: 1px solid #e2d9cd;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin: 10px 0 10px 0;
}

.info-card p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.card-icon {
    font-size: 1.6rem;
}

/* 4. Rechteckige Karte & Container unten */
.map-section {
    background-color: #ffffff;
    border: 1px solid #e2d9cd;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.map-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.sub-text {
    color: #666;
    font-size: 0.95rem;
}

.map-wrapper {
    margin-top: 20px;
}

.map-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    max-height: none;
    border-radius: 4px;
    border: 1px solid #e2d9cd;
    display: block;
    background-color: #f7f3eb; /* Optional: Hübscher Hintergrund, falls Ränder entstehen */
}

/* Quellenverweis */
.map-credit {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    margin-top: 10px;
}

.map-credit a {
    color: inherit;
    text-decoration: underline;
}

.map-credit a:hover {
    color: #000;
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 768px) {
    .info-grid-2x2 {
        grid-template-columns: 1fr; /* Untereinander auf Mobilgeräten */
    }

    .hero-section {
        min-height: 250px;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: #f7f3eb;
    border-top: 1px solid #e2d9cd;
    padding: 50px 20px 20px 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-col a {
    color: #4a5568;
    text-decoration: none;
}

.footer-col a:hover {
    color: #1b4332;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #e2d9cd;
    padding-top: 20px;
}

.nav-links a.active {
    font-weight: 700;
    color: #1b4332;
    border-bottom: 2px solid #1b4332;
}

/* --- GLOBAL OVERFLOW FIX --- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Verhindert seitliches Scrollen komplett */
}

/* --- HAUS & ZIMMER STYLES (ORIGINAL-FORMAT BILDER) --- */
.rooms-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.room-card {
    background-color: #ffffff;
    border: 1px solid #e2d9cd;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.room-title {
    font-size: 2rem;
    color: #1b4332;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0eae1;
    padding-bottom: 8px;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    align-items: start; /* Richtet Bilder oben aus, falls sie unterschiedlich hoch sind */
}

.room-img {
    width: 100%;
    height: auto; /* Behält das originale Seitenverhältnis (Quer & Hochformat) voll bei */
    display: block;
    border-radius: 10px;
}

.room-desc {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN (Für Handys & Tablets bis 768px) */
@media (max-width: 768px) {
    /* 1. Header & Navigation */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* 2. Typografie */
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.2rem; }

    /* 3. Grids & Layout-Fixes */
    .info-grid,
    .info-grid-2x2 {
        grid-template-columns: 1fr !important; /* Untereinander anzeigen */
    }

    /* 4. Footer-Fix (Hauptursache für das seitliche Scrollen) */
    .footer-grid {
        grid-template-columns: 1fr !important; /* Spalten untereinander statt nebeneinander */
        gap: 25px;
        text-align: center;
    }

    /* 5. Galerie auf 2-Spalten-Grid für Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 140px !important;
        gap: 10px;
    }

    .item-wide {
        grid-column: span 1 !important; /* Kein doppelt breites Bild auf Handys */
        grid-row: span 1 !important;
    }

    .hero-section {
        min-height: 250px !important;
        padding: 40px 15px !important;
    }

    .room-gallery {
        grid-template-columns: 1fr !important; /* Untereinander auf dem Smartphone */
    }

    .room-card {
        padding: 20px;
    }
}