@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
    --cream: #f6f0e7;
    --cream-2: #eee3d5;

    --mocha: #4a3328;
    --mocha-light: #76513f;
    --mocha-dark: #2f201a;

    /* Dunkle Farbe nur für den Header */
    --header-mocha: #3f2a22;

    --latte: #b89a82;
    --ink: #2b211d;
    --line: rgba(74, 51, 40, 0.18);

    --shell: 1180px;
    --radius: 2rem;

    --font-main: "Quicksand", sans-serif;
}

/* Allgemeine Einstellungen */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
    font-family: var(--font-main);
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.section-pad {
    padding: clamp(5rem, 9vw, 9rem) 0;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #4a3328 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.header-inner {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 2rem;
}

.brand {
    color: var(--cream);

    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;

    letter-spacing: 0.17em;
    text-decoration: none;
}

.custom-logo {
    display: block;

    width: auto;
    max-width: 240px;
    max-height: 90px;
}

.site-nav {
    display: flex;
    align-items: center;

    gap: 2rem;
}

.site-nav a {
    position: relative;

    color: var(--cream);

    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.site-nav a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;

    height: 1px;

    background: var(--cream);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;

    height: 2px;
    margin: 6px 0;

    background: var(--cream);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* Hero */

.hero {
    min-height: calc(100svh - 150px);

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 70% 25%,
            #fffaf3 0,
            transparent 36%
        ),
        var(--cream);
}

.hero-inner {
    max-width: 900px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 1rem;

    color: var(--latte);

    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;

    font-family: var(--font-main);
    line-height: 1.05;
}

h1 {
    margin-bottom: 1.5rem;

    font-size: clamp(3.4rem, 10vw, 8.5rem);
    font-weight: 500;

    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 2rem;

    font-size: clamp(2.6rem, 6vw, 5.4rem);
    font-weight: 500;

    letter-spacing: -0.045em;
}

h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
}

.hero-copy {
    max-width: 650px;
    margin: 0 auto 2.2rem;

    color: rgba(43, 33, 29, 0.74);

    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
}

.text-link {
    color: var(--mocha);

    font-family: var(--font-main);
    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Speisekarten */

.menus {
    background: var(--cream-2);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.25rem;
}

.menu-card {
    min-height: 460px;

    padding: clamp(2rem, 5vw, 4rem);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: var(--cream);
    border-radius: var(--radius);
}

.menu-card > span:first-child {
    color: var(--latte);

    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.16em;
}

.menu-card h3 {
    margin-top: auto;
    margin-bottom: 1rem;
}

.menu-card p {
    max-width: 400px;
    margin-bottom: 2rem;
}

.menu-card.is-dark {
    color: var(--cream);
    background: var(--mocha);
}

/* Buttons */

.button {
    min-height: 48px;
    padding: 0.75rem 1.35rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--cream);
    background: var(--mocha);

    border: 1px solid var(--mocha);
    border-radius: 999px;

    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
    color: var(--cream);
    background: var(--mocha-dark);
    border-color: var(--mocha-dark);

    transform: translateY(-2px);
}

.button-light {
    color: var(--mocha);
    background: var(--cream);
    border-color: var(--cream);
}

.button-light:hover,
.button-light:focus-visible {
    color: var(--mocha-dark);
    background: #ffffff;
    border-color: #ffffff;
}

.button.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
}

/* Adresse und Öffnungszeiten */

.location-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;

    gap: clamp(2rem, 6vw, 6rem);
}

.location-copy {
    padding: clamp(1rem, 3vw, 3rem) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;
    margin: 2rem 0 2.5rem;
}

.info-grid h3 {
    margin-bottom: 0.7rem;

    font-size: 1.3rem;
    font-weight: 600;
}

.info-grid p {
    margin: 0.25rem 0;
}

.info-grid a {
    text-underline-offset: 0.2em;
}

/* Google Maps */

.map-card {
    min-height: 520px;

    overflow: hidden;

    background: var(--mocha-dark);
    border-radius: var(--radius);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;

    display: block;
    border: 0;
}

.map-placeholder {
    height: 100%;
    min-height: 520px;

    display: grid;
    place-content: center;

    padding: 2rem;

    color: var(--cream);
    text-align: center;
}

.map-placeholder span {
    font-size: 4rem;
    line-height: 1;
}

/* Galerie */

.gallery {
    color: var(--cream);
    background: var(--mocha-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 0.8rem;
}

.gallery-item,
.gallery-placeholder {
    aspect-ratio: 1 / 1;

    overflow: hidden;
    padding: 0;

    background: rgba(246, 240, 231, 0.08);
    border: 0;
    border-radius: 1.2rem;
}

.gallery-item {
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-placeholder {
    display: grid;
    place-items: center;

    color: rgba(246, 240, 231, 0.35);

    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 500;
}

/* Footer bleibt cremefarben */

.site-footer {
    background: var(--cream);
    color: var(--ink);

    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;
}

.footer-inner strong {
    font-family: var(--font-main);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--ink);

    font-family: var(--font-main);
    font-weight: 500;

    text-underline-offset: 0.25em;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: grid;
    place-items: center;

    padding: 5rem 2rem 2rem;

    background: rgba(20, 13, 10, 0.94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 82vh;

    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 48px;
    height: 48px;

    color: #ffffff;
    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    font-family: var(--font-main);
    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

/* Tablet und Smartphone */

@media (max-width: 820px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .header-inner {
        min-height: 90px;
    }

    .custom-logo {
        max-width: 180px;
        max-height: 60px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 90px 0 auto 0;

        min-height: calc(100svh - 90px);

        padding: 3rem 1.5rem;

        flex-direction: column;
        align-items: flex-start;

        /* Mobile Navigation ebenfalls dunkel */
        background: var(--header-mocha);
        background-color: var(--header-mocha);

        transform: translateY(-120%);
        visibility: hidden;

        transition:
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    .site-nav a {
        color: var(--cream);

        font-family: var(--font-main);
        font-size: clamp(2.4rem, 11vw, 4.8rem);
        font-weight: 500;

        letter-spacing: -0.04em;
        text-transform: none;
    }

    .site-nav a::after {
        bottom: -3px;
    }

    .hero {
        min-height: calc(100svh - 90px);
    }

    .menu-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        padding: 2rem 0;

        flex-direction: column;
        align-items: flex-start;
    }
}

/* Kleine Smartphones */

@media (max-width: 520px) {
    .section-pad {
        padding: 4.5rem 0;
    }

    .hero {
        min-height: 80svh;
    }

    h1 {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    .menu-card {
        min-height: 380px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .map-card,
    .map-card iframe,
    .map-placeholder {
        min-height: 360px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* Fokus für Tastaturbedienung */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--latte);
    outline-offset: 4px;
}

/* Reduzierte Animationen */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}