/* ==========================================================================
   Café Pierre · Konditorei · Maxglaner Hauptstraße 1C, Salzburg
   Identity: a jewel-box vitrine in a bright Maxglan café. White walls,
   mustard-yellow benches, oak, a thin script monogram. Pastries shot like art.
   Reference attitude (Sonoma Bakery): editorial black / white / earthy brown,
   full-bleed photography, storytelling scroll, quiet small copy, "Up Next" footer.
   ========================================================================== */
:root {
  --milk: #f6f2eb;        /* page: warm white walls */
  --paper: #fdfbf7;
  --ink: #17130f;         /* near black, editorial */
  --cocoa: #1e1611;       /* the vitrine at night */
  --oak: #9a7149;         /* earthy brown: oak frames, floor */
  --oak-light: #c9a57e;
  --senf: #e1b04a;        /* mustard benches */
  --muted: #6c625a;
  --line: rgba(23, 19, 15, .14);
  --line-light: rgba(246, 242, 235, .18);

  --f-display: "Bodoni Moda", "Didot", Georgia, serif;
  --f-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --pad: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--milk); color: var(--ink);
  font-family: var(--f-text); font-weight: 400; font-size: clamp(1rem, .96rem + .2vw, 1.12rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--senf); color: var(--ink); }
:focus-visible { outline: 2px solid var(--senf); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--milk); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker { font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--oak); margin-bottom: 1.4rem; }
.kicker--light { color: var(--oak-light); }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(2.3rem, 1.3rem + 4vw, 5.4rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; }
.h2--light { color: var(--milk); }
.body { color: var(--muted); max-width: 32rem; }
.u-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease); white-space: nowrap; }
.u-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* buttons with text roll */
.btn { --bh: 3.1rem; position: relative; display: inline-flex; align-items: center; justify-content: center; height: var(--bh); padding: 0 1.6rem; overflow: hidden; border-radius: 999px; border: 1px solid var(--ink); font-size: .92rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: background-color .4s var(--ease), color .4s var(--ease); }
.btn > span { display: block; height: var(--bh); line-height: var(--bh); position: relative; transition: transform .6s var(--ease); }
.btn > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; width: 100%; text-align: center; }
.btn:hover > span, .btn:focus-visible > span { transform: translateY(-100%); }
.btn--ink { background: var(--ink); color: var(--milk); }
.btn--ink:hover { background: var(--oak); border-color: var(--oak); }
.btn--line:hover { background: var(--ink); color: var(--milk); }

