/* Salento — atmospheric editorial site
   Inspired by Puglia: limestone whites, deep wine, olive, sea blue.
   Magazine-style: full-bleed photos, asymmetric grids, layered type.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&family=Caveat:wght@500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --paper:        #f3ece0;
  --paper-2:      #ece3d2;
  --paper-3:      #e3d6bc;
  --ink:          #1d1a14;
  --ink-soft:     #4a4338;
  --rule:         #2a261c;
  --wine:         #7a1f22;
  --wine-deep:    #4d1416;
  --olive:        #5b6336;
  --olive-deep:   #3a4022;
  --gold:         #b8893a;
  --tomato:       #c44d3a;
  --sea:          #2d5e6b;

  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --hand:   'Caveat', 'Brush Script MT', cursive;
  --mono:   'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.10 0 0 0 0 0.08 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 960px; }

@media (max-width: 720px) {
  .container, .container--wide, .container--narrow { padding: 0 22px; }
}

/* ────────────── Top bar ────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.topbar.scrolled {
  background: rgba(243, 236, 224, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(29,26,20,0.08);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.topbar:not(.scrolled) .brand,
.topbar:not(.scrolled) .nav a { color: var(--paper); }
.brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color .2s, opacity .2s;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--gold) !important; }
.topbar.scrolled .nav a.active { color: var(--wine) !important; }
.nav a.active::after { transform: scaleX(1); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s, color .2s, transform .2s;
}
.cta:hover { background: var(--wine); color: var(--paper); transform: translateY(-1px); }
.topbar.scrolled .cta { background: var(--ink); color: var(--paper); }
.topbar.scrolled .cta:hover { background: var(--wine); }
.cta--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid currentColor;
}
.cta--dark { background: var(--ink); color: var(--paper); }
.cta--dark:hover { background: var(--wine); color: var(--paper); }

@media (max-width: 900px) {
  .nav { display: none; }
}

/* ────────────── HERO ────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  will-change: transform;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,12,6,0.55) 0%, rgba(20,12,6,0.15) 35%, rgba(20,12,6,0.85) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-bottom: 80px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px;
  background: currentColor; opacity: 0.7;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--paper);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: end;
}
.hero-lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper);
  opacity: 0.92;
  max-width: 38ch;
  grid-column: span 2;
}
.hero-lede em { color: var(--gold); font-style: italic; }
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.95;
  border-left: 1px solid rgba(243,236,224,0.4);
  padding-left: 22px;
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--gold);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.1;
}
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.hero-scroll::after {
  content: ''; width: 1px; height: 36px; background: currentColor;
}

@media (max-width: 720px) {
  .hero { min-height: 600px; }
  .hero-row { grid-template-columns: 1fr; gap: 28px; }
  .hero-lede { grid-column: 1; }
  .hero-meta { border-left: 0; padding-left: 0; border-top: 1px solid rgba(243,236,224,0.3); padding-top: 18px; }
}

/* ────────────── Marquee strip ────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(243,236,224,0.15);
  border-bottom: 1px solid rgba(243,236,224,0.15);
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ────────────── Section base ────────────── */
.section { padding: 120px 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--cream { background: var(--paper-2); }
.section--wine { background: var(--wine-deep); color: var(--paper); }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.section--dark .section-eyebrow,
.section--wine .section-eyebrow { color: var(--gold); }
.section-eyebrow::before {
  content: ''; width: 32px; height: 1px;
  background: currentColor; opacity: 0.7;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.section-title em { font-style: italic; color: var(--wine); font-weight: 400; }
.section--dark .section-title em,
.section--wine .section-title em { color: var(--gold); }
.section-lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}
.section--dark .section-lede,
.section--wine .section-lede { color: rgba(243,236,224,0.78); }

/* hand-drawn accent */
.handnote {
  font-family: var(--hand);
  font-size: 36px;
  color: var(--wine);
  line-height: 1;
  transform: rotate(-3deg);
  display: inline-block;
}
.section--dark .handnote, .section--wine .handnote { color: var(--gold); }

/* ────────────── STORIA — magazine spread ────────────── */
.storia {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  margin-top: 80px;
  align-items: start;
}
.storia-images { position: relative; }

/* Clickable Italy map → subpage */
.storia-map {
  position: relative;
  display: block;
  background: var(--paper-2);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(20,12,6,0.12);
  border: 1px solid rgba(29,26,20,0.08);
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
.storia-map:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(20,12,6,0.18); }
.storia-map-img {
  width: 100%; height: auto;
  display: block;
  filter: sepia(0.18) saturate(0.92);
}
/* hot-spot positioned over the red Salento/Puglia region.
   Image content (without padding) bounds: 79.4% — 93.2% L; 53.2% — 60.7% T.
   Padding 28px adjusted via calc; positioned in % of image only. */
.storia-map-hot {
  position: absolute;
  /* anchor inside image area = padding + (% of image-content-width) */
  left: calc(28px + 79.4% * (100% - 56px) / 100%);
  top:  calc(28px + 53.0% * (100% - 56px) / 100%);
  width:  calc(14.5% * (100% - 56px) / 100%);
  height: calc( 8.0% * (100% - 56px) / 100%);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: none; /* the whole <a> is clickable; this is decorative */
}
.storia-map-hot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--wine);
  border-radius: 12px;
  opacity: 0;
  animation: hotPing 2.4s ease-in-out infinite;
}
.storia-map-hot::after {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px dashed var(--wine);
  border-radius: 16px;
  opacity: 0.55;
}
@keyframes hotPing {
  0% { transform: scale(0.9); opacity: 0.8; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}
.storia-map-caption {
  position: absolute;
  bottom: 36px;
  left: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  padding: 14px 18px;
  border: 1px solid rgba(29,26,20,0.12);
  max-width: 56%;
}
.storia-map-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wine);
}
.storia-map-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}
.storia-map-title em { font-style: italic; color: var(--wine); }
.storia-text p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
}
.storia-text p.lead::first-letter {
  font-family: var(--serif);
  font-size: 5em;
  line-height: 0.85;
  float: left;
  margin: 6px 12px 0 0;
  color: var(--wine);
  font-weight: 500;
}
.storia-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.25;
  color: var(--wine);
  border-left: 3px solid var(--wine);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
}
.storia-sig {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(29,26,20,0.15);
}
.storia-sig-name {
  font-family: var(--hand);
  font-size: 38px;
  color: var(--wine);
  line-height: 1;
}
.storia-sig-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .storia { grid-template-columns: 1fr; gap: 40px; }
}

