:root {
  /* Brandkern - согласно дизайну (warm-goldene und erdige Töne) */
  --brand-gold: #D7A235; /* Safran/CTA – primär (вместо красного) */
  --brand-red: #B73838; /* Akzent/Hot/Warnings (только для badges "scharf") */
  --brand-green: #2E7D32; /* Veggie/Fresh badge */
  
  /* UI-Grundlagen */
  --color-text: #FFFFFF;
  --color-text-secondary: #F5F5DC; /* beige, sparsam für Unterzeilen */
  --color-background: #111; /* dunkle Flächen/Modal */
  --color-surface: #0E0E0E; /* Footer/Header-Hintergrund */
  --color-overlay: rgba(0, 0, 0, 0.4); /* etwas heller als 0.85 -> Foto bleibt lebendig */
  
  /* Komponenten abgeleitet */
  --color-primary: var(--brand-gold); /* Gold как основная цвет */
  --color-accent: var(--brand-gold); /* Акцент тоже золотой */
  --btn-primary: var(--brand-gold);
  --btn-primary-text: #1A1A1A; /* Dunkler Text auf Gold */
  --btn-primary-hover: #BF8E2C; /* Dunkleres Gold при hover */
  
  --badge-hot: var(--brand-red); /* "Scharf" Badge */
  --badge-veggie: var(--brand-green); /* "Vegan/Vegetarisch" Badge */
  
  /* Motion */
  --transition-fast: 0.4s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-offset: 40px; /* максимальный offset для анимаций */
  --hero-visual-offset: clamp(6rem, 18vh, 12rem);
}

/* Поддержка prefers-reduced-motion для доступности */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Font Face */
@font-face {
  font-family: 'Kumbh Sans';
  src: url('../font/KumbhSans-Regular.woff2') format('woff2'),
      url('../font/KumbhSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kumbh Sans';
  src: url('../font/KumbhSans-Bold.woff2') format('woff2'),
      url('../font/KumbhSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: 'Kumbh Sans', sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Header - полностью прозрачный */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: clamp(0.75rem, 2.2vw, 1.25rem) 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 72px;
  pointer-events: none; /* Пропускаем скролл через header */
}

/* Когда меню открыто, header должен быть под меню, но бургер выше */
.main-header:has(+ .overlay-menu.active) {
  z-index: 1999;
}

.main-header:has(+ .overlay-menu.active) .burger-menu {
  z-index: 2002; /* Бургер всегда выше меню */
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  max-height: clamp(250px, 18vh, 300px);
  pointer-events: auto;
  transition: max-height var(--transition-smooth);
}

.logo-img {
  height: clamp(250px, 18vh, 300px);
  width: auto;
  max-width: clamp(280px, 36vw, 580px);
  transition: height var(--transition-smooth), max-width var(--transition-smooth);
}

.main-header.compact .logo-container {
  max-height: clamp(125px, 10vh, 160px);
  transition: max-height var(--transition-smooth);
}

.main-header.compact .logo-img {
  height: clamp(125px, 10vh, 160px);
  max-width: clamp(160px, 20vw, 320px);
}

/* Burger Menu Button - превращается в крестик */
.burger-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 2002; /* Выше меню, чтобы был виден */
  width: 35px;
  height: 35px;
  justify-content: center;
  align-items: center;
  position: relative;
  align-self: flex-start;
  margin-top: 0;
  flex-shrink: 0; /* Не сжимается */
  margin-top: 0; /* Убедимся, что нет отступа сверху */
  pointer-events: auto;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: all var(--transition-fast);
  display: block;
  position: absolute;
}

.burger-menu span:nth-child(1) {
  top: 8px;
}

.burger-menu span:nth-child(2) {
  top: 16px;
}

.burger-menu span:nth-child(3) {
  top: 24px;
}

/* Превращение в крестик когда меню открыто */
.burger-menu[aria-expanded="true"] span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}

.burger-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-menu[aria-expanded="true"] span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

.burger-menu:hover span {
  background: var(--brand-gold);
}

.burger-menu:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Back Button (для статических страниц) */
.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast);
  pointer-events: auto;
  align-self: center;
  font-size: 1rem;
  font-weight: 500;
}

