/* ============================================================
   Osteria da Rocco e Raffaele – Stylesheet
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
──────────────────────────────────────────────────────────── */
:root {
    --c-espresso:   #1A0F07;
    --c-dark:       #2D1B0E;
    --c-terracotta: #C4623A;
    --c-terracotta-hover: #A8522F;
    --c-italy-green: #12803A;
    --c-italy-red:   #C8242D;
    --c-gold:       #C9A84C;
    --c-cream:      #F5EFE0;
    --c-bg:         #FAF7F2;
    --c-white:      #FFFFFF;
    --c-text:       #2D1B0E;
    --c-text-muted: #7A6554;
    --c-border:     #E5D5B0;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

    --max-w: 1180px;
    --pad-x: clamp(1rem, 4vw, 2rem);

    --radius: 4px;
    --ease: 0.3s ease;

    --shadow-sm: 0 2px 8px  rgba(26, 15, 7, 0.1);
    --shadow-md: 0 8px 32px rgba(26, 15, 7, 0.15);
    --shadow-lg: 0 16px 48px rgba(26, 15, 7, 0.22);
}

/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--c-text);
    background-color: var(--c-white);
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--ease); }

ul { list-style: none; }

::selection { background: var(--c-terracotta); color: var(--c-white); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-cream); }
::-webkit-scrollbar-thumb { background: var(--c-terracotta); border-radius: 3px; }

/* ──────────────────────────────────────────────────────────
   3. CONTAINER
──────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* ──────────────────────────────────────────────────────────
   4. BUTTONS
──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 2rem;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-terracotta);
    color: var(--c-white);
    border-color: var(--c-terracotta);
}
.btn--primary:hover {
    background: var(--c-terracotta-hover);
    border-color: var(--c-terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,98,58,.4);
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,.7);
}
.btn--outline:hover {
    background: var(--c-white);
    color: var(--c-espresso);
    border-color: var(--c-white);
}

.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,.4);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.8);
}

.btn--full { width: 100%; }

/* ──────────────────────────────────────────────────────────
   5. SECTION HELPERS
──────────────────────────────────────────────────────────── */
.section__header { text-align: center; margin-bottom: 3.5rem; }

.section__label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--c-terracotta);
    margin-bottom: .6rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-espresso);
    margin-bottom: 1rem;
}

.section__rule {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--c-italy-green) 0 33%, var(--c-white) 33% 66%, var(--c-italy-red) 66% 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,.04);
    border: none;
    margin-bottom: 1.25rem;
}
.section__rule--center { margin-inline: auto; }

.section__subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--c-text-muted);
    max-width: 560px;
    margin-inline: auto;
}

/* ──────────────────────────────────────────────────────────
   6. REVEAL ANIMATION (IntersectionObserver)
──────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children inside reveal containers */
.reveal > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal.visible > *:nth-child(1) { transition-delay: 0s;   }
.reveal.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal.visible > *:nth-child(6) { transition-delay: .40s; }

/* ──────────────────────────────────────────────────────────
   7. HEADER & NAVIGATION
──────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 900;
    padding-block: 1.25rem;
    transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.header.scrolled {
    background: rgba(26, 15, 7, .96);
    backdrop-filter: blur(10px);
    padding-block: .75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

/* Inner pages (e.g. team.html) – header always dark, not transparent */
.page--inner .header {
    background: rgba(26, 15, 7, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

/* ──────────────────────────────────────────────────────────
   LEGAL PAGES (impressum.html, datenschutz.html)
──────────────────────────────────────────────────────────── */
.legal-page {
    padding-block: 7rem 5rem;
    background: var(--c-bg);
    min-height: 60vh;
}

.legal-page__header {
    margin-bottom: 3rem;
}

.legal-page__body {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.legal-page__section h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-espresso);
    margin-bottom: .6rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--c-border);
}

.legal-page__subheading {
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-espresso);
    margin-top: 1.25rem;
    margin-bottom: .4rem;
}

.legal-page__section p {
    font-size: .9rem;
    line-height: 1.8;
    color: var(--c-text-muted);
}

.legal-page__section p + p {
    margin-top: .75rem;
}