/* ────────────── KV grid (numbers) ────────────── */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(29,26,20,0.2);
  border-bottom: 1px solid rgba(29,26,20,0.2);
}
.num {
  padding: 36px 28px;
  border-right: 1px solid rgba(29,26,20,0.12);
}
.num:last-child { border-right: 0; }
.num-value {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  font-weight: 500;
  color: var(--wine);
  margin-bottom: 14px;
}
.num-value em { font-style: italic; }
.num-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 800px) { .numbers { grid-template-columns: repeat(2, 1fr); } .num:nth-child(2) { border-right: 0; } }

/* ────────────── SIGNATURE DISHES — magazine cards ────────────── */
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
}
.dish {
  position: relative;
}
.dish-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.dish-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,12,6,0.35) 100%);
}
.dish-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--paper);
  background: rgba(20,12,6,0.5);
  padding: 6px 10px;
  z-index: 2;
}
.dish-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.dish-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 8px;
}
.dish-title em { font-style: italic; }
.dish-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243,236,224,0.7);
  margin: 0;
  max-width: 32ch;
}
.section--dark .dish-desc { color: rgba(243,236,224,0.7); }
.dish-price {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .dishes { grid-template-columns: 1fr; gap: 50px; }
}

/* ────────────── MENU ────────────── */
.menu-wrapper { padding: 0 0 100px; }

.menu-nav {
  position: sticky;
  top: 70px;
  z-index: 20;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 60px 0 32px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid rgba(29,26,20,0.15);
  /* Rechteck mit milder Rundung — voller Pill-Radius (999px) hat
     beim Wrap die Pills an den Rändern weggebogen. Pills selbst bleiben rund. */
  border-radius: 28px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(20,12,6,0.06);
}
.menu-nav button {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.menu-nav button:hover { color: var(--ink); }
.menu-nav button.active {
  background: var(--ink);
  color: var(--paper);
}

.menu-section { padding: 70px 0; border-top: 1px solid rgba(29,26,20,0.18); scroll-margin-top: 160px; }
.menu-section:first-of-type { border-top: 0; }

.menu-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(29,26,20,0.18);
}
.menu-head-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.menu-head-title em { font-style: italic; color: var(--wine); font-weight: 400; }
.menu-head-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.menu-head-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0;
}
.menu-head-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.menu-list--single { grid-template-columns: 1fr; }

