/* ==========================================================================
   Trattoria Antica — 2026 premium design system (every public page)
   Tokens, type, buttons/links, reveal system, closing CTA band and the
   premium footer. Loaded when the premium theme is on; body gets .p26.
   Homepage-only sections live in home-2026.css.
   ========================================================================== */
.p26 {
    --h-ink: #1a1614;
    --h-ink-2: #3a3431;
    --h-mute: #6f6763;
    --h-paper: #f6f3ed;
    --h-bone: #ebe4d7;
    --h-line: rgba(26, 22, 20, .14);
    --h-wine: #6b1d27;
    --h-bronze: #a08660;
    --h-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    --h-sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
    --h-ease: cubic-bezier(.19, 1, .22, 1);
    --h-ease-io: cubic-bezier(.76, 0, .24, 1);
    --h-gutter: clamp(1.25rem, 4.2vw, 4.5rem);
    background: var(--h-paper);
    color: var(--h-ink);
}
.p26 main { overflow-x: clip; }

.h26-wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--h-gutter); }
.h26-sec { padding: clamp(5.5rem, 12vw, 11rem) 0; position: relative; }
.h26-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- type primitives --------------------------------------------------- */
.p26 .h26-h2 {
    font-family: var(--h-serif);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2.5rem, 5.6vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.025em;
    color: var(--h-ink);
    margin: 0;
    text-transform: none;
    max-width: 16ch;
    text-wrap: balance;
}
.h26-label {
    display: flex; align-items: baseline; gap: .6rem;
    font: 500 .72rem/1.2 var(--h-sans);
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--h-mute);
    margin: 0 0 1.6rem;
}
.h26-label__n { font-variant-numeric: tabular-nums; color: var(--h-bronze); letter-spacing: .06em; }
.h26-label--light { color: rgba(246, 243, 237, .62); }
.h26-mini {
    font: 500 .7rem/1.2 var(--h-sans) !important;
    letter-spacing: .16em !important; text-transform: uppercase;
    color: var(--h-mute) !important; font-style: normal !important;
    margin: 0 0 1rem;
}

/* ---- buttons & links ---------------------------------------------------- */
.h26-btn {
    --b-bg: var(--h-ink); --b-fg: var(--h-paper); --b-fill: var(--h-wine);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: .9rem;
    height: 56px; padding: 0 1.9rem;
    border-radius: 999px;
    background: var(--b-bg); color: var(--b-fg);
    font: 500 .8rem/1 var(--h-sans); letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none;
    transition: color .6s var(--h-ease);
}
.h26-btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--b-fill);
    border-radius: inherit;
    transform: translateY(102%) scale(1.05);
    transition: transform .75s var(--h-ease-io);
}
.h26-btn:hover { color: var(--b-fg); }
.h26-btn:hover::before { transform: translateY(0) scale(1); }
.h26-btn svg { transition: transform .6s var(--h-ease); }
.h26-btn:hover svg { transform: translateX(5px); }
.h26-btn--light { --b-bg: var(--h-paper); --b-fg: var(--h-ink); --b-fill: #fff; }
.h26-btn--lg { height: 64px; padding: 0 2.4rem; font-size: .84rem; }
.h26-btn:focus-visible, .h26-link:focus-visible, .h26-round:focus-visible { outline: 2px solid var(--h-bronze); outline-offset: 4px; }

.h26-link {
    position: relative; display: inline-flex; align-items: center; gap: .5rem;
    font: 500 .8rem/1 var(--h-sans); letter-spacing: .14em; text-transform: uppercase;
    color: var(--h-ink); text-decoration: none;
    padding: .9rem 0;
}
.h26-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px;
    background: currentColor; transform-origin: right; transition: transform .7s var(--h-ease-io);
}
.h26-link:hover { color: var(--h-ink); }
.h26-link:hover::after { transform: scaleX(0); transform-origin: right; animation: h26-line-in .7s .15s var(--h-ease-io) forwards; }
@keyframes h26-line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.h26-link--light, .h26-link--light:hover { color: var(--h-paper); }

.h26-round {
    width: 56px; height: 56px; border-radius: 50%;
    display: inline-grid; place-items: center;
    border: 1px solid var(--h-line); background: transparent; color: var(--h-ink);
    cursor: pointer; transition: background .5s var(--h-ease), color .5s var(--h-ease), border-color .5s;
}
.h26-round:hover { background: var(--h-ink); color: var(--h-paper); border-color: var(--h-ink); }
.h26-round:disabled { opacity: .35; cursor: default; background: transparent; color: var(--h-ink); }

/* ==========================================================================
   CLOSING CTA BAND
   ========================================================================== */
