/* Pilates Studio Saar – neue Navigation
   Schrift kommt aus global.css (font-family: inherit). */

:root {
  --pss-teal: #00929C;
  --pss-teal-dark: #00737b;
  --pss-teal-light: #e6f4f5;
}
.pss-header {
  --pss-h: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--pss-teal);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: box-shadow .2s;
  font-family: inherit;
}
.pss-header *, .pss-header *::before, .pss-header *::after { box-sizing: border-box; }
.pss-header ul { list-style: none; margin: 0; padding: 0; }
.pss-header li { margin: 0; padding: 0; background: none; float: none; }
.pss-header a { text-decoration: none; }
.pss-header.is-scrolled { --pss-h: 58px; box-shadow: 0 3px 14px rgba(0,0,0,.15); }

.pss-bar {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--pss-h);
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .2s;
}

/* Logo */
.pss-logo { flex-shrink: 0; display: flex; align-items: center; color: #fff !important; }
.pss-logo img { height: calc(var(--pss-h) - 20px); width: auto; display: block; transition: height .2s; }
.pss-logo-text { font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.pss-logo-text b { font-weight: 700; }

/* Menü Desktop */
.pss-menu { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 18px; }
.pss-list { display: flex; align-items: center; gap: 4px; }
.pss-item { position: relative; }

.pss-item > a,
.pss-toggle {
  display: flex; align-items: center; gap: 6px;
  height: 44px;
  padding: 0 14px;
  color: #fff !important;
  font: inherit;
  font-size: .98rem;
  background: none;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.pss-item > a:hover, .pss-toggle:hover,
.pss-item > a:focus-visible, .pss-toggle:focus-visible,
.pss-item.is-open > .pss-toggle { background: rgba(255,255,255,.16); outline: none; }
.pss-item.is-active > a, .pss-item.is-active > .pss-toggle { box-shadow: inset 0 -3px 0 #fff; border-radius: 0; }

.pss-arrow {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.pss-item.is-open .pss-arrow { transform: rotate(-135deg) translateY(-1px); }

/* Untermenüs */
.pss-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.pss-sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* Maus-Brücke */
.pss-item.is-open > .pss-sub { opacity: 1; visibility: visible; transform: none; }

.pss-sub a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: #2b2b2b !important;
  font-size: .95rem;
}
.pss-sub a:hover, .pss-sub a:focus-visible { background: var(--pss-teal-light); color: var(--pss-teal-dark) !important; outline: none; }
.pss-mega a { white-space: nowrap; }
.pss-sub a[aria-current="page"] { color: var(--pss-teal) !important; font-weight: 700; }

/* Großes Aufklappmenü "Angebot" */
.pss-mega { display: grid; grid-template-columns: repeat(3, auto); left: -20px; gap: 8px; padding: 18px; }
.pss-col-title {
  margin: 0 0 6px; padding: 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pss-teal);
}
.pss-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  background: var(--pss-teal); color: #fff; border-radius: 10px;
  font-size: .72rem; font-weight: 700; vertical-align: 1px;
}

/* Buchungs-Button */
.pss-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 22px;
  background: #fff;
  color: var(--pss-teal-dark) !important;
  font-weight: 700;
  border-radius: 22px;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.pss-cta:hover, .pss-cta:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); outline: none; }

/* Hamburger (nur mobil sichtbar) */
.pss-burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
  position: relative;
}
.pss-burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}
.pss-burger span:nth-child(1) { top: 15px; }
.pss-burger span:nth-child(2) { top: 22px; }
.pss-burger span:nth-child(3) { top: 29px; }
.pss-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.pss-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pss-burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.pss-mobile-cta { display: none; }

/* Mittelgroße Bildschirme: etwas kompakter */
@media (max-width: 1180px) and (min-width: 981px) {
  .pss-bar { padding: 0 18px; gap: 14px; }
  .pss-item > a, .pss-toggle { padding: 0 10px; font-size: .92rem; }
  .pss-cta { padding: 0 16px; }
  .pss-item:first-child .pss-sub { left: -40px; }
}

/* ===== Handy & Tablet ===== */
@media (max-width: 980px) {
  .pss-header { --pss-h: 62px; }
  .pss-bar { padding: 0 16px; }
  .pss-burger { display: block; }

  .pss-menu {
    position: fixed;
    top: var(--pss-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 10px 16px 110px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .pss-header.menu-open .pss-menu { opacity: 1; visibility: visible; transform: none; }

  .pss-list { flex-direction: column; align-items: stretch; gap: 0; }
  .pss-item { border-bottom: 1px solid #e3eaeb; }
  .pss-item > a, .pss-toggle {
    width: 100%; height: 56px; padding: 0 6px;
    justify-content: space-between;
    color: #2b2b2b !important; font-size: 1.08rem;
    border-radius: 0;
  }
  .pss-item > a:hover, .pss-toggle:hover, .pss-item.is-open > .pss-toggle { background: none; }
  .pss-item.is-active > a, .pss-item.is-active > .pss-toggle { box-shadow: none; color: var(--pss-teal) !important; font-weight: 700; }
  .pss-arrow { color: var(--pss-teal); }

  .pss-sub, .pss-mega {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 0;
    min-width: 0;
    padding: 0 0 12px 6px;
  }
  .pss-sub::before { display: none; }
  .pss-item.is-open > .pss-sub { display: block; }
  .pss-col { margin-bottom: 8px; }
  .pss-col-title { padding: 6px 0 2px; }
  .pss-sub a { padding: 11px 8px; font-size: 1rem; }

  .pss-cta { justify-content: center; height: 52px; margin-top: 22px; background: var(--pss-teal); color: #fff !important; }

  /* feste Buchungsleiste unten */
  .pss-mobile-cta {
    display: block;
    position: fixed; left: 12px; right: 12px; bottom: 12px;
    z-index: 999;
    padding: 15px;
    background: var(--pss-teal);
    color: #fff !important;
    text-align: center; font-weight: 700; text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
  }
  body.pss-noscroll { overflow: hidden; }
  body.pss-noscroll .pss-mobile-cta { display: none; }
  body { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .pss-header *, .pss-header { transition: none !important; }
}

/* Hausschrift: Hervorhebungen im echten Schnitt "Medium" statt künstlich fett */
.pss-header, .pss-mobile-cta { font-family: 'HelveticaNeueLT-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.pss-cta, .pss-mobile-cta, .pss-col-title, .pss-badge, .pss-logo-text b,
.pss-sub a[aria-current="page"], .pss-item.is-active > a, .pss-item.is-active > .pss-toggle {
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: normal !important;
}