/* ---------- intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--milk); color: var(--ink); pointer-events: none;
  animation: introFailsafe .01s linear 2.6s forwards;
}
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; } }
.intro__top, .intro__sub { font-size: .78rem; letter-spacing: .4em; text-transform: uppercase; color: var(--oak); padding-left: .4em; }
.intro__sig { font-family: var(--f-script); font-size: clamp(5.5rem, 16vw, 13rem); line-height: 1.05; padding: 0 .3em; margin: .25em 0 0; }

/* ---------- header ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 18px var(--pad); color: var(--milk);
  transition: color .5s var(--ease), background-color .5s var(--ease), transform .6s var(--ease), padding .5s var(--ease);
}
.head.is-solid { color: var(--ink); background: rgba(246, 242, 235, .92); backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.head.is-hidden { transform: translateY(-105%); }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.logo__mono { width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-script); font-size: 1.9rem; line-height: 1; padding-top: .35rem; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt b { font-weight: 400; font-size: .86rem; letter-spacing: .3em; text-transform: uppercase; }
.logo__txt small { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; opacity: .75; }
.head__nav { display: flex; gap: 2.2rem; }
.head__nav a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.head__nav a:hover, .head__nav a:focus-visible { background-size: 100% 1px; }
.head__cta { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.head__call { border: 1px solid currentColor; border-radius: 999px; padding: .55rem 1.1rem; transition: background-color .4s, color .4s; }
.head__cta:hover .head__call { background: var(--senf); border-color: var(--senf); color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: .02em; font-size: .85rem; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--senf); }
.live.is-open::before { background: #6fbf73; box-shadow: 0 0 0 3px rgba(111,191,115,.25); }
.live.is-closed::before { background: #d06a52; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--cocoa); color: var(--milk); }
.hero__panels { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 6px; background: var(--milk); }
.panel { position: relative; overflow: hidden; background: var(--cocoa); }
.panel img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.panel--mid img { object-position: 50% 70%; }
.panel figcaption { position: absolute; top: 96px; right: 18px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(246,242,235,.86); writing-mode: vertical-rl; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,15,.42) 0%, rgba(23,19,15,0) 22%, rgba(23,19,15,0) 45%, rgba(23,19,15,.72) 100%); pointer-events: none; }
.hero__text { position: absolute; left: var(--pad); bottom: clamp(28px, 6vh, 64px); right: 40%; }
.hero__title { font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(3rem, 1.4rem + 6.4vw, 8.8rem); line-height: .94; letter-spacing: -.03em; text-wrap: balance; }
.hero__aside { position: absolute; right: var(--pad); bottom: clamp(32px, 6.4vh, 70px); width: min(25rem, 34vw); font-size: 1.08rem; line-height: 1.5; }
.hero__rating { margin-top: 1.2rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,242,235,.8); }
.hero__rating span { color: var(--senf); margin-right: .4rem; }

/* ---------- statement ---------- */
.statement { padding: clamp(96px, 18vh, 200px) var(--pad); max-width: 1320px; margin: 0 auto; }
.statement__text { font-family: var(--f-display); font-variation-settings: "opsz" 60; font-size: clamp(1.75rem, 1rem + 2.9vw, 3.7rem); line-height: 1.18; letter-spacing: -.012em; }
.pill { display: inline-block; width: 1.9em; height: .92em; border-radius: 999px; overflow: hidden; vertical-align: -.08em; margin: 0 .08em; }
.pill--wide { width: 2.6em; }
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- vitrine (sticky storytelling) ---------- */
.vitrine { background: var(--cocoa); color: var(--milk); padding: clamp(90px, 14vh, 160px) var(--pad) clamp(60px, 10vh, 120px); }
.vitrine__head { max-width: 980px; margin-bottom: clamp(32px, 6vh, 72px); }
.vitrine__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); }
.vitrine__stage { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.stage__img { position: absolute; width: min(100%, 40vw, 640px, 68vh); aspect-ratio: 4 / 5; object-fit: cover; }
.stage__count { position: absolute; left: 0; bottom: 8vh; font-size: .74rem; letter-spacing: .26em; color: var(--oak-light); }
.stage__now { color: var(--milk); }
.vitrine__list { counter-reset: v; }
.vit { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; border-top: 1px solid var(--line-light); }
.vit:first-child { border-top: 0; }
.vit__img { display: none; }
.vit__no { font-size: .76rem; letter-spacing: .3em; color: var(--oak-light); margin-bottom: 1.4rem; }
.vit__title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; }
.vit__desc { margin-top: 1.4rem; max-width: 28rem; color: rgba(246,242,235,.78); font-size: 1.05rem; }
.tag { align-self: flex-start; margin-top: 2rem; display: inline-flex; align-items: center; gap: .8rem; background: var(--paper); color: var(--ink); padding: .55rem 1.1rem .55rem .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; rotate: -2deg; box-shadow: 0 12px 30px -16px rgba(0,0,0,.6); }
.tag__cp { font-family: var(--f-script); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--oak); line-height: .6; padding-top: .3rem; }
.vit:nth-child(even) .tag { rotate: 2deg; }

