/* ==========================================================================
   San Remo – Ristorante a Mannheim dal 1977
   Liquid layout, mobile first. Breakpoints:
     30em  480px  large phones
     48em  768px  tablets portrait  – image/text splits go side by side
     64em 1024px  tablets landscape / laptops – desktop navigation, sticky menu image
     90em 1440px  desktop – type scale reaches the spec values, then keeps growing
    120em 1920px  large screens
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "League Gothic SemiCondensed";
  src: url("../fonts/league-gothic-semicondensed.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playwrite IT Trad";
  src: url("../fonts/playwrite-it-trad-light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --red: #DB042C;
  --red-rgb: 219, 4, 44;
  --red-dark: #B00323;
  --ink: #042720;          /* dark green, replaces black everywhere (text, surfaces, lines, scrims) */
  --ink-rgb: 4, 39, 32;
  --white: #fff;
  --ink-2: rgba(var(--ink-rgb), .68);
  --line: rgba(var(--ink-rgb), .14);
  --line-strong: rgba(var(--ink-rgb), .34);
  --light-2: rgba(255, 255, 255, .8);
  --light-3: rgba(255, 255, 255, .64);

  --font-head: "League Gothic SemiCondensed", "League Gothic", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-hand: "Playwrite IT Trad", "Segoe Script", "Bradley Hand", cursive;

  /* Perfect Fourth (1.333) – spec values reached at 1440px, fluid down to 360px */
  --fs-h1: clamp(3.157rem, 2.3393rem + 3.6341vw, 5.61rem);
  --fs-h2: clamp(2.369rem, 1.7557rem + 2.7259vw, 4.209rem);
  --fs-h3: clamp(1.777rem, 1.3170rem + 2.0444vw, 3.157rem);
  --fs-h4: clamp(1.777rem, 1.5797rem + 0.8770vw, 2.369rem);
  --fs-h5: clamp(1.333rem, 1.1850rem + 0.6578vw, 1.777rem);
  --fs-h6: clamp(1.125rem, 1.0557rem + 0.3081vw, 1.333rem);
  /* body sizes hold their spec value up to 1440px and grow gently on large screens */
  --fs-p: clamp(1rem, 0.8393rem + 0.1786vw, 1.125rem);
  --fs-small: clamp(0.75rem, 0.6291rem + 0.1343vw, 0.844rem);
  --fs-xs: clamp(0.563rem, 0.4730rem + 0.1000vw, 0.633rem);

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3.5rem);
  --space-1: clamp(.5rem, .4rem + .4vw, .75rem);
  --space-2: clamp(1rem, .8rem + .8vw, 1.5rem);
  --space-3: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --space-4: clamp(2rem, 1.3rem + 3vw, 4rem);
  --space-5: clamp(3rem, 1.8rem + 5vw, 6.5rem);
  --section: clamp(4.5rem, 2.8rem + 7.5vw, 10rem);
  --measure: 62ch;

  --header-h: calc(4.25rem + env(safe-area-inset-top, 0px));   /* the fixed header also covers a phone's status-bar inset */
  --tabs-h: 4.6rem;
  --bottombar-h: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 64em) {
  :root { --header-h: calc(5.5rem + env(safe-area-inset-top, 0px)); --tabs-h: 5rem; --bottombar-h: 0px; }
}
@media (min-width: 90em) {
  :root {
    --fs-h1: clamp(5.61rem, 4.1674rem + 1.6029vw, 6.732rem);
    --fs-h2: clamp(4.209rem, 3.1264rem + 1.2029vw, 5.051rem);
    --fs-h3: clamp(3.157rem, 2.3457rem + 0.9014vw, 3.788rem);
    --fs-h4: clamp(2.369rem, 1.9126rem + 0.5071vw, 2.724rem);
    --fs-h5: clamp(1.777rem, 1.4916rem + 0.3171vw, 1.999rem);
    --fs-h6: clamp(1.333rem, 1.1183rem + 0.2386vw, 1.5rem);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
/* smooth only after load, so a link like /#kontakt lands directly instead of racing down the page */
html.is-ready { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-p);
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.i18n-pending body { visibility: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }
small { font-size: var(--fs-small); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-red :focus-visible, .overlay :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.hand {
  font-family: var(--font-hand);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
.muted { color: var(--ink-2); }
.skip-link {
  position: absolute; left: var(--gutter); top: -6rem; z-index: 100;
  padding: .75rem 1.25rem; background: var(--ink); color: #fff;
}
.skip-link:focus { top: .75rem; }

/* dotted rule, as on the reference */
.dots {
  height: 4px;
  margin-inline: var(--gutter);
  color: rgba(var(--ink-rgb), .55);
  background-image: radial-gradient(circle at center, currentColor 1.1px, transparent 1.6px);
  background-size: 7px 4px;
  background-repeat: repeat-x;
  background-position: 0 50%;
}
.dots--light { color: rgba(255, 255, 255, .5); }

/* responsive pictures (generated by tools/build.mjs) */
.pic { display: block; overflow: hidden; background: var(--pic-bg, #1a1a1a); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic[hidden] { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3rem;
  padding: .8em 1.6em .72em;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: var(--fs-h6);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--red { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.btn--red:hover { --btn-bg: var(--red-dark); --btn-bd: var(--red-dark); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--red); --btn-bd: var(--red); }
.btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .85); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--outline { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--text { --btn-fg: inherit; padding-inline: .4em; text-decoration: underline; text-underline-offset: .3em; }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--space-2);
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid, .page--legal .site-header {
  background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.brand { margin-right: auto; color: inherit; display: block; }
.brand__logo { width: clamp(6.5rem, 5rem + 6vw, 10.5rem); height: auto; aspect-ratio: 2082 / 486; fill: currentColor; }
.site-header.is-solid .brand__logo, .page--legal .brand__logo { fill: var(--red); }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.8rem, -1.2rem + 3vw, 2.4rem); list-style: none; padding: 0; }
.nav__link {
  display: inline-block;
  padding: .45em 0 .35em;
  border-bottom: 2px solid transparent;
  font-family: var(--font-head); font-size: var(--fs-h6); line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { border-color: currentColor; }
.site-header.is-solid .nav__link[aria-current="true"] { color: var(--red); }
.nav__link--rent { padding: .5em 1em .42em; border: 2px solid currentColor; border-radius: 999px; }
.nav__link--rent:hover, .nav__link--rent[aria-current="true"] { background: var(--red); border-color: var(--red); color: #fff !important; }
.header__tools { display: flex; align-items: center; gap: .25rem; }
.lang { display: flex; gap: .1rem; }
.lang__btn {
  min-width: 2.5rem; min-height: 2.75rem;
  padding: .45em .45em .35em;
  border: 0; background: none;
  font-family: var(--font-head); font-size: var(--fs-h6); line-height: 1;
  letter-spacing: .08em;
  opacity: .62;
  transition: opacity .2s;
}
.lang__btn:hover { opacity: 1; }
.lang__btn[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.burger { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.4rem; border: 0; background: none; }
.burger .icon { width: 1.8rem; height: 1.8rem; }
@media (min-width: 64em) {
  .nav { display: block; }
  .burger { display: none; }
}

/* mobile menu overlay */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--red); color: #fff;
  animation: fade .25s var(--ease);
}
.overlay[hidden] { display: none; }
.overlay__top { flex: none; height: var(--header-h); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; justify-content: space-between; }
.overlay__logo { width: clamp(6.5rem, 5rem + 6vw, 10.5rem); aspect-ratio: 2082 / 486; fill: #fff; }
.overlay__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.4rem; border: 0; background: none; }
.overlay__close .icon { width: 1.8rem; height: 1.8rem; }
.overlay__nav { display: flex; flex-direction: column; gap: .2em; margin-block: auto; padding-block: var(--space-4); }
.overlay__nav a { font-family: var(--font-head); font-size: var(--fs-h2); line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.overlay__nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.overlay__foot { display: grid; gap: .75rem; }
.overlay__foot .hand { font-size: var(--fs-h5); margin: 0; }
.overlay__meta { margin: 0; }
.overlay__meta a { text-decoration: none; font-family: var(--font-head); font-size: var(--fs-h5); letter-spacing: .05em; }
.lang--overlay { margin-top: .5rem; gap: .75rem; }
.lang--overlay .lang__btn { padding-inline: 0; }

/* ---------- Hero (always 100 % of the viewport) ---------- */
.hero {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh;
  min-height: 26rem;
  overflow: hidden;
  background: var(--ink); color: #fff;
}
.hero__media, .hero__media .pic { position: absolute; inset: 0; height: 100%; }
.hero__img img { object-position: 50% 38%; animation: neon-on 1.6s steps(1, end) .1s both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb), .5) 0%, rgba(var(--ink-rgb), 0) 20%),
    /* lower edge fades into brand red, as on the menu PDF cover */
    linear-gradient(0deg, var(--red) 0%, rgba(var(--red-rgb), .86) 12%, rgba(var(--red-rgb), .42) 34%, rgba(var(--red-rgb), 0) 58%);
}
.hero__content {
  position: absolute; inset: auto 0 0; z-index: 1;
  display: grid; justify-items: center; gap: var(--space-2);
  padding: 0 var(--gutter) calc(var(--bottombar-h) + clamp(2.5rem, 1rem + 6vh, 7rem));
  text-align: center;
  animation: rise .9s var(--ease) 1.1s both;
}
.hero__kicker { margin: 0; font-size: min(var(--fs-h5), 5.4vw); }
.hero__title { max-width: 16ch; font-size: var(--fs-h1); letter-spacing: .06em; }
.hero__info {
  display: flex; flex-direction: column; align-items: center; gap: .2rem 1rem;
  margin: 0; color: rgba(255, 255, 255, .9);
}
.hero__sep { display: none; width: 1px; height: 1.1em; background: rgba(255, 255, 255, .6); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .4rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; z-index: 1; transform: translateX(-50%);
  display: none; justify-items: center;
  color: #fff; text-decoration: none;
  animation: rise .9s var(--ease) 1.5s both;
}
.hero__scroll .hand { font-size: var(--fs-h6); line-height: 1.4; }
.hero__scroll .icon { width: 1.6rem; height: 1.6rem; }
@media (min-width: 30em) {
  .hero__info { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero__sep { display: block; }
}
@media (min-width: 64em) {
  .hero__scroll { display: grid; }
  .hero__content { padding-bottom: clamp(6rem, 3rem + 10vh, 10rem); }
}
@media (max-height: 34em) and (orientation: landscape) {
  .hero__kicker { font-size: var(--fs-h6); }
  .hero__title { font-size: var(--fs-h2); }
  .hero__content { gap: .6rem; padding-bottom: calc(var(--bottombar-h) + 1.5rem); }
  .hero__scroll { display: none; }
}
@keyframes neon-on {
  0% { filter: brightness(.1) saturate(.5); }
  7% { filter: brightness(.92); }
  10% { filter: brightness(.22); }
  15% { filter: brightness(1); }
  18% { filter: brightness(.4); }
  25%, 100% { filter: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections & heads ---------- */
.section { padding-block: var(--section); }
.section:has(> .dots:first-child) { padding-top: var(--space-4); }
.section > .dots:first-child { margin-bottom: var(--space-5); }
.head {
  display: grid; justify-items: center; gap: var(--space-1);
  margin-bottom: var(--space-4);
  padding-inline: var(--gutter);
  text-align: center;
}
.head--pad { margin-bottom: var(--space-5); }
.head__title { color: var(--red); font-size: var(--fs-h2); letter-spacing: .07em; }
.head__title--sub { font-size: var(--fs-h3); }
.head__hand { max-width: 34ch; margin: 0; font-size: var(--fs-h5); }
.head__lead { max-width: var(--measure); margin: var(--space-1) 0 0; color: var(--ink-2); }

/* Benvenuti */
.intro__text { max-width: var(--measure); margin: 0 auto; padding-inline: var(--gutter); text-align: center; }
.facts {
  list-style: none;
  display: grid; grid-template-columns: 1fr; gap: var(--space-3);
  max-width: 68rem; margin: var(--space-4) auto 0; padding: 0 var(--gutter);
  text-align: center;
}
.fact { display: grid; gap: .3rem; }
.fact__big { font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
.fact__small { color: var(--ink-2); }
@media (min-width: 40em) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .fact { padding-inline: var(--space-2); }
  .fact + .fact { border-left: 2px dotted var(--line-strong); }
}

/* full-bleed bands */
.band { position: relative; margin: 0; }
.band .pic img { height: auto; }
.badge {
  position: absolute; right: clamp(1rem, 7vw, 9rem); bottom: 0; z-index: 2;
  transform: translateY(50%);
  width: clamp(7.5rem, 5rem + 9vw, 13.5rem); aspect-ratio: 1;
  display: grid; place-content: center; gap: .1em;
  border-radius: 50%;
  background: var(--ink); color: #fff; text-align: center;
}
.badge::before { content: ""; position: absolute; inset: .55rem; border: 2px dotted rgba(255, 255, 255, .7); border-radius: 50%; }
.badge__hand { font-size: var(--fs-h6); line-height: 1.3; }
.badge__big { font-family: var(--font-head); font-size: var(--fs-h4); line-height: .95; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- La Carta ---------- */
.carta { padding-bottom: 0; }
.carta__tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  min-height: var(--tabs-h);
  padding-inline: var(--gutter);
  background: var(--ink); color: #fff;
}
.carta__tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: start;
  display: grid; justify-items: center; align-content: center; gap: .15rem;
  padding: .55rem clamp(.85rem, .3rem + 1.8vw, 2.2rem) .45rem;
  border: 0; background: none; color: inherit;
  transition: background-color .2s var(--ease);
}
.tab .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.4; }
.tab__label { font-family: var(--font-hand); font-weight: 300; font-size: var(--fs-p); line-height: 1.45; white-space: nowrap; }
.tab:hover { background: rgba(255, 255, 255, .1); }
.tab[aria-selected="true"] { background: var(--red); }
@media (min-width: 64em) { .carta__tabs { justify-content: center; } }

.carta__body { display: grid; grid-template-columns: 1fr; }
.carta__media .pic { aspect-ratio: 16 / 10; }
.carta__panels { padding: var(--space-4) var(--gutter) var(--space-5); min-width: 0; }
.carta__noscript { text-align: center; }
@media (min-width: 64em) {
  .carta__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .carta__media {
    position: sticky; top: calc(var(--header-h) + var(--tabs-h)); align-self: start;
    height: calc(100vh - var(--header-h) - var(--tabs-h));
    height: calc(100svh - var(--header-h) - var(--tabs-h));
  }
  .carta__media .pic { height: 100%; aspect-ratio: auto; }
  .carta__panels { padding: var(--space-5) clamp(2rem, 5vw, 7rem); }
}

.menu-sec[hidden] { display: none; }
.menu-sec__head { margin-bottom: var(--space-3); }
.menu-sec__title { color: var(--red); font-size: var(--fs-h2); letter-spacing: .06em; }
.menu-sec__sub { margin: .35rem 0 0; font-size: var(--fs-h6); }
.menu-group + .menu-group { margin-top: var(--space-4); }
.menu-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.menu-group__title { font-size: var(--fs-h4); }
.menu-group__note { margin: 0; font-size: var(--fs-p); }
.menu-list { list-style: none; padding: 0; display: grid; }
@media (min-width: 90em) { .menu-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); } }
.dish { padding-block: 1.05rem 1.1rem; border-bottom: 1px solid var(--line); }
.dish__tip { margin: 0 0 .1rem; color: var(--red); font-size: var(--fs-p); line-height: 1.5; }
.dish__top { display: flex; align-items: baseline; gap: .55rem; }
.dish__name { margin: 0; font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.dish__leader { flex: 1 1 1.5rem; min-width: 1.5rem; align-self: flex-end; margin-bottom: .32em; border-bottom: 2px dotted var(--line-strong); }
.dish__price { font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1.05; letter-spacing: .03em; white-space: nowrap; }
.dish__prices { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem 1rem; }
.dish__prices small { font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0; color: var(--ink-2); margin-right: .3rem; }
.dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin-top: .35rem; }
.dish__desc { margin: .35rem 0 0; max-width: 60ch; color: var(--ink-2); }
.dish__note { font-size: var(--fs-small); color: var(--ink-2); }
.dish__codes { margin-left: .2rem; font-size: var(--fs-small); letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.diet {
  display: inline-grid; place-items: center;
  min-width: 1.7rem; height: 1.7rem; padding: .1rem .4rem 0;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-family: var(--font-head); font-size: 1rem; line-height: 1; letter-spacing: .04em;
}
.diet--hot { border-color: var(--red); color: var(--red); padding: 0 .25rem; }
.diet--hot .icon { width: 1.05rem; height: 1.05rem; }
.liguria {
  display: inline-flex; align-items: center; height: 1.7rem; padding: .12rem .65rem 0;
  border-radius: 999px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 1rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
}

.carta__foot {
  display: grid; justify-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--gutter) var(--section);
  border-top: 1px solid var(--line);
  text-align: center;
}
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; color: var(--ink-2); font-size: var(--fs-small); }
.legend__item { display: inline-flex; align-items: center; gap: .45rem; }
.legend__hand { color: var(--red); font-family: var(--font-hand); font-weight: 300; font-size: var(--fs-p); }
.allergens { width: 100%; max-width: 64rem; border-block: 1px solid var(--line); }
.allergens__toggle {
  display: flex; justify-content: center; align-items: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1rem;
  list-style: none; cursor: pointer;
  font-family: var(--font-head); font-size: var(--fs-h6); letter-spacing: .08em; text-transform: uppercase;
}
.allergens__toggle::-webkit-details-marker { display: none; }
.allergens__toggle .icon { transition: transform .25s var(--ease); }
.allergens[open] .allergens__toggle .icon { transform: rotate(180deg); }
.allergens__body { display: grid; grid-template-columns: 1fr; gap: var(--space-3); padding: .5rem 1rem 1.75rem; text-align: left; }
.allergens__body h3 { font-size: var(--fs-h5); margin-bottom: .75rem; color: var(--red); }
.allergens__list { list-style: none; padding: 0; display: grid; gap: .3rem; font-size: var(--fs-small); }
.allergens__list li { display: grid; grid-template-columns: 1.8rem 1fr; }
.allergens__list b { font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; color: var(--ink); }
.allergens__disclaimer { grid-column: 1 / -1; margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 48em) { .allergens__body { grid-template-columns: 1fr 1fr; } }
.downloads { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.download {
  display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center;
  min-width: min(100%, 16rem);
  padding: .95rem 1.5rem .9rem 1.2rem;
  background: var(--ink); color: #fff; text-align: left; text-decoration: none;
  transition: background-color .2s var(--ease);
}
.download:hover { background: var(--red); }
.download .icon { grid-row: span 2; width: 1.8rem; height: 1.8rem; }
.download__title { font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.download__meta { font-size: var(--fs-small); color: rgba(255, 255, 255, .75); }
.carta__note { margin: 0; max-width: 60ch; font-size: var(--fs-small); color: var(--ink-2); }

/* dark call-to-action band */
.cta-band {
  display: grid; justify-items: center; gap: var(--space-2);
  padding: var(--section) var(--gutter);
  background: var(--ink); color: #fff; text-align: center;
}
.cta-band__title { max-width: 20ch; font-size: var(--fs-h2); letter-spacing: .05em; }
.cta-band__hand { margin: 0; font-size: var(--fs-h5); }

/* ---------- Ambiente ---------- */
.ambiente { padding-top: var(--section); }
.split { display: grid; grid-template-columns: 1fr; background: #fff; }
.split__media .pic { aspect-ratio: 4 / 5; }
.split__text {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: var(--space-5) var(--gutter);
  text-align: center;
}
.split__text > * { max-width: 36rem; }
.split__title { color: var(--red); font-size: var(--fs-h3); letter-spacing: .06em; }
.split__hand { margin: .35rem 0 1.1rem; font-size: var(--fs-h5); }
@media (min-width: 48em) {
  .split { grid-template-columns: 1fr 1fr; min-height: clamp(32rem, 54vw, 64rem); }
  .split__media { position: relative; }
  .split__media .pic { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .split--rev .split__media { order: 2; }
  .split__text { padding: var(--space-5) clamp(2rem, 6vw, 8rem); }
}

.gallery {
  list-style: none; margin: 0;
  display: flex; gap: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .5rem var(--gutter) 0;
  scrollbar-width: thin;
}
.gallery__item { flex: 0 0 min(86vw, 34rem); scroll-snap-align: start; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: zoom-in; }
.gallery__img { height: 100%; aspect-ratio: 4 / 5; }
.gallery__img img { transition: transform .6s var(--ease); }
.gallery__btn:hover .gallery__img img { transform: scale(1.03); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.1rem .8rem;
  background: linear-gradient(0deg, rgba(var(--ink-rgb), .6), rgba(var(--ink-rgb), 0));
  font-size: var(--fs-h6); text-align: left;
}
@media (min-width: 48em) {
  .gallery {
    display: grid; overflow: visible; padding: 6px 0 0; gap: 6px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: clamp(16rem, 36vw, 52rem) clamp(18rem, 40vw, 58rem) clamp(16rem, 36vw, 52rem);
    grid-template-areas:
      "a a a a a a a b b b b b"
      "c c c c d d d d d d d d"
      "e e e e e f f f f f f f";
  }
  .gallery__item { min-height: 0; }
  .gallery__item--a { grid-area: a; } .gallery__item--b { grid-area: b; }
  .gallery__item--c { grid-area: c; } .gallery__item--d { grid-area: d; }
  .gallery__item--e { grid-area: e; } .gallery__item--f { grid-area: f; }
  .gallery__img { aspect-ratio: auto; }
  .gallery__cap { padding: 4rem 1.5rem 1.1rem; font-size: var(--fs-h5); }
}

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(var(--ink-rgb), .95); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .2s var(--ease); }
.lightbox::backdrop { background: rgba(var(--ink-rgb), .7); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: .75rem; padding: 4.5rem 4rem 2rem; }
.lightbox__img { max-width: min(92vw, 120rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; }
.lightbox__cap { font-size: var(--fs-h5); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink);
}
.lightbox__btn:hover { background: var(--red); color: #fff; }
.lightbox__btn--prev { left: max(.75rem, 2vw); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: max(.75rem, 2vw); top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: max(.75rem, 2vw); top: max(.75rem, 2vw); }
@media (max-width: 47.99em) {
  .lightbox__figure { padding: 4rem .75rem 5rem; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Affittasi / Vermietung ---------- */
.affitto__intro {
  display: grid; justify-items: center; gap: var(--space-2);
  padding: var(--section) var(--gutter);
  background: var(--ink); color: #fff; text-align: center;
}
.affitto__sign {
  margin: 0 0 .25em;
  color: var(--red);
  font-size: clamp(3.4rem, 1.8rem + 7vw, 9.5rem);
  line-height: 1.25;
  transform: rotate(-4deg);
}
.affitto__title { max-width: 18ch; font-size: var(--fs-h2); letter-spacing: .05em; }
.affitto__lead { max-width: var(--measure); margin: 0; color: var(--light-2); }
.affitto__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--space-1); }
.split__lead { margin: 0 0 1rem; font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }

/* "Auf einen Blick": the house's key facts, set like the menu (red labels, hairlines, a strong top rule) */
.glance { padding: var(--space-2) var(--gutter) var(--section); }
.glance .head { margin-bottom: var(--space-3); padding-inline: 0; }
.glance__list { display: grid; grid-template-columns: 1fr; column-gap: var(--space-4); max-width: 80rem; margin: 0 auto; border-top: 2px solid var(--ink); }
.glance__item { display: grid; align-content: start; gap: .3rem; padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.glance__item dt { font-family: var(--font-head); font-size: var(--fs-h6); line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; color: var(--red); }
.glance__item dd { margin: 0; max-width: 58ch; }
/* starts flush with the list, but keeps a readable line length */
.glance__note { max-width: 44rem; margin: var(--space-2) 0 0 max(0px, (100% - 80rem) / 2); font-size: var(--fs-small); color: var(--ink-2); }
.glance__note span[aria-hidden] { color: var(--red); }
.glance__cta { display: grid; justify-items: center; gap: .55rem; max-width: 44rem; margin: var(--space-5) auto 0; text-align: center; }
.glance__cta-title { margin: 0; font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--red); text-wrap: balance; }
.glance__cta p:not(.glance__cta-title) { margin: 0 0 .65rem; color: var(--ink-2); }
@media (min-width: 48em) {
  .glance { padding-top: var(--space-5); }
  .glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__item:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* an odd last fact spans both columns */
}

.band--room { background: var(--ink); color: #fff; }
.band__caption { padding: var(--space-4) var(--gutter); }
.band__title { margin-bottom: .6rem; font-size: var(--fs-h3); color: #fff; }
.band__caption p { margin: 0; max-width: 52ch; color: var(--light-2); }
@media (min-width: 48em) {
  .band__caption { position: absolute; left: var(--gutter); bottom: var(--gutter); max-width: 36rem; padding: var(--space-3); background: var(--ink); }
}

.kitchen { padding-top: var(--section); }
.kitchen__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-1);
  padding: 0 var(--gutter);
}
.kitchen__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.kitchen__img { aspect-ratio: 4 / 3; }
.kitchen__cap { margin: .6rem 0 0; line-height: 1.15; font-family: var(--font-head); font-size: var(--fs-h6); letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 48em) { .kitchen__grid { column-gap: var(--space-2); } }
@media (min-width: 64em) { .kitchen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.concept { margin-top: var(--section); padding: var(--section) var(--gutter); background: var(--ink); color: #fff; }
.concept .head__lead { color: var(--light-2); }
.concept__grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 0 var(--space-4);
  max-width: 96rem; margin: 0 auto; padding: 0;
}
.concept__item { padding: var(--space-3) 0; border-top: 2px dotted rgba(255, 255, 255, .4); }
.concept__title { margin-bottom: .6rem; font-size: var(--fs-h4); color: var(--red); }
.concept__item p { margin: 0; color: var(--light-2); max-width: 44ch; }
@media (min-width: 48em) { .concept__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .concept__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.checklist { list-style: none; display: grid; gap: .55rem; margin-top: var(--space-2); padding: 0; text-align: left; }
.checklist li { display: flex; gap: .7rem; }
.checklist li::before { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .6em; border-radius: 50%; background: var(--red); }

.affitto__cta {
  display: grid; justify-items: center; gap: var(--space-1);
  padding: var(--section) var(--gutter);
  background: var(--ink); color: #fff; text-align: center;
}
.affitto__cta .hand { margin: 0; font-size: var(--fs-h5); color: var(--red); }
.affitto__cta-title { font-size: var(--fs-h2); letter-spacing: .05em; }
.affitto__cta p:not(.hand) { max-width: 50ch; margin: .5rem 0 0; color: var(--light-2); }

/* ---------- Prenota / Reservierung ---------- */
.prenota { display: grid; grid-template-columns: 1fr; background: var(--red); color: #fff; }
.prenota__media { display: none; }
.prenota__main { display: grid; gap: var(--space-4); align-content: start; padding: var(--section) var(--gutter); min-width: 0; }
.prenota__title { font-size: var(--fs-h2); letter-spacing: .07em; }
.prenota__hand { margin: .4rem 0 .8rem; font-size: var(--fs-h5); }
.prenota__lead { max-width: var(--measure); margin: 0; color: rgba(255, 255, 255, .92); }
.prenota__lead a { color: #fff; }
.prenota :focus-visible { outline-color: #fff; }
.prenota .card :focus-visible { outline-color: var(--red); }
@media (min-width: 64em) {
  .prenota { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .prenota__media { display: block; position: relative; }
  .prenota__media .pic {
    position: sticky; top: var(--header-h);
    height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  }
  .prenota__main { padding-inline: clamp(2rem, 5vw, 7rem); }
}

.card { background: #fff; color: var(--ink); padding: clamp(1.25rem, .8rem + 2.4vw, 3.25rem); }
.card--line { border: 2px solid var(--ink); }
.booking { display: grid; gap: var(--space-3); max-width: 54rem; }
.step { min-width: 0; margin: 0; padding: 0; border: 0; }
.step__legend {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem; padding: 0;
  font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1.05; letter-spacing: .05em; text-transform: uppercase;
}
.step__no { display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; padding-top: .12rem; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.15rem; }
.step__hint { margin: .8rem 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.stepper { display: flex; align-items: center; gap: .9rem; }
.stepper__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid var(--ink); border-radius: 50%; background: #fff; transition: background-color .2s, color .2s; }
.stepper__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.stepper__btn:disabled { opacity: .25; cursor: not-allowed; }
.stepper__value { min-width: 2ch; font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1; text-align: center; }
.stepper__unit { font-family: var(--font-head); font-size: var(--fs-h5); letter-spacing: .05em; text-transform: uppercase; }

.cal { max-width: 27rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.cal__month { font-family: var(--font-head); font-size: var(--fs-h5); letter-spacing: .05em; text-transform: uppercase; }
.cal__nav { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; }
.cal__nav:hover:not(:disabled) { background: rgba(var(--ink-rgb), .07); }
.cal__nav:disabled { opacity: .2; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.cal__dow { padding: .2rem 0; font-size: var(--fs-small); text-align: center; color: var(--ink-2); }
.cal__day {
  display: grid; place-items: center;
  aspect-ratio: 1; min-height: 2.5rem; padding: .15rem 0 0;
  border: 0; border-radius: 50%;
  background: transparent; color: rgba(var(--ink-rgb), .28);
  font-family: var(--font-head); font-size: 1.25rem; line-height: 1;
}
.cal__day:disabled { cursor: default; }
.cal__day--open { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(var(--ink-rgb), .55); }
.cal__day--open:hover { background: rgba(219, 4, 44, .12); }
.cal__day[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: none; }
.cal__day--today { text-decoration: underline; text-underline-offset: .2em; }
.times { display: flex; flex-wrap: wrap; gap: .5rem; }
.times__empty { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.time {
  min-width: 5.25rem; min-height: 2.75rem; padding: .3rem 1rem .15rem;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .05em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.time:hover:not(:disabled) { background: rgba(219, 4, 44, .1); }
.time[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.time:disabled { opacity: .25; text-decoration: line-through; cursor: not-allowed; }

.fields { display: grid; grid-template-columns: 1fr; gap: 1.1rem 1.5rem; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: .35rem; font-family: var(--font-head); font-size: var(--fs-h6); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.field__opt { font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.field__input {
  display: block; width: 100%; min-height: 3rem;
  padding: .65rem .1rem;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: transparent;
  transition: border-color .2s, box-shadow .2s;
}
textarea.field__input { min-height: 6.5rem; padding: .75rem .85rem; border: 2px solid var(--ink); resize: vertical; }
.field__input:focus { outline: none; border-color: var(--red); box-shadow: 0 2px 0 var(--red); }
textarea.field__input:focus { box-shadow: inset 0 0 0 1px var(--red); }
.field__input[aria-invalid="true"] { border-color: var(--red); }
.field__error { margin: .4rem 0 0; color: var(--red); font-size: var(--fs-small); }
.field__error[hidden] { display: none; }
@media (min-width: 40em) { .fields { grid-template-columns: 1fr 1fr; } }
.summary {
  padding: 1rem 0 0;
  border-top: 2px dotted var(--line-strong);
  font-family: var(--font-head); font-size: var(--fs-h5); line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
}
.summary:empty { display: none; }
.summary .hand { display: block; margin-bottom: .2rem; color: var(--red); font-size: var(--fs-p); text-transform: none; letter-spacing: 0; }
.form__privacy { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.sent { display: grid; justify-items: start; gap: .8rem; max-width: 54rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.sent[hidden] { display: none; }
.sent__hand { margin: 0; color: var(--red); font-size: var(--fs-h3); line-height: 1.3; }
.sent__title { font-size: var(--fs-h3); }
.sent p { margin: 0; max-width: 60ch; }
.sent__fallback { color: var(--ink-2); font-size: var(--fs-small); }
.sent__mail {
  justify-self: stretch; margin: 0; padding: .9rem 1rem;
  max-height: 18rem; overflow: auto;
  background: rgba(var(--ink-rgb), .04); border-left: 3px solid var(--red); color: var(--ink);
  font: var(--fs-small)/1.55 var(--font-body);
  white-space: pre-wrap; overflow-wrap: anywhere; user-select: text;
}
.sent__mail:empty { display: none; }
.sent__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

/* ---------- Contatti ---------- */
.contatti__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-5);
  max-width: 112rem; margin: 0 auto; padding-inline: var(--gutter);
}
.cline {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.05; letter-spacing: .03em;
  text-decoration: none; overflow-wrap: anywhere;
}
.cline .icon { width: 2.2rem; height: 2.2rem; color: var(--red); }
a.cline:hover .cline__text { text-decoration: underline; text-decoration-thickness: 2px; }
.contatti__hint { max-width: 42ch; color: var(--ink-2); }
.contact { display: grid; gap: 1.25rem; }
.topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .5rem; padding: 0; border: 0; }
.topics__legend { width: 100%; margin-bottom: .8rem; padding: 0; font-family: var(--font-head); font-size: var(--fs-h5); letter-spacing: .05em; text-transform: uppercase; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.15rem;
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip:hover input:not(:checked) + span { background: rgba(var(--ink-rgb), .06); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
@media (min-width: 64em) {
  .contatti__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}

/* ---------- Anfahrt ---------- */
.anfahrt { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.anfahrt__text { display: grid; align-content: center; justify-items: start; gap: .4rem; padding: var(--section) var(--gutter); }
.anfahrt__text .head__hand { text-align: left; }
.anfahrt__addr { margin: var(--space-2) 0; font-style: normal; font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; }
.anfahrt__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: var(--space-3); }
.ways { list-style: none; display: grid; gap: 1.3rem; max-width: 42rem; padding: 0; }
.way { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; }
.way__icon { width: 2rem; height: 2rem; color: var(--red); }
.way__title { margin-bottom: .3rem; font-size: var(--fs-h5); letter-spacing: .05em; }
.way p { margin: 0; color: var(--ink-2); }
.map { position: relative; min-height: 75vh; min-height: 75svh; overflow: hidden; background: var(--ink); color: #fff; }
.map__img { position: absolute; inset: 0; height: 100%; }
.map__img img { filter: brightness(.42); }
.map__gate {
  position: relative; z-index: 1;
  display: grid; place-content: center; justify-items: center; gap: .8rem;
  min-height: inherit; height: 100%;
  padding: var(--space-4) var(--gutter);
  text-align: center;
}
.map__pin { width: 3rem; height: 3rem; color: var(--red); }
.map__title { margin: 0; font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
.map__text { max-width: 38ch; margin: 0; color: var(--light-2); }
.map__privacy { font-size: var(--fs-small); }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); pointer-events: none; }
.map__marker { position: absolute; left: 50%; top: 50%; z-index: 2; width: 3.25rem; height: 3.25rem; color: var(--red); transform: translate(-50%, -92%); pointer-events: none; filter: drop-shadow(0 3px 6px rgba(var(--ink-rgb), .35)); }
.map__marker use { fill: #fff; }
.map__open { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 3; }
.map.is-loaded .map__gate, .map.is-loaded .map__img { display: none; }
@media (min-width: 64em) {
  .anfahrt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .anfahrt__text { padding-inline: var(--gutter) clamp(2rem, 5vw, 7rem); }
  .map { min-height: 0; }
}

/* ---------- Seguici ---------- */
.social { padding-bottom: 0; }
.social__bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.25rem; margin-top: var(--space-1); }
.social__handle { font-family: var(--font-head); font-size: var(--fs-h5); letter-spacing: .05em; text-decoration: none; }
.social__handle:hover { color: var(--red); }
.social-icons { display: flex; gap: .5rem; }
.social-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 2px solid currentColor; border-radius: 50%; color: inherit; transition: background-color .2s, border-color .2s, color .2s; }
.social-icon:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social-icon .icon { width: 1.3rem; height: 1.3rem; }
.feed { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 0; }
.feed__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.feed__img { height: 100%; }
.feed__img img { transition: transform .6s var(--ease); }
.feed__item:hover .feed__img img { transform: scale(1.04); }
.feed__likes {
  position: absolute; left: .8rem; bottom: .6rem;
  display: inline-flex; align-items: center; gap: .35rem;
  color: #fff; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .05em;
  text-shadow: 0 1px 10px rgba(var(--ink-rgb), .6);
}
.feed__likes .icon { width: 1.1rem; height: 1.1rem; fill: #fff; }
.social__note { margin: 0; padding: 1rem var(--gutter) var(--space-4); text-align: center; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 48em) { .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 90em) { .feed { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottombar-h) + 1rem); z-index: 90;
  transform: translateX(-50%);
  width: max-content; max-width: min(36rem, calc(100vw - 2rem));
  padding: .9rem 1.25rem;
  border-left: 4px solid var(--red);
  background: var(--ink); color: #fff;
  font-size: var(--fs-small);
  animation: rise .3s var(--ease);
}
.toast[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer .dots { margin-inline: 0; }
/* --consent-space: set by consent.js while the cookie notice is open, so the end of the footer can still scroll above it */
.site-footer { padding: var(--space-5) var(--gutter) calc(var(--space-3) + max(var(--bottombar-h), var(--consent-space, 0px))); background: var(--ink); color: #fff; }
.footer__brand { display: grid; justify-items: center; gap: .5rem; margin-bottom: var(--space-4); text-align: center; }
.footer__logo { width: clamp(12rem, 7rem + 24vw, 32rem); height: auto; aspect-ratio: 2082 / 486; fill: var(--red); }
.footer__brand .hand { margin: 0; font-size: var(--fs-h5); }
.footer__cols { display: grid; grid-template-columns: 1fr; gap: var(--space-3); padding-block: var(--space-4); text-align: center; }
.footer__title { margin-bottom: .75rem; font-size: var(--fs-h5); letter-spacing: .06em; }
.footer__col p { margin: 0 0 .75rem; color: var(--light-2); }
.footer__col .muted { color: var(--light-3); }
.footer__col a { color: #fff; }
.footer__links { list-style: none; display: grid; gap: .35rem; padding: 0; }
.footer__col--social .social-icons { justify-content: center; margin-bottom: .75rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.5rem;
  padding-top: var(--space-3);
  font-size: var(--fs-small); color: var(--light-3);
}
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; gap: 1.25rem; padding: 0; }
.footer__legal a { color: #fff; }
.footer__consent {
  padding: 0; border: 0; background: none; color: #fff;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
}
[data-consent-open][hidden] { display: none !important; }   /* hidden in the Claude artifact preview */
.lang--footer .lang__btn { font-size: 1.05rem; min-height: 2.5rem; }
.footer__fiction { margin: var(--space-3) 0 0; text-align: center; font-size: var(--fs-small); color: var(--light-3); }
@media (min-width: 40em) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: left; }
  .footer__col--social .social-icons { justify-content: flex-start; }
  .footer__bottom { justify-content: space-between; }
}

/* ---------- Quick actions ---------- */
.quick { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); display: none; flex-direction: column; gap: 2px; }
.quick__btn { position: relative; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; background: var(--red); color: #fff; text-decoration: none; }
.quick__btn--dark { margin-top: .5rem; background: var(--ink); }
.quick__btn .icon { width: 1.35rem; height: 1.35rem; }
.quick__label {
  position: absolute; right: 100%; top: 0; height: 100%;
  display: flex; align-items: center; padding: .15rem 1rem 0;
  background: inherit; white-space: nowrap;
  font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateX(.5rem); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.quick__btn:hover .quick__label, .quick__btn:focus-visible .quick__label { opacity: 1; transform: none; }
@media (min-width: 64em) { .quick { display: flex; } }

.bottombar {
  position: fixed; inset: auto 0 0; z-index: 45;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
  background: #fff;
  transition: transform .25s var(--ease);
}
.bottombar.is-hidden { transform: translateY(105%); }
.bottombar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 3.5rem; padding-top: .15rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-size: 1rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
}
.bottombar__btn .icon { width: 1.3rem; height: 1.3rem; }
.bottombar__btn--red { background: var(--red); color: #fff; }
.bottombar__btn--dark { background: var(--ink); color: #fff; }
@media (min-width: 64em) { .bottombar { display: none; } }

/* ---------- Cookie notice (Google Analytics only after "Akzeptieren", see consent.js) ---------- */
/* phones: docked to the bottom, above the bottom bar on the homepage; from 48em a card bottom left (the quick bar sits right) */
.consent {
  --consent-bar: 0px; --consent-gap: 0px;
  position: fixed; left: 0; right: 0; bottom: calc(var(--consent-bar) + var(--consent-gap)); z-index: 65;
  display: grid; gap: .55rem;
  max-height: calc(100svh - var(--header-h) - var(--consent-bar) - var(--consent-gap));
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  border-top: 4px solid var(--red);
  background: var(--ink); color: #fff;
  box-shadow: 0 -.75rem 2.5rem rgba(var(--ink-rgb), .28);
  animation: rise .35s var(--ease);
}
.consent[hidden] { display: none; }
.page--home .consent { --consent-bar: var(--bottombar-h); padding-bottom: var(--space-2); }
.page--home:has(.bottombar.is-hidden) .consent { --consent-bar: 0px; padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px)); }
.consent__kicker { margin: 0; font-size: var(--fs-h6); line-height: 1.3; color: var(--light-2); }
.consent__title { margin: 0 0 .1rem; font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
.consent__text { margin: 0; max-width: var(--measure); font-size: var(--fs-small); line-height: 1.6; color: var(--light-2); }
.consent__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; font-size: var(--fs-small); }
.consent__links a { color: #fff; }
.consent .dots { margin: .35rem 0 .2rem; }
.consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.consent__actions .btn { padding-inline: 1em; }
.consent .btn:focus-visible, .consent__links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 48em) {
  .consent {
    --consent-gap: var(--gutter);
    left: var(--gutter); right: auto; width: min(28rem, calc(100vw - 2 * var(--gutter)));
    padding: var(--space-3) var(--space-3) calc(var(--space-3) - .25rem);
    border-top: 0; border-left: 4px solid var(--red);
    box-shadow: 0 1.25rem 3rem rgba(var(--ink-rgb), .38);
  }
  .page--home .consent, .page--home:has(.bottombar.is-hidden) .consent { padding-bottom: calc(var(--space-3) - .25rem); }
}

/* ---------- Legal pages ---------- */
.page--legal main { padding: calc(var(--header-h) + var(--space-5)) var(--gutter) var(--section); }
.legal { max-width: 50rem; margin: 0 auto; }
.legal__title { margin-bottom: .4rem; color: var(--red); font-size: var(--fs-h2); letter-spacing: .06em; }
.legal__stand { margin: 0 0 var(--space-3); font-size: var(--fs-h6); }
.legal h2 { margin: 2.6rem 0 .8rem; font-size: var(--fs-h5); letter-spacing: .05em; }
.legal h3 { margin: 1.6rem 0 .5rem; font-size: var(--fs-h6); letter-spacing: .05em; }
.legal p, .legal li { color: rgba(var(--ink-rgb), .84); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal a { overflow-wrap: anywhere; }
.legal__note { margin: 0 0 var(--space-3); padding: .9rem 1.1rem; border-left: 4px solid var(--red); background: rgba(var(--ink-rgb), .04); font-size: var(--fs-small); }
.legal [data-lang-block][hidden] { display: none; }
.legal__back { margin-top: var(--space-4); }

/* ---------- 404 ---------- */
.page--404 main { display: grid; place-items: center; min-height: 100svh; padding: var(--header-h) var(--gutter) var(--space-5); text-align: center; }
.page--404 .hand { font-size: var(--fs-h3); color: var(--red); margin: 0; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html, html.is-ready { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .overlay, .quick, .bottombar, .map, .hero__scroll, .carta__tabs, .toast, .consent, .footer__consent { display: none !important; }
  .hero { height: auto; min-height: 0; }
  .menu-sec[hidden] { display: block !important; }
}
