/* lato-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/lato-v25-latin-300.woff2') format('woff2');
}

/* lato-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lato-v25-latin-regular.woff2') format('woff2');
}

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

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

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

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --grey: #3f4041;
    --dark: #1e1a14;
    --brown: #5c3d1e;
    --gold: rgb(248, 179, 10);
    --muted: #fff;
    --text-soft: rgba(255, 255, 255, 0.75);
    --text-soft-2: rgba(255, 255, 255, 0.7);
    --text-soft-3: rgba(255, 255, 255, 0.6);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--grey);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
            radial-gradient(ellipse at 20% 20%, rgba(184, 137, 42, 0.08) 0%, transparent 60%),
            radial-gradient(ellipse at 80% 80%, rgba(92, 61, 30, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 20px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 0 9999px var(--grey);
    pointer-events: none;
    z-index: 2;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.container {
    width: 100%;
    animation: fadeUp 0.9s ease both;
    position: relative;
    z-index: 1;
}

.card {
    max-width: 480px;
    text-align: center;
    margin: auto 0;
    padding: 2rem;
}

.container {
    max-width: 760px;
    padding: 3rem 2rem;
}

.legal-page {
    justify-content: flex-start;
}

.logo-wrap {
    margin-bottom: 2.4rem;
}

.logo-svg {
    width: min(250px, 70vw);
    height: auto;
    margin: 0 auto 1.2rem;
    display: block;
}

.divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0 2rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.legal-content {
    padding: 1.5rem;
    backdrop-filter: blur(2px);
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.8rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold);
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
    text-align: left;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.8rem;
    font-size: 0.92rem;
    color: var(--muted);
    text-align: left;
}

.hours-grid .day {
    font-weight: 400;
    color: var(--muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.6;
}

.back-link svg {
    width: 14px;
    height: 14px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.container h2 {
    margin-top: 1.6rem;
}

.legal-content h2:first-child,
.legal-content section:first-child h2:first-child {
    margin-top: 0;
}

h3 {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    margin-top: 1.2rem;
}

section {
    margin-bottom: 1.8rem;
}

section:last-child {
    margin-bottom: 0;
}

p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-soft);
    margin-bottom: 0.7rem;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    margin: 0.5rem 0 0.7rem 1.2rem;
    color: var(--text-soft-2);
    font-size: 0.95rem;
    line-height: 1.75;
    padding-left: 0.4rem;
}

.uppercase-block {
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--text-soft-3);
    margin-bottom: 0.7rem;
    word-break: break-word;
}

.source {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

a {
    color: var(--text-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    overflow-wrap: anywhere;
}

a:hover {
    opacity: 0.5;
}

.container a {
    border-bottom-color: rgba(248, 179, 10, 0.3);
}

footer {
    margin-top: 3rem;
    font-size: 0.72rem;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.8;
}

footer a,
.contact-text a {
    color: var(--muted);
}

.footer-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.footer-separator {
    opacity: 0.55;
}

img {
    max-width: 100%;
    height: auto;
}

.menu-link-wrap {
    text-align: center;
    margin-top: 2rem;
}

.menu-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    padding: 0.6rem 1.6rem;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, opacity 0.2s;
}

.menu-link:hover {
    background: var(--gold);
    color: var(--dark);
    opacity: 1;
}

.speisekarte-page {
    max-width: 960px;
}

.speisekarte-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.speisekarte-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    body::after {
        inset: 12px;
    }

    .card,
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card {
        max-width: 100%;
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .container {
        max-width: 100%;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .legal-content {
        padding: 1.1rem;
        border-radius: 14px;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 0.98rem;
        line-height: 1.4;
    }

    h3,
    p,
    ul,
    .contact-text,
    .hours-grid {
        font-size: 0.92rem;
    }

    .logo-svg {
        width: min(220px, 72vw);
    }

    footer {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }

    .speisekarte-images {
        gap: 1rem;
    }

    .speisekarte-images img {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    body::after {
        inset: 8px;
    }

    .card,
    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .legal-content {
        padding: 1rem 0.9rem;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .divider {
        gap: 0.6rem;
        margin: 1rem 0 1.5rem;
    }

    .contact {
        gap: 0.95rem;
    }

    .contact-item {
        gap: 0.65rem;
    }

    .contact-icon {
        width: 16px;
        height: 16px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .hours-grid .day {
        margin-top: 0.3rem;
    }

    ul {
        margin-left: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.15rem;
    }

    .footer-separator {
        display: none;
    }

    .speisekarte-images {
        gap: 0.75rem;
    }

    .speisekarte-images img {
        border-radius: 4px;
    }
}