.legal-page__section a {
    color: var(--c-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Placeholder text highlighting */
.legal-page__section strong {
    color: var(--c-terracotta);
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 3rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    transition: color var(--ease);
}
.legal-page__back:hover { color: var(--c-terracotta); }

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.nav__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin-inline-end: auto;
}
.nav__logo-label {
    font-size: .65rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--c-gold);
}
.nav__logo-name {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--c-white);
}

.italy-flag {
    width: 26px;
    height: 16px;
    margin-top: .45rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    background: linear-gradient(90deg, var(--c-italy-green) 0 33%, var(--c-white) 33% 66%, var(--c-italy-red) 66% 100%);
}

.italy-flag--mini {
    width: 22px;
    height: 14px;
    margin-top: 0;
    border-color: rgba(255,255,255,.45);
}

/* Nav links */
.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav__link {
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width var(--ease);
}
.nav__link:hover,
.nav__link.active,
.nav__link--active { color: var(--c-white); }
.nav__link:hover::after,
.nav__link.active::after,
.nav__link--active::after { width: 100%; }

.nav__cta {
    font-size: .75rem;
    padding: .55rem 1.1rem;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: var(--ease);
    transform-origin: center;
}
/* Animated hamburger → X */
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────────────────────────────
   8. HERO
──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--c-espresso); /* fallback */
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        url('../Bilder Restaurant/WhatsApp Image 2026-03-27 at 08.03.14.jpeg');
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 10s ease;
}
.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26,15,7,.88) 0%,
        rgba(26,15,7,.55) 55%,
        rgba(196,98,58,.25) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--c-white);
    padding-block: 8rem 5rem;
}

.hero__label {
    font-size: .75rem;
    font-weight: 300;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp .9s ease .3s forwards;
}

.hero__label::after {
    content: '';
    display: block;
    width: 94px;
    height: 3px;
    margin: .85rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--c-italy-green) 0 33%, var(--c-white) 33% 66%, var(--c-italy-red) 66% 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp .9s ease .65s forwards;
}
.hero__title em {
    display: block;
    font-style: italic;
    color: var(--c-gold);
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp .9s ease .95s forwards;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp .9s ease 1.25s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.55);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    animation: scrollBounce 2.5s infinite 2s;
}
.hero__scroll:hover { color: rgba(255,255,255,.9); }

/* ──────────────────────────────────────────────────────────
   9. ORNAMENT DIVIDER
──────────────────────────────────────────────────────────── */
.ornament {
    text-align: center;
    padding-block: 1.5rem;
    background: var(--c-white);
    color: var(--c-gold);
    font-size: .9rem;
    letter-spacing: 1.2rem;
}

/* ──────────────────────────────────────────────────────────
   10. ABOUT
──────────────────────────────────────────────────────────── */
.about {
    padding-block: 6rem;
    background: var(--c-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Image collage */
.about__images {
    position: relative;
    padding-bottom: 3rem;
    padding-right: 2.5rem;
}

.about__img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform .6s ease;
}
.about__img-main:hover img { transform: scale(1.04); }

.about__img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--c-white);
    box-shadow: var(--shadow-md);
}
.about__img-accent img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, var(--c-terracotta), var(--c-terracotta-hover));
    color: var(--c-white);
    padding: 1.1rem 1.25rem;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    line-height: 1;
}
.about__badge-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: .2rem;
}
.about__badge-text {
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .9;
    line-height: 1.4;
}

/* Content */
.about__text {
    font-size: .95rem;
    color: var(--c-text-muted);
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

.about__pillars {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}
.about__pillar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
}
.about__pillar i {
    font-size: 1.4rem;
    color: var(--c-terracotta);
}
.about__pillar span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text);
}

/* ──────────────────────────────────────────────────────────
   10b. TEAM (subpage: team.html)
──────────────────────────────────────────────────────────── */
.team-hero {
    padding-block: 5rem 3rem;
    background: var(--c-bg);
    text-align: center;
}

.team {
    padding-block: 1rem 6rem;
    background: var(--c-bg);
}

/* ── Tier wrapper & heading ── */
.team__tier {
    margin-bottom: 4.5rem;
}

