/*
Theme Name: moovis GmbH Child Theme
Theme URI: https://www.moovis.ch
Author: moovis GmbH
Version: 1.1
Description: Elementor-kompatibles Child-Theme von moovis GmbH.
Text Domain: moovis-child-theme
*/

/* -------------------- FONTS (lokal) -------------------- */

@font-face {
    font-family: "Cormorant Garamond";
    src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Cormorant Garamond";
    src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Jost";
    src: url("assets/fonts/jost-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* -------------------- VARIABLEN -------------------- */

:root {
    --hm-ink: #1e1d1b;
    --hm-ink-rgb: 30, 29, 27;
    --hm-char: #262523;
    --hm-char-2: #2f2d2a;
    --hm-line: rgba(201, 169, 106, 0.24);
    --hm-gold: #c9a96a;
    --hm-gold-hi: #e2c88f;
    --hm-gold-lo: #8f7445;
    --hm-ivory: #efe8da;
    --hm-body: #d3cbbb;
    --hm-muted: #a59b89;
    --hm-serif: "Cormorant Garamond", "Times New Roman", serif;
    --hm-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
    --hm-gutter: clamp(20px, 4vw, 64px);
    --hm-max: 1600px;
    --hm-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
    --hm-logo: url("/wp-content/uploads/2020/05/Logo-Ferientraum-Hockmatta.png");
}

/* -------------------- MAIN -------------------- */

html,
body {
    overflow-x: clip;
}

/* -------------------- SCROLLEN -------------------- */
/* Natives Scrollen ohne Verzoegerung */
html {
    scroll-behavior: auto !important;
}
body {
    margin: 0;
    background: var(--hm-ink);
    color: var(--hm-ivory);
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection {
    background: var(--hm-gold);
    color: var(--hm-ink);
}
a {
    color: inherit;
    transition: color 0.3s;
}
a:hover {
    color: var(--hm-gold-hi);
}
:focus {
    outline: 0;
}
:focus-visible {
    outline: 1px solid var(--hm-gold-hi);
    outline-offset: 4px;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    margin: 0 0 1em;
}
p:last-child {
    margin-bottom: 0;
}

/* Theme-Kopf ausblenden, falls das Theme ihn noch ausgibt */
body > #header,
body > .site-header,
body > hr {
    display: none;
}

/* -------------------- ELEMENTOR RESET -------------------- */

.e-con {
    --container-default-padding-top: 0px;
    --container-default-padding-right: 0px;
    --container-default-padding-bottom: 0px;
    --container-default-padding-left: 0px;
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
}
.elementor-element {
    --widgets-spacing: 0px 0px;
    --widgets-spacing-row: 0px;
    --widgets-spacing-column: 0px;
}
.elementor-widget:not(:last-child) {
    --kit-widget-spacing: 0px;
    margin-block-end: 0;
}
.elementor-widget-image {
    text-align: left;
}
.elementor-widget-image a {
    display: block;
}
.elementor .elementor-heading-title,
.elementor-widget-text-editor {
    font-family: inherit;
    color: inherit;
}

/* -------------------- TYPOGRAFIE -------------------- */

.hm-eyebrow .elementor-heading-title {
    margin: 0;
    font-family: var(--hm-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--hm-gold);
}
.hm-eyebrow .elementor-heading-title::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-right: 14px;
    vertical-align: middle;
    background: currentColor;
    opacity: 0.7;
}
.hm-h2 .elementor-heading-title {
    margin: 0;
    font-family: var(--hm-serif);
    font-size: clamp(36px, 4.6vw, 72px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--hm-ivory);
}
.hm-text {
    color: var(--hm-body);
    font-size: 17px;
}
.hm-text p {
    max-width: 36em;
}

/* Wort-fuer-Wort Reveal */
.hm-split .hm-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}
.hm-split .hm-wi {
    display: inline-block;
    will-change: transform;
}
.hm-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* -------------------- BUTTONS & LINKS -------------------- */

.hm-btn .elementor-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    padding: 17px 30px;
    border: 1px solid var(--hm-gold);
    border-radius: 0;
    background: transparent;
    color: var(--hm-ivory);
    font-family: var(--hm-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: color 0.5s var(--hm-ease);
}
.hm-btn .elementor-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--hm-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.55s var(--hm-ease);
}
.hm-btn .elementor-button:hover,
.hm-btn .elementor-button:focus-visible {
    color: var(--hm-ink);
}
.hm-btn .elementor-button:hover::before,
.hm-btn .elementor-button:focus-visible::before {
    transform: scaleY(1);
}
.hm-btn--solid .elementor-button {
    background: var(--hm-gold);
    color: var(--hm-ink);
}
.hm-btn--solid .elementor-button::before {
    background: var(--hm-ivory);
}
.hm-link .elementor-button {
    display: inline-flex;
    gap: 10px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(var(--hm-gold), var(--hm-gold)) 0 100% / 0 1px no-repeat;
    color: var(--hm-ivory);
    font-family: var(--hm-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: background-size 0.5s var(--hm-ease), color 0.3s;
}
.hm-link .elementor-button::after {
    content: "→";
    letter-spacing: 0;
    transition: transform 0.5s var(--hm-ease);
}
.hm-link .elementor-button:hover,
.hm-link .elementor-button:focus-visible {
    background-size: 100% 1px;
    color: var(--hm-gold-hi);
}
.hm-link .elementor-button:hover::after {
    transform: translateX(5px);
}

/* -------------------- HEADER -------------------- */

.elementor-location-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.6s var(--hm-ease);
}
.admin-bar .elementor-location-header {
    top: 32px;
}
.elementor-location-header.is-hidden {
    transform: translateY(-110%);
}
.e-con.hm-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px var(--hm-gutter);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.6s var(--hm-ease), padding 0.6s var(--hm-ease), border-color 0.6s;
}
.is-solid .e-con.hm-header {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(var(--hm-ink-rgb), 0.96);
    border-bottom-color: var(--hm-line);
}