/* ---------- karte ---------- */
.karte { padding: clamp(96px, 16vh, 180px) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.karte__photo { margin-top: clamp(32px, 6vh, 64px); }
.frame { overflow: hidden; position: relative; background: #e9e1d5; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.karte__photo .frame { aspect-ratio: 4 / 3; }
.karte__photo figcaption, .raum__garden figcaption { margin-top: .8rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.karte__cols { display: grid; gap: clamp(36px, 6vh, 64px); padding-top: .6rem; }
.menu { border-top: 1px solid var(--ink); padding-top: 1.4rem; display: grid; gap: 1.1rem; }
.menu__h { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.05; }
.menu__h small { font-family: var(--f-text); font-style: normal; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--oak); margin-left: .6rem; vertical-align: .4em; }
.menu__row { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .3rem 2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.menu__row dt { font-weight: 600; }
.menu__row dd { color: var(--muted); }
.menu__list { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* ---------- raum ---------- */
.raum { padding: 0 var(--pad) clamp(96px, 16vh, 180px); }
.frame--wide { aspect-ratio: 16 / 8.2; }
.frame--wide img { height: 118%; margin-top: -9%; }
.raum__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center; margin-top: clamp(48px, 9vh, 110px); }
.raum__copy .body { margin-top: 1.6rem; }
.raum__garden { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.raum__garden .frame { aspect-ratio: 3 / 4; }
.raum__quote { position: absolute; left: -22%; bottom: 10%; background: var(--senf); color: var(--ink); padding: 1.3rem 1.6rem; max-width: 18rem; rotate: -3deg; box-shadow: 0 24px 40px -24px rgba(23,19,15,.5); }
.raum__quote p { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; line-height: 1.1; }
.raum__quote footer { margin-top: .5rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- stimmen ---------- */
.stimmen { background: var(--paper); padding: clamp(96px, 16vh, 180px) var(--pad); border-top: 1px solid var(--line); }
.stimmen__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; margin-bottom: clamp(48px, 9vh, 110px); }
.stimmen__top .kicker { margin: 0; }
.score { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.score__n { font-family: var(--f-display); font-size: clamp(3.4rem, 2.4rem + 3vw, 6rem); line-height: .9; }
.score__s { color: var(--senf); font-size: 2rem; }
.score__t { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.q { max-width: 60rem; padding: clamp(28px, 5vh, 52px) 0; border-top: 1px solid var(--line); }
.q--right { margin-left: auto; text-align: right; }
.q blockquote p { font-family: var(--f-display); font-style: italic; font-variation-settings: "opsz" 72; font-size: clamp(1.8rem, 1rem + 3vw, 3.9rem); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.q figcaption { margin-top: 1.1rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--oak); }

/* ---------- besuch ---------- */
.besuch { padding: clamp(96px, 16vh, 180px) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.besuch__clock { color: var(--oak); display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.clock { width: min(100%, 380px); height: auto; }
.clock__marks text { font-family: var(--f-display); font-style: italic; font-size: 15px; }
.besuch__now { text-align: center; max-width: 22rem; color: var(--ink); font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.besuch__addr { margin-top: 1rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; margin-top: 2.2rem; }
.hours th, .hours td { padding: .95rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--senf); margin-right: .7rem; vertical-align: .12em; }
.hours tr[data-days="2 3"] td { color: var(--oak); font-style: italic; font-family: var(--f-display); }
.besuch__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.facts li { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .85rem; }

/* ---------- up next + footer ---------- */
.foot { background: var(--ink); color: var(--milk); overflow: hidden; }
.next { position: relative; display: block; padding: clamp(80px, 14vh, 160px) var(--pad) clamp(70px, 12vh, 140px); text-decoration: none; border-bottom: 1px solid var(--line-light); isolation: isolate; }
.next__lbl { display: block; font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; color: var(--oak-light); margin-bottom: 1.6rem; }
.next__big { display: block; font-family: var(--f-display); font-variation-settings: "opsz" 96; font-size: clamp(3rem, 1rem + 8.6vw, 11rem); line-height: .95; letter-spacing: -.035em; }
.next__line { display: block; }
.next__arrow { display: inline-block; font-style: normal; transition: transform .7s var(--ease); }
.next:hover .next__arrow, .next:focus-visible .next__arrow { transform: translateX(.25em); }
.next__img { position: absolute; right: 10vw; top: 50%; width: clamp(160px, 17vw, 260px); aspect-ratio: 3 / 4; overflow: hidden; z-index: -1; translate: 0 -50%; rotate: 5deg; clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .next__img, .next:focus-visible .next__img { clip-path: inset(0 0 0 0); }
.foot__bar { display: grid; grid-template-columns: auto 1fr; gap: .4rem 2.4rem; align-items: center; padding: 2.2rem var(--pad) 2.4rem; }
.foot__sig { grid-row: span 2; font-family: var(--f-script); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--oak-light); padding-right: .3em; }
.foot__info { font-size: .92rem; color: rgba(246,242,235,.86); }
.foot__info a { text-decoration: none; }
.foot__note { font-size: .82rem; color: rgba(246,242,235,.55); max-width: 52rem; }
.foot__note a { color: var(--senf); }

/* ---------- JS-only states ---------- */
.js .split { visibility: hidden; }
.js .split.is-split { visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .head__nav { gap: 1.4rem; }
  .head .live { display: none; }
}
@media (max-width: 900px) {
  .head__nav { display: none; }
  .vitrine__grid { grid-template-columns: 1fr; }
  .vitrine__stage { display: none; }
  .vit { min-height: 0; padding: 48px 0; }
  .vit__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.8rem; }
  .karte, .besuch { grid-template-columns: 1fr; }
  .raum__grid { grid-template-columns: 1fr; }
  .raum__garden { justify-self: center; max-width: 360px; }
  .raum__quote { left: -6%; }
  .besuch__clock { order: 2; }
  .q--right { text-align: left; }
}
@media (max-width: 760px) {
  .hero__panels { grid-template-columns: 1fr; }
  .hero__panels .panel:not(:first-child) { display: none; }
  .panel figcaption { display: none; }
  .hero__text { right: var(--pad); bottom: auto; top: 46%; }
  .hero__aside { left: var(--pad); right: var(--pad); width: auto; bottom: 28px; font-size: 1rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(23,19,15,.45) 0%, rgba(23,19,15,0) 22%, rgba(23,19,15,.25) 42%, rgba(23,19,15,.82) 100%); }
  .logo__txt small { display: none; }
  .logo__mono { width: 40px; height: 40px; font-size: 1.6rem; }
  .logo__txt b { font-size: .74rem; letter-spacing: .24em; }
  .menu__row { grid-template-columns: 1fr; }
  .frame--wide { aspect-ratio: 4 / 3; }
  .frame--wide img { object-position: 30% 50%; }
  .foot__bar { grid-template-columns: 1fr; }
  .foot__sig { grid-row: auto; }
  .next__img { right: 6vw; top: 22%; }
}
@media (max-width: 420px) {
  .head__call { padding: .5rem .85rem; }
  .btn { --bh: 2.9rem; padding: 0 1.2rem; }
  .besuch__cta .btn { flex: 1 1 auto; }
  .hours th, .hours td { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .js .split { visibility: visible; }
  .btn > span, .next__arrow, .next__img { transition: none; }
}

/* ---------- hero legibility ---------- */
.hero__text .kicker { color: rgba(246, 242, 235, .92); }
.hero__text, .hero__aside { text-shadow: 0 2px 28px rgba(23, 19, 15, .35); }
.panel figcaption { top: 112px; }
@media (max-width: 760px) {
  .panel img { object-position: 50% 22%; }
  .hero__text { top: auto; bottom: 228px; }
  .hero__shade { background: linear-gradient(180deg, rgba(23,19,15,.5) 0%, rgba(23,19,15,0) 18%, rgba(23,19,15,0) 30%, rgba(23,19,15,.55) 52%, rgba(23,19,15,.88) 100%); }
}
