@import "usercentrics.css";
@import "fonts.css";

.tm-header {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.23) 70%, rgba(0,0,0,0) 100%);
    padding-bottom: 120px;
}
.tm-header-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.23) 70%, rgba(0,0,0,0) 100%);
}

.wd-blog .tm-header {
    background: none;
}
.uk-navbar-center {
    margin-top: 30px;
}
.uk-navbar-nav>li>a {
    min-height: 30px;
}
.uk-navbar-nav>li.uk-active>a {
}
.mod-languages {
    margin-top: 30px;
}
div.mod-languages li {
    margin: 0;
}
.mod-languages .uk-subnav>* {
    padding-left: 10px;
}
.mod-languages li img {
    opacity: 0.5;
    transition: all 0.3s;
}
.mod-languages li.uk-active img,
.mod-languages li a:hover img {
    opacity: 1;
    transition: all 0.3s;
}



.bell {
    background: url(../images/bell.svg) center no-repeat;
    padding-left: 22px;
    width: 5px;
    height: 42px;
    display: block;
}
.bell-item-counter {
    width: 17px;
    height: 17px;
    background-color: #c4aa70;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
    text-decoration: none !important;
}

.bell:hover,
.bell:hover .bell-item-counter {text-decoration: none !important;}



.uk-modal-body .mod-languages .uk-subnav {
    justify-content: center;
}

.hh-blog .el-content {
    margin-top: -25px;
    text-indent: 88px;
}
.hh-blog .el-content + .uk-margin-top {
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: solid 1px #c4aa70;
    width: calc(50% - 20px);
    text-align: right;
}
.uk-hr, hr {
    overflow: visible;
    text-align: inherit;
    margin: 0 0 20px 0;
    border: 0;
    border-top: 1px solid #c4aa70;
}


.uk-navbar-nav>li>a:before,
.uk-navbar-nav>li>a:after {
    content: "";
    background-size: contain;
    display: block;
    position: absolute;
    transition: all 0.3s;
    width: 0px;
    height: 0px;
}
.uk-navbar-nav>li>a:before {
    background: url('../images/orna-left.svg') center no-repeat;
    transform: translate(0px, -10px) rotate(26deg);
}
    .uk-navbar-nav>li:hover>a:before {
        transform: translate(-7px, -17px) rotate(0deg);
        width: 12px;
        height: 13px;
    }
.uk-navbar-nav>li>a:after {
    background: url('../images/orna-right.svg') center no-repeat;
    transform: translate(0px, -10px) rotate(-26deg);
}
    .uk-navbar-nav>li:hover>a:after {
        transform: translate(7px, -17px) rotate(0deg);
        width: 12px;
        height: 13px;
    }

.uk-navbar-nav>li.uk-active>a:before {
    background: url('../images/orna-left_white.svg') center no-repeat;
    transform: translate(-7px, -17px) rotate(0deg);
    width: 12px;
    height: 13px;
}
.uk-navbar-nav>li.uk-active>a:after {
    background: url('../images/orna-right_white.svg') center no-repeat;
    transform: translate(7px, -17px) rotate(0deg);
    width: 12px;
    height: 13px;
}


.uk-slidenav-previous,
.uk-slidenav-next {
    width: 22px;
    height: 40px;
}
    .uk-slidenav-previous {
        background: url('../images/arrow-left.svg') no-repeat center;
    }
    .uk-slidenav-next {
        background: url('../images/arrow-right.svg') no-repeat center;
    }
        .uk-slidenav-previous svg,
        .uk-slidenav-next svg {
            display: none;
        }


#tm-dialog-mobile {
    color: #2d2e33;
}

.uk-modal .uk-close {
    color: #fff;
    top: 59px;
    right: 13px;
}
.uk-modal .uk-nav-default>li {

}
    .uk-modal .uk-nav-default>li>a {
        font-size: 20px;
        font-weight: 300;
        letter-spacing: 0;
        color: #fff;
        text-transform: none;
        border-bottom: solid 1px #707070;
    }
    .uk-modal .uk-nav-default>li:first-of-type>a {
        border-top: solid 1px #707070;
    }