/* Logo: Original-Logo per Maske in Gold eingefaerbt */
.hm-logo {
    width: clamp(140px, 13vw, 180px);
    flex: 0 0 auto;
}
.hm-logo a {
    display: block;
    background: var(--hm-gold);
    -webkit-mask: var(--hm-logo) center / contain no-repeat;
    mask: var(--hm-logo) center / contain no-repeat;
}
.hm-logo img {
    display: block;
    width: 100%;
    opacity: 0;
}

/* Hauptnavigation */
.hm-nav {
    flex: 0 1 auto;
}
.hm-nav .elementor-nav-menu--main .elementor-nav-menu {
    align-items: center;
    gap: clamp(18px, 2.4vw, 38px);
}
.hm-nav .elementor-nav-menu--main .elementor-item {
    padding: 8px 0;
    margin: 0;
    font-family: var(--hm-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hm-ivory);
    background: linear-gradient(var(--hm-gold), var(--hm-gold)) 50% 100% / 0 1px no-repeat;
    transition: background-size 0.45s var(--hm-ease), color 0.3s;
}
/* Elementor setzt im Hover ein eigenes Padding (13px 20px) – hier fixieren, damit nichts springt */
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .elementor-item,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .elementor-item:hover,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .elementor-item:focus,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .elementor-item.highlighted {
    padding: 8px 0;
}
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .menu-item:last-child .elementor-item,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .menu-item:last-child .elementor-item:hover,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .menu-item:last-child .elementor-item:focus,
.hm-nav .elementor-nav-menu--main .elementor-nav-menu .menu-item:last-child .elementor-item.highlighted {
    padding: 11px 18px;
}
.hm-nav .elementor-nav-menu--main .elementor-item:hover,
.hm-nav .elementor-nav-menu--main .elementor-item:focus-visible {
    color: var(--hm-ivory);
    background-size: 100% 1px;
}
.hm-nav .elementor-nav-menu--main .elementor-item-active {
    color: var(--hm-gold-hi);
    background-size: 100% 1px;
}
.hm-nav .elementor-nav-menu--main .menu-item:last-child .elementor-item {
    padding: 11px 18px;
    border: 1px solid var(--hm-gold);
    background: transparent;
    transition: background 0.4s var(--hm-ease), color 0.4s;
}
.hm-nav .elementor-nav-menu--main .menu-item:last-child .elementor-item:hover {
    background: var(--hm-gold);
    color: var(--hm-ink);
}
.hm-nav .elementor-menu-toggle {
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--hm-line);
    border-radius: 0;
    background: transparent;
    color: var(--hm-ivory);
    font-size: 22px;
}
.hm-nav .elementor-menu-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
/* -------------------- OFF-CANVAS MENUE (Tablet & Mobile) -------------------- */
/* Elementor-Dropdown wird zum vollflaechigen Panel, das von rechts hereinfaehrt.
   !important noetig: Elementor setzt Position/Breite per Inline-Style und blendet per scaleY/max-height ein. */

