:root {
    /* Farben */
    --primary-color: #2c3e50 ; /* Dunkelblau */
    --secondary-color: #34495e; /* helles Blau */
    --accent-color: #e67e22; /* Orange */
    --text-color: #333333; /* Dunkelgrau */
    --bg-color: #f4f7f6; /* Hellgrau */
    --white: #ffffff; 

    /* Font zuweisung */
    --font-heading: 'Montserrat', sans-serif; 
    --font-body: 'Open Sans', sans-serif;

    /* Abstand und Größe */
    --container-width: 900px;
    --spacing-std: 20px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 0;
    text-align: center;
}

.banner-image-container {
    position: relative;
    width: 100%;
    background-color: #ddd;
    z-index: 1;
}

.banner-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.banner-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.banner-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

nav {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10000;                
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
}

nav li {
    margin: 0;
    position: relative;
}

nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background-color: var(--accent-color);
    color: var(--white);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.has-dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-direction: column;
    border-top: 3px solid var(--accent-color);
    z-index: 10001;
}

.submenu li {
    width: 100%;
}

.submenu a {
    color: var(--text-color);
    padding: 12px 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.submenu a:hover {
    background-color: #f0f0f0;
    color: var(--accent-color);
}

@media (min-width: 1401px) {
    .has-dropdown:hover .submenu {
        display:flex;
    }
}

main {
    max-width: var(--container-width);
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

article, section {
    background-color: var(--white);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

footer {
    background-color: var(--primary-color);
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.legal-menu {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.legal-menu a {
    color: #ccc;
    text-decoration: none;
}

.legal-menu a:hover {
    color: var(--white);
    text-decoration: underline;
}

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.calendar-side {
    flex: 1 1 350px;
    max-width: 600px;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.form-side {
    flex: 1 1 300px;
    max-width: 400px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
    height: fit-content;
}

#calendar-container {
    max-width: 600px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.2rem;
}

.calendar-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.calendar-weekdays, .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-weekdays div {
    font-weight: bold;
    color: var(--secondary-color);
    padding-bottom: 10px;
}

.calendar-days div {
    padding: 10px;
    background-color: #eee;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s;
    margin: 1px;
}

.calendar-days div:hover:not(.booked):not(.empty) {
    background-color: #ffe0b2;
}

.calendar-days .booked {
    background-color: #e74c3c;
    color: white;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

.calendar-days .selection-start,
.calendar-days .selection-end {
    background-color: #27ae60;
    color: white;
    font-weight: bold;
}

.calendar-days .selection-range {
    background-color: #d4efdf;
    color: var(--text-color);
}

.price-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.price-box p {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

.price-box hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

.price-box .total-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.selected-dates-container {
    background-color:#f0f4f8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.intro-text {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.date-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.date-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.date-label {
    font-weight: bold;
    color: var(--secondary-color);
}

.date-value {
    font-weight: normal;
    color: var(--text-color);
    font-family: monospace; 
    font-size: 1.1rem;
} 

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.arrival-info {
    margin-bottom: 30px;
    background:#f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.arrival-info h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.arrival-info p {
    margin: 0;
    line-height: 1.6;
}

.map-wrapper {
    position: sticky;
    top: 20px;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-note {
    text-align: center;
    color:#666;
    margin-top: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-info-box p {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    max-width: 100%;
    line-height: 1.6;
}

.contact-info-box h3 {
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.contact-info-box hr {
    border: 0;
    border-top: 1px solid #ddd;
    width: 50%;
    margin: 20px auto;
}

.contact-info-box a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-box a:hover {
    color: var(--accent-color);
}

#general-contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}

#general-contact-form input, 
#general-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    margin-top: 5px;
    box-sizing: border-box;
}

#general-contact-form button {
    margin-top: 20px;
    width: 100%;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgb(0,0,0,0.05);
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    resize: vertical;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.surroundings-section {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.small-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.info-block {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.info-block h3, .feature-box h3, .closing-note h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-block i, .feature-box i, .closing-note i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.info-block:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

.check-list {
    list-style: none;
    padding:0;
}

.check-list li {
    line-height: 1.6;
    margin-bottom: 20px;
}

.check-list li strong{
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary-color);
}

.closing-note {
    background-color: #f4f8fb;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    border: 1px solid  #e1e8ed;
}

.closing-note h3 {
    justify-content: center;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: Center;
    margin-bottom: 40px;
}

.welcome-text-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.welcome-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.welcome-image .image-caption {
    background: rgba(44,62,80,0.8);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
}

.image-swiper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    overflow: hidden;
    padding-bottom: 40px;
    padding: 0;
}

.image-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    max-width: 100%;
}

.image-swiper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: grab;
    transition: transform 0.3s ease;
}
.image-swiper.large-view img {
    height: 500px;
}

.image-swiper img:active {
    cursor: grabbing;
}

.image-swiper .swiper-button-next,
.image-swiper .swiper-button-prev {
    color: var(--accent-color);
    font-weight: bold;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.image-swiper .swiper-button-next:after, 
.image-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.image-swiper .swiper-button-next:hover, 
.image-swiper .swiper-button-prev:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* Modal für Fullscreen-Ansicht */
#image-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#image-modal.show {
    display: flex;
    opacity: 1;
}

#image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#image-modal.show img {
    transform: scale(1);
}

#modal-close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 200001;
}

#modal-close:hover {
    color: var(--accent-color);
}

@media print {
    * {
        color: #000;
    }

    nav, header, footer {
        display: none;
    }
}
@media (max-width: 1400px) {

    * {
        box-sizing: border-box;
    }

    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    main {
        width: 100%;
        max-width: 100%;
        margin: 20px auto;
        padding: 0 10px;
    }

    article, section, .surroundings-section {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    input, textarea, select, button,
    .calendar-side, .form-side, .contact-info-box, .booking-wrapper , .swiper-container {
        box-sizing: border-box;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    nav {
        min-height: 70px;
        position: relative;
    }

    .nav-toggle-label {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 1.5rem;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary-color);
        position: absolute;
        top: 100%;
        left: 0;
    }

    nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    nav a {
        padding: 15px;
    }

    .nav-toggle:checked ~ ul {
        display: flex;
    }

    .submenu {
        display: none;
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.05);
        width: 100%;

    }

    .has-dropdown.open .submenu {
        display: block !important;
    }

    .submenu a {
        color: #ccc;
        padding-left: 40px !important;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-image-container img {
        height: 250px;
    }

    .booking-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .calendar-side, .form-side {
        width: 100%;
        max-width: 100%;
        position: static;
        padding: 15px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #calendar-container {
        padding: 10px;
        box-sizing: border-box;
        margin: 0 auto;
        width: 100%;
        max-width: 600px;
    }

    .calendar-weekdays div, .calendar-days div {
        padding: 8px 2px;
        font-size: 0.85rem;
    }

    .price-box {
        font-size: 0.9rem;
    }

    input, select, textarea {
        max-width: 100%;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        padding-top: 60%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .welcome-text-content h2 {
        text-align: center;
    }

    .welcome-image {
        order: -1;
        margin-bottom: 20px;
    }

    .image-swiper {
        width: 100%;
        max-width: 100%;
        padding-bottom: 30px;
    }

    .image-swiper img {
        object-fit: cover;
    }

}