@media (max-width: 63.9375rem) {
  :root {
    --mobile-header-height: calc(
      clamp(2.6490384615rem, 14.6153846154vw, 3.5625rem)
      + clamp(0rem, calc(2.3696682464vw - 0.5776066351rem), 0.9375rem)
    );
    --header-height: 4.5rem;
    --mobile-header-inset: 0rem;
  }

  .header-shell {
    top: 0.4375rem;
    right: 0.875rem;
    left: 0.875rem;
    height: var(--mobile-header-height);
    padding: 0;
    border-radius: min(1.75rem, calc(var(--mobile-header-height) / 2));
  }

  .desktop-brand,
  .desktop-nav,
  .desktop-contact,
  .desktop-socials {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: var(--mobile-header-height);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    margin-left: calc(0.375rem + var(--mobile-header-inset));
    place-items: center;
  }

  .mobile-menu-toggle img {
    width: 1.5rem;
    height: 1.25rem;
  }

  .mobile-brand {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
  }

  .mobile-brand-mark {
    --mobile-brand-glow-padding: 0.5rem;

    box-sizing: content-box;
    flex: 0 0 auto;
    width: clamp(2rem, calc(12.48vw - 0.496rem), 2.5463125rem);
    height: clamp(2rem, calc(12.48vw - 0.496rem), 2.5463125rem);
    padding: var(--mobile-brand-glow-padding);
    margin: calc(0px - var(--mobile-brand-glow-padding));
    margin-left: calc(0.6365625rem - var(--mobile-brand-glow-padding));
    object-fit: contain;
    filter: url(#wordmark-glow-mobile);
  }

  .mobile-brand-wordmark {
    position: absolute;
    top: 50%;
    left: calc(50% + 0.195625rem);
    width: clamp(4.5rem, calc(42vw - 3.9rem), 6.334125rem);
    height: 2.0166875rem;
    object-fit: contain;
    filter: url(#wordmark-glow-mobile);
    transform: translate(-50%, -50%);
  }

  .mobile-socials {
    display: flex;
    flex: 0 0 auto;
    gap: clamp(0.15rem, calc(1.14vw - 0.078rem), 0.2rem);
    width: auto;
    margin-left: auto;
    margin-right: calc(clamp(0.5rem, calc(12.24vw - 1.95rem), 1.035625rem) + var(--mobile-header-inset));
  }

  .mobile-socials .social-link {
    width: clamp(1.15rem, calc(8vw - 0.45rem), 1.5rem);
    height: clamp(1.15rem, calc(8vw - 0.45rem), 1.5rem);
  }

  .mobile-socials .social-link--phone {
    position: relative;
    border: 1px solid rgb(223 152 9 / 42%);
    background: rgb(5 5 5 / 18%);
    box-shadow:
      inset 0 0 0.5rem rgb(255 255 255 / 2%),
      0 0 0.55rem rgb(0 0 0 / 28%);
  }

  .mobile-socials .phone-symbol {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-socials .phone-symbol img:last-child {
    width: clamp(0.65rem, calc(3.43vw - 0.036rem), 0.8rem);
    height: clamp(0.65rem, calc(3.43vw - 0.036rem), 0.8rem);
    object-position: center;
    transform: none;
  }

  .mobile-socials .social-link--phone:hover .phone-symbol,
  .mobile-socials .social-link--phone:focus-visible .phone-symbol {
    transform: none;
  }

  .mobile-socials .social-link:not(.social-link--phone) img {
    width: clamp(0.7rem, calc(4.57vw - 0.214rem), 0.9rem);
    height: clamp(0.7rem, calc(4.57vw - 0.214rem), 0.9rem);
  }

  .mobile-menu {
    --mobile-menu-top: calc(var(--mobile-header-height) + 2.4375rem);

    display: block;
  }

}

@media (min-width: 24.375rem) and (max-width: 63.9375rem) {
  .header-shell {
    font-size: clamp(1rem, calc(0.6651700341vw + 0.8378648042rem), 1.2631578947rem);
  }

  .mobile-brand-mark {
    width: 2.5463125em;
    height: 2.5463125em;
  }

  .mobile-brand-wordmark {
    width: 6.334125em;
    height: 2.0166875em;
  }

  .mobile-socials {
    gap: 0.2em;
  }

  .mobile-socials .social-link {
    width: 1.5em;
    height: 1.5em;
  }

  .mobile-socials .phone-symbol img:last-child {
    width: 0.8em;
    height: 0.8em;
  }

  .mobile-socials .social-link:not(.social-link--phone) img {
    width: 0.9em;
    height: 0.9em;
  }
}

@media (min-width: 64rem) and (max-width: 79.9375rem) {
  .desktop-brand {
    flex: 0 0 clamp(11.875rem, calc(40.18vw - 13.84rem), 18.30325rem);
  }

  .desktop-nav {
    flex-basis: clamp(30rem, calc(52.734vw - 3.75rem), 38.4375rem);
    gap: clamp(1rem, calc(10.9375vw - 6rem), 2.75rem);
  }

  .desktop-contact {
    flex-basis: clamp(9.375rem, calc(6.25vw + 5.375rem), 10.375rem);
  }

  .desktop-socials {
    flex-basis: clamp(5.625rem, calc(3.5156vw + 3.375rem), 6.1875rem);
  }
}

@media (min-width: 80.0625rem) {
  .header-shell {
    top: clamp(1.6875rem, calc(0.9750626368vw + 0.9074498906rem), 3.3451064825rem);
    right: auto;
    left: clamp(4rem, calc(6.9852941176vw - 1.5882352941rem), 15.875rem);
    width: 73.9375em;
    height: 4.5em;
    padding-right: 2.125em;
    border-radius: 1.25em;
    font-size: clamp(1rem, calc(1.141301604vw + 0.0869587266rem), 2.9402127266rem);
  }

  .header-shell.glass-panel {
    border-width: 0.0625em;
    box-shadow:
      inset 0 0.0625em 0.125em rgb(255 255 255 / 16%),
      0 0.625em 15.625em rgb(0 0 0 / 65%);
    backdrop-filter: blur(0.125em);
  }

  .header-shell::before {
    right: 1.25em;
    left: 1.25em;
    height: 0.125em;
    filter: blur(0.03125em);
  }

  .header-shell::after {
    bottom: -0.625em;
    height: 0.625em;
    filter: blur(0.625em);
  }

  .desktop-brand {
    flex-basis: 18.30325em;
    min-width: 10.9375em;
    padding-left: 0.879625em;
  }

  .desktop-brand-mark {
    width: 3.5185em;
    height: 3.5185em;
  }

  .desktop-brand-wordmark {
    width: 5.3125em;
    height: 3.625em;
    margin-left: 1.227em;
  }

  .desktop-nav {
    flex-basis: 38.4375em;
    gap: 2.75em;
    font-size: inherit;
  }

  .desktop-nav a {
    font-size: 0.59375em;
  }

  .desktop-nav a::after {
    bottom: 1.6842105263em;
    height: 0.1052631579em;
    box-shadow:
      0 0 0.4210526316em rgb(244 183 45 / 95%),
      0 0 1.2631578947em rgb(223 152 9 / 58%);
  }

  .desktop-contact {
    flex-basis: 10.375em;
    height: 2.625em;
  }

  .phone-symbol {
    width: 1.75em;
    height: 1.75em;
    border-width: 0.0625em;
    box-shadow:
      inset 0 0 0.5em rgb(255 255 255 / 2%),
      0 0 0.55em rgb(0 0 0 / 28%);
    backdrop-filter: blur(0.3125em) saturate(110%);
  }

  .phone-symbol img:last-child {
    width: 0.875em;
    height: 0.875em;
  }

  .desktop-contact-copy {
    gap: 0.2em;
    padding-left: 0.625em;
  }

  .desktop-contact-copy a {
    font-size: 0.75em;
  }

  .desktop-contact-copy span {
    font-size: 0.625em;
  }

  .desktop-socials {
    flex-basis: 6.1875em;
    gap: 0.435em;
    padding-left: 0.80625em;
  }

  .social-link {
    width: 2.1em;
    height: 2.1em;
    border-width: 0.0625em;
    box-shadow:
      inset 0 0 0.5em rgb(255 255 255 / 2%),
      0 0 0.55em rgb(0 0 0 / 28%);
    backdrop-filter: blur(0.3125em) saturate(110%);
  }
}

@media (max-width: 22rem) {
  .header-shell {
    right: 0.5rem;
    left: 0.5rem;
  }

  .mobile-menu {
    --mobile-menu-viewport-inset: 0.5rem;

    left: 0.5rem;
    width: calc(100vw - 1rem);
    padding: 0.75rem;
  }

  .mobile-menu a {
    grid-template-columns: 2.75rem 1fr 1rem;
    gap: 0.5rem;
    min-height: 4.25rem;
    padding-inline: 0.625rem;
    font-size: clamp(1rem, 6.2vw, 1.35rem);
  }

  .mobile-menu-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .mobile-menu-icon img {
    width: 2.125rem;
    height: 2.125rem;
  }

  .mobile-menu a[href="/tarif.html"] .mobile-menu-icon img,
  .mobile-menu a[href="/magazin.html"] .mobile-menu-icon img,
  .mobile-menu a[href="/kontakty.html"] .mobile-menu-icon img {
    width: 1.4rem;
    height: 1.4rem;
  }

  .mobile-menu a[href="/tarif.html"] .mobile-menu-icon img {
    width: 2rem;
    height: 2rem;
  }

  .mobile-menu a[href="/foto.html"] .mobile-menu-icon img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .mobile-menu-watermark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .mobile-menu a[href="/tarif.html"] .mobile-menu-watermark {
    width: 5.75rem;
    height: 5.75rem;
  }

}

@media (max-width: 20rem) {
  .header-shell {
    right: 0.375rem;
    left: 0.375rem;
  }

  .mobile-menu-toggle {
    flex-basis: 2.25rem;
    width: 2.25rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