@media (max-width: 1024px) {
    .hm-logo,
    .hm-nav .elementor-menu-toggle {
        position: relative;
        z-index: 3;
    }
    .hm-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 2 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        height: 100vh;
        height: 100dvh;
        max-height: none !important;
        margin: 0 !important;
        padding: 120px 24px 60px;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        border: 0;
        background: var(--hm-ink);
        font-size: 15px;
        visibility: hidden;
        transform: translateX(100%) !important;
        transition: transform 0.7s var(--hm-ease), visibility 0s linear 0.7s !important;
        animation: none !important;
    }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        visibility: visible;
        transform: translateX(0) !important;
        transition: transform 0.7s var(--hm-ease), visibility 0s linear 0s !important;
    }

    .hm-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container::-webkit-scrollbar {
        display: none;
    }

    /* Bluete aus dem Logo als dezentes Wasserzeichen */
    .hm-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container::after {
        content: "";
        position: absolute;
        right: -60px;
        bottom: -40px;
        width: 340px;
        aspect-ratio: 205 / 185;
        background: var(--hm-gold);
        -webkit-mask: var(--hm-logo) 0 0 / 292.7% auto no-repeat;
        mask: var(--hm-logo) 0 0 / 292.7% auto no-repeat;
        opacity: 0.05;
        pointer-events: none;
    }

    .hm-nav .elementor-nav-menu--dropdown .elementor-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    .hm-nav .elementor-nav-menu--dropdown .menu-item {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.3s, transform 0.3s;
    }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s var(--hm-ease), transform 0.7s var(--hm-ease);
    }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(1) { transition-delay: 0.25s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(2) { transition-delay: 0.31s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(3) { transition-delay: 0.37s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(4) { transition-delay: 0.43s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(5) { transition-delay: 0.49s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(6) { transition-delay: 0.55s; }
    .hm-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown .menu-item:nth-child(7) { transition-delay: 0.61s; }

    /* Schrift wie im Desktop-Menue */
    .hm-nav .elementor-nav-menu--dropdown .elementor-item,
    .hm-nav .elementor-nav-menu--dropdown .elementor-item:hover,
    .hm-nav .elementor-nav-menu--dropdown .elementor-item:focus,
    .hm-nav .elementor-nav-menu--dropdown .elementor-item.highlighted,
    .hm-nav .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
        justify-content: center;
        padding: 8px 0;
        border: 0;
        font-family: var(--hm-sans);
        font-size: 15px;
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: 0.26em;
        text-transform: uppercase;
        color: var(--hm-ivory);
        background: linear-gradient(var(--hm-gold), var(--hm-gold)) 50% 100% / 0 1px no-repeat;
        background-color: transparent !important;
        transition: background-size 0.45s var(--hm-ease), color 0.3s;
    }
    .hm-nav .elementor-nav-menu--dropdown .elementor-item:hover,
    .hm-nav .elementor-nav-menu--dropdown .elementor-item:focus-visible {
        background-size: 100% 1px;
    }
    .hm-nav .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
        color: var(--hm-gold-hi);
        background-size: 100% 1px;
    }
    /* Buchen als Button */
    .hm-nav .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item,
    .hm-nav .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item:hover,
    .hm-nav .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item:focus,
    .hm-nav .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item.elementor-item-active {
        margin-top: 14px;
        padding: 15px 30px;
        border: 1px solid var(--hm-gold);
        background: transparent;
        transition: background-color 0.4s var(--hm-ease), color 0.4s;
    }
    .hm-nav .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item:hover {
        background-color: var(--hm-gold) !important;
        color: var(--hm-ink);
    }

    /* Seite hinter dem offenen Menue nicht scrollen */
    html.hm-menu-open,
    html.hm-menu-open body {
        overflow: hidden;
    }
}

/* -------------------- HERO -------------------- */

.e-con.hm-hero {
    position: relative;
    min-height: 100svh;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--hm-char);
}
.e-con.hm-hero--page {
    min-height: clamp(460px, 70svh, 760px);
}
.e-con.hm-hero--404 {
    min-height: 100svh;
}
.e-con.hm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(var(--hm-ink-rgb), 0.6) 0%, rgba(var(--hm-ink-rgb), 0) 30%),
        linear-gradient(90deg, rgba(var(--hm-ink-rgb), 0.85) 0%, rgba(var(--hm-ink-rgb), 0.35) 55%, rgba(var(--hm-ink-rgb), 0.12) 100%),
        linear-gradient(0deg, rgba(var(--hm-ink-rgb), 1) 0%, rgba(var(--hm-ink-rgb), 0) 50%);
}
.hm-hero__media {
    position: absolute !important;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hm-hero__media img {
    display: block;
    will-change: transform;
    width: 100%;
    height: 115%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 40%;
    transform-origin: 50% 30%;
}
.e-con.hm-hero__inner {
    width: 100%;
    max-width: var(--hm-max);
    margin: 0 auto;
    gap: 0;
    padding: 0 var(--hm-gutter) clamp(44px, 8vh, 96px);
}
.hm-hero .hm-eyebrow .elementor-heading-title {
    margin-bottom: 22px;
}
.hm-hero__title .elementor-heading-title {
    max-width: 11em;
    margin: 0 0 36px;
    font-family: var(--hm-serif);
    font-size: clamp(46px, 7.4vw, 116px);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--hm-ivory);
}
.hm-hero--page .hm-hero__title .elementor-heading-title {
    margin-bottom: 0;
    font-size: clamp(44px, 6.4vw, 96px);
}
.hm-hero__cue {
    position: absolute !important;
    left: 50%;
    bottom: 0;
}
.hm-scroll-cue {
    display: block;
    width: 1px;
    height: 64px;
    background: linear-gradient(var(--hm-gold), transparent);
}

