/* 1. INITIAL SETUP & FONTS */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Inter-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Inter-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-600-italic.woff2") format("woff2");
}

:root {
    --primary: #2f5b3c;
    --accent: #c79a5a;
    --accent-dark: #a6783f;
    --text: #2a2a24;
    --bg-warm: #f7efe3;
    --white: #ffffff;
    --surface: #fffaf2;
    --border: #d4c1a3;
    --footer-bg: #1f2a1e;
    --footer-text: #e7ddcf;
    --footer-link: #d9c5a8;
    --footer-border: #2d3a2a;
    --transition: all 0.3s ease-in-out;
    --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--surface);
    overflow-x: hidden;
    width: 100%;
}

/* 2. LAYOUT COMPONENTS */
.container { 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
}

.section-padding { 
    padding: clamp(60px, 10vw, 120px) 0; 
    text-align: center; 
}

.bg-warm { background-color: var(--bg-warm); }

.section-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.apartment-details {
    max-width: 1100px;
    margin: 0 auto clamp(30px, 5vw, 50px);
    text-align: left;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
}

.details-grid-secondary {
    margin-top: clamp(18px, 3vw, 28px);
}

.details-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 26px);
    box-shadow: 0 14px 30px rgba(22, 28, 20, 0.08);
}

.details-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.details-card p + p {
    margin-top: 12px;
}

.check-list.compact li {
    margin-bottom: 10px;
}

.pricing-grid {
    margin-top: clamp(22px, 3vw, 36px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 26px);
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 26px);
    box-shadow: 0 14px 30px rgba(22, 28, 20, 0.08);
}

.price-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.price-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.price-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(61, 52, 38, 0.12);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list span {
    color: #4a4a4a;
}

.price-list strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-content {
    text-align: left;
}

.gallery {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(14px, 2vw, 22px);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 250, 242, 0.95), rgba(247, 239, 227, 0.9));
    border: 1px solid var(--border);
    box-shadow: 0 24px 50px rgba(22, 28, 20, 0.14);
}

.gallery-stage {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(22, 28, 20, 0.12);
}

.gallery-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 24, 16, 0.55) 0%, rgba(18, 24, 16, 0) 55%);
    pointer-events: none;
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 250, 242, 0.9);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(22, 28, 20, 0.2);
}

.gallery-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(18, 24, 16, 0.6);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.gallery-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.gallery-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.gallery-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.6s ease;
}

.gallery-slide.is-active .gallery-media {
    transform: scale(1.02);
}

.gallery-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: var(--white);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(18, 24, 16, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-caption strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-caption span {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-slide.is-active .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 250, 242, 0.9);
    color: var(--primary);
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 24px rgba(22, 28, 20, 0.2);
}

.gallery-nav:hover {
    background: var(--surface);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

.gallery-thumbs {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-thumb {
    border: 1px solid var(--border);
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(22, 28, 20, 0.12);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-thumb.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(199, 154, 90, 0.25);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    color: #4a4a4a;
}

/* 3. HEADER & NAVIGATION */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--surface);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    align-items: center;
    padding: 15px 5%;
    gap: 12px;
    flex-wrap: wrap;
}

.logo { grid-area: logo; }

.main-nav {
    grid-area: nav;
    justify-self: center;
}

.nav-cta {
    grid-area: cta;
    justify-self: end;
}

.logo a {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: bold;
    font-family: var(--font-serif);
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav { 
    display: flex; 
    list-style: none; 
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.main-nav li { padding: 0; }

.nav-link { 
    display: inline-flex;
    align-items: center;
    text-decoration: none; 
    color: var(--text); 
    font-weight: 600; 
    transition: var(--transition); 
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(47, 91, 60, 0.18);
    background: rgba(47, 91, 60, 0.08);
}

.nav-link:hover {
    color: var(--primary);
    border-color: var(--accent);
    background: rgba(199, 154, 90, 0.18);
}

.nav-link.is-active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(47, 91, 60, 0.2);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* MEGA MENU (removed in markup, styles intentionally omitted) */

/* 4. HERO SECTION - PERFEKTIONIERTE ANIMATION */
.hero { 
    height: 100vh; 
    min-height: 600px; 
    width: 100%;
    position: relative; 
    overflow: hidden; 
}

.hero-slider, .slide, .hero-overlay { position: absolute; inset: 0; }

.slide { 
    opacity: 0; 
    transition: opacity 2.5s ease-in-out; 
    z-index: 1;
}

.slide.active { 
    opacity: 1; 
    z-index: 2;
}

/* Hero Slide Media (Bild statt Background) */
.slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.08);
    transform-origin: center;
    animation-duration: 18s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    animation-play-state: paused;
}

