/* Logo, Typografie und Menü des gemeinsamen Sitebuilder-Headers. */
@font-face {
    font-family: "Hypno Header Avenir";
    src: url("avenirltstd-light.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.public-site-header {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Hypno Header Avenir", "Avenir Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
}

.public-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.public-header-brand img {
    display: block;
    width: 85px;
    height: auto;
    flex-shrink: 0;
}

.public-header-brand-text {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    white-space: nowrap;
}

.public-header-brand-text strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 0;
}

.public-header-brand-text > span {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #333;
}

.public-site-header .public-header-navigation {
    display: block;
    font-size: 16px;
}

.public-header-navigation ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-header-navigation li {
    margin: 0 5px;
    padding: 0;
}

.public-header-navigation a {
    display: block;
    padding: 12px 15px;
    border: 1px solid #f8f7f1;
    border-radius: 10px;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.public-header-navigation a:hover,
.public-header-navigation a[aria-current="page"] {
    background: rgba(197, 157, 95, .12);
}

.public-header-brand:focus-visible,
.public-header-navigation a:focus-visible,
.public-header-toggle:focus-visible {
    outline: 2px solid #9d7640;
    outline-offset: 3px;
}

.public-header-toggle {
    display: none;
    width: 32px;
    height: 29px;
    padding: 7px;
    border: 1px solid #c59d5f;
    border-radius: 0;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
}

.public-header-toggle span {
    display: block;
    width: 16px;
    height: 3px;
    background: #c59d5f;
}

.public-header-toggle:hover,
.public-header-toggle[aria-expanded="true"] {
    border-color: #9d7640;
}

@media (max-width: 1150px) {
    .public-site-header {
        padding: 10px 5px;
        flex-wrap: wrap;
    }

    .public-site-header .public-header-navigation {
        width: 100%;
    }

    .public-header-navigation ul {
        display: block;
    }

    .public-header-navigation li {
        margin: 0;
    }

    .public-header-navigation a {
        white-space: normal;
        line-height: 1.4;
    }

    .public-site-header.has-menu-toggle .public-header-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .public-site-header.has-menu-toggle .public-header-navigation {
        display: none;
        position: absolute;
        z-index: 50;
        top: 100%;
        right: 5px;
        width: min(350px, calc(100% - 10px));
        padding: 8px;
        border: 1px solid #e5ddce;
        border-radius: 10px;
        background: #f8f7f1;
        box-shadow: 0 8px 24px rgba(45, 29, 9, .12);
    }

    .public-site-header.has-menu-toggle.is-menu-open .public-header-navigation {
        display: block;
    }
}

@media (max-width: 360px) {
    .public-header-brand {
        gap: 8px;
        padding-right: 0;
    }

    .public-header-brand img {
        width: 65px;
    }

    .public-header-brand-text strong {
        font-size: 16px;
    }

    .public-header-brand-text > span {
        font-size: 12px;
    }
}
