@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Gibt an, dass die Schriftarten von 100 bis 900 unterstützt werden */
  }

:root{
    --color-1: #004A54;
    --color-1h: #2f6a71;
    --color-2: #D6A31F;
    --color-white: #fff;
    --color-black: #000;
    --color-grey: #808080;
    --page-width-s: 35rem;
    --page-width-m: 50rem;
    --page-width-l: 70rem;
    --page-width-xl: 85rem;
    --page-width-xxl: 100rem;
    --page-width-full: 100%;
    --radius-xs: 0.25rem;
    --radius-s: 0.5rem;
    --radius-m: 1rem;
    --radius-l: 2rem;
    --font-size: 1.3rem;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


html{
    scroll-behavior: smooth;
}

body{
    /*font-family: "Montserrat", "Arial", "Helvetica Neue", "Helvetica", sans-serif;*/
    font-family: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
}

.link-button-1{
    display: inline-block;
    border: 2px solid var(--color-white, #fff);
    border-radius: 50rem;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    color: var(--color-white, #fff);
    font-weight: 700;
    background-color: var(--color-1);
    transition: all 0.2s ease;
    text-decoration: none;
}


.link-button-1:hover{
    background-color: var(--color-white, #fff);
    color: var(--color-1);
    border-color: var(--color-1);
}

.button-1{
    display: inline-block;
    border: 2px solid var(--color-white, #fff);
    border-radius: 50rem;
    padding: 0.9rem 4rem;
    font-size: 1rem;
    color: var(--color-white, #fff);
    font-weight: 700;
    background-color: var(--color-1);
    transition: all 0.2s ease;
}

.button-1:hover{
    background-color: var(--color-white, #fff);
    color: var(--color-1);
    border-color: var(--color-1);
}

.button-2{
    display: inline-block;
    border: 2px solid var(--color-1, #fff);
    border-radius: 50rem;
    padding: 0.9rem 4rem;
    font-size: 1rem;
    color: var(--color-white, #fff);
    font-weight: 700;
    background-color: var(--color-1);
    transition: all 0.2s ease;
}

.button-2:hover{
    background-color: var(--color-white, #fff);
    color: var(--color-1);    
}

.button-3{
    display: inline-block;
    border: 2px solid var(--color-1, #fff);
    border-radius: 50rem;
    padding: 0.9rem 4rem;
    font-size: 1rem;    
    color: var(--color-1);
    font-weight: 700;    
    transition: all 0.2s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.button-3:hover{
    background-color: var(--color-1);
    color: var(--color-white, #fff);
}

.button-3,
.button-3:focus,
.button-3:active {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.impressum-address{
    display: grid;
    align-items: center;
    grid-template-columns: auto auto;
    justify-content: start;
    width: max-content;
}

@media only screen and (max-width: 430px) {
    .impressum-address{
        grid-template-columns: auto;
    }
}

.impressum-address-image{
    height: 1.2rem;
    width: auto;
    display: inline-block;
}

picture{
    display: block;
}

img{
    display: block;
}


/* Container */
.cookie-banner {
    width: 40rem;
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: grid;
    gap: 1rem;
}

/* Headline */
.cookie-headline h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #003366;
    text-align: center;
}

/* Text */

.cookie-text{
    display: grid;
    gap: 0.5rem;
    color: #444;
    font-size: 0.9em;
}

.cookie-text ul{
    display: grid;
    gap: 0.5rem;
    padding-left: 2rem;
}

/* Checkboxes */
.cookie-checkboxes {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cookie-checkboxes label {
    display: flex;
    font-size: 1em;
    color: #333;
}

.cookie-checkboxes input {
    margin-right: 10px;
    accent-color: #003366;
}

/* Buttons */
.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cookie-button {
    flex: 1;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

.cookie-button-agree {
    background-color: var(--color-1);
    color: var(--color-white, #fff);
}

.cookie-button-reject {
    background-color: var(--color-black);
    color: white;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* Footer Links */
.cookie-links {
    text-align: center;
}

.cookie-links a {
    margin: 0 10px;
    font-size: 0.85em;
    color: #003366;
    text-decoration: none;
}

.cookie-links a:hover {
    text-decoration: underline;
}

.messages{
    display: grid;
    gap: 0.25rem;
    width: 100%;
}

.messages > *{
    display: none;
    border-radius: 5px;
}

.messages span{
    color: var(--color-black);
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    width: 100%;
    display: block;
}

.ok{
    background-color: #99FF99;
}

.error{
    background-color: #FF9999;
}

@media only screen and (max-width: 500px) {
    .cookie-banner{
        width: 100%;
    }
}

body noscript.noscript{
    all: unset;
}

body noscript.noscript img.noscriptPicture{
    all: unset;
}

.header-1{
    position: sticky;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
}

.header-1 > div{
    height: 9rem;
    background-color: var(--color-1);
    display: grid;
    grid-template-areas: "logo top"
                        "logo bottom";
    grid-template-columns: auto 1fr;
    grid-template-rows: 2fr 3fr;
    color: var(--color-white, #fff);
    text-transform: uppercase;
}

.header-1-left{
    grid-area: logo;
    padding: 2rem 2rem 2rem 4rem;
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.header-1-left .header-sitename{
    font-size: 1.5rem;
    font-weight: bold;
}

.header-1-left .header-logo{
    height: 100%;
}

.header-1-left .header-logo img{
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}

.header-1-top{
    grid-area: top;
    display: flex;
    justify-content: right;
    align-items: center;
}

.header-1-top > div{
    border-bottom: 1px solid var(--color-1h);
    border-top: 3px solid transparent;
    display: flex;
    justify-content: right;
    align-items: center;
    height: 100%;
    padding: 0rem 2rem;
}

.header-1-search-image{
    height: 1rem;
    padding-left: 2rem;
    width: auto;
}

.header-1-top-nav{
    display: flex;
    justify-content: end;
    height: 100%;
    gap: 2rem;
}

.header-1-top-nav a{
    font-size: 0.9rem;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    text-decoration: none;
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.header-1-top-nav a:hover{
    color:#D6A31F;
}

.header-1-bottom{
    grid-area: bottom;
    display: grid;
    grid-template-columns: 1fr auto;
}

.header-1-bottom-nav{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
}


.header-1-bottom-nav > ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    height: 100%;
}

.header-1-bottom-nav ul{
    list-style: none;
    
}

.header-1-bottom-nav > ul > li{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    letter-spacing: 0.92px;
    font-weight: 700;
    font-size: 0.75rem;
    position: relative;
}

.header-1-bottom-nav div{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    
}

.header-1-bottom-nav div:not(:has(figure)) a,
.header-1-bottom-nav div:not(:has(figure)) p{
    grid-column: 1/-1;
}

.header-1-bottom-nav > ul > li > div{
    height: 100%;
}

.header-1-bottom-nav > ul > li > div > a,
.header-1-bottom-nav > ul > li > div > p{
    height: 100%;
    padding: 0rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    color: inherit;
    
}

.header-1-bottom-nav a,
.header-1-bottom-nav p{
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.header-1-bottom-nav > ul > li > div > a:hover,
.header-1-bottom-nav > ul > li > div > p:hover{
    border-bottom-color: var(--color-2, #D6A31F);
}

.header-1-bottom-nav .header-nav-image{
    height: 100%;
    cursor: pointer;
}

.header-1-bottom-nav .header-nav-image img{
    height: 100%;
    padding: 1.75rem 1.5rem;
}

.header-1-bottom-nav .sub-menu{
    border-top: 1px solid #eee;
    display: none;
    /*box-shadow: 0px 17px 19px -7px rgba(0,0,0,0.28);*/
    box-shadow: 0px 17px 19px -7px rgba(0,0,0,0.13);
}

.header-1-bottom-nav .sub-menu-1{
    position: absolute;
    top:100%;
    left: 0;
}

.header-1-bottom-nav .sub-menu > li{
    background-color: var(--color-white);
    width: 30rem;
    max-width: 100%;
    border-bottom: 1px solid transparent;
    border-bottom: 1px solid #eee;
}

.header-1-bottom-nav .sub-menu > li:last-child{
    border-bottom: 1px solid transparent;
}

.header-1-bottom-nav .sub-menu a,
.header-1-bottom-nav .sub-menu p{
    display: block;
    padding: 1.5rem 2rem;
    color: var(--color-1);
    font-weight: 400;
}

.header-2-bottom-nav .sub-menu-2{
    background-color: #f5f5f5;
}

.header-2-bottom-nav .sub-menu-3{
    background-color: #eee;
}


.header-1-bottom-booking{
    height: 100%;
    max-width: 100%;
    padding: 0rem 2rem;
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: center;
}

.header-1-bottom-booking > a{
    width: min-content;
    display: block;
    
}


.header-1-search{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    
    background-color: var(--color-white);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.header-1-search form{
    width: 50vw;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 5rem;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 3rem;
}

.header-1-search input{
    font-size: 2rem;
    border: 0px solid var(--color-grey);
    border-bottom-width: 3px;
    outline: none;
    
}

.header-1-search img{
    object-fit: cover;
    height: 70%;
    aspect-ratio: 1/1;
}
.header-1-left,
.header-1-left ~ .header-1-bottom .header-1-bottom-booking{
    width: 20rem;
}

@media only screen and (max-width: 1200px) {
    .header-1{
        display: none;
    }
}

.header-2{
    position:sticky;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
}

.header-2-top{
    width: 100%;
    padding: 1rem 1rem;
    background-color: var(--color-1);
    color: var(--color-white);
}

.header-2-top > div{
    height: 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 1rem;
}



.header-2-top-left{
    display: flex;
    justify-content: start;
    height: inherit;
    
}

.header-2-top-left figure{
    display: flex;
    align-items: center;
    height: 100%;
}

.header-2-top-left img{
    height: 60%;
    width: auto;
}

.header-2-top-center{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.header-2-top-center .header-sitename{
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
}

.header-2-top-center > a{
    height: inherit;
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
}

.header-2-top-center .header-logo{
    height: 4rem;    
}

.header-2-top-center .header-logo img{
    height: 100%;
}

.header-2-top-right{
    display: flex;
    justify-content: end;
}

.header-2-top-right > a{
    padding: 0.5rem 1rem;
    text-align: center;
}

@media only screen and (max-width: 550px) {
    .header-2-top > div{
        grid-template-columns: 1fr auto;
    }

    .header-2-top-right{
        display: none;
    }
}

.header-2-bottom{
    overflow: auto;
    padding-top: 2rem;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    right: 0;
    bottom: calc(100% - 100vh);
    background-color: var(--color-white);
    display: none;
    font-size: 1.5rem;
}

.header-2-bottom-nav li{
    list-style: none;
}

.header-2-bottom-nav div{
    border-bottom: 1px solid var(--color-black);
}

.header-2-bottom-nav > ul > li:first-of-type > div{
    border-top: 1px solid var(--color-black);
}


.header-2-bottom-nav div{
    display: grid;
    grid-template-columns: 1fr auto;
    height: 100%;
}

.header-2-bottom-nav a,
.header-2-bottom-nav p{
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--color-1);
}

.header-2-bottom-nav div:not(:has(figure)) a,
.header-2-bottom-nav div:not(:has(figure)) p{
    grid-column: 1/-1;
    background-color: transparent;
}

.header-2-bottom-nav figure{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.header-2-bottom-nav figure img{
    height: 1rem;
    width: auto;
}

.header-2-bottom-nav .sub-menu{
    overflow: hidden;
    display: none;
}

.header-2-bottom-nav .sub-menu-1{
    background-color: #f5f5f5;
}

.header-2-bottom-nav .sub-menu-2{
    background-color: #eee;
}

.header-2-bottom-nav .sub-menu-3{
    background-color: #e5e5e5;
}

@media only screen and (min-width: 1201px) {
    .header-2{
        display: none;
    }
}

.picture-1{
    position: relative;

}

.picture-1 picture{
    width: 100%;
    height: 40rem;
    
}

.picture-1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:brightness(0.8);
}

.picture-1-title{
    position: static;
    color: var(--color-black);
    display: grid;
    justify-content: center;
    align-content: center;
    padding: 5rem 2rem;
}

.picture-1 > picture ~ *{
    color: var(--color-white);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.picture-1-title > div{
    text-align: center;
    padding: 1rem;
    display: grid;
    gap: 2rem;
}

.picture-1-title h1{
    font-size: 3rem;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 2rem;
}

.picture-1-title h1::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2rem;
    transform: translateX(-50%);
    height: 0.25rem;
    width: 4rem;
    background-color: var(--color-2, #A52A2A); /* Farbe der Linie */
    
}
.picture-1-title p{
    font-size: 1.6rem;
}

@media only screen and (max-width: 700px) {
    .picture-1-title h1{
        font-size: 1.7rem;
    }
    .picture-1-title p{
        font-size: 1.3rem;
    }
}



main > div{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 3rem;
    line-height: 2;
}


main ul{
    display: grid;
    grid-template-columns: 1fr;
    /*list-style-position: inside;*/
}

main li{
    font-size: var(--font-size);
    line-height: 2;
}

main a{
    color: var(--color-1);
    font-weight: 600;
    line-height: inherit;
}


main p{
    font-size: var(--font-size);
    line-height: inherit;
}

main h2 {
    font-size: 2rem;  /* 1.67x größer als p */
    line-height: 1;
    color: var(--color-1);
    text-transform: uppercase;
    position: relative;
    margin-bottom: 2rem;
}

main h2::after {
    content: '';
    position: absolute;
    width: 40px; /* Länge der Linie */
    height: 5px; /* Dicke der Linie */
    background-color: var(--color-2, #A52A2A); /* Farbe der Linie */
    bottom: -5px; /* Abstand unterhalb des Textes */
    left: 0; /* Ausrichtung unterhalb des Textes */
  }

main h3 {
    font-size: 1.75rem;  /* 1.46x größer als p */
    line-height: 1;
    color: var(--color-1);
}

main h4 {
    font-size: 1.5rem;  /* 1.25x größer als p */
    line-height: 1;
    color: var(--color-1);
}

main h5 {
    font-size: 1.3rem;  /* Etwas größer als p */
    line-height: 1;
    color: var(--color-1);
}

main h6 {
    font-size: 1.2rem;  /* Etwas kleiner als p */
    line-height: 1;
    color: var(--color-1);
}

.text{
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    font-size: var(--font-size);
}

.text section, .text .section{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.text section > div{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.text section ul{
    padding-left: 2rem;
}

.bungalow-1 > div{
    width: var(--page-width-l);
    max-width:100%;
    margin:auto;
    padding: 5rem 1rem;
    display: grid;
    grid-template-areas:
                        "nav nav"
                        "gallery gallery"
                        "features prices"
                        "description description"
                        "calendar calendar"
                        "meldung meldung"
                        "formular formular";
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    align-content: start;
    
}

@media only screen and (max-width: 700px) {
    .bungalow-1 > div{
        grid-template-areas:"nav"
                            "gallery" 
                            "features"
                            "prices"
                            "extras"
                            "description"
                            "calendar"
                            "meldung"
                            "formular";
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bungalow-1 > div > *{
        border-bottom: 2px solid #ccc;
        padding: 4rem 0;
    }


    .bungalow-1 > div > *:first-child{
        padding-top: 0;
    }

    .bungalow-1 > div > *:last-child{
        border-bottom: none;
        padding-bottom: 0;
    }
    
}

.bungalow-1-nav{
    grid-area: nav;
}

.bungalow-1-nav > *{
    display: grid;
    grid-template-columns: repeat(6, max-content);
    gap: 1rem;
    justify-content: center;
    list-style: none;
    width: max-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

@media only screen and (max-width: 850px) {
    .bungalow-1-nav > *{
        grid-template-columns: repeat(3, max-content);
        text-align: center;
    }
}

@media only screen and (max-width: 550px) {
    .bungalow-1-nav > *{
        grid-template-columns: 1fr;
        width: 100%;
        text-align: center;
    }
}

.bungalow-1-nav a{
    text-decoration: none;
}

#form, #calendar, #text, #preise, #ausstattung, #galerie{
    scroll-margin-top: 10rem; /* Höhe des fixierten Headers */
}


.bungalow-1-gallery{
    grid-area: gallery;
}

.bungalow-1-gallery > div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    position: relative;
    width: 100%;
}

.bungalow-1-gallery img:hover{
    filter:brightness(1.15);
}

.bungalow-1-gallery-top{
    aspect-ratio: 1/1;
}

.bungalow-1-gallery-top picture{
    width: 100%;
    height: 100%;
}

.bungalow-1-gallery-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bungalow-1-gallery-bottom{
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 0.25rem;
    
}

.bungalow-1-gallery-bottom img{
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.bungalow-1-gallery-bottom-more{
    position: absolute;
    z-index: 2;
    bottom: 1rem;
    right: 1rem;
    width: max-content;
    max-width: 100%;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border: 1px solid black;
    /*transform: translate(-50%, -50%);*/
    /*transform: translateX(-50%);*/
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;

}

@media only screen and (max-width: 600px) {
    .bungalow-1-gallery > div{
        grid-template-columns: 1fr;
    }

    .bungalow-1-gallery-bottom{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .bungalow-1-gallery-bottom{
        aspect-ratio: unset;
    }
}

.bungalow-1-prices{    
    grid-area: prices;
}

.bungalow-1-prices ul{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bungalow-1-prices li{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    font-size: var(--font-size);
}

.bungalow-1-prices li > div > *:first-child{
    font-weight: 500;
}

.bungalow-1-prices li > div > *:nth-child(2){
    font-size: 0.9em;
}

.bungalow-1-prices > p{
    padding-top: 1rem;
    width: 100%;
    text-align: end;
    font-size: 1rem;
}









.bungalow-1-extras{    
    grid-area: extras;
}

.bungalow-1-extras ul{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bungalow-1-extras li{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.bungalow-1-extras li > div > *:first-child{
    font-weight: 500;
}

.bungalow-1-extras li > div > *:nth-child(2){
    font-size: 1rem;
}









.bungaow-1-pFeatures{
    grid-area: features;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-content: start;
}

.bungaow-1-pFeatures-items{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 2rem;
}

@media only screen and (max-width: 600px) {
    .bungaow-1-pFeatures-items{
        grid-template-columns: 1fr;
    }
}

.bungaow-1-pFeatures-item{
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    font-size: var(--font-size);
}

.bungaow-1-pFeatures-item > *{
    /*border: 1px solid red;*/
}

.bungaow-1-pFeatures-item > *:first-child{
    width: 1.5rem;
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bungaow-1-pFeatures-buttons > *{
    padding: 1rem;
    background: none;
    border: 2px solid #aaa;
    font-size: var(--font-size);
    font-weight: 600;
    border-radius: 5px;
}




.bungalow-1-meldung{
    grid-area: meldung;
}

.bungalow-1-meldung > div{
    padding: 1rem;
    border: 3px solid #FFA500;
    border-radius: var(--radius-s);
    background-color: #FFF5E6;
}


.bungalow-1-description{
    grid-area: description;
}


.bungalow-1-form{
    grid-area: formular;
}

.bungalow-1-form input[type="date"]{
    background-color: #e8e8e8;
}

#form{
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.5;
}

#form form{
    padding: 1rem;
    border-radius: var(--radius-s);
    background-color: #f8f9fa; /* Leichtes Grau */
    border: 1px solid #dee2e6; /* Dezente Umrandung */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

#form h2{
    text-align: center;
    position: relative;
}

#form h2::after{
    left: 50%;
    transform: translateX(-50%);
}

#form form > div{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

#form .form-oneColumn{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

#form .form-twoColumns{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

#form label{
    display: grid;
    grid-template-columns: 1fr;
}

#form .form-messages{
    width: 100%;
}

#form .form-gdpr > label{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: start;
}

#form .form-gdpr span{
    line-height: inherit;
    font-size: 0.9em;
}

#form .form-buttons{
    display: grid;
    justify-content: end;
}

#form input:not(input[type="checkbox"]){
    font-size: inherit;
    line-height: inherit;
    padding: 0.5rem;
    border-radius: var(--radius-s);
    border: 1px solid #888;
}

#form input[type="checkbox"]{
    width: 1.5rem;
    aspect-ratio: 1;
    border-radius: var(--radius-s);
}

#form textarea{
    font-size: inherit;
    line-height: inherit;
    padding: 0.5rem;
    min-height: 15rem;
    max-height: 30rem;
    resize: vertical;
    border-radius: var(--radius-s);
}


.form-confirm-1{
    position: fixed;
    z-index: -1;
    top: -99999px;
    left: -99999px;
}

.form-confirm-2{
    display: none;
}

.bungalow-1-afeatures-body {
    width: 100%;
    overflow: auto; /* Aktiviert Scrollen bei Überlauf */
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

.bungalow-1-afeatures li{
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
    list-style: none;
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: 0 0.5rem;
    font-size: inherit;
}

.bungalow-1-afeatures li > div{
    aspect-ratio: 1;
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    grid-row: 1/2;
}

.bungalow-1-afeatures li > p:nth-of-type(2){
    grid-column: 2/3;
    font-size: 0.9em;
    font-style: italic;
}

@media only screen and (max-width: 600px) {
    .bungalow-1-afeatures-body {
        padding: 0 1rem 0 0;
    }
}

.lightbox {
    position: fixed;
    background-color: #000e;
    z-index: 40;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: calc(100vw - var(--scrollbar-width, 0px));
    width: calc(100vw - var(--scrollbar-height, 0px));
    overflow: hidden; /* Versteckt alles außerhalb des sichtbaren Bereichs */
    display: none;
}

.lightbox-track {
    display: flex; /* Flexbox für automatische Breite */
    height: 100%; /* Volle Höhe des Viewports */
    transition: transform 0.5s ease; /* Sanfte Animation beim Wechsel */
}

.lightbox picture {
    flex: 0 0 100%; /* Jedes Bild nimmt die gesamte Breite ein */
    height: 100vh; /* Volle Höhe des Viewports */
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Bild proportional skalieren und Viewport füllen */
}

.lightbox-next div, .lightbox-prev div, .lightbox-close, .lightbox-fullscreen{
    background-color: #fffd;
    border-width: 0;
    outline: none;
    width: 3rem;
    height: 3rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.lightbox-next, .lightbox-prev{
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 20px;
}

.lightbox-open-close{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 1rem;
    grid-template-columns: auto auto;
}

.lightbox-close{
    background-image: url("../images/lightbox-close.svg");
}

.lightbox-fullscreen{
    background-image: url("../images/lightbox-fullscreen.svg");
}

.lightbox-next{
    right: 0;
}

.lightbox-next div{
    background-image: url("../images/lightbox-next.svg");
}

.lightbox-prev{
    left: 0;
}

.lightbox-prev div{
    background-image: url("../images/lightbox-prev.svg");
}

.morePictures .lightbox-source{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1rem;
    overflow: auto;
}

.morePictures img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 5px;
}

.morePictures img:hover{
    filter:brightness(1.15);
}

@media only screen and (max-width: 600px) {
    .morePictures .lightbox-source{
        grid-template-columns: 1fr;
        padding:0;
    }
}

.zWindow{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 12;
    background-color: #0008;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}


.zWindow > div{
    background-color: var(--color-white, white);
    width: 100%;
    max-width: var(--page-width-m);
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #888;
    gap: 2rem;
}

.zWindow > div > div:first-child{
    box-sizing: content-box;
    height: 2rem;
    display: flex;
    justify-content: start;
}

.zWindow > div > div:first-child div{
    background-image: url('../images/close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 2rem;
    aspect-ratio: 1;
}

@media only screen and (max-width: 600px) {
    .zWindow{
        padding: 0;
    }

    .zWindow > div{
        border-radius: unset;
    }
}

.bungalow-1-calendar{
    grid-area: calendar;
}

.bungalow-1-calendar > div{    
    display: grid;
    grid-template-columns: auto;
    gap: 1rem;
    align-content: start;
    align-items: start;
    width: max-content;
    margin: 0 auto;
}

.bungalow-1-calendar .messages:empty{
    display: none;
}

.bungalow-1-calendar-data{
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
}

.bungalow-1-calendar-data .calendar-month{
    border: 1px solid black;
    width: max-content;
}

.bungalow-1-calendar-data .calendar-month-header{
    background-color: #ddd;    
    text-align: center;
    font-weight: 600;
    font-size: 1.2em;
    display: grid;
    grid-template-columns: auto 1fr auto;
    border-bottom: 1px solid black;
}

.calendar-month-header-middle{
    padding: 0.5rem;
}

.calendar-month-header-left,
.calendar-month-header-right{    
    aspect-ratio: 1/1;
    height: 100%;
    visibility: hidden;
}

.calendar-month:first-of-type .calendar-month-header-left,
.calendar-month:last-of-type .calendar-month-header-right{
    visibility: visible;
}

.calendar-month-header-left.calendar-button-prev{
    background-image: url("../images/lightbox-prev.svg");
    background-color: var(--color-white, #fff);
}

.calendar-month-header-right.calendar-button-next{
    background-image: url("../images/lightbox-next.svg");
    background-color: var(--color-white, #fff);
}

.bungalow-1-calendar-data .calendar-month-body{
    display: grid;
    grid-template-columns: repeat(7, max-content);
    grid-template-rows: repeat(7, 1fr);
    gap: 0.1rem;
    
}

.bungalow-1-calendar-data .day{
    width: 2.6rem;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}

.bungalow-1-calendar-data .day:not(.header){
    border-radius: 5px;
    /*clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
    clip-path: polygon(50% 0, 50% 0, 100% 50%, 100% 50%, 50% 100%, 50% 100%, 0 50%, 0 50%);*/

}

.bungalow-1-calendar-data .current{
    box-shadow: inset 0 0 0 2px blue; /* Innerer Rand */
}

.bungalow-1-calendar-data .header{
    font-weight: 600;
}

.bungalow-1-calendar-data .booked{
    background: #FF9999;
}

.bungalow-1-calendar-data .checkin{
    /*background: linear-gradient(-45deg, #FF9999 50%, #99FF99 50%);*/
    background: linear-gradient(90deg, #99FF99 50%, #FF9999 50%);
}

.bungalow-1-calendar-data .checkout{
    /*background: linear-gradient(-45deg, #99FF99 50%, #FF9999 50%);*/
    background: linear-gradient(90deg, #FF9999 50%, #99FF99 50%);
}

.bungalow-1-calendar-data .unbooked{
    background: #99FF99;
}

.bungalow-1-calendar-data .passed {
    background: #e0e0e0; /* Blassgrau */
    color: #a0a0a0; /* Dunkleres Grau für Text */
    pointer-events: none; /* Nicht klickbar */
    opacity: 0.6; /* Leicht transparent */
}

.bungalow-1-calendar-data .start,
.bungalow-1-calendar-data .end{
    background: #000;
    color: #fff;
}

.bungalow-1-calendar-data .between{
    background: #ccc;
    color: #000;
}

@media only screen and (max-width: 700px) {
    .bungalow-1-calendar-data{
        grid-template-columns: auto;
    }

    .bungalow-1-calendar > div{
        width: 100%;
    }
    .calendar-month-header-left,
    .calendar-month-header-right{
        visibility: visible;
    }

    .bungalow-1-calendar-data .calendar-month-body{
        grid-template-columns: repeat(7, 1fr);
    }

    .bungalow-1-calendar-data .day{
        width: 100%;
    }

    .bungalow-1-calendar-data .calendar-month{
        width: 100%;
    }
}

.footer-1 > div{
    background-color: var(--color-1);
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-1-nav{
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.footer-1-nav nav{
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    align-items: center;
}

@media only screen and (max-width: 700px) {
    .footer-1-nav, .footer-1-nav nav{
        justify-content: center;
    }
}

.footer-1-nav a{
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0.5rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.footer-1-nav a:hover{
    color: var(--color-2);
}