@media (max-width: 800px) {
  .menu-list { grid-template-columns: 1fr; gap: 0; }
  .menu-head { grid-template-columns: 1fr; gap: 18px; }
}

/* Speisekarten-Tabs: auf allen schmaleren Viewports horizontal scrollen
   statt in mehrere Zeilen umzubrechen. */
@media (max-width: 1024px) {
  .menu-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
  }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu-nav button { flex: 0 0 auto; }
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  padding: 22px 0;
  border-bottom: 1px dashed rgba(29,26,20,0.18);
  align-items: baseline;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.menu-item-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.menu-item-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--paper);
  padding: 3px 7px;
  border-radius: 2px;
}
.menu-item-tag.tag-vegan { background: #2e6b3a; }
.menu-item-price {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.menu-item-price::after { content: ' €'; opacity: 0.55; }
.menu-item-desc {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 56ch;
}
.menu-item-allergens {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  opacity: 0.65;
}
.menu-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 2px solid var(--wine);
  background: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}
.menu-group-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122,31,34,0.3);
}
.menu-group-title:first-child { margin-top: 0; }

.allergens-legend {
  margin-top: 48px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(29,26,20,0.12);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 24px;
}
.allergens-legend-title {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.allergens-legend-item {
  font-size: 13px;
  color: var(--ink);
  display: flex; gap: 10px;
}
.allergens-legend-item span:first-child {
  font-family: var(--mono);
  color: var(--wine);
  width: 20px;
}

/* ────────────── PARALLAX FULL-BLEED QUOTE ────────────── */
.parallax {
  position: relative;
  height: 80vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
}
.parallax-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,6,0.55), rgba(20,12,6,0.65));
}
.parallax-content {
  position: relative;
  max-width: 900px;
  padding: 0 32px;
}
.parallax-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.parallax-quote em { color: var(--gold); }
.parallax-cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
}
.parallax-cite::before { content: '— '; }

/* ────────────── DELIVERY ────────────── */
.delivery {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  margin-top: 80px;
  align-items: center;
}
.delivery-images {
  position: relative;
  height: 720px;
}
.delivery-img-main {
  position: absolute;
  width: 78%; height: 78%;
  top: 0; left: 0;
  background-size: cover; background-position: center;
}
.delivery-img-sub {
  position: absolute;
  width: 48%; height: 42%;
  bottom: 0; right: 0;
  background-size: cover; background-position: center;
  border: 8px solid var(--ink);
}
.delivery-points {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(243,236,224,0.2);
}
.delivery-point {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(243,236,224,0.2);
  align-items: baseline;
}
.delivery-point-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.delivery-point-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 6px;
}
.delivery-point-title em { font-style: italic; color: var(--gold); }
.delivery-point-text {
  font-size: 15px;
  color: rgba(243,236,224,0.72);
  margin: 0;
  max-width: 50ch;
}
@media (max-width: 900px) {
  .delivery { grid-template-columns: 1fr; gap: 40px; }
  .delivery-images { height: 460px; }
}

/* ───── Catering sub-block (inside Lieferservice section) ───── */
.catering {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid rgba(243,236,224,0.18);
}
.catering-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
.catering-eyebrow {
  font-family: var(--hand);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
  transform: rotate(-2deg);
  white-space: nowrap;
}
.catering-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
}
.catering-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.catering-lede {
  grid-column: 2;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: rgba(243,236,224,0.78);
  max-width: 62ch;
}
@media (max-width: 800px) {
  .catering-head { grid-template-columns: 1fr; gap: 18px; }
  .catering-eyebrow { font-size: 28px; }
  .catering-lede { grid-column: 1; }
}

.catering-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(243,236,224,0.18);
}
.catering-card {
  padding: 36px 28px;
  border-right: 1px solid rgba(243,236,224,0.18);
  border-bottom: 1px solid rgba(243,236,224,0.18);
  background: rgba(0,0,0,0.05);
  transition: background .25s;
}
.catering-card:last-child { border-right: 0; }
.catering-card:hover { background: rgba(184,137,58,0.12); }
.catering-card-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 18px;
  filter: grayscale(0.2);
}
.catering-card-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--paper);
  font-weight: 500;
}
.catering-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243,236,224,0.7);
  margin: 0;
}
@media (max-width: 1000px) {
  .catering-grid { grid-template-columns: repeat(2, 1fr); }
  .catering-card:nth-child(2) { border-right: 0; }
}
@media (max-width: 560px) {
  .catering-grid { grid-template-columns: 1fr; }
  .catering-card { border-right: 0 !important; }
}

