/* ==========================================================================
   Custom CSS – Chalet Landgut
   ========================================================================== */


/* --------------------------------------------------------------------------
   Schrift: Playfair Display für Überschriften (lokal eingebunden)
   -------------------------------------------------------------------------- */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-display-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/playfair-display-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}

:root {
    --heading-font: 'Playfair Display', serif;
    --headline-font: 'Playfair Display', serif;
}


/* Überschriften etwas größer, da Playfair Display kleiner wirkt */
:root {
    --h1-size: 2.55em;   /* vorher 2.22em */
    --h2-size: 2.2em;    /* vorher 1.92em */
    --h3-size: 1.5em;    /* vorher 1.33em */
}

@media screen and (max-width: 768px) {
    :root {
        --h1-size: 2.2em;    /* vorher 2em */
        --h2-size: 1.95em;   /* vorher 1.75em */
    }
}

/* --------------------------------------------------------------------------
   Footer: oben Primärfarbe, unterer Streifen Sekundärfarbe (wie Fuxbau)
   -------------------------------------------------------------------------- */

.footer .footer-top {
    padding-top: 50px;
    background-color: var(--bs-primary);
    color: var(--primary-text-color);
}

.footer .footer-top :is(h1, h2, h3, h4, h5, h6, p, a, span) {
    color: var(--primary-text-color);
}

.footer .copyright {
    background-color: var(--bs-secondary);
    color: var(--secondary-text-color);
}

.footer .copyright :is(p, a) {
    color: var(--secondary-text-color);
}
.footer .footer-top h4::after {
    background: var(--primary-text-color);
}

/* --------------------------------------------------------------------------
   Textblock mit Bild: Balken hinter Headlines immer in Primärfarbe
   -------------------------------------------------------------------------- */

.frame.frame-type-compuart_contentinfo .wrapper .headline {
    background: var(--bs-primary);
    color: var(--bs-tertiary);
}

/* center smoobu availability calendar */
.calendarWidget {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* center smoobu booking tool */
#apartmentIframeAll iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* header badge: smaller, top right corner on mobile */
@media (max-width: 767px) {
    .frame.frame-type-compuart_disruptiveelement,
    .frame.frame-type-compuart_disruptiveelement-noheader {
        width: 110px;
        height: 110px;
        top: 10px;
        right: 10px;
    }
}