/*
 * FeWo – Sitepackage-Design "Edles Beige"
 * Farben, Schriften und Abstände zentral über die Variablen in :root anpassen.
 */

/* ------------------------------------------------------------------ *
 * Schriften (lokal gehostet, SIL Open Font License)
 * ------------------------------------------------------------------ */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../Fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../Fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../Fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../Fonts/jost-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../Fonts/jost-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../Fonts/jost-latin-600-normal.woff2") format("woff2");
}

/* ------------------------------------------------------------------ *
 * Design-Tokens
 * ------------------------------------------------------------------ */
:root {
    --c-ground: #F5EFE6;        /* Sandbeige – Seitenhintergrund */
    --c-surface: #FBF8F3;       /* Elfenbein – Karten, Formulare */
    --c-beige: #E9DFD0;         /* tieferes Beige – Bänder */
    --c-taupe: #CDBBA0;
    --c-line: #E2D6C4;
    --c-line-strong: #D4C4AC;
    --c-text: #2A221B;          /* Espresso */
    --c-text-soft: #4E4339;
    --c-muted: #6E6256;
    --c-accent: #7A5C36;        /* Bronze */
    --c-accent-hover: #5E4527;
    --c-accent-soft: #6B5233;
    --c-dark: #2E2620;
    --c-darker: #251E19;
    --c-on-dark: #F1E8DA;
    --c-on-dark-muted: #BCAE9A;
    --c-gold: #D8BF94;

    --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

    --container: 1240px;
    --gutter: 24px;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 20px 50px rgba(60, 40, 20, 0.08);
    --header-h: 84px;
    --section-space: clamp(56px, 8vw, 112px);
}

/* ------------------------------------------------------------------ *
 * Basis
 * ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-ground);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
    overflow: hidden;
}

img,
picture,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--c-accent);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--c-accent-hover);
}

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: inherit;
}

h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
h4 { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-accent); }

p {
    margin: 0 0 1em;
}

.lead {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.35;
    color: var(--c-text-soft);
}

.eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--c-text);
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
    background: var(--c-accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--c-accent-hover);
    color: #fff;
}

.btn--outline {
    border-color: var(--c-text);
    color: var(--c-text);
}

.btn--outline:hover {
    background: var(--c-text);
    color: var(--c-surface);
}

/* ------------------------------------------------------------------ *
 * Kopfbereich & Navigation
 * ------------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 239, 230, 0.94);
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.site-header__inner {
    max-width: var(--container);
    min-height: var(--header-h);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    color: inherit;
    text-decoration: none;
}

.brand:hover {
    color: inherit;
}

.brand__name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.brand__tagline {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.75;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 calc(100% - 8px);
    background-repeat: no-repeat;
    transition: background-size 0.25s;
}

.main-nav__link:hover,
.main-nav__item.is-active > .main-nav__link {
    color: inherit;
    background-size: 100% 1px;
}

.main-nav__sub {
    position: absolute;
    left: -18px;
    top: 100%;
    min-width: 220px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.main-nav__item:hover > .main-nav__sub,
.main-nav__item:focus-within > .main-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__sub a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--c-text);
    font-size: 15px;
    text-decoration: none;
}

.main-nav__sub a:hover,
.main-nav__subitem.is-active a {
    background: var(--c-ground);
    color: var(--c-text);
}

.main-nav__cta-mobile {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--c-taupe);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Startseite: Kopfbereich liegt transparent über dem Slider */
.site-header--overlay {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #fff;
}

.site-header--overlay .menu-toggle {
    border-color: rgba(255, 255, 255, 0.6);
}

.site-header--overlay .site-header__cta {
    background: var(--c-surface);
    color: var(--c-text);
}

