/* Youzouki homepage: a compact catalogue with persistent navigation. */
body.home-page {
  --blue: #3286d4;
  --blue-deep: #175997;
  --ink: #183047;
  --muted: #54677a;
  --line: #d7e1eb;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: auto;
  display: block;
  background: #f7f9fc;
  color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page :where(a, button, input):focus-visible {
  outline: 3px solid #acd6fa;
  outline-offset: 3px;
}

/* Desktop navigation */
.home-page .banner {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 224px;
  height: 100vh;
  padding: 0;
  background: var(--blue-deep);
  border-right: 1px solid #124b80;
}
.home-page .logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: 84px;
  padding: 0 23px;
  border-bottom: 1px solid rgba(255,255,255,.23);
}
.home-page .logo a {
  display: flex;
  align-items: center;
  width: auto;
  height: 100%;
}
.home-page .logo a img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  transform: none;
}
.home-page .burger-menu-icon,
.home-page .mobile-side-menu,
.home-page #menu-overlay { display: none; }
.home-page .banner-right-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  height: calc(100vh - 84px);
  padding: 22px 12px 16px;
  z-index: auto;
}
.home-page .banner-right-buttons > a[href="#catalog-search"] { order: 1; }
.home-page .songrequest-container { order: 2; }
.home-page .dropdown-container { order: 3; }
.home-page .toggle-switch { order: 4; }
.home-page .banner-right-buttons > a,
.home-page #platzhalter-btn,
.home-page #dropdownToggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 10px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.home-page .banner-right-buttons > a:hover,
.home-page #platzhalter-btn:hover,
.home-page #dropdownToggle:hover {
  background: rgba(255,255,255,.16);
}
.home-page .banner-right-buttons img,
.home-page #platzhalter-img,
.home-page #dropdownToggle img {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
}
.home-page .banner-right-buttons img:hover,
.home-page .logo a img:hover { transform: none; }
.home-page .songrequest-container,
.home-page .dropdown-container { display: block; width: 100%; }
.home-page .nav-label { display: inline; color: inherit; }
.home-page .toggle-switch {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 18px 13px 0;
  border-top: 1px solid rgba(255,255,255,.23);
  color: #fff;
  z-index: auto;
}
.home-page .language-label { font-size: 15px; font-weight: 600; }
.home-page .language-toggle-switch {
  position: relative;
  right: auto;
  display: block;
  width: 56px;
  height: 32px;
  padding: 0;
  background: #edf5fc;
  border: 1px solid #d4e7f6;
  border-radius: 18px;
  box-shadow: none;
  cursor: pointer;
}
.home-page .toggle-circle,
.home-page #langToggleMobile .toggle-circle {
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: #fff;
  box-shadow: none;
  transition: left .65s ease, transform .65s ease;
  transform: rotate(0deg);
}
.home-page .language-toggle-switch.active .toggle-circle,
.home-page #langToggleMobile.active .toggle-circle {
  left: 27px;
  transform: rotate(180deg);
}
.home-page :is(#flagEn, #flagGr, #flagEnMobile, #flagGrMobile) {
  top: 0;
  left: 0;
  right: auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity .18s ease .23s;
}
.home-page .language-toggle-switch .flag-en { opacity: 1; transform: rotate(0deg); }
.home-page .language-toggle-switch .flag-gr { opacity: 0; transform: rotate(180deg); }
.home-page .language-toggle-switch.active .flag-en { opacity: 0; }
.home-page .language-toggle-switch.active .flag-gr { opacity: 1; }
.home-page #langToggleDesktop .toggle-circle {
  left: 2px;
  transition: transform .72s cubic-bezier(.45, 0, .55, 1);
  transform: translateX(0) rotate(0deg);
}
.home-page #langToggleDesktop.active .toggle-circle {
  left: 2px;
  transform: translateX(25px) rotate(180deg);
}
.home-page #langToggleDesktop .flag-icon {
  position: absolute !important;
  top: 0 !important;
  left: 0;
  right: auto;
}
.home-page .dropdown-menu {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  right: auto;
  min-width: 185px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22,43,62,.12);
}
.home-page .dropdown-menu a {
  display: block;
  padding: 12px 15px;
  color: var(--ink);
  font-size: 15px;
}