/* -------------------- SEKTIONEN -------------------- */

.e-con.hm-section {
    width: 100%;
    max-width: var(--hm-max);
    margin: 0 auto;
    padding: clamp(80px, 11vh, 140px) var(--hm-gutter);
}
.e-con.hm-section--alt {
    max-width: none;
    padding-left: max(var(--hm-gutter), calc((100% - var(--hm-max)) / 2 + var(--hm-gutter)));
    padding-right: max(var(--hm-gutter), calc((100% - var(--hm-max)) / 2 + var(--hm-gutter)));
    background: var(--hm-char);
}

/* -------------------- HOME: INTRO -------------------- */

.e-con.hm-intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}
.e-con.hm-intro__head {
    grid-column: 1 / span 6;
}
.e-con.hm-intro__quote {
    grid-column: 8 / span 5;
    gap: 0;
    padding-top: clamp(0px, 6vh, 90px);
}
.hm-quote {
    font-family: var(--hm-sans);
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 300;
    line-height: 1.7;
    color: #e6dece;
}
.hm-quote::before {
    content: "“";
    display: block;
    font-family: var(--hm-serif);
    margin-bottom: 18px;
    font-size: 80px;
    line-height: 0.6;
    color: var(--hm-gold);
}
.e-con.hm-host {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--hm-line);
}
.hm-host__photo {
    width: 64px;
    flex: 0 0 64px;
}
.hm-host__photo img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}
.hm-host__name {
    font-family: var(--hm-serif);
    font-size: 22px;
    font-style: italic;
    color: var(--hm-gold-hi);
}

/* -------------------- HOME: TEASER -------------------- */

.e-con.hm-teaser {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
}
.hm-teaser__media {
    grid-column: 1 / span 7;
}
.e-con.hm-teaser__text {
    grid-column: 9 / span 4;
    gap: 22px;
    align-items: flex-start;
}

/* -------------------- BILDER (Rahmen + Parallaxe) -------------------- */

.hm-teaser__media,
.hm-row__media {
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-teaser__media a,
.hm-row__media a {
    display: block;
}
.hm-teaser__media img,
.hm-row__media img {
    display: block;
    will-change: transform;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transform: scale(1.12);
}

/* -------------------- WOHNUNG -------------------- */

.e-con.hm-lead {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: end;
    padding-bottom: clamp(40px, 6vh, 70px);
}
.hm-lead .hm-h2 {
    grid-column: 1 / span 7;
}
.hm-lead__text {
    grid-column: 9 / span 4;
    color: var(--hm-body);
    font-size: 18px;
}
.hm-lead__text--wide {
    grid-column: 1 / span 9;
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.7;
    color: #e6dece;
}
.hm-lead__text--wide p {
    margin-bottom: 0.8em;
}
.e-con.hm-rows {
    gap: clamp(56px, 9vh, 110px);
    padding-top: 0;
}
.e-con.hm-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
}
.hm-row__media {
    grid-column: 1 / span 7;
}
.hm-row__text {
    grid-column: 9 / span 4;
    padding-top: 24px;
    border-top: 1px solid var(--hm-line);
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.7;
    color: #e6dece;
}
.hm-row--flip .hm-row__media {
    grid-column: 6 / span 7;
    order: 2;
}
.hm-row--flip .hm-row__text {
    grid-column: 1 / span 4;
    order: 1;
}
.e-con.hm-amen {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    counter-reset: hm-amen;
}
.e-con.hm-amen__item {
    gap: 12px;
    padding: 28px 26px 30px;
    border-top: 1px solid var(--hm-line);
    border-bottom: 1px solid var(--hm-line);
    counter-increment: hm-amen;
}
.e-con.hm-amen__item + .e-con.hm-amen__item {
    border-left: 1px solid var(--hm-line);
}
.e-con.hm-amen__item::before {
    content: "0" counter(hm-amen);
    font-family: var(--hm-serif);
    font-size: 17px;
    font-style: italic;
    color: var(--hm-gold);
}
.hm-amen__title .elementor-heading-title {
    margin: 0;
    font-family: var(--hm-serif);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--hm-ivory);
}
.hm-amen__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--hm-body);
}

