:root {
    --nav-height: 0px;
    /* Standardwert */
}

/* montserrat-500 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v29-latin_latin-ext-500.woff2') format('woff2');
}

/* montserrat-600 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin_latin-ext-600.woff2') format('woff2');
}

/* montserrat-600italic - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin_latin-ext-600italic.woff2') format('woff2');
}

/* noto-sans-display-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans Display';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/noto-sans-display-v26-latin_latin-ext-regular.woff2') format('woff2');
}

/* noto-sans-display-500 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans Display';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/noto-sans-display-v26-latin_latin-ext-500.woff2') format('woff2');
}

/* noto-sans-display-600 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans Display';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/noto-sans-display-v26-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans Display';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/noto-sans-display-v26-latin_latin-ext-700.woff2') format('woff2');
}

body {
    color: #292721;
    font-family: "Noto Sans Display", serif;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    overflow-x: hidden !important;
    word-wrap: break-word;
}

nav {
    background-color: #9b5f43;
}

nav ul {
    margin-top: 0.5rem;
}


nav ul li a.active {
    border-left: 3px solid white;
    color: white !important;
}

nav ul li a.nav-link {
    padding-left: 1rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease-in;
}

/*Logo-Größe*/
.container a img {
    width: 170px;
    height: auto;
    margin-left: 0.5rem;
}

.navbar-toggler {
    border: none;
}

.nav-as {
    position: fixed;
    z-index: 10;
    transition: 0.8s ease-out;
}

.nav-hidden {
    transform: translateY(-100%);
}

#Home {
    padding-top: var(--nav-height);
    background-color: #9b5f43;
}

.slider {
    overflow: hidden;
}

.slider_img img {
    width: 100vw;
    height: 65vh;
    overflow: hidden;
    object-fit: cover;
}

.h1slider {
    background-color: #fff9f0;
    padding: 1rem 0.8rem 2rem 0.8rem;
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    text-align: center;
    font-family: "Montserrat", serif;
    font-weight: 500;
    padding-top: 0.8rem;
    padding-bottom: 0.5rem;
}

.h1slider p {
    text-align: center;
}

.button-as,
.button-as-2 {
    text-decoration: none;
    color: white;
    font-family: "Montserrat", serif;
    font-weight: 500;
    border-radius: 0.3em;
    padding: 0.8rem 2rem;
    display: block;
    width: fit-content;
    box-shadow: black 3px 3px 4px;
}

.button-as {
    background-color: #292721;
    margin: 0 auto;
}

.button-as-2 {
    background-color: #9b5f43;
    margin: 1rem auto;
}

/*--------------------------------------------Bis hier hin kann alles so bleiben----------------------------------------------------------------------------------------------------------*/
.home-2 {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem 0.5rem 1rem;
}

.home-2-bg {
    background-color: white;
}

h2 {
    font-size: 1.4rem;
    color: #89533B;
    text-align: center;
    font-family: "Montserrat", serif;
    font-weight: 600;
    font-style: italic;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.home-2-flex {
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-2 img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 3rem;
}

.breite-as {
    background-color: #fff9f0;
    padding: 3.2rem 1rem 3rem 1rem;
}

h2 span {
    color: #292721;
}

.details-as li {
    list-style-type: none;
    text-indent: -2rem;
}

.details-as ul {
    margin-top: 1rem;
}

.details-as ul li img {
    margin-right: 1rem;
}

.details-as p {
    margin-top: 0.7rem;
}

/*Ab hier ist alles für das Caroussell*/
.carousel-inner img {
    width: 100%;
    height: auto;
}

.carousel-indicators img {
    width: 60px;
    display: block;
}

.carousel-indicators button {
    width: max-content !important
}

.carousel-indicators {
    position: unset;
}

.carousel-indicators button.active img {
    border: 2px solid #ffffff;
}

.carousel-indicators-wrapper {
    height: 80px;
    overflow-x: auto;
    /* Ermöglicht horizontales Scrollen */
    display: flex;
    justify-content: start;
    scrollbar-width: thin;
    /* Dünnere Scroll-Leiste (Firefox) */
    scrollbar-color: #ccc transparent;
    /* Farbe für die Scroll-Leiste */
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    /* Abstand zwischen den Indikatoren */
    margin: 0;
    /* Verhindert unerwartete Ränder */
    padding: 0;
    /* Verhindert unerwartete Abstände */
}

/*Bis hier ist alles für das Caroussell*/

#Preise {
    padding: 3.2rem 1rem 0.5rem 1rem;
}

#Preise h2 {
    margin-bottom: 1rem;
}

th {
    font-family: "Montserrat", serif;
    font-weight: 600;
}

.s-preise {
    padding: 1rem 0;
    max-width: 500px;
    margin: 0 auto;
}

.Preislisten {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 3rem;
}

.ul-center {
    list-style-type: none;
    padding-left: 0;
    max-width: 600px;
}

.ul-center li {
    margin: 1rem 0;
}

.holz-p-1 span {
    font-weight: 600;
}

.table-as-1 {
    margin: 1rem auto 3rem auto;
}

.table-as-2 {
    margin: 0 auto;
}

.tr-as {
    background-color: #fff9f0;
}

td {
    padding: 0.5rem;
}

.as-table-head {
    background-color: #9b5f43;
    color: white;
}

th:nth-child(1) {
    padding: 0.8rem;
    border-top-left-radius: 0.3em;
}

th:nth-child(2) {
    padding: 0.8rem;
    border-top-right-radius: 0.3em;
}

