/**
Theme Name: iw-child
Author: Imagewunder GmbH
Author URI: https://imagewunder.de/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iw-child
Template: astra
*/

/** Allgemein */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.elementor,
.e-con,
.elementor-widget,
.d21-quickbook,
.d21-widget-container,
.d21-container-view {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {

    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] * {
        max-width: 100%;
        box-sizing: border-box;
    }

}


/** Sticky Header */

.iw-header-transparent {
    transition: all 0.35s ease;
    background: transparent;
}

.iw-header-transparent.elementor-sticky--effects {
    background: #002b4cfa!important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.iw-header-transparent img {
    transition: all .3s ease;
}

.iw-header-transparent.elementor-sticky--effects img {
    max-height: 62px;
}

html{
  scroll-padding-top:140px;
}

.elementor-menu-anchor{
  display:block;
  position:relative;
  top:-140px;
  visibility:hidden;
}

/** Buchungsbox Home */

.iw-booking-wrapper {
  max-width: 1180px;
  width: calc(100% - 40px);
  margin: -60px auto 70px;
  position: relative;
  z-index: 50;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

#d21-quickbook {
  position: relative!important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

.d21-widget,
.d21-widget-container,
.d21-quickbook {
  position: relative !important;
  transform: none !important;
}


/** Hotel Zimmer */
.iw-room-gallery img {
    width:100%;
    height:360px!important;
    object-fit:cover;
}

@media (max-width:1024px){

.iw-room-gallery img{
    height:290px!important; 
}
}
@media (max-width:767px){

.iw-room-gallery img{
    height:220px!important;
}
}

//* DIRS21 QuickBook – Ammergauer Hof */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] {
    width: 100% !important;
    max-width: none !important;
}

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-widget-container,
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view {
    width: 100% !important;
    max-width: none !important;
}

/* Äußerste horizontale Zeile */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view > .d21-h-stack {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
}

/* Reisezeitraum */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view > .d21-h-stack > .d21-h-stack:first-of-type {
    flex: 1 1 35% !important;
    width: auto !important;
}

/* Gäste + Button */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type {
    flex: 1 1 65% !important;
    width: auto !important;
    display: flex !important;
}

/* Gäste */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-w-full:first-child {
    flex: 1 1 auto !important;
    width: auto !important;
}

/* Buttonbereich */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-duration-\[\.12s\] {
    flex: 0 0 400px !important;
    width: 400px !important;
}


/* ==========================================================
   DIRS21 QUICKBOOK – AMMERGAUER HOF
   Weiß / Dunkelblau / Gold
   ========================================================== */

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] {
    --d21-primary: #cdae7a !important;
    --d21-secondary: #003055 !important;
    font-family: "Inter", sans-serif !important;
}


/* ----------------------------------------------------------
   Grundflächen
   ---------------------------------------------------------- */

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"],
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-widget-container,
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"] .d21-container-view {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Komplette Zeile */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack {
    background: #ffffff !important;
    border: 0 !important;
}


/* ----------------------------------------------------------
   REISEZEITRAUM + GÄSTE
   ---------------------------------------------------------- */

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 18px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: "Inter", sans-serif !important;
}


/* Kleine Labels */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-label {
    color: #C0A780 !important;
    opacity: 1 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    padding-bottom: 10px!important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button:hover .d21-trigger-popover-label,

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button:focus .d21-trigger-popover-label,

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button:focus-visible .d21-trigger-popover-label {
    color: #C0A780 !important;
    opacity: 1 !important;
}


/* Auswahltexte */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button p:not(.d21-trigger-popover-label) {
    color: #003055 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}


/* Hover der weißen Felder */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button:hover {
    background: #f6f6f4 !important;
}


/* Trennlinie zwischen Reisezeitraum und Gäste */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:first-of-type {
    border-right: 0px solid #d9d9d9 !important;
}


/* Trennlinie vor Button */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-w-full:first-child {
    border-right: none!important;
}


/* ----------------------------------------------------------
   BUTTON-BEREICH
   ---------------------------------------------------------- */

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.tw-d21-duration-\[\.12s\] {
    background: #ffffff !important;
    padding: 12px !important;
}


/* Goldener Button */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] {
    background: #C0A780 !important;
    background-color: #C0A780 !important;
    background-image: none !important;

    color: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;

    min-height: 64px !important;
    padding: 15px 30px !important;

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease !important;
}


/* Button-Text */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] span {
    font-family: "Inter", sans-serif !important;
    color: #ffffff !important;
    font-size: 0 !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}


