:root {
  --cream: #f7f2e7;
  --cream-dark: #ede5d0;
  --parchment: #e8dfc8;
  --espresso: #1c0f08;
  --wine: #7a1e2e;
  --wine-light: #9b2e42;
  --gold: #c8921a;
  --gold-light: #e8b84b;
  --olive: #4a5240;
  --smoke: #6b5b4e;
  --white: #fdfaf4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-hand: 'Caveat', cursive;
  --max-w: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: none;
}

#navbar,
section,
.strip,
.checker-band,
footer {
  position: relative;
  z-index: 1;
}

body[data-showroom-style='pizzeria'] main[data-showroom-scope='pizzeria'] {
  filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--wine), transparent);
  opacity: 0.4;
}

.ornament span {
  color: var(--wine);
  font-size: 1.2rem;
  opacity: 0.6;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 30, 46, 0.12);
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(28, 15, 8, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--espresso);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--wine);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a,
.nav-actions a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-actions a:hover {
  color: var(--wine);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-reserve {
  background: var(--wine);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background 0.2s !important;
}

.nav-reserve:hover {
  background: var(--wine-light) !important;
  color: var(--white) !important;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  scroll-margin-top: 92px;
}

#hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 146, 26, 0.09) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 30, 46, 0.07) 0%, transparent 70%);
  bottom: 50px;
  left: -100px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--wine);
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--wine);
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--smoke);
  max-width: 440px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--wine-light);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1.5px solid var(--wine);
  color: var(--wine);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--wine);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--parchment);
  border: 1px solid rgba(200, 146, 26, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  margin-top: 2rem;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.5s forwards;
  position: relative;
}

.pizza-wrap {
  position: relative;
  width: 380px;
  height: 380px;
}

.pizza-image {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 36px rgba(28, 15, 8, 0.22);
}

.pizza-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(122, 30, 46, 0.2);
  animation: spinSlow 40s linear infinite;
}

.pizza-ring-2 {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 146, 26, 0.15);
  animation: spinSlow 60s linear infinite reverse;
}

.float-label {
  position: absolute;
  background: var(--cream);
  border: 1px solid rgba(122, 30, 46, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--wine);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(28, 15, 8, 0.08);
}

.float-label.top-right {
  top: 10px;
  right: -10px;
  animation: floatY 3s ease-in-out infinite;
}

.float-label.bottom-left {
  bottom: 30px;
  left: -20px;
  animation: floatY 3.5s ease-in-out infinite 0.5s;
}

.float-label.mid-right {
  top: 50%;
  right: -30px;
  animation: floatY 4s ease-in-out infinite 1s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.strip {
  background: var(--wine);
  color: var(--white);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
}

.strip-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.strip-dot {
  color: var(--gold-light);
  font-size: 1.5rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#storia {
  padding: 8rem 2rem;
  position: relative;
  scroll-margin-top: 92px;
}

.storia-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-label {
  font-family: var(--font-hand);
  color: var(--wine);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.storia-text h2 {
  margin-bottom: 1.5rem;
}

.storia-text p {
  color: var(--smoke);
  margin-bottom: 1.2rem;
}

.storia-quote {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--wine);
}

.storia-quote p {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--espresso) !important;
}

.storia-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-style: normal;
  text-transform: uppercase;
}

.storia-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
  position: relative;
}

.photo-card {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.photo-card:nth-child(1) {
  grid-row: 1 / 3;
  border-radius: 3px;
}

.photo-card:nth-child(3) {
  transform: rotate(1.5deg);
}

.photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-caption {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--espresso);
  background: rgba(247, 242, 231, 0.85);
  padding: 0.2rem 0.5rem;
}

.floating-sticker {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: var(--wine);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-hand);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 20px rgba(122, 30, 46, 0.3);
  animation: wiggle 4s ease-in-out infinite;
}

.floating-sticker strong {
  font-size: 1.2rem;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

#menu {
  padding: 8rem 2rem;
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
}

#menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
}