/* Left-aligned divider: text on the left, line extends right */
.team__tier-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.team__tier-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--c-terracotta) 0%, rgba(196,98,58,.15) 100%);
}

.team__tier-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    white-space: nowrap;
}

.team__tier-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--c-espresso);
    line-height: 1.1;
}

.team__tier-label {
    font-size: .68rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: none;
    color: var(--c-text-muted);
    opacity: .85;
}

/* ── Shared grid base ── */
.team__grid {
    display: grid;
    gap: 1.5rem;
    margin-inline: auto;
}

/* Tier grids: centered, shrinking max-width per level */
.team__grid--founders {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
}

.team__grid--cooks {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
}

.team__grid--service {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
}

/* ── Card shell ── */
.team__card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--ease);
}

.team__card:hover {
    box-shadow: var(--shadow-md);
}

/* ── Image wrapper – different aspect-ratio per tier ── */
.team__img {
    position: relative;
    overflow: hidden;
}

/* Founders: tall portrait */
.team__grid--founders .team__img {
    aspect-ratio: 3 / 4;
}

/* Cooks: slightly shorter */
.team__grid--cooks .team__img {
    aspect-ratio: 4 / 5;
}

/* Service: compact square */
.team__grid--service .team__img {
    aspect-ratio: 1 / 1;
}

.team__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .4s ease, transform .5s ease;
}

/* On hover: fade image + slight zoom */
.team__card:hover .team__img img {
    opacity: .15;
    transform: scale(1.06);
}

/* ── Overlay ── */
.team__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.team__card:hover .team__overlay {
    opacity: 1;
}

.team__name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--c-espresso);
    margin-bottom: .25rem;
}

/* Name size scales with tier */
.team__grid--founders .team__name { font-size: 1.3rem; }
.team__grid--cooks    .team__name { font-size: 1.1rem; }
.team__grid--service  .team__name { font-size: 1rem;   }

.team__role {
    display: block;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--c-terracotta);
    margin-bottom: .85rem;
}

.team__grid--founders .team__role { font-size: .72rem; }
.team__grid--cooks    .team__role { font-size: .68rem; }
.team__grid--service  .team__role { font-size: .65rem; }

.team__text {
    line-height: 1.65;
    color: var(--c-text-muted);
}

.team__grid--founders .team__text { font-size: .88rem; }
.team__grid--cooks    .team__text { font-size: .83rem; }
.team__grid--service  .team__text { font-size: .80rem; }

/* ──────────────────────────────────────────────────────────
   11. MENU
──────────────────────────────────────────────────────────── */
.menu {
    position: relative;
    padding-block: 6rem;
    background: var(--c-bg);
    overflow: hidden;
}

.menu__bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,.09) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Tabs */
.menu__tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--c-border);
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
    gap: 0;
}
.menu__tab {
    padding: .75rem 1.75rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--ease);
}
.menu__tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-terracotta);
    transition: width var(--ease);
}
.menu__tab.active,
.menu__tab:hover { color: var(--c-terracotta); }
.menu__tab.active::after,
.menu__tab:hover::after { width: 100%; }

/* Panels */
.menu__panel {
    display: none;
    opacity: 0;
    transform: translateY(18px) scale(.98);
    filter: blur(4px);
}
.menu__panel.active {
    display: block;
    animation: panelIn .4s cubic-bezier(.22,.61,.36,1) forwards;
}

/* Items grid */
.menu__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.menu__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.4rem;
    background: var(--c-white);
    border-radius: var(--radius);
    border-left: 3px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.menu__item:hover {
    border-left-color: var(--c-terracotta);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.menu__item-info h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-espresso);
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.menu__item-info p {
    font-size: .84rem;
    color: var(--c-text-muted);
    line-height: 1.5;
}
.menu__badge {
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .15rem .45rem;
    background: var(--c-gold);
    color: var(--c-espresso);
    border-radius: 2px;
    white-space: nowrap;
}
.menu__price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-terracotta);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer CTA */
.menu__footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}
.menu__footer p {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--c-text-muted);
    margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────
   12. GALLERY
