* {
    box-sizing: border-box;
}

html {
    font-size: 1em;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

::selection {
    color: #014153;
    background-color: #ED6A4E;
}

.container {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 62em) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.button1 {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-block;
    color: white;
    padding: 0.6rem 1.15rem;
    border-radius: 0.7rem;
    border: none;
    background-color: cornflowerblue;
    letter-spacing: 0.01em;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 0.06rem 0.35rem rgba(0, 20, 80, 0.45);
    box-shadow: 0 0.2rem 0.9rem rgba(0, 0, 202, 0.35);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
    will-change: transform;
}

.button1:hover {
    background-color: rgb(93, 143, 236);
    transform: translateY(-0.12rem);
}

.button1:active {
    transform: translateY(0);
}

.button1--primary {
    background-color: #014153;
}

.button1--primary:hover {
    background-color: #002d3a;
}

.button1--transparent {
    -webkit-backdrop-filter: blur(0.6rem);
    backdrop-filter: blur(0.6rem);
    background-color: rgba(255, 255, 255, 0.08);
    border: 0.09rem solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0.15rem 0.7rem rgba(0, 0, 0, 0.18),
                inset 0 0 0 rgba(255, 255, 255, 0);
    overflow: hidden;
}

.button1--transparent::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.45rem;
    width: 0;
    height: 0.11rem;
    border-radius: 0.11rem;
    background-color: #ffffff;
    box-shadow: 0 0 0.35rem rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.button1--transparent:hover {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0.3rem 1rem rgba(119, 154, 218, 0.28),
                inset 0 0 1.2rem rgb(203, 211, 228);
    transform: translateY(-0.12rem);
}

.button1--transparent:hover::after {
    width: 55%;
}

.button1--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.button1__icon {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.header__nav-li:last-child .button1--transparent {
    background-color: rgba(29, 149, 219, 0.85);
    border-color: rgba(255, 255, 255, 0.75);
}

.header__nav-li:last-child .button1--transparent:hover {
    background-color: rgb(33, 149, 216);
    box-shadow: 0 0.3rem 1.1rem rgba(118, 210, 247, 0.5);
}

.button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999999px;
    border: none;
    background-color: cornflowerblue;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.button:hover {
    text-decoration: underline;
    background-color: rgb(93, 143, 236);
}

.button--primary {
    background-color: #014153;
}

.button--primary:hover {
    background-color: #002d3a;
}

.button--accent {
    background-color: #db1d1d;
}

.button--accent:hover {
    background-color: #b81616;
}

.desktop-only {
    display: none;
}

@media (min-width: 62em) {
    .desktop-only {
        display: initial;
    }
}

.ul__Animation {
    animation: fadeInUl 2.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeInUl {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 62em) {
    .header__nav-ul.ul__Animation {
        position: absolute;
        top: 50%;
        right: 4rem;
        transform: translateY(-50%);
        gap: 0.9rem;
        animation: none;
        opacity: 1;
    }
}

.header__logo-link {
    position: absolute;
    top: 50%;

    left: 0;
    display: block;
    width: 22rem;
    transform-origin: left center;
    will-change: transform;
    animation: shrinkLogoMobile linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 150px;
}

@media (min-width: 62em) {
    .header__logo-link {
        max-width: 20rem;
        max-width: 59vw;
        left: 0;
        transform: translate(20%, -50%) scale(0.5);
        animation: none;
    }
}

.header__logo {
    width: 100%;
    filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.5));
}

.header__back-btn {
    display: block;
    width: 100%;
    color: #db1d1d;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-shadow: 0 0 0.5rem rgba(219, 29, 29, 0.55);
    filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.5));
}

.header__back-btn__caps {
    text-transform: uppercase;
}

.header__nav-ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

@media (min-width: 62em) {
    .header__nav-ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }
}

.header__nav-li {
    display: inline-block;
    list-style-type: none;
}

.header__nav-li--desktop-only {
    display: none;
}

@media (min-width: 62em) {
    .header__nav-li--desktop-only {

        display: inline-flex;
    }
}

@media (min-width: 62em) and (max-width: 75em) {
    .header__nav-li .button1 {
        padding-block: 0.6rem;
        padding-inline: clamp(0.55rem, 4.615vw - 2.31rem, 1.15rem);
        font-size: clamp(0.85rem, 1vw + 0.23rem, 0.98rem);
    }
}

.header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 61.2px;
    animation: navBackgroundMobile linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 150px;
    height: 61.2px;
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width: 62em) {
    .header__nav {
        --nav-pad-r: 2rem;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding-left: 2rem;
        padding-right: var(--nav-pad-r);
        height: 72px;
        min-height: 80px;
        background-color: rgba(99, 121, 223, 1);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        box-shadow: 0 0.2rem 1.1rem rgba(0, 0, 0, 0.35);
        animation: none;
    }
}