.h26-cta {
    position: relative; overflow: hidden; background: var(--h-wine); color: var(--h-paper);
    padding: clamp(6rem, 13vw, 12rem) 0;
}
.h26-cta::before {
    content: "A"; position: absolute; right: -2vw; bottom: -.28em;
    font-family: var(--h-serif); font-style: italic; font-size: clamp(22rem, 48vw, 50rem); line-height: 1;
    color: rgba(255, 255, 255, .05); pointer-events: none;
}
.p26 .h26-cta__title {
    font-family: var(--h-serif); font-weight: 400; font-style: normal;
    font-size: clamp(3.2rem, 9.5vw, 10rem); line-height: .9; letter-spacing: -.035em;
    color: var(--h-paper); margin: 0 0 clamp(2.4rem, 5vw, 4rem); text-transform: none;
}
.h26-cta__title em { display: block; font-style: italic; color: #f0dcc0; padding-left: clamp(0rem, 8vw, 9rem); }
.h26-cta__row { display: flex; align-items: center; gap: 1.4rem 2.6rem; flex-wrap: wrap; }
.h26-cta .h26-btn--light { --b-fill: var(--h-bronze); }
.h26-cta .h26-btn--light:hover { color: #fff; }

/* the shared FAQ block that the footer prints: calmer on this page */
.p26 .faq-section { background: var(--h-paper); }

/* ==========================================================================
   REVEAL SYSTEM
   ========================================================================== */
.h26-js [data-rv] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--h-ease) var(--d, 0s), transform 1.3s var(--h-ease) var(--d, 0s); }
.h26-js [data-rv="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--h-ease-io) var(--d, 0s); }
.h26-js [data-rv].is-in { opacity: 1; transform: none; }
.h26-js [data-rv="clip"].is-in { clip-path: inset(0 0 0 0); }
.h26-js .h26-story__inset[data-rv] { transform: translateY(36px) rotate(-2deg); }
.h26-js .h26-story__inset[data-rv].is-in { transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) {
    .h26-in, .h26-js [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
    .h26-hero__media video, .h26-hero__media img { animation: none; transform: none; }
    .h26-ticker__track { animation-duration: 200s; }
    .h26-intro__text .w { opacity: 1; }
    .h26-quotes__nav button.is-on i::after { animation: none; transform: none; }
}


/* header hides on scroll-down, returns on scroll-up (premium-2026.js) */
.p26 .site-header { transition: background .6s var(--h-ease), border-color .6s, transform .6s var(--h-ease), backdrop-filter .6s; }
.p26 .site-header.is-hidden:not(:focus-within) { transform: translateY(-100%); }

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */
.p26 .site-footer { display: none; }   /* classic footer is never printed in premium, belt & braces */
.f26 {
    background: var(--h-ink);
    color: rgba(246, 243, 237, .72);
    padding-top: clamp(4.5rem, 9vw, 8rem);
    overflow: hidden;
    position: relative;
}
.f26 a { color: var(--h-paper); text-decoration: none; }
.f26 a:hover { color: var(--h-paper); }
.f26__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, .85fr) minmax(0, .85fr);
    gap: 3rem clamp(1.5rem, 3vw, 3.5rem);
}
.f26__logo img { height: 64px; width: auto; display: block; margin-bottom: 1.8rem; }
.p26 .f26__claim {
    font-family: var(--h-serif); font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.12; letter-spacing: -.015em;
    color: var(--h-paper); margin: 0 0 1.8rem; max-width: 20ch;
}
.f26__status { display: inline-flex; align-items: center; gap: .6rem; font: 500 .7rem/1.3 var(--h-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 243, 237, .7); border: 1px solid rgba(246, 243, 237, .18); border-radius: 999px; padding: .65rem 1rem; }
.f26__status i { width: 7px; height: 7px; border-radius: 50%; background: #c9a36a; flex: none; }
.f26__status.is-open i { background: #7fd08a; box-shadow: 0 0 0 4px rgba(127, 208, 138, .15); }

.p26 .f26__h {
    font: 500 .7rem/1.2 var(--h-sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal;
    color: var(--h-bronze); margin: .4rem 0 1.4rem; max-width: none;
}
.f26__addr { font-style: normal; font-family: var(--h-serif); font-size: 1.45rem; line-height: 1.25; color: var(--h-paper); margin-bottom: .6rem; }
.f26__arrow { display: inline-flex; gap: .5rem; align-items: center; font: 500 .72rem/1 var(--h-sans); letter-spacing: .14em; text-transform: uppercase; padding: .7rem 0; border-bottom: 1px solid rgba(246, 243, 237, .35); }
.f26__arrow::after { content: "\2192"; transition: transform .5s var(--h-ease); }
.f26__arrow:hover::after { transform: translateX(4px); }
.f26__contact { display: grid; gap: .35rem; margin: 1.6rem 0 0; font-size: .95rem; }
.f26__contact a { color: rgba(246, 243, 237, .85); width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--h-ease); }
.f26__contact a:hover { background-size: 100% 1px; }

.f26__hours { list-style: none; margin: 0; padding: 0; }
.f26__hours li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(246, 243, 237, .1); font-size: .92rem; }
.f26__hours li:first-child { border-top: 1px solid rgba(246, 243, 237, .1); }
.f26__days { color: rgba(246, 243, 237, .6); white-space: nowrap; }
.f26__times { display: flex; flex-wrap: wrap; gap: .1rem .8rem; color: var(--h-paper); font-variant-numeric: tabular-nums; }
.f26__times span { white-space: nowrap; }
.f26__times em { font-family: var(--h-serif); font-size: 1.1rem; color: rgba(246, 243, 237, .6); }
.f26__hours li.is-today .f26__days { color: var(--h-paper); }
.f26__hours li.is-today .f26__days::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--h-bronze); margin-left: .45rem; vertical-align: middle; }