/* -------------------- WOHNUNG: BILDGALERIE -------------------- */

.e-con.hm-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 24px);
    padding-top: 0;
}
.hm-gallery__item {
    position: relative;
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-gallery__item a {
    display: block;
    height: 100%;
    cursor: zoom-in;
}
.hm-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.2s var(--hm-ease), filter 1.2s var(--hm-ease);
    filter: brightness(0.92);
}
.hm-gallery__item a:hover img,
.hm-gallery__item a:focus-visible img {
    transform: scale(1.07);
    filter: brightness(1);
}
/* Zeile 1 und 3: gross + klein im Wechsel, Zeile 2: drei gleiche */
.hm-gallery__item--a,
.hm-gallery__item--f {
    grid-column: span 7;
}
.hm-gallery__item--a img,
.hm-gallery__item--f img {
    aspect-ratio: 16 / 10;
}
.hm-gallery__item--b,
.hm-gallery__item--g {
    grid-column: span 5;
}
.hm-gallery__item--b img,
.hm-gallery__item--g img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}
.hm-gallery__item--c,
.hm-gallery__item--d,
.hm-gallery__item--e {
    grid-column: span 4;
}
.hm-gallery__item--g img {
    object-position: 50% 45%;
}

@media (max-width: 767px) {
    .e-con.hm-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hm-gallery__item--a,
    .hm-gallery__item--f {
        grid-column: 1 / -1;
    }
    /* Mobil: gross, 2 + 2, gross, gross */
    .hm-gallery__item--b,
    .hm-gallery__item--c,
    .hm-gallery__item--d,
    .hm-gallery__item--e {
        grid-column: span 1;
    }
    .hm-gallery__item--g {
        grid-column: 1 / -1;
    }
    .hm-gallery__item--b img,
    .hm-gallery__item--g img {
        position: static;
    }
    .hm-gallery__item--b img,
    .hm-gallery__item--c img,
    .hm-gallery__item--d img,
    .hm-gallery__item--e img {
        aspect-ratio: 4 / 5;
    }
    .hm-gallery__item--g img {
        aspect-ratio: 16 / 10;
    }
}

/* -------------------- GESCHICHTE: DAMALS / HEUTE -------------------- */

.e-con.hm-zeit {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--hm-ink);
}
.e-con.hm-zeit__pin {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
    width: 100%;
    max-width: var(--hm-max);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(80px, 12vh, 120px) var(--hm-gutter);
}
.hm-zeit__text {
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.7;
    color: #e6dece;
}
.e-con.hm-compare {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-compare__then,
.hm-compare__now {
    position: absolute !important;
    inset: 0;
}
.hm-compare__then img,
.hm-compare__now img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.hm-compare__then img {
    filter: sepia(0.35) contrast(1.05) brightness(0.9);
}
.hm-compare__ui {
    position: absolute !important;
    inset: 0;
    pointer-events: none;
}
.hm-compare__edge {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--hm-gold-hi);
    box-shadow: 0 0 18px rgba(226, 200, 143, 0.6);
    opacity: 0;
}
.hm-compare__tag {
    position: absolute;
    bottom: 18px;
    padding: 10px 13px;
    background: rgba(var(--hm-ink-rgb), 0.75);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hm-ivory);
}
.hm-compare__tag--then {
    left: 18px;
}
.hm-compare__tag--now {
    right: 18px;
    color: var(--hm-gold-hi);
}

/* -------------------- REGION -------------------- */