/* Main catalogue */
.home-page .main-content {
  display: block;
  width: calc(100% - 224px);
  max-width: none;
  min-height: 100vh;
  margin: 0 0 0 224px;
  padding: 54px clamp(28px, 5vw, 72px) 100px;
  background: #f7f9fc;
}
.home-page .catalog-head,
.home-page .main-content > .tabs-list {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}
.home-page .catalog-head { padding-bottom: 32px; }
.home-page .catalog-title {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(29px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.home-page .search-container {
  position: static;
  display: block;
  width: min(100%, 670px);
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  z-index: auto;
}
.home-page .search-container::after { display: none; }
.home-page .search-container input {
  display: block;
  width: 100%;
  max-width: none;
  height: 52px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #aebfd1;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  font: inherit;
  text-align: left;
}
.home-page .search-container input::placeholder {
  color: #617488;
  opacity: 1;
  font-size: 16px;
  text-align: left;
}
.home-page .search-container input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: none;
  outline: 3px solid #c9e4fa;
  outline-offset: 1px;
}
.home-page .tabs-list { width: 100%; max-width: none; margin: 0; padding: 0; }
.home-page ul.tabs-list,
.home-page .tabs-list ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
}
.home-page .tabs-list ul li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-page .tabs-list ul li:first-child { grid-column: auto; }
.home-page ul.tabs-list[hidden] { display: none !important; }
.home-page .song-eintrag {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  font-family: inherit;
  transition: background-color .15s ease;
}
.home-page .song-eintrag::after { display: none; }
.home-page .song-eintrag:hover,
.home-page .song-eintrag:focus-within { background: #f0f6fc; }
.home-page .song-titel,
.home-page .premium-demo .song-titel {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}
.home-page .song-titel a,
.home-page .premium-demo .song-titel a {
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  white-space: normal;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.home-page .song-titel a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-page .song-interpret {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.home-page .premium-demo {
  min-height: 94px;
  padding: 19px 22px;
  background: #eaf4fc;
  border-left: 4px solid var(--blue);
}
.home-page .premium-demo:hover,
.home-page .premium-demo:focus-within { background: #e2f0fb; }
.home-page .premium-demo .song-titel { font-size: 20px; }
.home-page .premium-badge {
  flex: none;
  margin: 0;
  padding: 0;
  color: var(--blue-deep);
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  animation: none;
}
.home-page .search-empty {
  margin: 0;
  padding: 30px 22px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 16px;
  text-align: center;
}
.home-page .search-empty[hidden] { display: none; }

/* Functional help and messages */
.home-page .tab-help-fab {
  position: absolute;
  top: 262px;
  right: auto;
  bottom: auto;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: calc(100% - 24px);
  height: 48px;
  padding: 0 13px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  transform: none;
}
.home-page .tab-help-fab:hover { background: rgba(255,255,255,.14); transform: none; }
.home-page .help-mark { display: inline-flex; justify-content: center; width: 24px; font-size: 19px; }
.home-page .help-label { display: inline; }
.home-page #tabHelp {
  width: min(92vw, 840px);
  border: 1px solid var(--line);
  box-shadow: none;
  transform: none;
}
.home-page #tabHelp[open] { transform: none; }
.home-page .img-frame { padding: 20px; }
.home-page .img-frame figcaption { color: #3d4f61; font-size: 15px; line-height: 1.45; }
.home-page .popup,
.home-page .fancy-popup {
  width: min(340px, calc(100vw - 32px));
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 10px 25px rgba(22,43,62,.14);
  animation: none;
}
.home-page .popup {
  position: fixed;
  top: 146px;
  right: auto;
  left: 240px;
  transform: none;
  text-align: left;
}
.home-page .popup-title,
.home-page .fancy-popup .popup-title {
  margin: 0 26px 8px 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}
.home-page .popup-sub,
.home-page .fancy-popup .popup-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.home-page .hover-btn {
  width: auto;
  padding: 10px 14px;
  background: var(--blue-deep);
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transform: none;
}
.home-page .hover-btn:hover { background: #124b80; transform: none; }
.home-page :is(#tabHelp, #hover-message, #erfolgPopup, #successPopup) .close-btn:focus-visible {
  outline: 3px solid #acd6fa !important;
  outline-offset: 2px !important;
}
.home-page footer { display: none; }

@media (max-width: 768px) {
  .home-page .banner {
    position: sticky;
    inset: 0 auto auto 0;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid #124b80;
  }
  .home-page .logo {
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0;
    border: 0;
  }
  .home-page .logo a img { width: 135px; height: auto; max-height: 34px; }
  .home-page .banner-right-buttons { display: none; }
  .home-page .burger-menu-icon {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    transform: none;
  }
  .home-page .burger-menu-icon:hover { background: rgba(255,255,255,.14); transform: none; }
  .home-page .main-content {
    width: 100%;
    min-height: calc(100vh - 60px);
    margin: 0;
    padding: 28px 16px 98px;
  }
  .home-page .catalog-head { padding-bottom: 26px; }
  .home-page .catalog-title { margin-bottom: 18px; font-size: 27px; }
  .home-page .search-container { width: 100%; }
  .home-page .search-container input { height: 48px; min-height: 48px; }
  .home-page ul.tabs-list, .home-page .tabs-list ul {
    grid-template-columns: 1fr;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .home-page .tabs-list ul li {
    background: #fff;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-page .tabs-list ul li:first-child { grid-column: auto; }
  .home-page .song-eintrag { min-height: 74px; padding: 14px 16px; }
  .home-page .song-titel, .home-page .premium-demo .song-titel { font-size: 16px; }
  .home-page .tabs-list ul li:first-child {
    margin-bottom: 12px;
    background: #eaf4fc;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 7px;
  }
  .home-page .premium-demo { min-height: 82px; padding: 16px 15px; border-left: 0; }
  .home-page .premium-badge { font-size: 13px; }
  .home-page .mobile-side-menu {
    display: flex;
    width: min(84vw, 320px);
    max-width: 320px;
    height: auto;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    top: 8px;
    right: 8px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16,30,47,.17);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(calc(100% + 16px));
    transition: transform .2s ease;
  }
  .home-page .mobile-side-menu.open { transform: translateX(0); }
  .home-page #menu-overlay { background: rgba(16,30,47,.42); }
  .home-page .mobile-nav { gap: 2px; width: 100%; padding: 78px 16px 16px !important; }
  .home-page .mobile-link, .home-page .profile-link {
    width: 100%;
    min-height: 46px;
    height: auto;
    margin: 0;
    padding: 11px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.35;
    justify-content: flex-start;
    transform: none;
  }
  .home-page .mobile-link:hover { background: #eef6fd; color: var(--blue-deep); transform: none; }
  .home-page .mobile-side-menu.open .mobile-link {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .home-page .profile-name { font-size: 16px; }
  .home-page .profile-email { font-size: 14px; }
  .home-page .mobile-side-menu .close-btn {
    display: inline-flex;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    margin: 0;
    color: var(--ink);
    background: transparent;
    font-size: 26px;
  }
  .home-page .mobile-side-menu .close-btn:focus-visible { outline: 3px solid #acd6fa !important; }
  .home-page .mobile-side-menu .mobile-language-toggle { top: 18px; left: 20px; }
  .home-page .tab-help-fab {
    position: absolute;
    top: 10px;
    right: 68px;
    bottom: auto;
    left: auto;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 7px;
  }
  .home-page .help-label { display: none; }
  .home-page .help-mark { width: auto; font-size: 18px; }
  .home-page footer {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 900;
    display: block;
    width: 100%;
    background: var(--blue-deep);
    border-top: 1px solid #124b80;
  }
  .home-page .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 8px;
    width: min(100%, 440px);
    height: 60px;
    margin: 0 auto;
    padding: 4px 16px;
  }
  .home-page .footer-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 7px;
  }
  .home-page .footer-container a:hover { background: rgba(255,255,255,.14); }
  .home-page .footer-container img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    transform: none;
  }
  .home-page .popup { top: 72px; right: 16px; left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
