/*
Theme Name: Chez Rüfi
Author: eloq GmbH
Author URI: https://eloq.swiss/
Description: Die eloq GmbH macht nicht einfach Internetseiten. Wir bieten Ihnen durchdachte Konzepte, mischen Designkompetenz mit technischem Können und streben so nach der perfekten Internet-Präsenz unseres Kunden. Das vorliegende Theme wurde von uns mit Passion und Freude handgefertigt. Wir hoffen, Ihnen gefällt unsere Arbeit!
Version: 2.0
*/

/* ─── Fonts ──────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=PT+Serif+Caption:ital@0;1&display=swap");

/* ─── Page imports ───────────────────────────────────────────── */

@import url("css/aktuell.css");
@import url("css/angebot.css");
@import url("css/betrieb.css");
@import url("css/catering.css");
@import url("css/homepage.css");
@import url("css/jobs.css");
@import url("css/kontakt.css");
@import url("css/news-detail.css");
@import url("css/job-detail.css");

/* ─── Design tokens ──────────────────────────────────────────── */

:root {
    --white: #f3f2ee;
    --white-1: #fff;
    --grey: #d9d9d9;
    --gold-1: #e0dbcf;
    --gold-2: #bbb397;
    --gold-3: #8d8152;
    --gold-4: #2f2705;
    --yellow-1: #fbebc5;
    --yellow-2: #f7db99;
    --brown-1: #996827;
    --brown-2: #2e1b0d;
    --brown-3: #6a5a1a;

    --gradient-1: linear-gradient(90deg,
            #f3f2ee 0%,
            #e0dbcf 10.1%,
            #8d8152 80.77%,
            #2f2705 100%);
    --gradient-2: linear-gradient(90deg,
            #fbebc5 0%,
            #f7db99 10.1%,
            #996827 80.77%,
            #2e1b0d 100%);
    --gradient-3:
        linear-gradient(271deg, #6a5a1a 0.25%, #a6975e 44.37%, #8d8152 85.3%),
        #d9d9d9;
    --gradient-4: linear-gradient(180deg,
            rgba(37, 31, 10, 0.4) 30.91%,
            rgba(37, 31, 10, 0.01) 62%,
            rgba(37, 31, 10, 0.65) 100%);
    --gradient-5: linear-gradient(180deg,
            rgba(0, 0, 0, 0.24) 0%,
            rgba(0, 0, 0, 0.8) 100%);
    --gradient-6: radial-gradient(136.54% 136.54% at 50% 0%,
            #2f2705 29.58%,
            #000 100%);
    --gradient-7:
        radial-gradient(530.89% 141.42% at 0% 0%, #e0dbcf 0%, #f3f2ee 100%),
        linear-gradient(180deg, #f8f8f8 0%, #f4f1ee 48.56%);
    --gradient-8:
        radial-gradient(331.81% 141.42% at 100% 0%, #e0dbcf 0%, #f3f2ee 100%),
        linear-gradient(180deg, #f8f8f8 0%, #f4f1ee 48.56%),
        radial-gradient(530.89% 141.42% at 0% 0%, #e0dbcf 0%, #f3f2ee 100%),
        linear-gradient(180deg, #f8f8f8 0%, #f4f1ee 48.56%);
}

/* ─── Base ───────────────────────────────────────────────────── */



html {
    position: relative;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--gold-4);
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* ─── Typography ─────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
    background: linear-gradient(271deg,
            #6a5a1a 0.25%,
            #a6975e 44.37%,
            #8d8152 85.3%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "PT Serif Caption", sans-serif;
    margin: 0px;
}

h1 {
    font-size: clamp(2.5rem, 2.4955rem + 1.4525vw, 3.3125rem);
    margin-bottom: 15px;
}

h2 {
    font-size: clamp(2.25rem, 2.2469rem + 1.0056vw, 2.8125rem);
    margin-bottom: 40px;
}

h3 {
    font-size: clamp(1.375rem, 1.3747rem + 0.1117vw, 1.4375rem);
    margin-bottom: 5px;
}

b {
    font-weight: 300;
}

a {
    text-decoration: underline;
    cursor: pointer;
    color: #8a8058;
    outline: none !important;
    -webkit-transition: color 0.15s ease-in-out 0s;
    -o-transition: color 0.15s ease-in-out 0s;
    transition: color 0.15s ease-in-out 0s;
}

a:hover {
    color: #000;
}

.lead {
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 149.97%;
    /* 34.493px */
    letter-spacing: 0.46px;
}

/* ─── Spacing utilities ──────────────────────────────────────── */

.mt_15 {
    margin-top: 15px;
}

.mt_20 {
    margin-top: 20px;
}

.mt_25 {
    margin-top: 25px;
}

.mt_30 {
    margin-top: 30px;
}

.mt_50 {
    margin-top: 50px;
}

.mb_15 {
    margin-bottom: 15px;
}

.mb_20 {
    margin-bottom: 20px;
}

.mb_25 {
    margin-bottom: 25px;
}

.mb_30 {
    margin-bottom: 30px;
}

.mb_50 {
    margin-bottom: 50px;
}

.pt_50 {
    padding-top: 50px;
}

.pt_100 {
    padding-top: 100px;
}

.pt_150 {
    padding-top: 150px;
}

.pb_50 {
    padding-bottom: 50px;
}

.pb_100 {
    padding-bottom: 100px;
}

.pb_150 {
    padding-bottom: 150px;
}

/* ─── Images ─────────────────────────────────────────────────── */

img.bg_static_cover {
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
    font-family: "object-fit: cover; object-position: center;";
    max-width: 100%;
    width: 100%;
    height: 100%;
}

/* ─── Map ────────────────────────────────────────────────────── */

#map {
    position: absolute;
    bottom: 0px;
    width: 100%;
    top: 300px;
    height: 100vh;
}

/* ─── Buttons ────────────────────────────────────────────────── */

.btn {
    font-family: "Inter", sans-serif;
    border-radius: 30px;
    border: 2px solid var(--gold-2);
    color: var(--gold-3);
    display: flex;
    padding: 8px 11px 7px 15px;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 1.14px;
    text-transform: uppercase;
    transition:
        background 350ms ease-in-out,
        color 350ms ease-in-out;
}

.btn svg {
    transition: transform 350ms ease-in-out;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-within,
.btn-check:checked+.btn.btn-primary,
.btn.btn-primary.active,
.btn.btn-primary.show,
.btn.btn-primary:first-child:active,
:not(.btn-check)+.btn.btn-primary:active {
    color: var(--gold-3);
    background: var(--gold-1);
    border-color: var(--gold-2);
}

.btn-secondary {
    border: 2px solid var(--gold-2);
    color: var(--gold-3);
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:focus-within,
.btn-check:checked+.btn.btn-secondary,
.btn.btn-secondary.active,
.btn.btn-secondary.show,
.btn.btn-secondary:first-child:active,
:not(.btn-check)+.btn.btn-secondary:active {
    background: var(--white-1) !important;
    color: var(--gold-3) !important;
    border-color: var(--gold-2) !important;
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

/* ─── Forms ──────────────────────────────────────────────────── */

.form-group p,
.nachricht p {
    text-align: left;
}

.form-group label,
.nachricht label,
.pflichtfelder p {
    font-size: 12px;
    font-family: "Inter", sans-serif;
    text-align: left;
}

.form-control {
    border: 1px solid #000;
    height: 45px !important;
    color: #847774;
    border-radius: 3px;
    float: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.form-control:focus {
    outline: none;
    background-size:
        0 2px,
        100% 1px;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--white);
    border-color: var(--gold-3);
}

textarea.form-control {
    height: 100px !important;
}

.error {
    border-color: red !important;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: red;
}

.btn-send input.btn.btn-secondary {
    border: none;
    color: var(--gold-3);
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.84px;
    text-transform: uppercase;
    padding: 0;
}

.btn-send input.btn.btn-secondary:hover {
    background: transparent !important;
}

.btn-send div {
    display: flex;
    padding: 8px 0px 7px 15px;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 19px;
    background: transparent;
    border-radius: 30px;
    transition:
        background 300ms ease-in-out,
        padding 300ms ease-in-out;
}

.btn-send:hover div {
    background: var(--white);
    padding: 8px 11px 7px 15px;
}

.btn-send div::after {
    content: " ";
    display: block;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M0 13V0L15.423 6.5L0 13ZM1 11.5L12.85 6.5L1 1.5V5.3845L5.84625 6.5L1 7.6155V11.5Z' fill='%238D8152'/%3E%3C/svg%3E");
    width: 16px;
    height: 13px;
}

.btn-send p {
    margin: 0;
}

.wpcf7-spinner {
    position: absolute;
    margin: 0;
    background-color: var(--gold-3);
    transform: translateY(-22px);
}

#homepage .navbar.navbar-expand-lg.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 300ms ease;
}

#homepage:has(.navbar.navbar-expand-lg.is-sticky) {
    margin-bottom: 95px;
}

body.navbar-is-sticky {
    padding-top: 95px;
}

header#notHomepage {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    background: linear-gradient(90deg,
            rgba(249, 248, 244, 0.9) 0%,
            rgba(255, 254, 251, 0.9) 50%,
            rgba(249, 248, 244, 0.9) 100%);
    backdrop-filter: blur(10px);
    margin-bottom: 0px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    padding: 25px 0;
}

header .navbar ul,
header nav ul,
header ul {
    list-style: none;
    gap: 25px;
}

header .logo {
    max-height: 45px;
}

header .nav-link {
    text-align: right;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 1.08px;
    width: max-content;
    text-decoration: none;
    color: var(--gold-3);
    text-transform: uppercase;
}

/* Hero Home */

.main_nav {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.main_nav .container:not(.hero_text) {
    height: 100vh;
}

.main_nav img:not(.decorative) {
    height: 220px;
}

.main_nav .hero_wrapper {
    gap: 50px;
    position: relative;
    z-index: 3;
}

.main_nav .wrapper {
    position: relative;
    padding: 50px 0;
}

.main_nav .wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 180%;
    backdrop-filter: blur(20px);
    background: linear-gradient(180deg,
            rgba(37, 31, 10, 0.22) 12.37%,
            rgba(37, 31, 10, 0.33) 66.57%,
            rgba(37, 31, 10, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%);
    mask-image: linear-gradient(180deg, transparent 0%, black 40%);
    pointer-events: none;
    z-index: 2;
}

header .black-bar {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.24) 0%,
            rgba(0, 0, 0, 0.8) 100%);
    box-shadow: 0 1px 2px 0 rgba(141, 129, 82, 0.1) inset;
    backdrop-filter: blur(20px);
    padding: 25px 0;
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 10;
    overflow: hidden;
    transition:
        opacity 0.1s ease,
        max-height 0.1s ease,
        padding 0.1s ease;
    max-height: 200px;
    opacity: 1;
}

header .black-bar.is-hidden {
    opacity: 0;
    max-height: 0;
    padding: 0;
    pointer-events: none;
}

.main_nav .hero_text {
    padding-top: 6.66px;
    color: #fff;
    font-weight: 300;
    line-height: 22px;
    letter-spacing: 0.9px;
    margin-top: auto;
    position: relative;
    margin-bottom: 100px;
    z-index: 3;
}

.main_nav .wrapper .btn-secondary {
    color: var(--gold-1);
}

.main_nav .wrapper .btn-secondary:hover {
    background: transparent;
}

.main_nav .wrapper .btn-secondary svg path {
    transition: fill 350ms ease-in-out;
}

.main_nav .wrapper .btn-secondary:hover svg path {
    fill: var(--gold-3);
}

@media (min-width: 992px) {
    .main_nav img:not(.decorative) {
        height: auto;
        min-height: 220px;
    }
}

/* ─── Footer ─────────────────────────────────────────────────── */

footer {
    color: #fff;
    background-image: url(./img/texture.png);
    background-attachment: fixed;
    width: 100%;
    position: relative;
    padding: 100px 0;
    font-family: "Inter", sans-serif;
    z-index: 0;
}

footer .gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(136.54% 136.54% at 50% 0%,
            #2f2705 29.58%,
            #000 100%);
    z-index: 1;
    mix-blend-mode: hard-light;
    backdrop-filter: blur(0.6px);
}

footer .container {
    position: relative;
    z-index: 2;
}

footer .container .row:first-of-type {
    border-bottom: 1px solid var(--gold-3);
}

footer .container .col-lg-4 {
    border-right: 1px solid var(--gold-3);
}

footer .container .col-lg-4:last-of-type {
    border-right: none;
}

footer .container hr {
    color: var(--gold-3);
    opacity: 1;
}

footer p,
footer h3 {
    color: var(--gold-1);
    background: transparent;
    -webkit-text-fill-color: unset;
    -webkit-background-clip: unset;
}

footer p {
    margin-bottom: 0;
}

footer a.address {
    color: #f3f2ee;
    display: flex;
    flex-direction: row;
    gap: 4.5px;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.84px;
    text-transform: uppercase;
}

footer a,
footer a:hover,
footer a:active,
footer a:focus {
    color: var(--gold-1);
    text-decoration: none;
}

footer .footer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    list-style: none;
    padding-inline-start: 0;
}

footer img.logo {
    height: 50px;
}

footer .nav-link {
    display: flex;
    flex-direction: row;
    gap: 4.5px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.84px;
    font-size: 14px;
    font-weight: 500;
}

footer .nav-link::after {
    content: "";
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.0387 12.1064H4.95996V11.1064H17.0387L11.2465 5.3142L11.96 4.60645L18.96 11.6064L11.96 18.6064L11.2465 17.8987L17.0387 12.1064Z' fill='%23F3F2EE'/%3E%3C/svg%3E");
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

footer .icon a,
footer .icon a:hover {
    text-decoration: none;
}

footer .row {
    position: relative;
}

footer table {
    display: inline-block;
}

footer table tbody {
    width: 100%;
    display: flex;
    flex-direction: column;
}

footer table caption {
    color: var(--gold-1);
}

footer table td {
    color: var(--gold-2);
    text-transform: capitalize;
    display: inline-block;
    padding: 8px 0;
}

footer table tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid var(--gold-3);
}

footer table tr:last-of-type {
    border-bottom: none;
}

footer table tr td:nth-child(1) {
    font-family: "Inter", sans-serif;
}

footer table tr td:nth-child(2) {
    padding-left: 15px;
}

/* ─── Third-party overrides ──────────────────────────────────── */

.grecaptcha-badge {
    visibility: hidden;
}



@media (max-width: 991px) {

    #homepage .navbar,
    #notHomepage .navbar {
        padding: 15px 0;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
    }

    .navbar-collapse {
        overflow: hidden;
        max-height: 0;
        transition:
            max-height 0.4s ease,
            padding 0.4s ease;
        display: block !important;
    }

    .navbar-collapse.order-lg-3.order-2.justify-content-end.collapse.show {
        padding-bottom: 15px;
    }

    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
        position: relative;
        top: 0;
        height: max-content;
        padding-top: 30px;
        background: transparent;
    }

    .navbar-collapse.collapse.show {
        max-height: 500px;
    }

    .navbar-collapse.collapse.show:first-of-type {
        padding-top: 50px;
    }

    .navbar-collapse.collapsing {
        max-height: 500px;
        transition: max-height 0.4s ease !important;
        height: auto !important;
    }

    body.nav-open {
        overflow: hidden;
    }

    header .d-flex.flex-row.gap-3.flex-wrap {
        justify-content: center !important;
    }

    .hamburger {
        position: absolute;
        top: 0;
        right: 12.5px;
        border: none;
        z-index: 1050;
        outline: none;
        padding: 15px 0;
    }

    .hamburger:focus {
        outline: none;
        box-shadow: none;
        border: none;
    }

    .hamburger-line {
        transform-origin: center;
        transition: transform 400ms var(--ease-out-quad, ease-in-out);
    }

    .hamburger-line-top {
        transform: translateY(-3.5px);
    }

    .hamburger-line-bottom {
        transform: translateY(3.5px);
    }

    .hamburger.is-active .hamburger-line-top {
        transform: translateY(0) rotate(45deg);
    }

    .hamburger.is-active .hamburger-line-bottom {
        transform: translateY(0) rotate(-45deg);
    }


    header .nav-link {
        font-size: 24px;
    }

    header .navbar ul,
    header nav ul,
    header ul {
        gap: 30px;
    }

    .black-bar {
        display: none;
    }

    .main_nav img:not(.decorative) {
        max-height: none !important;
        width: 100% !important;
        height: 100% !important;
    }

    .main_nav .container:not(.hero_text) {
        min-height: 60svh;
    }

    footer hr {
        display: none;
    }

    footer .contact_channels {
        padding: 15px 0;
    }

    footer .contact-link {
        margin-bottom: 15px;
    }

    footer .socials {
        padding: 15px 0;
    }

    footer h3 {
        margin-top: 15px;
        margin-bottom: 15px !important;
    }

    footer .container .col-lg-4 {
        border-right: none;
    }

    footer img.logo {
        display: inline-block;
    }

    footer .footer-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

@media (max-width: 767px) {

    .container {
        padding: 0 24px
    };
 
    .navbar{
        padding: 15px 0;
    }

    .hamburger {
        right: 25px;
        top: -5px;
    }

    header .logo {
        max-height: 35px;
    }

    .navbar-toggle {
        background: transparent;
        margin-top: 20px;
        border-radius: 3px;
        border: 1px solid #8a8058;
    }
}

@media (max-width: 480px) {
    #footer {
        min-height: 90px;
        padding-top: 17px;
    }
}