.e-con.hm-ausflug {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 40px);
    align-items: start;
}
.e-con.hm-ausflug__item {
    gap: 14px;
    align-items: flex-start;
}
.hm-ausflug__media {
    width: 100%;
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-ausflug__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(0.85) brightness(0.9);
    transform: scale(1.04);
    transition: transform 1.2s var(--hm-ease), filter 1.2s var(--hm-ease);
}
.hm-ausflug__media a:hover img,
.hm-ausflug__media a:focus-visible img {
    filter: saturate(1) brightness(1);
    transform: scale(1.1);
}
.hm-ausflug__title .elementor-heading-title {
    margin: 10px 0 0;
    font-family: var(--hm-serif);
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--hm-ivory);
}
.hm-ausflug__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hm-body);
}

/* -------------------- GASTGEBER -------------------- */

.e-con.hm-hostpage {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}
.hm-hostpage__photo {
    grid-column: 1 / span 4;
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-hostpage__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 25%;
}
.hm-hostpage__text {
    grid-column: 6 / span 7;
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.7;
    color: #e6dece;
}
.hm-hostpage__text p:last-child {
    margin-top: 1.4em;
    color: var(--hm-gold-hi);
}
.e-con.hm-cards {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(20px, 2.4vw, 40px);
    align-items: start;
}
.e-con.hm-card {
    gap: 12px;
    align-items: flex-start;
}
.hm-card__media {
    width: 100%;
    overflow: hidden;
    background: var(--hm-char-2);
}
.hm-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 30%;
}
.hm-card--wide .hm-card__media img {
    aspect-ratio: 16 / 10;
}
.hm-card__title .elementor-heading-title {
    margin: 12px 0 0;
    font-family: var(--hm-serif);
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
    color: var(--hm-gold-hi);
}
.hm-card__text {
    color: var(--hm-body);
}
.hm-card__text p {
    margin-bottom: 0.3em;
}
.hm-card__text a {
    text-decoration: none;
}

/* -------------------- BUCHEN -------------------- */

.e-con.hm-booking {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 110px);
    align-items: start;
}
.e-con.hm-booking__info {
    gap: 40px;
}
.hm-booking__text {
    font-family: var(--hm-sans);
    font-weight: 300;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.7;
    color: #e6dece;
}
.hm-booking__text p {
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid var(--hm-line);
}
.hm-booking__text p:first-child {
    border-top: 1px solid var(--hm-line);
}
.hm-booking__text strong {
    font-weight: 500;
    color: var(--hm-gold-hi);
}

