html {
  scroll-padding-top: var(--header-height-desktop);
}

.hero-restaurace {
  position: relative;
}

.hero-restaurace-grid {
  align-items: center;
}

.hero-restaurace-media {
  max-width: 560px;
  margin-left: auto;
}

.hero-restaurace-main .media-frame {
  border-radius: var(--radius-section);
}

.hero-restaurace-floating {
  max-width: 320px;
}

.hero-floating-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.hero-floating-text {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-sm);
}

.hero-floating-list {
  margin: 0;
  padding: 0;
}

.hero-floating-list li {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.hero-chip {
  background: rgba(255, 255, 255, 0.9);
}

.hero-primary-cta,
.hero-secondary-cta {
  max-width: 100%;
}

.gastronomie-grid {
  gap: var(--grid-gap-xl);
}

.gastronomie-chips {
  margin-top: var(--space-md);
}

.gastronomie-media-wrapper {
  max-width: 520px;
  margin-left: auto;
}

.gastronomie-media {
  border-radius: var(--radius-section);
}

.prostor-grid {
  gap: var(--grid-gap-lg);
}

.prostor-list {
  margin-top: var(--space-sm);
}

.prostor-list li {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap-md);
}

.gallery-card {
  border-radius: var(--radius-card);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(47, 123, 74, 0.18);
}

.gallery-media {
  position: relative;
  overflow: hidden;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100% - 2.5rem);
  max-height: min(640px, 100% - 4rem);
  width: 100%;
  border-radius: var(--radius-section);
  background: radial-gradient(circle at top left, rgba(233, 249, 217, 0.95) 0, rgba(255, 255, 255, 0.98) 40%, rgba(244, 247, 243, 0.98) 100%);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
}

.lightbox-close-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-content {
  padding: var(--space-lg);
  padding-top: calc(var(--space-lg) + 0.5rem);
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.lightbox-image {
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.lightbox-caption {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

@media (max-width: 1023.98px) {
  .hero-restaurace-media {
    max-width: 480px;
    margin: 0 auto;
  }
  .gastronomie-media-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .hero-restaurace-floating {
    max-width: none;
  }
  .lightbox-dialog {
    max-width: calc(100% - 1.5rem);
    max-height: calc(100% - 2rem);
    border-radius: var(--radius-lg);
  }
  .lightbox-content {
    padding: var(--space-md);
    padding-top: calc(var(--space-lg) + 0.25rem);
  }
  .lightbox-image {
    max-height: 70vh;
  }
}

.fade-in-up[data-animate] {
  will-change: opacity, transform;
}

.nav-toggle {
  flex-direction: column;
}