.back-arrow {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.back-text {
  display: inline-block;
}

.back-button:hover {
  color: var(--brand-gold);
}

.back-button:hover .back-arrow {
  transform: translateX(-3px);
}

.back-button:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Скрываем текст "Zurück" на очень маленьких экранах */
@media (max-width: 400px) {
  .back-text {
    display: none;
  }
  
  .back-arrow {
    font-size: 2.5rem;
  }
}

/* Overlay Menu - блок поднят вверх, крестик бургер внутри */
.overlay-menu {
  position: fixed;
  top: 0; /* В самом верху */
  left: 5%; /* Отступ слева, как у header */
  width: 280px; /* Ширина меню */
  min-height: 250px;
  background: var(--color-overlay);
  z-index: 2000;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border-radius: 0 0 0.5rem 0;
  border: 0px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 0;
  padding-top: 4rem; /* Отступ сверху для бургер-меню (меньше, чтобы меню было ближе к бургеру) */
  padding-bottom: 1.5rem;
  margin-top: 0; /* Убедимся, что нет дополнительных отступов */
  /* Область бургера не должна перекрывать меню */
  clip-path: polygon(0 4rem, 100% 4rem, 100% 100%, 0 100%);
}

.overlay-menu.active {
  display: flex;
}

.overlay-menu ul {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.overlay-menu ul li {
  margin: 0;
  width: 100%;
  padding: 0 1.5rem; /* Отступы слева и справа для всего блока меню */
}

.overlay-menu ul li:first-child {
  margin-top: 0;
}

/* Ссылки меню - на всю ширину блока */
.overlay-menu ul li a.menu-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  padding: 0.75rem 0; /* Только вертикальные отступы */
  margin: 0;
  position: relative;
  transition: color var(--transition-fast);
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Фон для hover - выезжает слева, черный 50% */
.overlay-menu ul li a.menu-link::before {
  content: '';
  position: absolute;
  left: -1.5rem; /* Учитываем padding li */
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(0, 0, 0, 0.5); /* Черный 50% */
  transition: width var(--transition-smooth);
  z-index: -1;
  border-radius: 0 0.25rem 0.25rem 0;
}

.overlay-menu ul li a.menu-link:hover::before {
  width: calc(100% + 3rem); /* 100% + padding слева и справа */
}

.overlay-menu ul li a.menu-link:hover {
  color: var(--color-text);
}

/* Активный пункт - черный фон 50% */
.overlay-menu ul li a.menu-link.active {
  color: var(--color-text);
  border-radius: 0.25rem;
  position: relative;
}

.overlay-menu ul li a.menu-link.active::before {
  display: none; /* Убрать hover эффект для активного */
}

/* Плавное появление фона активного пункта - заезжает слева, черный 50% */
.overlay-menu ul li a.menu-link.active::after {
  content: '';
  position: absolute;
  left: -1.5rem; /* Учитываем padding li */
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(0, 0, 0, 0.5); /* Черный 50% */
  z-index: -1;
  animation: slideInActiveBg 0.5s ease-out forwards;
  border-radius: 0.25rem;
}

@keyframes slideInActiveBg {
  from {
    width: 0;
  }
  to {
    width: calc(100% + 3rem); /* 100% + padding слева и справа */
  }
}

.overlay-menu a:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Overlay Menu - fluid sizing */
.overlay-menu {
  width: clamp(220px, 25vw, 280px);
  left: clamp(2%, 3vw, 5%);
  padding-top: clamp(3rem, 8vh, 4rem);
  clip-path: polygon(0 clamp(3rem, 8vh, 4rem), 100% clamp(3rem, 8vh, 4rem), 100% 100%, 0 100%);
}

.overlay-menu ul li {
  padding: 0 clamp(1rem, 2vw, 1.5rem);
}

.overlay-menu ul li a.menu-link::before,
.overlay-menu ul li a.menu-link.active::after {
  left: calc(-1 * clamp(1rem, 2vw, 1.5rem));
}

.overlay-menu ul li a.menu-link:hover::before {
  width: calc(100% + 2 * clamp(1rem, 2vw, 1.5rem));
}

.overlay-menu ul li a.menu-link {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* Дополнительные анимации для мобильных */
@keyframes slideInActiveBgMobile {
  from {
    width: 0;
  }
  to {
    width: calc(100% + 2.5rem);
  }
}

@keyframes slideInActiveBgMobileSmall {
  from {
    width: 0;
  }
  to {
    width: calc(100% + 2rem);
  }
}

/* Main Content - padding-bottom убран, так как футер фиксированный */

/* Section Hero */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 12vh, 120px) 5% 0;
  /*background-image: url('../assets/bg/start-section.png');
  background-size: cover;
  background-position: center;*/
  position: relative;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2rem, 8vh, 5rem);
  margin-bottom: var(--hero-visual-offset);
  position: relative;
  z-index: 3;
}


