/* Finální vizuální opravy – tlačítka a mobilní přepínač jazyků. */
.hero-button,
.hero-reservation {
  box-sizing: border-box;
  height: 68px;
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: top;
}

.language-switcher summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Reálné video parkoviště v hero sekci. Původní fotografie zůstává jako
   poster/fallback pro úsporný režim, pomalé připojení a starší prohlížeče. */
.hero-image {
  overflow: hidden;
  filter: none;
  animation: none;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  filter: saturate(.9) contrast(1.05) brightness(.94);
  transform: scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* 1280px desktop safety: the full navigation is wider in German and Polish.
   Switch to the compact header before any control can leave the viewport. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 1360px) {
  .site-header {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding-inline: 24px;
  }

  .site-header nav {
    display: none;
  }

  .brand {
    width: 158px;
    height: 126px;
  }

  .header-actions {
    min-width: 0;
    justify-self: end;
  }

  .header-actions .button-small {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .site-header {
    overflow: visible;
  }

  .language-switcher {
    z-index: 100;
  }

  .language-menu {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(240px, calc(100vw - 32px));
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .language-menu a {
    min-height: 46px;
    font-size: 13px;
  }

  .hero-button,
  .hero-reservation {
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin: 10px 0 0;
    padding: 0 14px;
  }

  .hero-video {
    object-position: 66% center;
  }
}