──────────────────────────────────────────────────────────── */
.gallery { padding-block: 6rem 0; background: var(--c-white); }

.gallery__slider {
    position: relative;
    margin: 3rem auto 0;
    width: min(1360px, calc(100% - 1rem));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.gallery__viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery__track {
    display: flex;
    transition: transform .55s var(--ease);
    will-change: transform;
}

.gallery__slide {
    min-width: 100%;
    position: relative;
    padding: 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 350px 350px;
    gap: 8px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
}

.gallery__item--tall {
    grid-row: 1 / 3;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.gallery__item:hover img,
.gallery__item:focus-within img {
    transform: scale(1.07);
}

.gallery__arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    box-shadow: var(--shadow-sm);
}

.gallery__arrow:hover,
.gallery__arrow:focus-visible {
    background: var(--c-terracotta);
    color: var(--c-white);
    border-color: var(--c-terracotta);
    transform: translateY(-1px);
}

.gallery__caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,15,7,.72), transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--ease);
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-within .gallery__caption { opacity: 1; }
.gallery__caption span {
    color: var(--c-white);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: .95rem;
}

/* ──────────────────────────────────────────────────────────
   13. QUOTE
──────────────────────────────────────────────────────────── */
.quote-section {
    padding-block: 5.5rem;
    background: linear-gradient(135deg, var(--c-espresso), var(--c-dark));
}
.quote {
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--c-cream);
    line-height: 1.5;
    max-width: 680px;
    margin-inline: auto;
}
.quote__mark {
    color: var(--c-gold);
    font-size: 2.8rem;
    line-height: 0;
    vertical-align: -.4rem;
}
.quote cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-top: 1.75rem;
}

/* ──────────────────────────────────────────────────────────
   14. RESERVATION
──────────────────────────────────────────────────────────── */
.reservation {
    padding-block: 6rem;
    background: var(--c-white);
}
.reservation__grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
}

.reservation__lead {
    font-size: .95rem;
    color: var(--c-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.reservation__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.reservation__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.reservation__detail i {
    color: var(--c-terracotta);
    font-size: 1rem;
    margin-top: .25rem;
    width: 20px;
    flex-shrink: 0;
}
.reservation__detail div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.reservation__detail strong {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-espresso);
}
.reservation__detail span,
.reservation__detail a {
    font-size: .88rem;
    color: var(--c-text-muted);
}
.reservation__detail a:hover { color: var(--c-terracotta); }

/* Form */
.reservation__form-wrap {
    background: var(--c-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form__group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1rem;
}

/* Day + Month side-by-side within one form group */
.form__date-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: .5rem;
}
.form__group label {
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--c-text);
}
.form__group input,
.form__group select,
.form__group textarea {
    padding: .75rem 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--c-text);
    background: var(--c-white);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--c-terracotta);
    box-shadow: 0 0 0 3px rgba(196,98,58,.13);
}
.form__group textarea { resize: vertical; min-height: 80px; }

.form__note {
    font-size: .76rem;
    color: var(--c-text-muted);
    margin-top: .75rem;
    font-style: italic;
}

/* Consent checkbox */
.form__group--consent {
    margin-bottom: 1.25rem;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    cursor: pointer;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--c-text-muted);
}

.form__consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .15rem;
    accent-color: var(--c-terracotta);
    cursor: pointer;
}

.form__consent-link {
    color: var(--c-terracotta);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Success state */
.form__success {
    text-align: center;
    padding: 3rem 1.5rem;
}
.form__success i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
    display: block;
}
.form__success h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--c-espresso);
    margin-bottom: .5rem;
}
.form__success p { color: var(--c-text-muted); }

/* ──────────────────────────────────────────────────────────
   15. CONTACT
──────────────────────────────────────────────────────────── */
.contact {
    padding-block: 6rem;
    background: var(--c-bg);
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4.5rem;
    align-items: start;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2rem;
}
.contact__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact__detail i {
    color: var(--c-terracotta);
    font-size: 1rem;
    margin-top: .25rem;
    width: 20px;
    flex-shrink: 0;
}
.contact__detail div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.contact__detail strong {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-espresso);
}
.contact__detail span {
    font-size: .88rem;
    color: var(--c-text-muted);
}