.site-header--overlay.is-scrolled {
    background: rgba(245, 239, 230, 0.96);
    border-bottom-color: var(--c-line);
    color: var(--c-text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header--overlay.is-scrolled .menu-toggle {
    border-color: var(--c-taupe);
}

.site-header--overlay.is-scrolled .site-header__cta {
    background: var(--c-accent);
    color: #fff;
}

@media (max-width: 960px) {
    .site-header__cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        position: relative;
        z-index: 2;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
        background: var(--c-ground);
        color: var(--c-text);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav__item {
        border-bottom: 1px solid var(--c-line);
    }

    .main-nav__link {
        width: 100%;
        min-height: 60px;
        font-family: var(--font-display);
        font-size: 28px;
        letter-spacing: 0;
        background: none;
    }

    .main-nav__sub {
        position: static;
        min-width: 0;
        margin: -6px 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav__sub a {
        padding: 8px 0;
        color: var(--c-text-soft);
        font-size: 17px;
    }

    .main-nav__cta-mobile {
        display: inline-flex;
        align-self: flex-start;
    }

    /* backdrop-filter würde das fixierte Menü auf die Kopfzeile begrenzen */
    body.is-menu-open .site-header {
        color: var(--c-text);
        background: var(--c-ground);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-menu-open .site-header .menu-toggle {
        border-color: var(--c-taupe);
    }

    .brand {
        position: relative;
        z-index: 2;
    }
}

/* ------------------------------------------------------------------ *
 * Slider (Startseite)
 * ------------------------------------------------------------------ */
.hero {
    position: relative;
    height: clamp(560px, 58vw, 820px);
    min-height: 560px;
    overflow: hidden;
    background: var(--c-dark);
    color: #fff;
}

.hero__slides,
.hero__slide,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__slide {
    margin: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide picture,
.hero__slide img {
    width: 100%;
    height: 100%;
}

.hero__slide img {
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.hero__slide.is-active img {
    transform: scale(1.06);
}

.hero__slide--placeholder {
    background: var(--c-taupe);
}

.hero__shade {
    background: rgba(30, 22, 16, 0.42);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--header-h) + 32px) var(--gutter) 128px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 28px;
}

.hero__content {
    max-width: 760px;
}

.hero__content .frame {
    margin: 0;
    padding: 0;
    max-width: none;
}

.hero__content h1,
.hero__content h2 {
    margin: 0 0 18px;
    font-size: clamp(46px, 6.4vw, 92px);
    line-height: 1.02;
    color: #fff;
}

.hero__content h3,
.hero__content h4,
.hero__content .eyebrow {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #F1E3C8;
}

.hero__content em {
    color: #F1E3C8;
}

.hero__content p {
    max-width: 34em;
    font-size: 18px;
    color: #F4EDE2;
}

.hero__content a {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    margin-top: 8px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--c-surface);
    color: var(--c-text);
    font-weight: 500;
    text-decoration: none;
}

.hero__content a:hover {
    background: #fff;
    color: var(--c-text);
}

.hero__content .ce-bodytext > *:last-child {
    margin-bottom: 0;
}

.hero__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-btn--toggle {
    margin-left: 6px;
}

.slider-btn--toggle .icon-play,
.slider-btn--toggle.is-paused .icon-pause {
    display: none;
}

.slider-btn--toggle.is-paused .icon-play {
    display: block;
}

.slider-dots {
    display: flex;
    align-items: center;
}

.slider-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.slider-dot span {
    display: block;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s, background-color 0.4s;
}

.slider-dot.is-active span {
    width: 32px;
    background: #fff;
}

/* ------------------------------------------------------------------ *
 * Suchleiste
 * ------------------------------------------------------------------ */
.search {
    position: relative;
    z-index: 5;
    max-width: var(--container);
    margin: -64px auto 0;
    padding: 0 var(--gutter);
}

.search__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.search__field {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--c-ground);
    cursor: pointer;
}

.search__field--apartment {
    flex-basis: 220px;
}

.search__field--guests {
    flex-basis: 130px;
}

.search__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.search__field input,
.search__field select {
    width: 100%;
    min-height: 30px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--c-text);
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.search__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5C36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    padding-right: 22px;
}

.search__field input:focus,
.search__field select:focus {
    outline: none;
}

.search__field:focus-within {
    box-shadow: inset 0 0 0 2px var(--c-accent);
}

.search__submit {
    flex: 1 1 190px;
    min-height: 64px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--c-accent);
    color: #fff;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search__submit:hover {
    background: var(--c-accent-hover);
}

.search__error {
    flex: 1 1 100%;
    margin: 4px 8px 2px;
    color: #A3271C;
    font-size: 15px;
}

/* ------------------------------------------------------------------ *
 * Inhaltsbereich (fluid_styled_content)
 * ------------------------------------------------------------------ */
.page-content {
    padding: var(--section-space) 0;
}

.page-content--start {
    padding-top: clamp(48px, 7vw, 96px);
}