.slide.is-animating .slide-media {
    animation-play-state: running;
    will-change: transform;
}

/* Individuelle Animationen - Starten erst bei Aktivierung */
.slide.s1 .slide-media { animation-name: panRight; }
.slide.s2 .slide-media { animation-name: panLeft; }
.slide.s3 .slide-media { animation-name: panRight; }
.slide.s4 .slide-media { animation-name: panLeft; }
.slide.s5 .slide-media { animation-name: panRight; }

@keyframes panRight {
    0% { transform: scale(1.08) translateX(0); }
    100% { transform: scale(1.16) translateX(2%); }
}
@keyframes panLeft {
    0% { transform: scale(1.08) translateX(0); }
    100% { transform: scale(1.16) translateX(-2%); }
}

/* HERO CONTENT (Glassmorphism & Asymmetrie) */
.hero-overlay { 
    z-index: 10; 
    background: rgba(22, 28, 20, 0.2);
    display: flex; 
    align-items: center; 
    padding-left: 8%; 
}

.hero-content {
    width: 100%;
    max-width: 850px;
    padding: clamp(2rem, 6vw, 4.5rem);
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-content .pre-title {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.85rem;
    color: var(--accent);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content h1 { 
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 5.5rem); 
    line-height: 1.05;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 600;
}

.hero-content p { 
    font-size: clamp(1rem, 3vw, 1.3rem);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* 5. EXPERIENCE SECTION */
.experience {
    text-align: left;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(25px, 4vw, 60px);
    align-items: center;
    margin: 0 auto clamp(40px, 6vw, 70px);
    max-width: 980px;
}

.experience-text {
    align-self: center;
}

.experience-text p + p {
    margin-top: 18px;
}

.experience-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 6px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 15px 35px rgba(22, 28, 20, 0.08);
}

.check-list {
    list-style: none;
    margin: 22px 0 28px;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.3rem;
    line-height: 1;
}

.excursions h3 {
    margin-bottom: 18px;
}

.excursion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.excursion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(22, 28, 20, 0.06);
}

.excursion-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 1rem;
}

.excursion-item span {
    color: #555;
    font-size: 0.95rem;
}

