:root {
    --main-color: #a98a19;
    --accent-color: #e58924;
    --neutral-color: #9c672d;
    --light-green: #8DAE70;
    --dark-green: #3A5A2D;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-green);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    height: 500px;
    background-image: url('https://via.placeholder.com/1200x500?text=Ihr+Fachwerkhaus+in+Tecklenburg-Ledde');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
    margin-left: 50px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--dark-green);
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-green);
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 0px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.feature-card ul {
    color: #333;
    margin-left: 20px;
    padding-left: 0;
}

.feature-card li {
    color: #333;
    margin-bottom: 8px;
}

.feature-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.about {
    background-color: var(--light-green);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
    height: 400px;
    background-image: url('https://via.placeholder.com/600x400?text=Gemütliches+Interieur');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.about-video {
    flex: 1;
    margin-left: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-video video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.cta {
    background-color: var(--dark-green);
    color: white;
    text-align: center;
    padding: 10px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light {
    background-color: white;
    color: var(--dark-green);
}

.btn-light:hover {
    background-color: var(--light-gray);
}

.booking {
    background-color: var(--light-gray);
}

.calendar {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calendar h3 {
    margin-bottom: 15px;
    color: var(--dark-green);
}

.calendar > p {
    margin-bottom: 25px;
    color: #666;
    text-align: center;
}

/* Neues Layout für den Buchungsbereich */
.booking-calendar-full {
    width: 100%;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    padding: 20px;
}

.booking-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.booking-summary, .contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    padding: 20px;
}

.booking-button-container {
    text-align: center;
    margin-top: 30px;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-navigation button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-green);
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.calendar-navigation button:hover {
    background-color: var(--light-gray);
}

.current-month {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-green);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.weekdays div {
    padding: 5px;
    color: var(--dark-green);
}

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

.days div {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.days div:hover:not(.disabled):not(.booked):not(.selected-start):not(.selected-end):not(.selected-between) {
    background-color: var(--light-green);
    color: white;
}

.days .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.days .booked {
    background-color: #ffeeee;
    color: #ff6b6b;
    cursor: not-allowed;
    position: relative;
}

.days .booked::after {
    content: "✕";
    position: absolute;
    font-size: 12px;
    color: #ff6b6b;
}

.days .selected-start,
.days .selected-end {
    background-color: var(--accent-color);
    color: white;
}

.days .selected-between {
    background-color: #ffe9d6;
    color: var(--accent-color);
}

.booking-summary h4, .contact-form h4 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--dark-green);
    font-size: 18px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.summary-item.total {
    font-weight: bold;
    font-size: 18px;
    border-bottom: none;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 2px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark-green);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 3px rgba(229, 137, 36, 0.3);
}

.form-group input.error {
    border-color: #ff3860;
}

.privacy-notice {
    margin-top: 15px;
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

.privacy-notice a {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-submit {
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 40px;
    width: auto;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: #d35400;
    transform: translateY(-2px);
}

#booking-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.contact-form {
    margin-top: 0;
    margin-bottom: 0;
}

.calendar-placeholder {
    height: 400px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #777;
}

.ausflugstipps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.ausflugs-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.ausflugs-card:hover {
    transform: translateY(-10px);
}

.ausflugs-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.ausflugs-content {
    padding: 25px;
}

.ausflugs-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 18px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-item.active .faq-question {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--dark-green);
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

footer {
    background-color: var(--dark-green);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-video {
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
    }
    
    .booking-details-container {
        flex-direction: column;
    }
    
    .booking-summary, .contact-form {
        width: 100%;
    }
        
    .ausflugstipps-grid {
        grid-template-columns: 1fr;
    }
}


/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: transparent;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

.lightbox-close {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Klickbare Bilder in der Galerie */
.gallery-item {
    cursor: pointer;
}

/* Mache Bilder im Ausflugstipps-Bereich klickbar */
.ausflugs-img {
    cursor: pointer;
}

/* Mache Bilder in der Bildergalerie klickbar */
.gallery img {
    cursor: pointer;
}

/* Animationen für die Lightbox */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

/* Responsive Anpassungen für kleine Bildschirme */
@media (max-width: 768px) {
    .lightbox-prev, 
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
    
    .lightbox-close {
        top: -25px;
        right: -15px;
    }
}

@media (max-width: 576px) {
    .lightbox-prev, 
    .lightbox-next {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}