/* Suchen ersetzen */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] span::after {
    content: "VERFÜGBARKEIT PRÜFEN";
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0.2px!important;
    text-transform: uppercase !important;
    white-space: nowrap;
}


/* Button Hover */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"]:hover {
    background: #C0A780 !important;
    background-color: #C0A780 !important;
    color: #ffffff !important;
}

/* ==========================================================
   DIRS21 – Abstände + Buttonbereich dunkel
   ========================================================== */

/* Erste beiden Felder bekommen kleinen Abstand */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack {
    gap: 6px !important;
    background: transparent !important;
}


/* Die beiden Feld-Gruppen selbst */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack {
    gap: 12px!important;
}


/* Weiße Felder beibehalten */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button {
    background: #ffffff !important;
}


/* Button-Box NICHT weiß */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.tw-d21-duration-\[\.12s\] {
    background: transparent !important;
    padding: 12px 0 12px 12px !important;
}


/* Goldbutton bleibt wie gehabt */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] {
    background: #C0A780 !important;
    background-color: #C0A780 !important;
    border: 0 !important;
}

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-divider-left-both > * + * {
    border-left: none !important;
}

/* ==========================================================
   QuickBook – Proportionen Feinschliff
   ========================================================== */

/* Abstand zwischen Reisezeitraum und Gäste */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:first-of-type {
    margin-right: 28px !important;
}


/* Bereich Gäste + Button */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type {
    flex: 1 1 auto !important;
}


/* Gäste darf den frei werdenden Platz nutzen */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-w-full:first-child {
    flex: 1 1 auto !important;
}


/* Buttonbereich deutlich schmaler */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-duration-\[\.12s\] {
    flex: 0 0 280px !important;
    width: 280px !important;
    margin-left: 28px !important;
}


/* Button selbst etwas kompakter */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] {
    min-height: 58px !important;
    height: 58px !important;
    padding: 0 25px !important;
}

/* ==========================================================
   DIRS21 – TABLET 768px bis 1024px
   ========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    /* Inhalte vertikal zentrieren */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    .d21-trigger-popover-button > div {
        justify-content: center !important;
    }

    /* Abstand Reisezeitraum → Gäste */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    .d21-container-view > .d21-h-stack > .d21-h-stack:first-of-type {
        margin-right: 12px !important;
    }

/* Buttonbereich Tablet */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-container-view > .d21-h-stack > .d21-h-stack:last-of-type > .tw-d21-duration-\[\.12s\] {
    flex: 0 0 230px !important;
    width: 230px !important;
    min-width: 0 !important;
    margin-left: 8px !important;
}

    /* Goldbutton kompakter */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    button[d21-style="d21-book-button"] {
        height: 58px !important;
        min-height: 58px !important;
        padding: 0 20px !important;
    }

.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] span::after {
    font-size: 13px !important;
    white-space: nowrap !important;
}
}

/* ==========================================================
   DIRS21 QUICKBOOK – MOBILE BUTTON
   ========================================================== */

@media (max-width: 767px) {

    /* Button-Wrapper – feste Desktopbreite/Margins überschreiben */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    .d21-v-stack > .d21-v-stack > .tw-d21-duration-\[\.12s\] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;

        flex: 0 0 100% !important;

        margin: 12px 0 0 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
        background: transparent !important;
    }


    /* Button selbst volle Breite */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    .d21-v-stack > .d21-v-stack
    button[d21-item="quickbook-book-button"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;

        height: 54px !important;
        min-height: 54px !important;

        margin: 0 !important;
        padding: 0 20px !important;

        box-sizing: border-box !important;
    }


    /* Dein sichtbarer Ersatztext:
       Desktop haben wir das originale "Suchen" auf 0px gesetzt */
    .d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
    button[d21-item="quickbook-book-button"] span::after {
        font-family: "Inter", sans-serif !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }
	.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
button[d21-style="d21-book-button"] span::after {
    content: "VERFÜGBARKEIT PRÜFEN";
    font-size: 14px !important;
    font-weight: 400!important;
}
/* Auswahltexte */
.d21-quickbook[d21-widget-uuid="46615686-041b-4187-a95e-790966e30002"]
.d21-trigger-popover-button p:not(.d21-trigger-popover-label) {
    font-size: 15px !important;
}	
}


@media (max-width: 900px) {

    html,
    body {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #page,
    .site,
    .site-content {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}