.page--speisehof .header__nav {
    animation: none;
    background-color: rgba(99, 121, 223, 1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0.2rem 1.1rem rgba(0, 0, 0, 0.35);
    padding-top: 0;
    padding-bottom: 0;
    height: 61.2px;
    min-height: 61.2px;
}

.page--speisehof .header__logo-link {
    top: 50%;
    left: 0;
    width: 8.325rem;
    transform: translate(10%, -50%);
    animation: none;
    border-radius: 0.9rem;
    text-decoration: none;
    box-shadow: 0 0 0.9rem 0.05rem rgba(255, 255, 255, 0.45);
}

@media (min-width: 62em) {
    .page--speisehof .header__nav {
        min-height: 80px;
        height: 72px;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 4.4rem;
        justify-content: space-between;
    }

    .page--speisehof .header__logo-link {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 11rem;
        max-width: 11rem;
        flex: 0 0 auto;
    }
}

.speisehof-hero {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(184deg, rgba(0, 19, 66, 0.5) 0%, rgba(99, 121, 223, 1) 55%, rgba(99, 121, 223, 1) 100%);
    padding-top: 7.5rem;
    padding-bottom: 3rem;
}

.speisehof-hero::before {
    content: "Guten Appetit";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.06);
    font-size: min(calc(100vw / 5.5), 7rem);
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.speisehof-hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.speisehof-hero__text {
    color: #ffffff;
}

.speisehof-hero__title {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

.speisehof-hero__title::after {
    content: "";
    display: block;
    width: 7.5rem;
    height: 0.25rem;
    background-color: #db1d1d;
    margin: 1rem auto 0;
    box-shadow: 0 0 0.25rem rgba(211, 12, 12, 0.5);
}

.speisehof-hero__subtitle {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

.speisehof-hero__photo {
    margin: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: 22rem;
}

.speisehof-hero__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    border: 0.3rem solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
}

@media (min-width: 36em) {
    .speisehof-hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 62em) {
    .speisehof-hero {
        padding-top: 9rem;
        padding-bottom: 4rem;
    }
    .speisehof-hero__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 3.5rem;
    }
    .speisehof-hero__title {
        font-size: 3rem;
    }
    .speisehof-hero__title::after {
        margin: 1rem 0 0;
    }
    .speisehof-hero__photo {
        max-width: 26rem;
    }
}

.heading {
    color: #014153;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2rem 0;
    overflow-wrap: break-word;
}

.heading--centered {
    text-align: center;
}

.heading__pre-text {
    display: block;
    font-size: 1.5rem;
}

.mainPages .heading {
    text-transform: none;
}

.mainPages .heading__pre-text {
    margin-bottom: 0.65rem;
}

.mainPages {
    padding-bottom: 7rem;
    background-color: rgb(221, 227, 233);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

@keyframes navBackgroundDesktop {
    from {
        background-color: transparent;
        backdrop-filter: blur(0px);
        height: 90px;
    }
    to {
        background-color: rgba(99, 121, 223, 1);
        backdrop-filter: blur(8px);
        height: 72px;
        box-shadow: 0 0.2rem 1.1rem rgba(0, 0, 0, 0.35);
    }
}

@keyframes shrinkLogoDesktop {
    from {
        left: 50%;
        transform: translate(-170%, 0%) scale(1);
    }
    to {
        left: 0;
        transform: translate(20%, -50%) scale(0.5);
    }
}

@keyframes navBackgroundMobile {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgba(99, 121, 223, 1);
        box-shadow: 0 0.2rem 1.1rem rgba(0, 0, 0, 0.35);
    }
}

@keyframes shrinkLogoMobile {
    from {
        transform: translate(calc(50vw - 45%), 62.69%) scale(0.9);
    }
    to {
        transform: translate(10%, -50%) scale(0.378);
    }
}

.header__burger {
    position: fixed;
    top: calc((61.2px - 1.44rem) / 2);
    right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2.025rem;
    height: 1.44rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2100;
}

.header__burger-bar {
    display: block;
    width: 100%;
    height: 0.225rem;
    border-radius: 0.225rem;
    background-color: #ffffff;
    box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.header__burger.is-active .header__burger-bar:nth-child(1) {
    transform: translateY(0.6075rem) rotate(45deg);
}
.header__burger.is-active .header__burger-bar:nth-child(2) {
    opacity: 0;
}
.header__burger.is-active .header__burger-bar:nth-child(3) {
    transform: translateY(-0.6075rem) rotate(-45deg);
}

.header__burger.is-active .header__burger-bar {
    background-color: #ff3b3b;
    box-shadow: 0 0 0.5rem rgba(255, 59, 59, 0.9), 0 0 1rem rgba(255, 59, 59, 0.6);
}

@media (min-width: 62em) {
    .header__burger {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;

    max-width: 20rem;
    background-color: rgba(99, 121, 223, 1);
    box-shadow: -0.2rem 0 1.5rem rgba(0, 0, 0, 0.4);
    z-index: 2000;
    padding: 7rem 1.5rem 2rem;
    transform: translateX(113%);
    transition: transform 0.32s ease;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

body:has(.mobile-menu.is-open) .header__nav {
    box-shadow: none !important;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.mobile-menu__link {
    display: block;
    padding: 1rem 0.25rem;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.15rem;
    text-decoration: none;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu__link:hover {
    color: #ffd5d5;
    padding-left: 0.75rem;
}

.mobile-menu__link--icon {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mobile-menu__icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1500;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 62em) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }
}

.mobile-fab {
    position: fixed;
    right: 1rem;
    bottom: 2rem;
    z-index: 2200;
    display: flex;
    flex-direction: column;
    border-radius: 2rem;
    overflow: hidden;
    background-color: rgba(180, 210, 255, 0.35);
    -webkit-backdrop-filter: blur(0.6rem);
    backdrop-filter: blur(0.6rem);
    border: 0.09rem solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0.3rem 1rem rgba(78, 144, 237, 0.45), 0 0 1.4rem rgba(120, 170, 255, 0.55);
    opacity: 0;
    transform: translateY(1rem) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.35s ease, right 0.35s ease, border-radius 0.35s ease;
}

.mobile-fab.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-fab__half {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-fab__half svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-fab__half--phone {
    color: #2f6fed;
    border-bottom: 0.06rem solid rgba(255, 255, 255, 0.45);
}

.mobile-fab__half--phone:active {
    background-color: rgba(47, 111, 237, 0.18);
}

.mobile-fab__half--mail {
    color: #e23b3b;
}

.mobile-fab__half--mail:active {
    background-color: rgba(226, 59, 59, 0.18);
}

.mobile-fab__label {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    transition: max-width 0.3s ease, margin-left 0.3s ease, opacity 0.2s ease;
}

.mobile-fab.is-menu-expanded {
    border-radius: 1rem;
}

.mobile-fab.is-menu-expanded .mobile-fab__half {
    width: 100%;
}

.mobile-fab.is-menu-expanded .mobile-fab__label {
    max-width: 6rem;
    margin-left: 0.45rem;
    opacity: 1;
}

@media (min-width: 62em) {
    .mobile-fab {
        display: none;
    }
}

.quote {
    background-color: #d6defbdb;
    color: #202c44;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.quote__figure {
    margin: 0;
}

.quote__blockquote {
    margin: 0;
    font-weight: bold;
    padding-bottom: 1.5rem;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.075em;
}

.quote__paragraph {
    margin: 0;
}

.quote__paragraph::before {
    content: "„";
}

.quote__paragraph::after {
    content: "“";
}

.footer {
    background-color: #014153;
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
}

.footer::selection,
.footer ::selection {
    color: #ffffff;
    background-color: #4e90ed;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.footer__col {
    flex: 1 1 14rem;
}

.footer__brand {
    margin: 0 0 0.6rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer__address {
    margin: 0;
    font-style: normal;
    line-height: 1.6;
}

.footer__heading {
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__contact-list,
.footer__legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer__icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.6);
}

.footer__text-inline {
    color: rgba(255, 255, 255, 0.85);
}

.footer__text {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.footer__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.footer__bottom {
    border-top: 0.06rem solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    text-align: center;
}

.footer__copyright {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.speisehof__content {
    background-color: #ffffff;
    max-width: 65rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    color: #24313a;
    line-height: 1.7;
    overflow-wrap: break-word;
}

@media (min-width: 62em) {
    .speisehof__content {
        padding: 3rem 3.5rem;
    }
}

.speisehof__content h3 {
    color: #014153;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.15rem solid #db1d1d;
}

.speisehof__content p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.speisehof__content a {

    word-break: break-word;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.speisehof__content a:hover {
    color: #db1d1d;
}

.speisehof__figure {
    margin: 2rem 0;
    text-align: center;
}

.speisehof__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.speisehof__caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #5b6b73;
}

.speisehof__highlight {
    background-color: #eef3fb;
    border-left: 0.3rem solid #db1d1d;
    padding: 1rem 1.25rem;
    border-radius: 0.4rem;
    margin-bottom: 1.5rem;
}

.speisehof__highlight p {
    margin: 0;
}

.speisehof__address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: 1.9;
}

.speisehof__cta {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

.speisehof__crosslink {
    max-width: 65rem;
    margin: 2rem auto 0;
    text-align: center;
}

.header__burger,
.mobile-menu__link,
.mobile-fab__half {

    touch-action: manipulation;
}

@media (max-width: 61.99em) {
    .header__back-btn {
        font-size: 0.855rem;
    }

    html {
        background-color: rgb(99, 121, 223);
    }

    .footer {
        padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 61.99em) and (orientation: landscape) {
    html {
        background-color: rgb(221, 227, 233) !important;
    }
}