.contact__social {
    display: flex;
    gap: .75rem;
}
.social__link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    color: var(--c-text-muted);
    font-size: .85rem;
    transition: all var(--ease);
}
.social__link:hover {
    background: var(--c-terracotta);
    border-color: var(--c-terracotta);
    color: var(--c-white);
    transform: translateY(-2px);
}

.social__link--inline {
    width: auto;
    height: auto;
    border-radius: 0;
    border: none;
    gap: .6rem;
    color: var(--c-terracotta);
    font-size: .88rem;
    font-weight: 700;
    padding: 0;
}
.social__link--inline i {
    font-size: 1.2rem;
    color: var(--c-terracotta);
}
.social__link--inline:hover {
    background: none;
    border: none;
    color: var(--c-terracotta-hover);
    transform: none;
}
.social__link--inline:hover i { color: var(--c-terracotta-hover); }

/* Map */
.contact__map { min-height: 380px; }
.map__placeholder {
    height: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #e8e0d5, #d5c5b0);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    text-align: center;
    color: var(--c-text-muted);
    padding: 2rem;
}
.map__placeholder i {
    font-size: 2.8rem;
    color: var(--c-terracotta);
    opacity: .5;
}
.map__placeholder p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
}
.map__placeholder span {
    font-size: .82rem;
    opacity: .7;
}

/* ──────────────────────────────────────────────────────────
   16. FOOTER
──────────────────────────────────────────────────────────── */
.footer {
    background: var(--c-espresso);
    color: rgba(255,255,255,.65);
    padding-block: 4.5rem 0;
}

.footer__top {
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background-image: linear-gradient(90deg, rgba(18,128,58,.24), rgba(255,255,255,.15), rgba(200,36,45,.24));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: center bottom;
    margin-bottom: 3rem;
}
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: .75rem;
}
.footer__brand-label {
    font-size: .65rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--c-gold);
}
.footer__brand-name {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--c-white);
}
.footer__motto {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--c-gold);
    font-size: .9rem;
}

.footer__flags {
    display: inline-flex;
    gap: .45rem;
    margin-top: .8rem;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 2rem;
}
.footer__col h4 {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.25rem;
}
.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.footer__col ul li {
    font-size: .84rem;
}
.footer__col ul li a { color: rgba(255,255,255,.6); }
.footer__col ul li a:hover { color: var(--c-white); }
.footer__col ul li i { color: var(--c-gold); margin-right: .45rem; width: 14px; }

/* Hours list with space-between */
.footer__hours li {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}
.footer__hours li span:first-child { color: rgba(255,255,255,.5); }
.footer__hours li span:last-child  { color: rgba(255,255,255,.85); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.5rem;
    font-size: .78rem;
    color: rgba(255,255,255,.35);
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
}
.footer__legal a { color: rgba(255,255,255,.35); }
.footer__legal a:hover { color: rgba(255,255,255,.75); }

/* ──────────────────────────────────────────────────────────
   17. BACK TO TOP
──────────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 800;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-terracotta);
    color: var(--c-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background var(--ease);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--c-terracotta-hover);
    transform: translateY(-3px);
}

/* ──────────────────────────────────────────────────────────
   18. COOKIE BANNER
──────────────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(680px, calc(100% - 2rem));
    background: var(--c-espresso);
    color: var(--c-cream);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,.45);
    padding: 1.25rem 1.5rem;
    animation: cookieSlideUp .4s ease forwards;
}
.cookie-banner[hidden] { display: none; }

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 200px;
    font-size: .82rem;
    line-height: 1.6;
    color: rgba(245, 239, 224, .85);
}
.cookie-banner__text strong {
    display: block;
    color: var(--c-cream);
    font-size: .9rem;
    margin-bottom: .25rem;
}
.cookie-banner__text a {
    color: var(--c-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    font-size: .75rem;
    padding: .6rem 1.25rem;
    white-space: nowrap;
}

/* ── Google Maps consent placeholder ── */
.maps-consent {
    width: 100%;
    height: 380px;
    border-radius: 4px;
    background: var(--c-cream);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.maps-consent__inner {
    text-align: center;
    padding: 2rem;
    max-width: 340px;
}

.maps-consent__icon {
    font-size: 2rem;
    color: var(--c-terracotta);
    margin-bottom: 1rem;
}

.maps-consent__text {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--c-text-muted);
    margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────
   18. KEYFRAMES
──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes panelIn {
    0%   { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(4px); }
    60%  { opacity: 1; filter: blur(0);                                           }
    100% { opacity: 1; transform: translateY(0) scale(1);      filter: blur(0);   }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);    }
    50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE
──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about__grid       { gap: 3rem; }
    .reservation__grid { gap: 3rem; }
    .contact__grid     { gap: 3rem; }
}

@media (max-width: 768px) {
    /* ── Global spacing ── */
    .team, .menu, .about, .gallery, .quote,
    .reservation, .contact, .team-hero {
        padding-block: 3.5rem;
    }

    /* ── Mobile nav ── */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100dvh;
        background: var(--c-espresso);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right .4s ease;
        z-index: 1000;
    }
    .nav__menu.open { right: 0; }
    .nav__link { font-size: 1rem; }
    .nav__toggle { display: flex; }
    .nav__cta { display: none; }

    /* ── Hero ── */
    .hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }
    .hero__subtitle { font-size: 1rem; }

    /* ── About ── */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about__images {
        padding-right: 0;
        padding-bottom: 0;
    }
    /* Hide the floating accent image on mobile – collage doesn't work 1-column */
    .about__img-accent { display: none; }
    .about__img-main img { height: 280px; }

    /* ── Team ── */
    .team__tier-text { white-space: normal; }
    .team__grid--founders,
    .team__grid--cooks,
    .team__grid--service { max-width: 100%; }

    /* ── Menu tabs — horizontal scroll instead of wrap ── */
    .menu__tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
        border-bottom-width: 2px;
    }
    .menu__tabs::-webkit-scrollbar { display: none; }
    .menu__tab   { padding: .6rem 1rem; white-space: nowrap; flex-shrink: 0; }
    .menu__items { grid-template-columns: 1fr; }

    /* ── Gallery ── */
    .gallery__slider {
        width: calc(100% - 1rem);
        gap: .6rem;
    }
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery__item--tall {
        grid-column: 1 / 3;
        grid-row: auto;
        height: 320px;
    }
    .gallery__grid .gallery__item { height: 250px; }
    .gallery__arrow {
        width: 40px;
        height: 40px;
    }

    /* ── Quote ── */
    .quote { padding-block: 3rem; }
    .quote blockquote { font-size: clamp(1rem, 4vw, 1.35rem); }

    /* ── Reservation ── */
    .reservation__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form__row         { grid-template-columns: 1fr; }

    /* ── Contact ── */
    .contact__grid { grid-template-columns: 1fr; }

    /* ── Footer ── */
    .footer__cols { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

@media (max-width: 480px) {
    /* ── Global spacing ── */
    .team, .menu, .about, .gallery,
    .reservation, .contact, .team-hero {
        padding-block: 2.5rem;
    }

    /* ── Hero ── */
    .hero__title { font-size: clamp(2rem, 12vw, 3rem); }
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { padding: .75rem 1.5rem; }

    /* ── About ── */
    .about__pillars { gap: 1.25rem; }

    /* ── Section headers ── */
    .section__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

    /* ── Team ── */
    .team__tier-header { gap: .75rem; }
    .team__tier-title  { font-size: 1.2rem; }
    .team__grid--founders,
    .team__grid--cooks,
    .team__grid--service { grid-template-columns: 1fr; }

    /* ── Gallery ── */
    .gallery__slider {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item--tall { grid-column: auto; height: 280px; }
    .gallery__grid .gallery__item { height: 240px; }
    .gallery__arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 38px;
        height: 38px;
        background: rgba(255,255,255,.9);
    }
    .gallery__arrow--prev { left: .5rem; }
    .gallery__arrow--next { right: .5rem; }

    /* ── Reservation form ── */
    .reservation__form-wrap { padding: 1.5rem; }
    .form__date-wrap { grid-template-columns: 80px 1fr; }
}