.uk-navbar-toggle {
    color: #fff;
}
.uk-navbar-toggle-icon {
    line-height: 83px;
    margin-top: 27px;
}

.uk-slideshow-items .uk-position-cover {
    padding: 0 112px 128px 0;
}
.zimmer-head-section .uk-slideshow-items .uk-position-cover {
    padding: 0 112px 38px 0;
}

.scroll-down {
    width: 60px;
    height: 33px;
    background: url('../images/scroll-down.svg') center no-repeat;
    display: block;
    position: relative;
    z-index: 9;
    left: 0;
    right: 0;
    background-size: contain;
    margin: -70px auto 0;
}
footer a {color: #fff;}

.uk-slideshow-items .el-title {
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
}
.aktivitaet-headline {
    display: flex;
    align-items: center;
    justify-content: center;
}
.aktivitaet-headline .el-title {
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 600;
}
.aktivitaet-button a.uk-button-default {
    line-height: 1.2;
    text-transform: none;
    padding: 10px;
    font-family: OpenSansCustom;
}

.zimmer-ausstattung .el-title {
    font-family: RobotoSlabCustom;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

.wd-alert-home {
    background-color: rgba(0,0,0,0.9);
}
.wd-alert-home .uk-modal-dialog {
    background-color: #fff;
    padding: 0;
}

.wd-alert-home .uk-modal-content {
    padding: 30px;
    text-align: center;
}
.wd-alert-home h3 {
    margin: 0;
}


.uk-modal .uk-close svg {
    display: none;
}
.uk-modal .uk-close {
    width: 35px;
    height: 35px;
    background: url('../images/close.svg') center no-repeat;
    background-size: contain;
    top: 20px;
    right: 20px;
}



.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: #c4aa70;
    transition: opacity 1s ease; /* Smooth opacity animation */
    opacity: 1;
}
.custom-alert_content-container {
    padding: 40px;
}
.custom-alert_content-content p + p:last-child{
    margin-bottom: 0;
}
.wd-alert-home .uk-modal-dialog {
    background-color: #fff;
}


@media (min-width: 960px) {
    .chronik-grid {

    }

    .chronik-grid > .uk-grid > div:nth-of-type(even) .uk-grid .uk-width-1-2\@m {
        order: 2;
    }

    .chronik-grid > .uk-grid > div:nth-of-type(even) .uk-grid .uk-first-column  {
        padding-right: 30px;
    }

    .chronik-grid > .uk-grid .uk-first-column:nth-of-type(odd) .uk-first-column + div {
        padding-left: 30px
    }
}
@media (max-width: 960px) {
    .chronik-grid .el-content  {
        padding-bottom: 45px;
    }
    html {
        font-family: OpenSansCustom;
        font-size: 16px;
    }

    .uk-h3, h3 {
        font-size: 25px;
    }
    .uk-logo img {
        max-width: 181px;
        line-height: 100px;
    }
    .uk-slideshow-items .el-title {
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    }
    /*div:not(.zimmer-slideshow) > * > .uk-slideshow-items {
        max-height: 600px;
        height: 100% !important;
        min-height: calc(100vw / 16 * 16) !important;
    }*/
    .hh-blog .el-content + .uk-margin-top {
        position: static;
        bottom: 0;
        right: 0;
        border-bottom: solid 1px #c4aa70;
        width: auto;
        text-align: right;
    }
    .uk-slideshow-items .uk-position-cover,
    .zimmer-head-section .uk-slideshow-items .uk-position-cover {
        padding: 0 27px 30px 0;
    }

    .scroll-down {
        width: 33px;
        height: 18px;
        margin: -50px auto 0;
    }
    .zimmer-ausstattung img {
        max-width: 40px;
    }
    .custom-alert_content-container {
        padding: 20px;
    }
    .uk-modal:not(.uk-modal-full) {
        padding: 10px;
    }

    .vd-sub-hero > * > *{
        aspect-ratio: 1 / 1;
        max-height: 100vh !important;
        height: auto !important;
        min-height: 10px !important;
    }

}

.vd-hide-print {
    display: block !important;
}
.vd-show-print {
    display: none !important;
}

.vd-sup {
    font-size: 75%;
    margin-top: -110px;
    line-height: 3;
}
.vd-price-table .uk-grid {
    justify-content: end;
}

.vd-zusatzstoffe .el-item > td {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.vd-karte-item_print {
    border-bottom: dashed 1px #8d8d8d;
}

.weglot-flags.flag-1.wg-en>a:before, .weglot-flags.flag-1.wg-en>span:before, .weglot-flags>a:before {
    margin-right: 0 !important;
}
.country-selector a {
    padding: 0 0 0 10px !important;
}

@media print {
    /* Header und Footer ausblenden */
    .tm-header,
    .tm-header-mobile,
    footer,
    nav,
    .uk-navbar,
    .bell,
    .uk-modal,
    .no-print,
    .vd-karte-hero {
        display: none !important;
    }

    .vd-hide-print {
        display: none !important;
    }
    .vd-show-print {
        display: block !important;
    }
    .vd-karte-item {border: solid 1px red;}



    /* Body */
    body {
        background: white !important;
        font-size: 11pt;
        line-height: 1.4;
    }

    /* Hero-Bereich mit Hintergrundbild
    .vd-karte-hero {
        display: block !important;
        page-break-inside: avoid;
        position: relative;
        height: 300px !important;
        margin-bottom: 20pt !important;
    } */

    /* Hintergrundbild direkt setzen (da uk-img beim Druck nicht lädt)
    .vd-karte-hero > div[uk-img] {
        display: block !important;
        height: 300px !important;
        background-image: url('/wp-content/uploads/2025/11/restaurant-slider.jpg') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        position: relative !important;
    }*/

    /* Logo zentriert über dem Bild */
    .vd-karte-hero .uk-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 300px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* Logo einfügen */
    .vd-karte-hero .uk-container::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 113px;
        background-image: url('/wp-content/uploads/2025/11/logo_hotel-heiligenstadter-hof.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 100;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Container optimieren */
    .uk-container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .uk-section {
        padding: 10px 0 !important;
    }

    /* Überschriften mit Farben */
    h1, h2, h3 {
        page-break-after: avoid;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    h1.uk-text-primary {
        font-size: 20pt;
        margin-top: 20pt !important;
        margin-bottom: 15pt !important;
        text-align: center;
    }

    h3.uk-text-emphasis {
        font-size: 14pt;
        margin-top: 15pt !important;
        margin-bottom: 8pt !important;
        font-weight: bold;
        border-bottom: 1px solid currentColor;
        padding-bottom: 3pt;
    }

    /* Speisekarten-Einträge */
    .uk-list li.el-item {
        page-break-inside: avoid;
        margin-bottom: 8pt;
    }

    .el-title {
        font-weight: 600 !important;
        display: inline;
    }

    .el-meta {
        float: right;
        font-weight: bold;
    }

    .el-content {
        font-size: 9pt;
        margin-top: 2pt;
        font-style: italic;
        display: block !important;
        clear: both;
    }

    /* Leader dots */
    [uk-leader] {
        overflow: hidden;
    }

    [uk-leader]:after {
        content: "" !important;
        border-bottom: 1px dotted currentColor;
        display: inline-block;
        width: 100%;
        margin: 0 5px;
        vertical-align: bottom;
    }

    /* Kategorie-Beschreibungen */
    .uk-panel {
        font-size: 9pt;
        margin-bottom: 5pt;
        font-style: italic;
    }

    /* Seitenumbrüche */
    .uk-grid > div {
        page-break-inside: avoid;
    }

    /* Farben erzwingen */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* Links */
    a {
        text-decoration: none !important;
    }

    /* Margins */
    .uk-margin {
        margin-top: 5pt !important;
        margin-bottom: 5pt !important;
    }

    /* Gradient vom Hero entfernen */
    #template-r7PWWOv_\#0 > * > * {
        background: transparent !important;
        padding: 0 !important;
    }

    /* Sticky entfernen */
    [uk-sticky] {
        position: relative !important;
    }

    /* Grid */
    .uk-grid {
        margin: 0 !important;
    }

    /* Seiteneinstellungen */
    @page {
        margin: 1cm;
        size: A4;
    }
}