.menu-header {
  text-align: center;
  margin-bottom: 4rem;
}

.menu-header .section-label {
  color: var(--gold);
}

.menu-header h2 {
  color: var(--cream);
}

.menu-header p {
  color: rgba(247, 242, 231, 0.55);
  max-width: 500px;
  margin: 1rem auto 0;
}

.menu-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-category {
  background: rgba(28, 15, 8, 0.6);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.menu-category:hover {
  background: rgba(28, 15, 8, 0.85);
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 146, 26, 0.2);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  display: block;
}

.menu-item-desc {
  font-size: 0.8rem;
  color: rgba(247, 242, 231, 0.45);
  font-style: italic;
}

.menu-item-price {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-specials {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  background: var(--wine);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.menu-specials p {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--white);
}

.menu-specials span {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

#atmosfera {
  padding: 8rem 2rem;
  background: var(--cream-dark);
  position: relative;
  scroll-margin-top: 92px;
}

.atmo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.atmo-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 1rem;
}

.atmo-card {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.atmo-card:nth-child(1) {
  grid-row: 1 / 3;
}

.atmo-card:nth-child(4) {
  grid-column: 2 / 4;
}

.atmo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.atmo-card:hover .atmo-image {
  transform: scale(1.04);
}

.atmo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 15, 8, 0.7) 0%, transparent 60%);
}

.atmo-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: rgba(247, 242, 231, 0.85);
}

#team {
  padding: 7rem 2rem;
  text-align: center;
  scroll-margin-top: 92px;
}

.team-inner {
  max-width: 680px;
  margin: 0 auto;
}

.team-inner h2 {
  margin-bottom: 1.5rem;
}

.team-inner p {
  color: var(--smoke);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--parchment);
  position: relative;
}

.team-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.team-role {
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--wine);
}

#info {
  padding: 7rem 2rem;
  background: var(--parchment);
  scroll-margin-top: 92px;
}

.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.info-block h3 {
  font-family: var(--font-display);
  color: var(--espresso);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(122, 30, 46, 0.15);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--smoke);
  border-bottom: 1px dotted rgba(107, 91, 78, 0.2);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-weight: 500;
  color: var(--espresso);
}

.closed {
  color: var(--wine) !important;
  font-style: italic;
}

.info-address p {
  color: var(--smoke);
  line-height: 2;
}

.map-placeholder {
  margin-top: 1.5rem;
  height: 140px;
  background: var(--cream-dark);
  border: 1px solid rgba(122, 30, 46, 0.1);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-placeholder::after {
  content: 'Zürich, Aussersihl';
  position: absolute;
  bottom: 0.6rem;
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--smoke);
}

.info-contact p {
  color: var(--smoke);
  margin-bottom: 0.5rem;
}

.info-contact a {
  color: var(--wine);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 1.1rem;
}

.info-contact a:hover {
  text-decoration: underline;
}

.reservation-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--wine);
  border-radius: 3px;
  text-align: center;
}

.reservation-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.reservation-box .btn-primary {
  background: var(--white);
  color: var(--wine);
  font-size: 0.8rem;
  padding: 0.7rem 1.5rem;
  display: block;
  text-align: center;
}

.reservation-box .btn-primary:hover {
  background: var(--cream);
}

footer {
  background: var(--espresso);
  color: rgba(247, 242, 231, 0.5);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--gold);
}

footer p {
  font-size: 0.85rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(247, 242, 231, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gold);
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(200, 146, 26, 0.3);
  margin: 1.5rem auto;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .storia-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .info-inner {
    grid-template-columns: 1fr;
  }

  .atmo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .atmo-card:nth-child(1) {
    grid-row: auto;
  }

  .atmo-card:nth-child(4) {
    grid-column: auto;
  }

  #navbar .nav-links,
  .nav-actions {
    display: none;
  }
}

.checker-band {
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--wine) 0px, var(--wine) 10px, var(--cream) 10px, var(--cream) 20px);
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-badge,
  .hero-visual,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
