/* ================================================================
   Therapie Rückenwind – Komponenten-Styles
   Aus dem Claude-Design (Inline-Styles) in Klassen + Media Queries
   überführt. Breakpoints des Designs: 1040px (Header-Collapse "hc"),
   900px (Layout-Umbruch "mobile").
   ================================================================ */

/* ============ HEADER ============ */
.rw-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rw-line);
  box-shadow: var(--rw-shadow-head);
}
.rw-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.rw-logo { display: block; flex: none; text-decoration: none; }
.rw-logo img { height: 62px; width: auto; display: block; }

.rw-nav { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; }
.rw-nav__item { position: relative; display: flex; align-items: center; }
.rw-nav__link {
  cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--rw-ink-soft); white-space: nowrap; transition: color .15s;
}
.rw-nav__link:hover,
.rw-nav__item.is-active > .rw-nav__link { color: var(--rw-teal); }

/* Dropdown (Leistungen) */
.rw-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 14px; opacity: 0; visibility: hidden;
  transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.rw-hasdrop:hover .rw-drop,
.rw-hasdrop:focus-within .rw-drop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.rw-drop__panel {
  background: #fff; border: 1px solid var(--rw-line); border-radius: var(--rw-radius);
  box-shadow: var(--rw-shadow-drop); padding: 10px; min-width: 264px;
  display: flex; flex-direction: column; gap: 2px;
}
.rw-drop__link {
  cursor: pointer; text-decoration: none; color: var(--rw-ink-soft);
  font-size: 14.5px; font-weight: 600; padding: 10px 14px; border-radius: 9px;
  white-space: nowrap; transition: background .14s, color .14s;
}
.rw-drop__link:hover { background: var(--rw-bg-soft); color: var(--rw-teal); }

/* CTA-Bereich rechts */
.rw-header__cta { display: flex; align-items: center; gap: 20px; flex: none; }
.rw-header__phone {
  display: flex; align-items: center; gap: 7px; color: var(--rw-navy);
  font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.rw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; border: none; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .1s;
}
.rw-btn--primary {
  background: var(--rw-navy); color: #fff; font-size: 14.5px;
  border-radius: 10px; padding: 12px 20px; white-space: nowrap;
}
.rw-btn--primary:hover { background: var(--rw-navy-hover); }
.rw-btn--teal { background: var(--rw-teal); color: #fff; border-radius: 10px; padding: 14px 24px; }
.rw-btn--teal:hover { background: #0b7a74; }

.rw-burger { display: none; align-items: center; background: none; border: none; cursor: pointer; padding: 4px; }

/* Mobile-Menü */
.rw-mobile { position: fixed; inset: 0; z-index: 60; background: rgba(15,44,57,.4); display: none; }
.rw-mobile.is-open { display: block; }
.rw-mobile__drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw,340px);
  background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.2);
  padding: 22px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.rw-mobile__close { align-self: flex-end; background: none; border: none; cursor: pointer; padding: 6px; margin-bottom: 8px; }
.rw-mobile__link {
  padding: 14px 8px; border-bottom: 1px solid #eef2f2; color: var(--rw-navy);
  font-weight: 600; font-size: 17px; text-decoration: none;
}

/* Header-Collapse < 1040px */
@media (max-width: 1039px) {
  .rw-nav, .rw-header__cta { display: none; }
  .rw-burger { display: flex; }
}

/* ============ FOOTER ============ */
.rw-footer { background: var(--rw-footer); color: #c6d6db; }
.rw-footer__inner { padding-top: clamp(44px,5vw,64px); padding-bottom: 30px; }
.rw-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 36px 28px;
}
.rw-footer__brand { min-width: 220px; }
.rw-footer__brand img { height: 74px; width: auto; display: block; margin-bottom: 18px; filter: brightness(0) invert(1); }
.rw-footer__brand p { font-size: 14px; line-height: 1.6; color: #9fb6bd; margin: 0; max-width: 260px; }
.rw-footer__head {
  font-weight: 700; color: #fff; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.rw-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rw-footer__col a, .rw-footer__col span { color: #a9c1c8; font-size: 14px; text-decoration: none; transition: color .15s; }
.rw-footer__col a:hover { color: var(--rw-teal); }
.rw-footer__contact a { font-weight: 600; }
.rw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
}
.rw-footer__copy { font-size: 13px; color: #7f9aa2; }
.rw-footer__legal { display: flex; gap: 22px; }
.rw-footer__legal a { color: #7f9aa2; font-size: 13px; text-decoration: none; }
.rw-footer__legal a:hover { color: var(--rw-teal); }