.f26__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.f26__links a {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--h-serif); font-size: 1.3rem; line-height: 1.2; padding: .28rem 0;
    color: rgba(246, 243, 237, .82);
    transition: color .4s, transform .6s var(--h-ease);
}
.f26__links a:hover { color: var(--h-paper); transform: translateX(6px); }
.f26__links--ext svg { opacity: .5; transition: opacity .4s, transform .5s var(--h-ease); }
.f26__links--ext a:hover svg { opacity: 1; transform: translate(2px, -2px); }

/* giant wordmark */
.f26__mark {
    margin-top: clamp(4rem, 9vw, 8rem);
    text-align: center; white-space: nowrap;
    font-family: var(--h-serif); font-style: italic;
    font-size: 15.2vw; line-height: .78; letter-spacing: -.045em;
    user-select: none; pointer-events: none;
}
.f26__mark { position: relative; }
.f26__mark span { display: inline-block; color: rgba(246, 243, 237, .88); transform: translateY(12%); }
/* fade the wordmark into the footer (a cheap overlay instead of background-clip:text) */
.f26__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 22, 20, 0) 10%, rgba(26, 22, 20, .82) 92%); }

.f26__bar {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
    border-top: 1px solid rgba(246, 243, 237, .14);
    padding: 1.5rem 0 1.8rem;
    font: 500 .68rem/1.4 var(--h-sans); letter-spacing: .12em; text-transform: uppercase;
    background: var(--h-ink);
}
.f26__bar small { font-size: inherit; color: rgba(246, 243, 237, .5); }
.f26__legal { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.f26__legal a { color: rgba(246, 243, 237, .72); }
.f26__legal a:hover { color: var(--h-paper); }
.f26__top-btn { display: inline-flex; align-items: center; gap: .6rem; }
.f26__top-btn svg { width: 36px; height: 36px; padding: 10px; border: 1px solid rgba(246, 243, 237, .25); border-radius: 50%; transition: background .4s, color .4s, transform .5s var(--h-ease); }
.f26__top-btn:hover svg { background: var(--h-paper); color: var(--h-ink); transform: translateY(-3px); }

@media (max-width: 1180px) {
    .f26__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .f26__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 2.4rem; align-items: start; }
    .f26__brand .f26__status { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {
    .f26__top { grid-template-columns: 1fr 1fr; gap: 2.6rem 1.4rem; }
    .f26__brand { display: block; }
    .f26__col:nth-child(2), .f26__col:nth-child(3) { grid-column: 1 / -1; }
    .f26__logo img { height: 52px; }
    .f26__links a { font-size: 1.2rem; }
    .f26__bar { flex-direction: column; align-items: flex-start; padding-bottom: calc(1.8rem + env(safe-area-inset-bottom)); }
    .f26__legal { margin: 0; }
    .f26__mark { font-size: 15vw; }
}
/* phones with the bottom nav bar: keep the footer clear of it */
@media (max-width: 720px) { body.p26:has(.bottom-nav) .f26 { padding-bottom: 72px; } }

/* footer v2: every weekday on its own row; the hours column gets more room,
   and legal links never break mid-word ("Datenschutzerklärung"). */
.f26__top { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .8fr); }
.f26__hours li { grid-template-columns: 7.2rem minmax(0, 1fr); align-items: baseline; padding: .62rem 0; }
.f26__days { font-size: .92rem; }
.f26__times { justify-content: flex-end; text-align: right; }
.f26__times span { white-space: nowrap; font-size: .95rem; }
.f26__hours li.is-closed .f26__days { color: rgba(246, 243, 237, .45); }
.f26__hours li.is-today { background: linear-gradient(90deg, rgba(160, 134, 96, .16), rgba(160, 134, 96, 0)); margin: 0 -.6rem; padding-left: .6rem; padding-right: .6rem; }
.f26__hours li.is-today .f26__days { font-weight: 600; }
.f26__links a, .f26__legal a { white-space: nowrap; }
@media (max-width: 1180px) {
    .f26__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .f26__col:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 720px) {
    .f26__top { grid-template-columns: 1fr 1fr; }
    .f26__col:nth-child(3) { grid-column: 1 / -1; }
    .f26__hours li { grid-template-columns: 6.4rem minmax(0, 1fr); }
    .f26__links a { white-space: normal; }
}
.f26__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, 1fr); }
.p26 .f26__h { white-space: nowrap; letter-spacing: .14em; }
@media (max-width: 1180px) { .f26__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .f26__top { grid-template-columns: 1fr 1fr; } .p26 .f26__h { white-space: normal; } }
/* wordmark sits on its own line above the bar, no clipped strip */
.f26__mark { line-height: .9; padding-bottom: .04em; overflow: hidden; }
.f26__mark span { transform: none; }
.f26__bar { background: transparent; }