.hero-visual {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 75vw, 800px);
  max-height: 90vh; /* Десктоп и ноутбук: 90% высоты экрана */
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Hero section - fluid sizing */
.hero-content h1 {
  font-size: clamp(1.85rem, 5vw + 1rem, 2.5rem);
  margin-bottom: 0;
  font-weight: bold;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.5vw + 0.5rem, 1.5rem);
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: clamp(0.4rem, 1vw, 0.5rem);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 2vw + 0.1rem, 1.1rem);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.cta-primary {
  background: var(--btn-primary);
  color: var(--btn-primary-text);
}

.cta-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 162, 53, 0.3);
}

.cta-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--brand-gold);
}

.cta-secondary:hover {
  background: var(--brand-gold);
  color: var(--btn-primary-text);
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Links hover - Weiß → Gold */
a:hover {
  color: var(--brand-gold);
}

/* Section Menu & Contact */
.section-menu,
.section-contact {
  padding: clamp(4rem, 10vh, 6rem) 5%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.section-menu {
  position: relative;
  overflow: hidden;
}

.section-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/bg/speisekarte-section.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 0;
  transform: scale(1.05); /* Немного увеличиваем для компенсации размытия по краям */
}

.section-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.section-menu > * {
  position: relative;
  z-index: 2;
}

.section-contact {
  position: relative;
  overflow: hidden;
}

.section-contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/bg/kontakt-section.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 0;
  transform: scale(1.05); /* Немного увеличиваем для компенсации размытия по краям */
}

.section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.section-contact > * {
  position: relative;
  z-index: 2;
}

.menu-section-intro,
.contact-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.menu-section-intro h2,
.contact-content h2 {
  font-size: clamp(2rem, 4vw + 0.5rem, 2.5rem);
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  color: var(--brand-gold);
}

.menu-section-intro p,
.contact-content p {
  font-size: clamp(1rem, 2vw + 0.2rem, 1.2rem);
  margin-bottom: clamp(1.5rem, 3vh, 2rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Contact Section Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.5rem);
  color: var(--brand-gold);
  margin: 0 0 clamp(0.75rem, 1.5vh, 1rem) 0;
}

.contact-info p {
  font-size: clamp(1rem, 1.8vw + 0.2rem, 1.1rem);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

.contact-info a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--btn-primary-hover);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.contact-actions .cta-button {
  width: 100%;
  justify-content: center;
}

.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-height: 200px;
  height: 100%;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Footer */
.main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
  background: transparent;
  padding: 1.5rem 5%;
  z-index: 999;
  border-top: 0px solid rgba(255, 255, 255, 0.1);
  pointer-events: none; /* Не реагирует на клики когда скрыт */
  /* Временный тест - раскомментируйте для проверки видимости футера */
  /* opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important; */
}

.main-footer.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: all !important; /* Реагирует на клики когда виден */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 1rem;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 150px;
}