.ust {
    font-size: 0.8rem;
    color: #636363;
    padding: 0.5rem 0;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

figcaption {
    text-align: center;
    padding-top: 1rem;
    font-family: "Montserrat", serif;
    font-weight: 500;
    color: #292721;
}

.whatsapp {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 18px;
    left: 18px;
    margin: 0;
    z-index: 10;
}

.whatsapp img {
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.2));
    /* Rundum-Schatten */
    border-radius: 50%;
    /* Optional, macht sicher, dass der Schatten rund bleibt */
}

.as-center {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 0 1rem 0 1rem;
}

.as-center p span {
    font-weight: 600;
}

.kalender-bg {
    background-color: #fff9f0;
    padding: 3.2rem 0 3rem 0;
    margin-top: 2rem;
}

.section-kontakt {
    background-color: white;
    padding: 3.2rem 0 3rem 0;
}

.kontakt-p {
    padding: 0 1rem;
}

.kontakt-cta {
    text-align: center;
    margin-top: 3rem;
}

.kontakt-cta p img {
    margin-right: 1rem;
}

.Telefon-Icon {
    width: 15px;
    height: 15px;
}

.whatsapp-center {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 3rem;
}

.whatsapp-large-image {
    width: 85%;
    height: auto;
    margin: 0;
}

.Logo-Footer {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 0 1rem 2rem 1rem;
}

.h6-container {
    padding: 0 1rem 2rem 1rem;
}

.h6-container a {
    display: inline-block;
    margin-bottom: .3rem;
}

.h6-as {
    font-weight: 700;
}

.h6-text {
    padding: 0.2rem;
}

.footer-as {
    background-color: #9b5f43;
    padding-top: 2rem;
    padding-bottom: 1rem;
    color: white;
}

.footer-as a {
    text-decoration: none;
    color: white;
}

.carousel-center {
    margin: 2rem auto 0 auto;
    max-width: 500px;
    padding: 0;
}

#lightbox {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-in;
}

#lightbox.zeigen {
    background-color: rgba(0, 0, 0, 0.90);
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

#lightbox img {
    width: 90%;
    max-width: 1920px;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
}

#lightbox .schliessen {
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 3rem;
    color: white;
    font-size: 2rem;
}

.hide-small {
    visibility: hidden;
    opacity: 0;
}

.copy-as {
    text-align: center;
    font-size: 0.8rem;
}

hr {
    border: 1px solid white;
    opacity: 1;
}

@media screen and (min-width: 31.25em) {

    .home-2,
    .row-1,
    #Preise,
    .as-center {
        max-width: 600px;
        margin: 0 auto;
    }

    .kontakt-p {
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 48em) {

    .home-2,
    .row-1,
    #Preise,
    .as-center {
        max-width: unset;
        margin: unset;
    }

    .order-as {
        order: -1;
    }

    .home-2 h2 {
        text-align: left;
    }

    .details-as {
        padding: 0;
    }

    .carousel-center {
        max-width: unset;
    }

    #carousel-as {
        width: 90%;
        margin: 0 auto;
    }

    .details-as li {
        text-indent: unset;
    }

    .ul-center-div {
        display:flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .holz-p-1 {
        text-align: center;
    }

    .s-preise {
        max-width: unset;
        display: flex;
        flex-wrap: wrap;
    }

    .table-1,
    .table-2 {
        flex: 1;
    }

    .table-as-1,
    .table-as-2 {
        margin: 0 auto;
        width: 90%;
    }

    .ust {
        text-align: center;
    }

    .kalender-p-as {
        width: 100%;
        text-align: center;
    }
}

@media screen and (min-width: 62em) {
    p {
        font-size: 1.1rem;
    }

    .ul-center {
        font-size: 1.1rem;
    }

    .details-as ul li {
        font-size: 1.1rem;
    }

    .ust {
        font-size: 0.9rem;
    }

    nav ul {
        margin-top: 0;
    }

    nav ul li a.focus,
    nav ul li a.hover {
        color: white !important;
    }

    nav ul li a.active {
        border-left: none;
        text-decoration: underline;
        text-decoration-color: white;
    }

    nav ul li a.nav-link {
        padding-left: 0;
    }

    /*Logo-Größe*/
    .container a img {
        width: 200px;
        margin-left: 0;
    }

    .slider {
        position: relative;
    }

    .slider_img img {
        height: 100vh;
        width: 100vw;
    }

    .h1slider {
        position: absolute;
        /*top und left sind der Abstand*/
        top: 20%;
        left: 5%;
        background: none;
    }

    h1 {
        color: white;
        font-size: 3rem;
        text-shadow: rgb(0, 0, 0) 0 0 8px;
        padding-top: 0;
        padding-bottom: 0;
        text-align: left;
    }

    h1 span::after {
        content: "\A";
        white-space: pre;
    }

    .h1slider p {
        color: white;
        font-size: 1.5rem;
        padding-top: 2rem;
        text-shadow: rgb(0, 0, 0) 0 0 8px;
        padding-bottom: 2rem;
        text-align: left;
    }

    .h1slider a {
        font-size: 1.5rem;
    }

    .button-as {
        padding: 0.8rem 1.8rem;
        margin: 0;
    }

    .button-as-2 {
        padding: 0.8rem 1.8rem;
        margin: 1rem 0;
    }

    .hide-small {
        visibility: visible;
        opacity: 1;
    }

    h2 {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 75em) {
    nav ul li a.nav-link {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 93em) {
    .h1slider {
        /*top und left sind der Abstand*/
        top: 20%;
        left: 10%;
    }

    h1 {
        font-size: 3.5rem;
    }
}