.page-content > .frame {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.page-content > .frame + .frame {
    margin-top: clamp(40px, 5vw, 72px);
}

/* Abschnitte mit Hintergrund laufen über die volle Breite */
.page-content > .frame-beige,
.page-content > .frame-dark {
    max-width: none;
    padding: var(--section-space) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}

.page-content > .frame-beige {
    background: var(--c-beige);
}

.page-content > .frame-dark {
    background: var(--c-dark);
    color: var(--c-on-dark);
}

.page-content > .frame-dark a {
    color: var(--c-gold);
}

.page-content > .frame-dark h4 {
    color: var(--c-gold);
}

.page-content > .frame-beige + .frame,
.page-content > .frame-dark + .frame,
.page-content > .frame + .frame-beige,
.page-content > .frame + .frame-dark {
    margin-top: 0;
}

.page-content > .frame-beige:last-child,
.page-content > .frame-dark:last-child {
    margin-bottom: calc(var(--section-space) * -1);
}

.page-content > .frame:first-child.frame-beige,
.page-content > .frame:first-child.frame-dark {
    margin-top: calc(var(--section-space) * -1);
}

.page-content--start > .frame:first-child.frame-beige,
.page-content--start > .frame:first-child.frame-dark {
    margin-top: 0;
}

.page-content > .frame-card > * {
    padding: clamp(28px, 4vw, 48px);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ce-bodytext {
    max-width: 46em;
}

.ce-bodytext ul {
    padding-left: 1.2em;
}

.ce-bodytext li::marker {
    color: var(--c-accent);
}

.ce-gallery img,
.ce-gallery picture {
    border-radius: var(--radius-sm);
}

.ce-headline-center { text-align: center; }
.ce-headline-right { text-align: right; }

.page-content table {
    width: 100%;
    border-collapse: collapse;
}

.page-content th,
.page-content td {
    padding: 12px 0;
    border-bottom: 1px solid var(--c-line);
    text-align: left;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: 2em 0;
}

/* ------------------------------------------------------------------ *
 * Buchungs-Extension (EXT:fewo_booking) im beigen Design
 * (doppelte Klasse, damit diese Werte das CSS der Extension überschreiben)
 * ------------------------------------------------------------------ */
.fewo.fewo {
    --fewo-accent: var(--c-accent);
    --fewo-accent-contrast: #fff;
    --fewo-text: var(--c-text);
    --fewo-muted: var(--c-muted);
    --fewo-border: var(--c-line);
    --fewo-surface: var(--c-surface);
    --fewo-surface-alt: #F1E9DD;
    --fewo-booked: #E3D9CB;
    --fewo-booked-text: #8E8172;
    --fewo-radius: var(--radius);
    --fewo-radius-sm: 12px;
    --fewo-shadow: var(--shadow);
    --fewo-sticky-offset: var(--header-h);
    font-family: var(--font-body);
}

.fewo .fewo-detail__title,
.fewo .fewo-section__title,
.fewo .fewo-card__title,
.fewo .fewo-modal__title,
.fewo .fewo-confirmation__title,
.fewo .fewo-month__title,
.fewo .fewo-price__amount {
    font-family: var(--font-display);
    font-weight: 500;
}

.fewo .fewo-section__title {
    font-size: clamp(32px, 3.6vw, 44px);
}

.fewo .fewo-card__title {
    font-size: 30px;
    font-weight: 600;
}

.fewo .fewo-price__amount {
    font-size: 30px;
    font-weight: 600;
}

.fewo .fewo-price--large .fewo-price__amount {
    font-size: 42px;
}

.fewo .fewo-btn {
    border-radius: 999px;
    font-weight: 500;
}

.fewo .fewo-month__title {
    font-size: 24px;
    font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * Fußbereich
 * ------------------------------------------------------------------ */
.site-footer {
    background: var(--c-darker);
    color: var(--c-on-dark-muted);
    font-size: 15px;
}

.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px var(--gutter);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__brand .brand__name {
    color: var(--c-on-dark);
    font-size: 26px;
}

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
}

.site-footer__contact a {
    color: var(--c-on-dark);
    text-decoration: none;
}

.site-footer__label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-on-dark-muted);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
}

.site-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-on-dark-muted);
}

.site-footer__legal a:hover {
    color: var(--c-on-dark);
}

/* ------------------------------------------------------------------ *
 * Mobil
 * ------------------------------------------------------------------ */
@media (max-width: 767px) {
    :root {
        --header-h: 72px;
        --gutter: 18px;
    }

    body {
        font-size: 16px;
    }

    .brand__name {
        font-size: 24px;
    }

    .hero {
        height: auto;
        min-height: 620px;
    }

    .hero__inner {
        min-height: 620px;
        padding-bottom: 104px;
    }

    .hero__controls .slider-dots {
        display: none;
    }

    .search {
        margin-top: -48px;
    }

    .search__field {
        flex-basis: 100%;
    }

    .search__field:nth-child(2),
    .search__field:nth-child(3) {
        flex-basis: calc(50% - 5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

    .hero__slide.is-active img {
        transform: none;
    }
}