.footer-left p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-center .cta-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.footer-right {
  text-align: right;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-right a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer-right a:hover {
  color: var(--brand-gold);
}

/* ============================================
   RESPONSIVE BREAKPOINTS: 480 / 768 / 1024 / 1440
   ============================================ */

/* Mobile: до 480px */
@media (max-width: 480px) {
  :root {
    --hero-visual-offset: clamp(4rem, 22vh, 8rem);
  }

  .section-hero {
    min-height: 100vh;
    align-items: flex-start;
    padding: clamp(4rem, 18vh, 5.5rem) 5% clamp(2.5rem, 12vh, 3.5rem);
  }

  .section-menu,
  .section-contact {
    min-height: 100vh;
    align-items: flex-start;
    padding: clamp(3.5rem, 14vh, 5rem) 6% 4rem;
  }

  .hero-visual {
    width: clamp(280px, 70vw, 400px);
    max-height: 50vh; /* Мобильные: 50% высоты экрана */
    height: auto;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .contact-map {
    min-height: 300px;
    order: -1;
  }

  .main-header {
    padding: clamp(0.5rem, 2vw, 0.75rem) 3%;
    min-height: clamp(60px, 12vw, 72px);
  }

  .logo-container {
    max-height: clamp(80px, 16vw, 120px);
  }

  .logo-img {
    height: clamp(80px, 16vw, 120px);
    max-width: clamp(200px, 40vw, 280px);
  }

  .main-header.compact .logo-container {
    max-height: clamp(50px, 10vw, 70px);
  }

  .main-header.compact .logo-img {
    height: clamp(50px, 10vw, 70px);
    max-width: clamp(120px, 24vw, 180px);
  }

  .main-footer {
    padding: clamp(1rem, 3vw, 1.5rem) 3%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }

  .footer-left,
  .footer-right,
  .footer-center {
    text-align: center;
    flex: none;
    width: 100%;
    min-width: auto;
  }

  .footer-center .cta-button {
    padding: clamp(0.65rem, 2vw, 0.75rem) clamp(1.25rem, 3vw, 1.5rem);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
  }
}

/* Tablet: 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .section-hero {
    min-height: 100vh;
    align-items: flex-start;
    padding: clamp(4.5rem, 16vh, 6rem) 5% clamp(2.5rem, 12vh, 3.5rem);
  }

  .section-menu,
  .section-contact {
    min-height: 100vh;
    align-items: flex-start;
    padding: clamp(3.5rem, 14vh, 5rem) 6% 4rem;
  }

  .hero-visual {
    width: clamp(280px, 70vw, 400px);
    max-height: 70vh; /* Планшет: 70% высоты экрана */
    height: auto;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
    padding: 0 clamp(1rem, 3vw, 1.5rem);
  }

  .contact-map {
    min-height: clamp(300px, 40vh, 400px);
    order: -1;
  }

  .main-header {
    padding: clamp(0.75rem, 2vw, 1rem) 4%;
  }

  .logo-container {
    max-height: clamp(100px, 15vw, 140px);
  }

  .logo-img {
    height: clamp(100px, 15vw, 140px);
    max-width: clamp(240px, 35vw, 320px);
  }

  .main-header.compact .logo-container {
    max-height: clamp(60px, 9vw, 80px);
  }

  .main-header.compact .logo-img {
    height: clamp(60px, 9vw, 80px);
    max-width: clamp(150px, 22vw, 200px);
  }
}

/* Desktop Small: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-hero {
    min-height: 100vh;
    padding: clamp(5rem, 12vh, 6.5rem) 5% clamp(2.5rem, 10vh, 4rem);
  }

  .section-menu,
  .section-contact {
    min-height: 100vh;
    padding: clamp(4rem, 10vh, 5.5rem) 5% clamp(3rem, 8vh, 4rem);
  }

  .contact-grid {
    grid-template-columns: clamp(350px, 35vw, 400px) 1fr;
    gap: clamp(2.5rem, 4vw, 3rem);
  }

  .main-header {
    padding: clamp(0.75rem, 1.5vw, 1rem) 4%;
  }

  .logo-container {
    max-height: clamp(140px, 18vw, 180px);
  }

  .logo-img {
    height: clamp(140px, 18vw, 180px);
    max-width: clamp(320px, 40vw, 400px);
  }

  .main-header.compact .logo-container {
    max-height: clamp(80px, 10vw, 100px);
  }

  .main-header.compact .logo-img {
    height: clamp(80px, 10vw, 100px);
    max-width: clamp(200px, 25vw, 250px);
  }
}

/* Desktop Large: 1025px - 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section-hero {
    padding: clamp(5rem, 10vh, 6rem) 5% clamp(2rem, 8vh, 3rem);
  }

  .section-menu,
  .section-contact {
    padding: clamp(4rem, 8vh, 5rem) 5% clamp(3rem, 6vh, 4rem);
  }

  .contact-grid {
    grid-template-columns: 400px 1fr;
  }
}

/* Desktop XL: от 1441px */
@media (min-width: 1441px) {
  .section-hero,
  .section-menu,
  .section-contact {
    padding-left: max(5%, calc((100vw - 1440px) / 2));
    padding-right: max(5%, calc((100vw - 1440px) / 2));
  }

  .contact-grid,
  .menu-section-intro {
    max-width: 1400px;
  }
}