/* 5. BUTTONS */
.cta-button, .btn-nav {
    text-decoration: none;
    font-weight: bold;
    border-radius: 999px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav {
    background: var(--accent);
    color: var(--white);
    padding: 10px 22px;
    border: 1px solid var(--accent-dark);
}

.cta-button {
    background: var(--accent);
    color: var(--white);
    padding: clamp(15px, 2vw, 22px) clamp(30px, 5vw, 55px);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* 6. TESTIMONIALS SLIDER */
.testimonial-slider { 
    position: relative; 
    height: 220px; 
    margin: 40px auto 0;
    max-width: 800px;
}

.t-slide { 
    position: absolute; 
    inset: 0;
    opacity: 0; 
    transition: 0.8s ease-in-out; 
    padding: 0 20px;
}

.t-slide.active { opacity: 1; }

.quote { 
    font-size: clamp(1.1rem, 3vw, 1.5rem); 
    font-style: italic; 
    color: var(--primary); 
    margin-bottom: 15px; 
    font-family: var(--font-serif);
}

/* 7. FOOTER (mit Flex-Wrap) */
footer { 
    background: var(--footer-bg); 
    color: var(--footer-text); 
    padding: 80px 0 30px; 
}

.footer-grid { 
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.footer-col { flex: 1 1 250px; text-align: left; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--footer-link); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom a { color: var(--footer-link); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

.footer-bottom { 
    text-align: center; 
    margin-top: 60px; 
    padding-top: 30px; 
    border-top: 1px solid var(--footer-border); 
}


/* 8. RESPONSIVE FEINTUNING */
@media (max-width: 900px) {
    .nav-container {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "nav nav"
            "cta cta";
    }
    .nav-toggle {
        display: inline-flex;
        grid-area: toggle;
        justify-self: end;
    }
    .main-nav {
        grid-area: nav;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
        padding: 16px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        display: none;
    }
    .nav-cta {
        grid-area: cta;
        margin-top: 10px;
        display: none;
    }
    .site-header.is-open .main-nav { display: flex; }
    .site-header.is-open .nav-cta { display: inline-flex; }
    .main-nav li { width: 100%; }
    .nav-link, .btn-nav { width: 100%; justify-content: center; }
    .details-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-overlay { justify-content: center; padding-left: 0; text-align: center; }
    .hero-content { margin-left: 0; padding: 2rem 1.5rem; }
    .experience-grid { grid-template-columns: 1fr; }
    .excursion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experience { text-align: center; }
    .experience-box { text-align: left; }
    .gallery-nav { display: none; }
    .gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .gallery { padding: 12px; }
}

@media (max-width: 520px) {
    .excursion-grid { grid-template-columns: 1fr; }
    .gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form .form-group {
    display: grid;
    gap: 8px;
}

.form-success,
.form-error {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.form-success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.3);
}

.form-error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.3);
}

/* 9. BOOKING & CALENDAR */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(25px, 4vw, 50px);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.booking-calendar-wrap h3,
.booking-form-wrap h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

.calendar-legend {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #555;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.legend-free { background: rgba(34, 197, 94, 0.25); border: 1px solid rgba(34, 197, 94, 0.5); }
.legend-booked { background: rgba(239, 68, 68, 0.25); border: 1px solid rgba(239, 68, 68, 0.5); }
.legend-pending { background: rgba(251, 191, 36, 0.3); border: 1px solid rgba(251, 191, 36, 0.6); }

.calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cal-month {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(22, 28, 20, 0.06);
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.cal-header strong {
    font-size: 1rem;
    color: var(--primary);
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    background: var(--bg-warm);
    border-color: var(--accent);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    padding: 4px 0;
}

.cal-day {
    text-align: center;
    padding: 6px 2px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.cal-empty {
    cursor: default;
}

.cal-past {
    color: #ccc;
    cursor: default;
}

.cal-free {
    background: rgba(34, 197, 94, 0.1);
    color: var(--text);
}

.cal-free:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}

.cal-booked {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
    cursor: not-allowed;
}

.cal-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #92400e;
    cursor: not-allowed;
}

.cal-selected {
    background: rgba(47, 91, 60, 0.15) !important;
    border-color: var(--primary) !important;
    color: var(--primary);
}

.cal-check-in,
.cal-check-out {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-color: var(--primary) !important;
}

/* Booking Form */
.booking-form {
    display: grid;
    gap: 14px;
}

.booking-form .form-group {
    display: grid;
    gap: 6px;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.booking-form .form-control,
.contact-form .form-control,
.contact-form .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}

.booking-form .form-control:focus,
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(199, 154, 90, 0.15);
}

.booking-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-group-checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    cursor: pointer;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.form-group-checkbox a {
    color: var(--primary);
}

.booking-summary {
    background: rgba(47, 91, 60, 0.08);
    border: 1px solid rgba(47, 91, 60, 0.2);
    border-radius: 10px;
    padding: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.booking-summary strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.booking-message {
    margin-bottom: 14px;
}

/* Contact Section */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-section .contact-form .form-group {
    display: grid;
    gap: 6px;
}

.contact-section .contact-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.contact-section .contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* 10. CALENDAR-ONLY (for ferienwohnung page) */
.calendar-standalone {
    max-width: 700px;
    margin: 0 auto;
}

.calendar-standalone .calendar-container {
    grid-template-columns: 1fr 1fr;
}

/* Responsive Booking */
@media (max-width: 900px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .calendar-container {
        grid-template-columns: 1fr;
    }
    .calendar-standalone .calendar-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ── 12. THANK-YOU PAGES ── */
.thankyou-details {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-top: 2rem;
}

.thankyou-card {
    background: #fff;
}

.thankyou-table {
    width: 100%;
    border-collapse: collapse;
}

.thankyou-table th,
.thankyou-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.thankyou-table th {
    width: 35%;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.thankyou-table td {
    color: #222;
}

.thankyou-table td small {
    display: block;
    color: #888;
    font-size: 0.85em;
    margin-top: 0.2em;
}

.next-steps-list {
    padding-left: 1.2rem;
    margin: 0;
}

.next-steps-list li {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.next-steps-list li + li {
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 900px) {
    .thankyou-details {
        grid-template-columns: 1fr;
    }
}

/* ── 13. CONTACT PAGE ── */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-wrap .details-card {
    background: var(--warm-bg, #f9f5f0);
}

@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }
}