.catering-includes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(243,236,224,0.18);
}
.catering-includes-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 6px;
}
.catering-includes-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
}
.catering-includes-list li {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--paper);
  position: relative;
  padding-left: 22px;
}
.catering-includes-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--gold);
}
@media (max-width: 800px) {
  .catering-includes { grid-template-columns: 1fr; gap: 16px; }
  .catering-includes-list { grid-template-columns: 1fr; }
}

.catering-cta {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
}
.catering-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(243,236,224,0.6);
  margin-bottom: 8px;
}
.catering-cta-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  color: var(--gold);
}

/* ────────────── KONTAKT ────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 70px;
}
.contact-block { display: flex; flex-direction: column; gap: 0; }
.contact-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(29,26,20,0.15);
  align-items: baseline;
}
.contact-line:last-child { border-bottom: 0; }
.contact-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.35;
}
.contact-value a:hover { color: var(--wine); }

.hours-table { display: grid; gap: 0; }
.hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29,26,20,0.15);
  font-size: 16px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row.today {
  color: var(--wine);
}
.hours-row.today .hours-time { color: var(--wine); font-weight: 500; }
.hours-row.closed { color: var(--ink-soft); }
.hours-row.closed .hours-time { font-style: italic; color: var(--wine); }
.hours-day { font-family: var(--serif); font-size: 19px; }
.hours-time { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }

.map-embed {
  margin-top: 40px;
  position: relative;
  aspect-ratio: 16/9;
  background: var(--paper-2);
  border: 1px solid rgba(29,26,20,0.15);
  overflow: hidden;
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: sepia(0.06) saturate(0.92) contrast(0.95);
}
.map-embed-link {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid rgba(29,26,20,0.15);
  transition: background .2s, color .2s;
}
.map-embed-link:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

/* ────────────── FOOTER ────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--gold);
}
.footer-brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 18px;
  opacity: 0.6;
  font-weight: 400;
}
.footer-col p, .footer-col a {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 8px;
  display: block;
  color: var(--paper);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(243,236,224,0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ────────────── Reservation modal ────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,12,8,0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  width: 100%; max-width: 540px;
  padding: 48px;
  position: relative;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: transparent; border: none;
  font-size: 24px;
  color: var(--ink);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--paper-2); }
.modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 8px;
}
.modal-title em { font-style: italic; color: var(--wine); }
.modal-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 32px;
  font-size: 18px;
}
.form-grid { display: grid; gap: 18px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select {
  font-family: var(--serif);
  font-size: 18px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  outline: none;
}
.field input:focus, .field select:focus { border-bottom-color: var(--wine); }
.modal-success { text-align: center; padding: 24px 0; }
.modal-success-mark {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}

/* ────────────── Helpers ────────────── */
.fade-in { animation: fadeUp .8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Theme variants */
[data-theme="green"] {
  --wine: #2f5d3a;
  --wine-deep: #1f3d24;
}
[data-theme="terracotta"] {
  --wine: #b04a2c;
  --wine-deep: #6e2a17;
}
[data-theme="ink"] {
  --wine: #1d1a14;
  --wine-deep: #0d0b08;
}

/* ══════════ Marken-Logo (aus salento_logo.pdf extrahiert) ══════════ */
/* Als CSS-Maske eingebunden, damit die Logofarbe per background-color exakt
   gesetzt werden kann (currentColor greift bei <img>-SVGs nicht). */
.brand { align-items: center; gap: 6px; }
.brand-emblem, .brand-word, .brand-sub-logo { display: block;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background-color: var(--ink); }
.brand-emblem { flex: none; height: 40px; aspect-ratio: 116 / 73;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-image: url(assets/salento-mark.svg); mask-image: url(assets/salento-mark.svg); }
/* Wortmarke: SALENTO kompakt oben, CUCINA ITALIANA darunter auf SALENTO-Breite gestreckt */
.brand-text { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.brand-word { height: 22px; aspect-ratio: 439 / 54;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-image: url(assets/salento-word.svg); mask-image: url(assets/salento-word.svg); }
.brand-sub-logo { width: 100%; height: 12px; margin-top: 1px;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-image: url(assets/salento-sub.svg); mask-image: url(assets/salento-sub.svg); }
/* Über dem dunklen Hero (Header nicht gescrollt): Logo hell */
.topbar:not(.scrolled) .brand-emblem,
.topbar:not(.scrolled) .brand-word,
.topbar:not(.scrolled) .brand-sub-logo { background-color: var(--paper); }
@media (max-width: 560px){ .brand-emblem { height: 34px; } .brand-word { height: 19px; } .brand-sub-logo { height: 10px; } }

/* Footer: komplettes Logo (Marke + SALENTO + CUCINA ITALIANA), ohne Adresse — in Akzent-Gold */
.footer-logo { display: block; height: 96px; aspect-ratio: 445 / 145; max-width: 100%;
  background-color: var(--gold);
  -webkit-mask: url(assets/salento-logo.svg) no-repeat left center / contain;
  mask: url(assets/salento-logo.svg) no-repeat left center / contain; }
@media (max-width: 560px){ .footer-logo { height: 74px; } }

/* Footer-Unterzeile: Legal links (gedimmt), Badge rechts (voll sichtbar) */
.footer-bottom { opacity: 1; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-legal { opacity: 0.55; }
.footer-badge { display: flex; }

/* ══════════ „Crafted by Nomad Solutions"-Badge ══════════ */
.ns-badge{ --ns-accent:currentColor; --ns-brand:#1DD4AA; position:relative; isolation:isolate; display:inline-flex; align-items:center; gap:.5rem;
  padding:.42rem .82rem; border:1px solid currentColor; border-radius:999px; overflow:hidden; text-decoration:none;
  color:inherit; line-height:1; opacity:.9;
  transition:border-color .45s ease, transform .45s cubic-bezier(.22,.61,.21,1), opacity .4s ease; }
.ns-amb{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.ns-amb i{ position:absolute; bottom:-4px; border-radius:1px; background:var(--ns-accent); opacity:0;
  animation:ns-up var(--d,5s) var(--delay,0s) linear infinite; will-change:transform,opacity; }
@keyframes ns-up{ 0%{ transform:translateY(0); opacity:0; } 12%{ opacity:var(--o,.4); } 82%{ opacity:var(--o,.4); } 100%{ transform:translateY(-3rem); opacity:0; } }
.ns-flood{ position:absolute; left:-2%; right:-2%; bottom:0; width:104%; height:150%; z-index:1; pointer-events:none;
  background:linear-gradient(to top, transparent, var(--ns-accent)); opacity:.26;
  border-radius:46% 46% 0 0 / 16px 16px 0 0; transform:translateY(101%); transition:transform .55s cubic-bezier(.5,0,.2,1); }
.ns-logo, .ns-text{ position:relative; z-index:2; }
.ns-logo path, .ns-brand-txt{ transition:stroke .35s ease, fill .35s ease; }
.ns-logo path:nth-child(1){ animation-delay:0s; } .ns-logo path:nth-child(2){ animation-delay:.24s; }
.ns-logo path:nth-child(3){ animation-delay:.48s; } .ns-logo path:nth-child(4){ animation-delay:.72s; } .ns-logo path:nth-child(5){ animation-delay:.96s; }
@keyframes ns-draw{ from{ stroke-dashoffset:var(--len); } to{ stroke-dashoffset:0; } }
.ns-badge:hover, .ns-badge:focus-visible{ opacity:1; border-color:var(--ns-accent); transform:translateY(-1px); }
.ns-badge:hover .ns-flood, .ns-badge:focus-visible .ns-flood{ transform:translateY(0); }
.ns-badge:hover .ns-amb i, .ns-badge:focus-visible .ns-amb i{ animation-duration:1.8s; }
.ns-badge:hover .ns-logo path, .ns-badge:focus-visible .ns-logo path{ stroke:var(--ns-brand); animation:ns-draw .55s cubic-bezier(.45,0,.25,1) both; }
.ns-badge:hover .ns-brand-txt, .ns-badge:focus-visible .ns-brand-txt{ fill:var(--ns-brand); }
@media (prefers-reduced-motion:reduce){
  .ns-badge,.ns-badge *{ transition:none !important; animation:none !important; }
  .ns-amb{ display:none; }
  .ns-badge:hover .ns-flood,.ns-badge:focus-visible .ns-flood{ transform:translateY(0); }
  .ns-badge:hover,.ns-badge:focus-visible{ border-color:var(--ns-accent); }
  .ns-badge:hover .ns-logo path,.ns-badge:focus-visible .ns-logo path{ stroke:var(--ns-brand); }
  .ns-badge:hover .ns-brand-txt,.ns-badge:focus-visible .ns-brand-txt{ fill:var(--ns-brand); } }

/* Footer-Legal: Impressum/Datenschutz als dezente Links */
.footer-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.footer-legal a:hover { color: var(--gold); border-bottom-color: currentColor; }