/* Page Content Section (Datenschutz, Impressum) */
.page-content-section {
  min-height: 100vh;
  padding: clamp(8rem, 15vh, 12rem) 5% clamp(4rem, 8vh, 6rem);
  background: var(--color-background);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.page-content-section .page-container,
.page-content-section .container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content-section h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 2.5rem);
  color: var(--brand-gold);
  margin-bottom: clamp(1.5rem, 3vh, 2rem);
}

.page-content-section h2 {
  font-size: clamp(1.5rem, 3vw + 0.3rem, 2rem);
  color: var(--brand-gold);
  margin-top: clamp(2rem, 4vh, 2.5rem);
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.page-content-section h3 {
  font-size: clamp(1.25rem, 2.5vw + 0.2rem, 1.5rem);
  color: var(--color-text);
  margin-top: clamp(1.5rem, 3vh, 2rem);
  margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
}

.page-content-section p,
.page-content-section ul,
.page-content-section ol {
  font-size: clamp(1rem, 1.8vw + 0.1rem, 1.1rem);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: clamp(1rem, 2vh, 1.25rem);
}

.page-content-section ul,
.page-content-section ol {
  padding-left: clamp(1.5rem, 3vw, 2rem);
}

.page-content-section a {
  color: var(--brand-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-content-section a:hover {
  color: var(--btn-primary-hover);
  text-decoration: underline;
}

/* Hero Video Background (только для первой секции) */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-container .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.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;
  z-index: 0;
}

/* Видео на всех устройствах */
@media (max-width: 768px) {
  /* Немного затемняем оверлей на мобильных для лучшей читаемости */
  .hero-video-container .video-overlay {
    background: rgba(0, 0, 0, 0.4);
  }
}

/* ===== Menu Modal Gallery ===== */
.menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  overflow: hidden;
}

.menu-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 6rem;
}

.menu-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  font-size: 2.5rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

.menu-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: rotate(90deg);
}

/* Gallery Container */
.menu-gallery {
  display: flex;
  gap: 1.5rem;
  max-width: 1400px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  
  /* Скроллбар стилизация */
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold) rgba(255, 255, 255, 0.1);
}

.menu-gallery::-webkit-scrollbar {
  width: 8px;
}

.menu-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.menu-gallery::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 4px;
}

.menu-gallery::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold-hover);
}

/* Flex направление */
.menu-gallery {
  flex-direction: column;
}

@media (min-width: 769px) {
  .menu-gallery {
    flex-direction: row;
  }
}

/* Menu Page Image */
.menu-page-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.menu-page-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8);
}

/* Navigation */
.menu-navigation {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.menu-nav-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: scale(1.1);
}

.menu-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.menu-page-indicator {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 4rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-modal-content {
    padding: 3rem 1rem 5rem;
  }
  
  .menu-modal-close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }
  
  .menu-navigation {
    bottom: 1rem;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .menu-nav-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
  }
  
  .menu-page-indicator {
    font-size: 1rem;
    min-width: 3rem;
  }
  
  .menu-gallery {
    gap: 1rem;
    padding: 0.5rem;
  }
}

/* ===== Image Gallery (Masonry Style) ===== */
.gallery-section-intro {
  text-align: center;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.gallery-section-intro h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--brand-gold);
}

.gallery-section-intro p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-secondary);
}

.image-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-flow: dense;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  border-color: var(--brand-gold);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Разные размеры для элементов */
.gallery-item-vertical {
  grid-row: span 2;
}

.gallery-item-horizontal {
  grid-column: span 2;
}

.gallery-item-square {
  aspect-ratio: 1 / 1;
}

.gallery-item-vertical img {
  aspect-ratio: 3 / 4;
}

.gallery-item-horizontal img {
  aspect-ratio: 16 / 9;
}

/* Responsive Grid */
@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item-horizontal,
  .gallery-item-vertical {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-item-vertical img,
  .gallery-item-horizontal img {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  
  .gallery-item-horizontal {
    grid-column: span 2;
  }
  
  .gallery-item-vertical {
    grid-row: span 2;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1025px) {
  .image-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