/* Belegungskalender (MotoPress Hotel Booking) */
.hm-calendar .mphb-calendar,
.hm-calendar .datepick {
    width: 100% !important;
    max-width: 100%;
    border: 1px solid var(--hm-line);
    border-radius: 0;
    background: transparent;
    font-family: var(--hm-sans);
    color: var(--hm-ivory);
}
.hm-calendar .datepick-nav,
.hm-calendar .datepick-ctrl {
    background: transparent;
    border: 0;
}
.hm-calendar .datepick-nav a,
.hm-calendar .datepick-ctrl a {
    color: var(--hm-gold);
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hm-calendar .datepick-month-row {
    display: flex;
    flex-wrap: wrap;
}
.hm-calendar .datepick-month {
    flex: 1 1 260px;
    width: auto !important;
    border: 0;
    background: transparent;
}
.hm-calendar .datepick-month-header,
.hm-calendar .datepick-month-header select {
    background: transparent;
    color: var(--hm-ivory);
    font-family: var(--hm-serif);
    font-size: 22px;
    font-weight: 300;
    border: 0;
}
.hm-calendar .datepick-month table {
    width: 100%;
    border-collapse: collapse;
}
.hm-calendar .datepick-month th,
.hm-calendar .datepick-month th a {
    background: transparent;
    border: 0;
    color: var(--hm-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
}
.hm-calendar .datepick-month td {
    border: 0;
    background: transparent;
}
.hm-calendar .datepick-month td a,
.hm-calendar .datepick-month td span {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--hm-ivory);
    font-size: 14px;
}
.hm-calendar .mphb-available-date span,
.hm-calendar .mphb-available-date a {
    background: rgba(201, 169, 106, 0.1);
    color: var(--hm-ivory);
}
.hm-calendar .mphb-booked-date,
.hm-calendar .mphb-booked-date span,
.hm-calendar .mphb-booked-date a {
    background: rgba(217, 135, 111, 0.18);
    color: var(--hm-muted);
    text-decoration: line-through;
}
.hm-calendar .mphb-past-date span,
.hm-calendar .datepick-other-month span {
    background: transparent;
    color: rgba(165, 155, 137, 0.4);
}

/* Formular (Elementor Pro) */
.hm-form .elementor-form-fields-wrapper {
    margin-left: -14px;
    margin-right: -14px;
}
.hm-form .elementor-field-group {
    margin-bottom: 26px;
    padding-left: 14px;
    padding-right: 14px;
}
.hm-form .elementor-field-label {
    margin-bottom: 8px;
    padding: 0;
    font-family: var(--hm-sans);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hm-muted);
}
.hm-form .elementor-mark-required .elementor-field-label::after {
    color: var(--hm-gold);
}
/* !important noetig: Elementor schreibt Feldfarben mit sehr hoher Spezifitaet */
.hm-form .elementor-field-group .elementor-field {
    min-height: 0;
    padding: 10px 0 12px;
    border: 0 !important;
    border-bottom: 1px solid rgba(239, 232, 218, 0.25) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: var(--hm-sans);
    font-size: 17px;
    font-weight: 300;
    color: var(--hm-ivory) !important;
    transition: border-color 0.4s var(--hm-ease);
}
.hm-form .elementor-field-group .elementor-field:hover {
    border-bottom-color: rgba(239, 232, 218, 0.5) !important;
}
.hm-form .elementor-field-group .elementor-field:focus {
    border-bottom-color: var(--hm-gold-hi) !important;
    box-shadow: 0 1px 0 var(--hm-gold-hi);
    outline: 0;
}
.hm-form textarea.elementor-field {
    min-height: 120px;
    resize: vertical;
}
.hm-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.75) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer;
}
.hm-form .elementor-field-group .elementor-field[aria-invalid="true"] {
    border-bottom-color: #d9876f !important;
}
.hm-form .elementor-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 0;
    padding: 18px 30px;
    border: 1px solid var(--hm-gold);
    border-radius: 0;
    background: var(--hm-gold);
    color: var(--hm-ink);
    font-family: var(--hm-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: background 0.4s var(--hm-ease), color 0.4s;
}
.hm-form .elementor-button:hover,
.hm-form .elementor-button:focus-visible {
    background: var(--hm-ivory);
    color: var(--hm-ink);
}
.hm-form .elementor-button[disabled] {
    opacity: 0.5;
    cursor: progress;
}
.hm-form .elementor-message {
    margin-top: 10px;
    padding: 18px 22px;
    border: 1px solid var(--hm-gold-lo);
    font-size: 15px;
    color: var(--hm-ivory);
}
.hm-form .elementor-message.elementor-message-danger,
.hm-form .elementor-field-group .elementor-message {
    border-color: #d9876f;
    color: #e39b84;
}
.hm-form .elementor-message::before {
    display: none;
}

/* -------------------- RECHTLICHES (Impressum / Datenschutz) -------------------- */

