/* Tokens, Reset, Buttons, Modal-Chrome, Formulare: siehe shared/base.css */

html { scroll-behavior: smooth; }
body { background: var(--cream); overflow-x: hidden; }

/* ---------- keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(236, 234, 228, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 21, 19, .08);
}
.logo { font-weight: 700; font-size: 24px; letter-spacing: -.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 0;
  position: relative;
  overflow: hidden;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(22, 21, 19, .25);
  padding: 10px 22px;
  border-radius: 999px;
  animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) both;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(22, 21, 19, .35); animation: pulse 2.2s ease infinite; }
.badge-dot.is-open { background: var(--accent); }

.hero-title {
  font-size: clamp(64px, 12vw, 176px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .95;
  margin: 28px 0 0;
  animation: fadeUp 1s .1s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-sub {
  font-size: clamp(14px, 1.6vw, 19px);
  letter-spacing: .42em;
  text-transform: uppercase;
  margin: 30px 0 0;
  animation: fadeUp 1s .25s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-tag {
  font-size: 15px;
  font-weight: 300;
  margin: 22px 0 0;
  color: rgba(22, 21, 19, .65);
  animation: fadeUp 1s .38s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  animation: fadeUp 1s .5s cubic-bezier(.2, .7, .2, 1) both;
}
.spin-badge {
  position: absolute;
  bottom: 130px;
  right: 6vw;
  width: 120px;
  height: 120px;
  animation: spin 22s linear infinite;
  opacity: .9;
  pointer-events: none;
}
.spin-text { font-size: 11.5px; letter-spacing: 2.4px; font-weight: 500; fill: var(--ink); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--cream); padding: 16px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: marquee 26s linear infinite; }
.ticker-track span { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; padding-right: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 40px 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}
.about h2, .dishes h2, .menu-section h2, .hours-section h2 {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.02em; margin: 0 0 26px;
}
.about h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; text-wrap: pretty; }
.body-text { font-size: 16.5px; font-weight: 300; line-height: 1.8; margin: 0 0 18px; color: rgba(22, 21, 19, .8); }
.stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.stat-num { font-size: 34px; font-weight: 600; }
.stat-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(22, 21, 19, .55); margin-top: 4px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ph-wide { grid-column: 1 / -1; height: 300px; }
.about-grid .ph:not(.ph-wide) { height: 210px; }

/* ---------- placeholder tiles ---------- */
.ph {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(155deg, #d8d2c3 0%, #c3b7a0 55%, #a98f6d 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: rgba(22, 21, 19, .55);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 18px;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%),
    repeating-linear-gradient(115deg, rgba(22,21,19,.05) 0 2px, transparent 2px 6px);
}
.ph::after {
  content: "";
  position: absolute;
  top: 22px; left: 22px;
  width: 34px; height: 34px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .55;
}
.ph[data-icon="cup"]::after,
.ph[data-icon="latte"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.4'%3E%3Cpath d='M4 8h13v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V8Z'/%3E%3Cpath d='M17 9h1.5a2.5 2.5 0 0 1 0 5H17'/%3E%3Cpath d='M7 3.5c.5 1 .5 1.5 0 2.5M11 3.5c.5 1 .5 1.5 0 2.5'/%3E%3C/svg%3E");
}
.ph[data-icon="pinsa"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='9' cy='10' r='1'/%3E%3Ccircle cx='14' cy='9' r='1'/%3E%3Ccircle cx='13' cy='14' r='1'/%3E%3Ccircle cx='9.5' cy='14.5' r='1'/%3E%3C/svg%3E");
}
.ph[data-icon="brunch"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.4'%3E%3Cellipse cx='12' cy='16' rx='8' ry='3'/%3E%3Cpath d='M4 16V9a8 4 0 0 1 16 0v7'/%3E%3C/svg%3E");
}
.ph[data-icon="bowl"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.4'%3E%3Cpath d='M3 12h18a9 6 0 0 1-18 0Z'/%3E%3Cpath d='M8 12c0-3 1-6 2-7M14 12c1-2 2-3 4-3'/%3E%3C/svg%3E");
}
.ph[data-icon="aperitif"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.4'%3E%3Cpath d='M5 4h14l-7 9v7M8 20h8'/%3E%3C/svg%3E");
}

/* ---------- dishes ---------- */
.dishes { max-width: 1200px; margin: 0 auto; padding: 30px 40px 110px; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish { display: flex; flex-direction: column; gap: 14px; }
.ph-tall { height: 260px; }

/* ---------- dishes test: parallax tiles ---------- */
.dishes-test { background: #fbf4ea; border-radius: 28px; }
.tile-parallax { will-change: transform, opacity; transition: transform 0.05s linear; }
.dish-name { font-size: 19px; font-weight: 600; }
.dish-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: rgba(22, 21, 19, .7); margin-top: -6px; }
.fineprint { font-size: 14px; font-weight: 300; color: rgba(22, 21, 19, .6); margin-top: 34px; }
.fineprint.dark { color: rgba(236, 234, 228, .45); margin-top: 50px; font-size: 12px; }

/* ---------- drink menu ---------- */
.menu-section { background: var(--ink); color: var(--cream); padding: 110px 40px; }
.menu-wrap { max-width: 1000px; margin: 0 auto; }
.menu-section h2 { color: var(--cream); margin-bottom: 44px; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 54px; }
.tab {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(236, 234, 228, .35);
  background: transparent;
  color: var(--cream);
  transition: all .25s ease;
}
.tab:hover { border-color: var(--cream); }
.tab.active { background: var(--cream); color: var(--ink); }

.panel { display: none; }
.panel.active { display: block; animation: fadeUp .5s ease both; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 70px; align-items: start; }
.group h3 {
  font-size: 14px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin: 0 0 6px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(236, 234, 228, .18);
}
.group-second { margin-top: 26px; }
.group-note { font-size: 12.5px; font-weight: 300; color: rgba(236, 234, 228, .55); margin: 8px 0 0; }
.items { display: flex; flex-direction: column; }
.item {
  display: flex; align-items: baseline; gap: 14px; padding: 11px 0;
  border-bottom: 1px dotted rgba(236, 234, 228, .14);
}
.item-flex { flex: 1; }
.item-name { font-size: 15.5px; font-weight: 400; flex: 1; }
.item-flex .item-name { display: block; }
.item-sub { font-size: 12px; font-weight: 300; color: rgba(236, 234, 228, .5); margin-top: 2px; }
.item-size { font-size: 12.5px; font-weight: 300; color: rgba(236, 234, 228, .5); }
.item-price { font-size: 15.5px; font-weight: 500; font-variant-numeric: tabular-nums; margin-left: auto; }
.item:not(:has(.item-flex)) .item-name { flex: 1; }

/* ---------- hours ---------- */
.hours-section {
  max-width: 1200px; margin: 0 auto; padding: 120px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.hours-list { display: flex; flex-direction: column; }
.hour-row {
  display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0;
  border-bottom: 1px solid rgba(22, 21, 19, .12);
  font-size: 17px; font-weight: 500;
}
.hour-row span { font-variant-numeric: tabular-nums; }
.hour-row.muted { font-weight: 300; color: rgba(22, 21, 19, .45); }

.visit { background: var(--cream-deep); border-radius: 22px; padding: 50px 46px; }
.visit h3 { font-size: 24px; font-weight: 600; margin: 0 0 26px; }
.visit-block { font-size: 15.5px; font-weight: 300; line-height: 1.6; margin-bottom: 20px; }
.visit-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: rgba(22, 21, 19, .5); margin-bottom: 5px; }
.visit-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(22, 21, 19, .1); padding: 70px 40px 50px; }
.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.footer-logo { font-weight: 700; font-size: 30px; margin-bottom: 18px; }
.footer-text { font-size: 13.5px; font-weight: 300; line-height: 1.75; color: rgba(22, 21, 19, .6); max-width: 520px; text-wrap: pretty; }
.footer-cols { display: flex; gap: 60px; font-size: 13.5px; font-weight: 300; line-height: 2.2; }
.footer-heading { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: rgba(22, 21, 19, .5); margin-bottom: 8px; }
.footer-cols a { display: block; }
.footer-bottom {
  max-width: 1200px; margin: 50px auto 0; display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 300; color: rgba(22, 21, 19, .45);
  border-top: 1px solid rgba(22, 21, 19, .08); padding-top: 24px;
}

/* ---------- reservation modal ---------- */
.modal {
  position: relative;
  background: var(--cream);
  border-radius: 22px;
  padding: 38px 40px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}
.modal h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; }
.reserve-success p { font-size: 14.5px; font-weight: 300; line-height: 1.6; }
.reserve-success button { margin-top: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav { padding: 16px 22px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 0; max-height: 0; overflow: hidden;
    border-bottom: 1px solid rgba(22, 21, 19, .08);
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 320px; padding: 10px 22px 22px; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .btn-outline { margin-top: 8px; padding: 12px 20px; text-align: center; }

  .about, .hours-section { grid-template-columns: 1fr; padding: 100px 22px 70px; gap: 40px; }
  .dish-grid { grid-template-columns: 1fr 1fr; }
  .groups { grid-template-columns: 1fr; }
  .menu-section { padding: 80px 22px; }
  .dishes { padding: 20px 22px 80px; }
  .spin-badge { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dish-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { text-align: center; }
  .hero-sub { letter-spacing: .18em; padding: 0 12px; }
  .modal { padding: 16px 20px; max-height: calc(100vh - 48px); overflow-y: auto; }
  .modal h3 { font-size: 20px; margin-bottom: 2px; }
  .modal-note { margin-bottom: 8px; font-size: 12px; line-height: 1.4; }
  #reserveForm.styled-form { gap: 7px; }
}