.e-con.hm-legal {
    gap: 40px;
    max-width: 960px;
    padding-top: clamp(150px, 22vh, 230px);
}
.hm-legal__title .elementor-heading-title {
    margin: 0;
    font-family: var(--hm-serif);
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--hm-ivory);
}
.hm-legal__text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--hm-body);
}
.hm-legal__text h2,
.hm-legal__text h3,
.hm-legal__text h4 {
    margin: 2.2em 0 0.6em;
    padding-top: 1.2em;
    border-top: 1px solid var(--hm-line);
    font-family: var(--hm-serif);
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--hm-gold-hi);
}
.hm-legal__text h2:first-child,
.hm-legal__text h3:first-child,
.hm-legal__text h4:first-child {
    margin-top: 0;
}
.hm-legal__text h4 {
    font-size: 21px;
    border-top: 0;
    padding-top: 0;
}
.hm-legal__text a {
    color: var(--hm-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hm-legal__text ul,
.hm-legal__text ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

/* -------------------- FOOTER -------------------- */

.e-con.hm-footer {
    gap: 0;
    padding: clamp(70px, 10vh, 110px) var(--hm-gutter) 34px;
    background: var(--hm-char);
    border-top: 1px solid var(--hm-line);
    overflow: hidden;
}
.e-con.hm-footer__top {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    max-width: var(--hm-max);
    margin: 0 auto clamp(44px, 7vh, 80px);
}
.e-con.hm-footer__col {
    grid-column: span 3;
    gap: 14px;
}
.e-con.hm-footer__col--brand {
    grid-column: 1 / span 6;
}
.hm-logo--footer {
    width: 200px;
}
.hm-footer__title .elementor-heading-title {
    margin: 0;
    font-family: var(--hm-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--hm-gold);
}
.hm-footer__address,
.hm-footer__text,
.hm-footer__links {
    font-size: 15px;
    line-height: 1.8;
    color: var(--hm-body);
}
.hm-footer__text a,
.hm-footer__links a {
    text-decoration: none;
}
.hm-footer__links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.e-con.hm-footer__bottom {
    width: 100%;
    max-width: var(--hm-max);
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid var(--hm-line);
}
.hm-footer__credit {
    font-size: 13px;
    color: var(--hm-muted);
}
.hm-footer__credit a {
    text-decoration: none;
}

/* -------------------- ANIMATIONEN: ELEMENTOR-TRANSITIONS AUS -------------------- */
/* Elementor animiert transform an Containern/Widgets (0.4s). Bei Elementen, die GSAP steuert,
   fuehrt das zu Nachziehen und Spruengen (z. B. beim Damals/Heute-Pin). */
.hm-zeit__pin,
.hm-hero__inner,
.hm-hero__media,
.hm-hero__in,
.hm-reveal,
.hm-curtain,
.hm-split,
.hm-compare__now {
    transition: none !important;
}

/* -------------------- ANIMATIONEN: STARTZUSTAENDE -------------------- */
/* Gilt nur, wenn hockmatta.js aktiv ist (Klasse hm-js auf <html>) */

.hm-js .hm-reveal {
    opacity: 0;
    transform: translateY(28px);
}
.hm-js .hm-split .hm-wi {
    transform: translateY(105%);
}
.hm-js .hm-curtain {
    clip-path: inset(100% 0 0 0);
}
.hm-js .hm-hero__media {
    clip-path: inset(0 0 100% 0);
}
.hm-js .hm-hero__in {
    opacity: 0;
    transform: translateY(24px);
}
.hm-js .elementor-location-header {
    opacity: 0;
}
.hm-js .hm-compare__now {
    clip-path: inset(0 0 0 100%);
}
.hm-js .hm-compare__edge {
    left: 100%;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .hm-compare__now {
        clip-path: inset(0 0 0 50%);
    }
    .hm-compare__edge {
        left: 50%;
        opacity: 1;
    }
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 1024px) {
    .e-con.hm-intro__head,
    .e-con.hm-intro__quote,
    .hm-teaser__media,
    .e-con.hm-teaser__text,
    .hm-lead .hm-h2,
    .hm-lead__text,
    .hm-lead__text--wide,
    .hm-row__media,
    .hm-row__text,
    .hm-row--flip .hm-row__media,
    .hm-row--flip .hm-row__text,
    .hm-hostpage__photo,
    .hm-hostpage__text {
        grid-column: 1 / -1;
        order: 0;
    }
    .e-con.hm-intro__quote {
        padding-top: 0;
    }
    .hm-hostpage__photo {
        max-width: 420px;
    }
    .e-con.hm-amen {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .e-con.hm-amen__item:nth-child(3) {
        border-left: 0;
    }
    .e-con.hm-amen__item:nth-child(n+3) {
        border-top: 0;
    }
    .e-con.hm-zeit__pin,
    .e-con.hm-booking,
    .e-con.hm-cards {
        grid-template-columns: minmax(0, 1fr);
    }
    .e-con.hm-zeit__pin {
        min-height: 0;
    }
    .e-con.hm-ausflug {
        grid-template-columns: minmax(0, 1fr);
    }
    .hm-ausflug__media img {
        aspect-ratio: 16 / 10;
    }
    .e-con.hm-footer__col,
    .e-con.hm-footer__col--brand {
        grid-column: span 6;
    }
}

@media (max-width: 782px) {
    .admin-bar .elementor-location-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
    .hm-hero__cue {
        display: none;
    }
    .hm-eyebrow .elementor-heading-title {
        font-size: 11px;
        letter-spacing: 0.2em;
    }
    .hm-eyebrow .elementor-heading-title::before {
        width: 18px;
        margin-right: 10px;
    }
    .e-con.hm-amen {
        grid-template-columns: minmax(0, 1fr);
    }
    .e-con.hm-amen__item + .e-con.hm-amen__item {
        border-left: 0;
        border-top: 0;
    }
    .e-con.hm-footer__col,
    .e-con.hm-footer__col--brand {
        grid-column: 1 / -1;
    }
    .hm-form .elementor-field-group {
        width: 100%;
    }
}

/* -------------------- PRIVACYBEE (bestehend) -------------------- */

privacybee-widget div,
privacybee-widget div ul li,
privacybee-widget div a {
    max-width: 100% !important;
    line-height: inherit !important;
}
h1.prx_h1 {
    display: none;
}
.prx_text {
    max-width: 100% !important;
}
h1#privacybee-banner-title {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
    font-size: 20px !important;
}
