:root {
  --kw-bg: #f5f8fb;
  --kw-bg-soft: #eef3f7;
  --kw-surface: rgba(255, 255, 255, 0.88);
  --kw-surface-strong: #ffffff;
  --kw-border: rgba(137, 135, 159, 0.18);
  --kw-border-strong: rgba(137, 135, 159, 0.28);
  --kw-shadow: 0 18px 40px rgba(44, 62, 80, 0.08);
  --kw-shadow-soft: 0 10px 24px rgba(44, 62, 80, 0.06);
  --kw-primary: #2c3e50;
  --kw-primary-soft: #5f7486;
  --kw-accent: #89879f;
  --kw-accent-dark: #6f6c86;
  --kw-footer: #22303f;
}

html {
  scroll-behavior: smooth;
}

body.site-page,
body.standalone-page,
body.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(137, 135, 159, 0.18), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eff4f8 100%);
  color: var(--kw-primary);
}

body.site-page {
  position: relative;
}

body.site-page a,
body.standalone-page a,
body.legal-page a {
  color: var(--kw-accent);
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.site-page a:hover,
body.standalone-page a:hover,
body.legal-page a:hover {
  color: var(--kw-primary);
  text-decoration: none;
}

.site-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.site-icon--inline {
  width: 1.05rem;
  height: 1.05rem;
}

.site-icon--social {
  width: 1.15rem;
  height: 1.15rem;
}

.site-icon--nav-toggle {
  width: 1rem;
  height: 1rem;
}

.site-icon--overlay {
  width: 2.5rem;
  height: 2.5rem;
}

.site-icon--scroll-top,
.site-icon--close {
  width: 1rem;
  height: 1rem;
}

#mainNav {
  background: rgba(44, 62, 80, 0.92) !important;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.18);
  backdrop-filter: blur(10px);
  transition: padding 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#mainNav.navbar-shrink {
  background: rgba(34, 48, 63, 0.94) !important;
  box-shadow: 0 10px 26px rgba(44, 62, 80, 0.24);
}

#mainNav .container {
  max-width: 1180px;
}

#mainNav .navbar-brand {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#mainNav .navbar-toggler {
  font-size: 0.78rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#mainNav .navbar-toggler:hover,
#mainNav .navbar-toggler:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .navbar-toggler:focus-visible,
#mainNav .navbar-toggler[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(244, 247, 250, 0.72);
}

#mainNav .navbar-toggler .site-icon {
  margin-left: 0.3rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover,
#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

#mainNav .navbar-nav li.nav-item a.nav-link:focus,
#mainNav .navbar-nav li.nav-item a.nav-link:focus-visible {
  outline: none;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active,
#mainNav .navbar-nav li.nav-item a.nav-link[aria-current="location"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(14, 22, 32, 0.12);
}

.scroll-to-top {
  right: 1rem;
  bottom: 1rem;
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(44, 62, 80, 0.92);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(44, 62, 80, 0.22);
}

header.masthead.bg-primary {
  margin: 1.4rem 1rem 0;
  padding-top: calc(4rem + 72px);
  padding-bottom: 3rem;
  border-radius: 32px;
  background: linear-gradient(145deg, #8a889f 0%, #6e8091 100%) !important;
  box-shadow: var(--kw-shadow);
}

header.masthead .container {
  max-width: 460px;
}

header.masthead img {
  width: min(270px, 64vw) !important;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

section {
  padding: 2.5rem 0;
}

section > .container {
  max-width: 1120px;
  padding: 2rem 1.35rem;
  background: var(--kw-surface);
  border: 1px solid var(--kw-border);
  border-radius: 28px;
  box-shadow: var(--kw-shadow-soft);
}

section h2,
section h3,
section h4 {
  color: var(--kw-primary) !important;
}

section h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

section h3,
section h4 {
  letter-spacing: 0.05em;
}

.lead {
  color: var(--kw-primary-soft);
  line-height: 1.75;
}

#info .container {
  text-align: center;
}

#info-title {
  max-width: 17ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 0.95;
}

#info-intro-panel {
  max-width: 52rem;
  margin: 0 auto 1.35rem;
}

.intro-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--kw-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fa 100%);
  box-shadow: var(--kw-shadow-soft);
}

.intro-panel__eyebrow {
  margin: 0;
  color: var(--kw-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-panel__text {
  margin: 0;
  color: var(--kw-primary);
  font-size: 1.08rem;
  line-height: 1.8;
}

.intro-panel__cta {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(137, 135, 159, 0.85);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(237, 242, 247, 0.95) 0%, rgba(244, 247, 250, 0.78) 100%);
  color: var(--kw-primary);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
}

.intro-panel__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.intro-panel__highlight {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(137, 135, 159, 0.12);
  color: var(--kw-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

#intro-address,
#contact-links,
#map-address {
  max-width: 28rem;
  margin: 0.3rem auto 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--kw-border);
  border-radius: 18px;
  background: rgba(238, 243, 247, 0.72);
}

#contact-links a,
#intro-address a,
#map-address a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

#contact-links {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--kw-primary-soft);
  font-weight: 700;
}

.contact-meta .site-icon {
  color: var(--kw-accent);
}

#contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.9rem 0 0.35rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--kw-border);
  background: #ffffff;
  color: var(--kw-primary) !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--kw-shadow-soft);
}

.contact-action--whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.13) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-action .site-icon {
  color: currentColor;
}

#offers-label {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--kw-primary);
}

#contact-offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.site-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #eef3f7;
  border: 1px solid var(--kw-border-strong);
  color: var(--kw-primary);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

#video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.aktuelles-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: start;
}

.aktuelles-main,
.aktuelles-side {
  display: grid;
  gap: 1.1rem;
}

.aktuelles-side {
  grid-template-columns: 1fr;
}

.aktuelles-panel {
  padding: 1.15rem;
  border: 1px solid var(--kw-border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 246, 250, 0.9) 100%);
  box-shadow: var(--kw-shadow-soft);
}

.aktuelles-panel__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--kw-accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aktuelles-panel h4 {
  margin-bottom: 0.75rem !important;
  text-align: center;
}

.aktuelles-panel--courses {
  padding: 1.3rem;
}

.aktuelles-panel--courses #current-courses-title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.aktuelles-side {
  gap: 1.4rem;
}

.aktuelles-panel--schedule .schedule-board {
  margin-top: 0.15rem;
}

.aktuelles-panel--schedule {
  margin-top: 1.6rem;
  padding: 1.4rem 1.25rem 1.25rem;
}

.aktuelles-panel--schedule .schedule-board {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.aktuelles-panel--schedule .schedule-board__caption {
  margin-top: 0.75rem;
  font-size: 0.84rem;
}

.aktuelles-panel--schedule #schedule-title {
  margin-bottom: 1rem !important;
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  letter-spacing: 0.06em;
}

.video-card {
  padding: 1rem;
  border: 1px solid var(--kw-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: var(--kw-shadow-soft);
}

.video-card__frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #dce6ee;
  padding-top: 56.25%;
}

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-card__caption {
  margin: 0.9rem 0 0;
  color: var(--kw-primary-soft);
  font-size: 0.92rem;
}

.video-list--teaser {
  display: block !important;
}

.video-library-teaser {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--kw-border);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: var(--kw-shadow-soft);
  color: inherit !important;
  text-decoration: none;
}

.video-library-teaser__media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.55rem;
}

.video-library-teaser__lead,
.video-library-teaser__stack-item {
  overflow: hidden;
  border-radius: 20px;
  background: #dfe7ee;
}

.video-library-teaser__lead {
  min-height: 230px;
}

.video-library-teaser__stack {
  display: grid;
  gap: 0.55rem;
}

.video-library-teaser__stack-item {
  min-height: 111px;
}

.video-library-teaser__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-library-teaser__fallback {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #6f8091 0%, #8a889f 100%);
  color: #ffffff;
}

.video-library-teaser__platform {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-library-teaser__fallback-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.video-library-teaser__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.82);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-library-teaser__body {
  display: grid;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.video-library-teaser__label {
  color: var(--kw-primary-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-library-teaser__title {
  color: var(--kw-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-library-teaser__text {
  color: var(--kw-primary-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.video-library-teaser__footer {
  margin-top: 0.15rem;
}

.video-library-teaser__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #8a889f 0%, #6e8091 100%);
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(44, 62, 80, 0.12);
}

.video-teaser-grid,
.video-library {
  display: grid;
  gap: 1rem;
}

.video-teaser-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--kw-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: var(--kw-shadow-soft);
  color: inherit !important;
}

.video-teaser-card__image,
.video-library__preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-teaser-card__fallback,
.video-library__preview--fallback {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.35rem;
  min-height: 190px;
  padding: 1rem;
  background: linear-gradient(135deg, #6f8091 0%, #8a889f 100%);
  color: #ffffff;
}

.video-teaser-card__platform,
.video-library__preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-teaser-card__fallback-title,
.video-library__preview-text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.video-teaser-card__body {
  padding: 0.95rem 1rem 1.05rem;
}

.video-teaser-card__label {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--kw-primary-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-teaser-card__title {
  display: block;
  color: var(--kw-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-teaser-footer {
  grid-column: 1 / -1;
  margin-top: 0.9rem;
}

.video-teaser-footer__link,
.video-library__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(137, 135, 159, 0.18);
  background: #ffffff;
  color: var(--kw-primary) !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.video-teaser-footer__link {
  width: 100%;
  background: linear-gradient(135deg, #8a889f 0%, #6e8091 100%);
  border: 0;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(44, 62, 80, 0.12);
}

.video-library__card {
  overflow: hidden;
  border: 1px solid var(--kw-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: var(--kw-shadow-soft);
}

.video-library__preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.video-library__play-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-library__body {
  padding: 1rem;
}

.video-library__title {
  margin: 0 0 0.75rem;
  color: var(--kw-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-library__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-library__action--primary {
  border: 0;
  background: linear-gradient(135deg, #8a889f 0%, #6e8091 100%);
  color: #ffffff !important;
}

.video-library__player {
  position: relative;
  overflow: hidden;
  background: #dce6ee;
  padding-top: 56.25%;
}

.video-library__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.service-card {
  height: 100%;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--kw-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: var(--kw-shadow-soft);
}

.service-card__title {
  margin: 0 0 0.7rem;
  color: var(--kw-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card__body {
  margin: 0;
  color: var(--kw-primary-soft);
  line-height: 1.7;
}

.Image {
  padding: 0.4rem 0;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.Image img,
.gallery-tile__image,
.img-responsive,
.img-responsive100 {
  border-radius: 22px;
  border: 1px solid var(--kw-border);
  box-shadow: var(--kw-shadow-soft);
}

.Image--poster img,
.Image--schedule img {
  width: 100%;
  background: linear-gradient(180deg, #f9fbfd 0%, #edf3f7 100%);
  object-fit: contain;
}

.Image--poster img {
  max-height: min(72vh, 780px);
  padding: 0.75rem;
}

.Image--schedule img {
  max-height: min(68vh, 680px);
  padding: 0.5rem;
}

.Image--feature {
  max-width: 760px;
  margin: 0 auto 1rem;
}

.Image--feature img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.Image--feature-wide {
  max-width: none;
  margin: 0 0 1.2rem;
}

.Image--feature-wide img {
  max-height: 320px;
  object-position: center 38%;
}

.Image--physio-banner img {
  border: 0;
  box-shadow: none;
}

.service-grid--physio {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.service-grid--physio .service-card {
  padding: 1.25rem 1.2rem;
  border-color: rgba(95, 116, 134, 0.1);
  background: linear-gradient(180deg, #fafdff 0%, #eef4f8 100%);
  box-shadow: none;
}

.service-grid--physio .service-card__title {
  margin: 0 0 0.7rem;
  color: #3d566c;
}

.service-grid--physio .service-card__body {
  margin: 0;
}

.service-grid--mama .service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f4f4 100%);
}

#schedule-title,
#videos-subtitle,
#gallery-subtitle,
#guest-lecturers-title,
#current-courses-title {
  color: var(--kw-primary-soft) !important;
}

.team .row {
  align-items: start;
}

.team .portfolio-item {
  position: relative;
  display: block;
  border-radius: 24px;
  box-shadow: var(--kw-shadow-soft);
}

.team .portfolio-item-caption {
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(180deg, rgba(44, 62, 80, 0.16) 0%, rgba(44, 62, 80, 0.58) 100%);
}

.team .portfolio-item:hover .portfolio-item-caption,
.team .portfolio-item:focus-visible .portfolio-item-caption {
  opacity: 1;
}

.team .portfolio-item-caption-content {
  font-size: 1.35rem;
}

#team-profile-name {
  display: block;
  margin-top: 1rem;
  color: var(--kw-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

#team-profile-role {
  color: var(--kw-primary-soft);
}

#team-profile-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.team-highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #eef3f7;
  border: 1px solid var(--kw-border);
  color: var(--kw-primary);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(34, 48, 63, 0.58);
  backdrop-filter: blur(8px);
}

.team-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid var(--kw-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.98) 100%);
  box-shadow: 0 28px 60px rgba(20, 30, 40, 0.26);
}

.team-modal__inner {
  padding: 1.5rem;
}

.team-modal__close {
  position: sticky;
  top: 1rem;
  float: right;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.08);
  color: var(--kw-primary);
}

.team-modal__close:hover {
  background: rgba(44, 62, 80, 0.14);
}

.team-modal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  text-align: left;
}

.team-modal-layout__media img {
  width: 100%;
  margin: 0;
  border-radius: 24px;
  border: 1px solid var(--kw-border);
  box-shadow: var(--kw-shadow-soft);
}

.team-modal-layout__content {
  display: grid;
  gap: 0.85rem;
}

#team-modal-title {
  text-align: left;
}

#team-modal-role {
  margin: 0;
  color: var(--kw-primary-soft);
  font-size: 1.02rem;
  font-weight: 700;
}

.team-modal-profile {
  display: grid;
  gap: 1.25rem;
  text-align: left;
}

.team-modal-profile__intro {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--kw-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  color: var(--kw-primary-soft);
  line-height: 1.8;
}

.team-modal-profile__section-title {
  margin: 0 0 0.75rem;
  color: var(--kw-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-modal-profile__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-modal-profile__list li {
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  background: #eef3f7;
  color: var(--kw-primary);
  font-weight: 700;
  line-height: 1.45;
}

.guest-lecturers-table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--kw-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--kw-shadow-soft);
}

.guest-lecturers-table th {
  border: 0;
  background: linear-gradient(135deg, #7a7a93 0%, #647a8c 100%);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.guest-lecturers-table td {
  border-color: rgba(137, 135, 159, 0.12);
  background: #ffffff;
  color: var(--kw-primary-soft);
}

.guest-lecturers-table td:first-child {
  color: var(--kw-primary);
  font-weight: 700;
}

#map {
  width: calc(100% - 2rem);
  max-width: 1120px;
  height: 420px;
  margin: 0 auto;
  border: 1px solid var(--kw-border);
  border-radius: 28px;
  box-shadow: var(--kw-shadow-soft);
}

#gallery-description {
  max-width: 34rem;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.gallery-tile {
  margin-bottom: 1rem;
}

.gallery-tile__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: hidden;
  box-shadow: var(--kw-shadow-soft);
}

.gallery-tile__image {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-tile__button:hover .gallery-tile__image,
.gallery-tile__button:focus-visible .gallery-tile__image {
  transform: translateY(-4px);
}

.is-gallery-open,
.is-team-modal-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 29, 39, 0.72);
  backdrop-filter: blur(8px);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 251, 0.96) 100%);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.28);
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(137, 135, 159, 0.14);
  color: var(--kw-primary);
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-lightbox__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-right: 3.5rem;
}

.gallery-lightbox__eyebrow,
.gallery-lightbox__counter {
  margin: 0;
}

.gallery-lightbox__eyebrow {
  color: var(--kw-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-lightbox__counter {
  color: var(--kw-primary-soft);
  font-weight: 700;
}

.gallery-lightbox__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.gallery-lightbox__image {
  width: 100%;
  max-height: min(68vh, 760px);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--kw-shadow-soft);
}

.gallery-lightbox__nav {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a889f 0%, #6e8091 100%);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(44, 62, 80, 0.18);
}

.gallery-lightbox__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.gallery-lightbox__thumb {
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
  opacity: 0.68;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox__thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-lightbox__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.footer {
  margin: 2rem 1rem 0;
  padding: 3rem 0;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #304354 0%, #22303f 100%);
}

.footer .container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 1rem;
}

.footer h4,
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.footer-admin-link-wrap {
  margin-top: 0.95rem;
}

.footer-admin-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-admin-link:hover,
.footer-admin-link:focus {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.12);
}

.copyright {
  background: #1a252f;
}

.standalone-page,
.legal-page {
  padding: 2rem 1rem 3rem;
}

.standalone-shell,
.legal-shell {
  max-width: 900px;
  margin: 0 auto;
}

.standalone-hero,
.legal-hero {
  margin-bottom: 1.2rem;
  padding: 1.6rem 1.5rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #8a889f 0%, #6e8091 100%);
  color: #ffffff;
  box-shadow: var(--kw-shadow);
}

.standalone-hero h1,
.legal-hero h1 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.standalone-hero p,
.legal-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
}

.standalone-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standalone-card,
.legal-card {
  padding: 1.35rem;
  border: 1px solid var(--kw-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--kw-shadow-soft);
}

.legal-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--kw-primary);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--kw-primary-soft);
  line-height: 1.75;
}

.legal-content strong {
  color: var(--kw-primary);
}

@media (max-width: 991.98px) {
  #mainNav .container {
    align-items: center;
  }

  #mainNav .navbar-brand {
    max-width: calc(100% - 120px);
    font-size: 1.12rem;
    line-height: 1.1;
  }

  #mainNav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(46, 64, 82, 0.98) 0%, rgba(36, 50, 66, 0.98) 100%);
    box-shadow: 0 18px 32px rgba(15, 24, 34, 0.28);
  }

  #mainNav .navbar-nav {
    gap: 0.35rem;
  }

  #mainNav .navbar-nav .nav-item {
    width: 100%;
  }

  #mainNav .navbar-nav .nav-link {
    min-height: 46px;
    padding: 0.85rem 1rem !important;
    text-align: center;
    border-radius: 14px;
  }

  header.masthead.bg-primary {
    border-radius: 26px;
  }

  section > .container {
    padding: 1.5rem 1rem;
    border-radius: 24px;
  }

  .footer {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    border-radius: 24px 24px 0 0;
  }

  .service-grid--physio {
    grid-template-columns: 1fr;
  }

  .aktuelles-layout {
    grid-template-columns: 1fr;
  }

  .aktuelles-side {
    grid-template-columns: 1fr;
  }

  .aktuelles-panel {
    padding: 1rem;
    border-radius: 22px;
  }
}

@media (min-width: 992px) {
  #mainNav .navbar-nav li.nav-item a.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link:hover::after,
  #mainNav .navbar-nav li.nav-item a.nav-link.active::after,
  #mainNav .navbar-nav li.nav-item a.nav-link[aria-current="location"]::after {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  #mainNav {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
  }

  #mainNav .container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  #mainNav .navbar-brand {
    font-size: 0.86rem;
    letter-spacing: 0.07em;
  }

  #mainNav .navbar-toggler {
    min-width: 92px;
    min-height: 40px;
    padding: 0.56rem 0.72rem;
    border-radius: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  #mainNav .navbar-collapse {
    margin-top: 0.7rem;
    padding: 0.55rem;
    border-radius: 18px;
  }

  #mainNav .navbar-nav .nav-link {
    min-height: 44px;
    padding: 0.8rem 0.9rem !important;
    font-size: 0.95rem;
    font-weight: 700;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link.active,
  #mainNav .navbar-nav li.nav-item a.nav-link[aria-current="location"] {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  header.masthead.bg-primary {
    margin: 0.7rem 0.75rem 0;
    padding-top: calc(1.25rem + 58px);
    padding-bottom: 0.9rem;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.12);
  }

  header.masthead .container {
    max-width: 320px;
  }

  header.masthead img {
    width: min(225px, 58vw) !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
  }

  section {
    padding: 1rem 0;
  }

  section > .container {
    padding: 1rem 0.85rem;
    border-radius: 20px;
  }

  #info .container {
    padding-top: 0.9rem;
  }

  #info-title {
    max-width: 10.5ch;
    margin-bottom: 0.7rem !important;
    font-size: clamp(1.65rem, 8.9vw, 2.35rem);
    line-height: 0.92;
    letter-spacing: 0.03em;
    text-transform: none !important;
  }

  #intro-address,
  #contact-links,
  #map-address {
    padding: 0.8rem 0.85rem;
  }

  .intro-panel {
    padding: 0.95rem 0.9rem;
    border-radius: 20px;
    text-align: left;
  }

  .intro-panel__eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .intro-panel__text {
    font-size: 0.95rem;
    line-height: 1.58;
    text-align: left;
  }

  .intro-panel__cta {
    padding: 0.72rem 0.8rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .intro-panel__highlights {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .intro-panel__highlight {
    padding: 0.32rem 0.58rem;
    font-size: 0.7rem;
  }

  #contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.55rem;
  }

  .contact-action {
    min-height: 78px;
    padding: 0.72rem 0.4rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .contact-action i {
    font-size: 1.15rem;
  }

  #video-list,
  .service-grid {
    gap: 0.85rem;
  }

  .service-card,
  .video-card {
    border-radius: 20px;
  }

  .service-grid--physio {
    gap: 0.85rem;
  }

  .service-grid--physio .service-card {
    display: block;
  }

  .poster-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .aktuelles-layout,
  .aktuelles-main,
  .aktuelles-side {
    gap: 0.85rem;
  }

  .aktuelles-side {
    gap: 1rem;
  }

  .aktuelles-panel {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .aktuelles-panel__eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
  }

  .aktuelles-panel h4 {
    margin-bottom: 0.55rem !important;
  }

  .aktuelles-panel--courses {
    padding: 0.95rem;
  }

  .aktuelles-panel--schedule {
    margin-top: 1rem;
    padding: 0.95rem;
  }

  .aktuelles-panel--schedule #schedule-title {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
  }

  .Image--poster img,
  .Image--schedule img,
  .Image--feature img {
    max-height: none;
    padding: 0;
    object-fit: contain;
  }

  .guest-lecturers-table {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .guest-lecturers-table td {
    background: transparent;
  }

  .video-teaser-grid,
  .video-library {
    gap: 0.85rem;
  }

  .team-modal-profile__list {
    grid-template-columns: 1fr;
  }

  .team-modal-layout {
    grid-template-columns: 1fr;
  }

  .team-modal {
    padding: 0.75rem;
  }

  .team-modal__dialog {
    max-height: calc(100vh - 1.5rem);
    border-radius: 24px;
  }

  .team-modal__inner {
    padding: 1rem;
  }

  .team-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .team-modal-layout__media {
    max-width: 260px;
    margin: 0 auto;
  }

  #team-modal-title {
    text-align: center;
  }

  .video-library-teaser {
    gap: 0.85rem;
  }

  .video-library-teaser__media {
    grid-template-columns: 1fr;
  }

  .video-library-teaser__lead {
    min-height: 210px;
  }

  .video-library-teaser__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-library-teaser__stack-item {
    min-height: 104px;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox__dialog {
    padding: 0.95rem;
    border-radius: 24px;
  }

  .gallery-lightbox__header {
    display: block;
    margin-bottom: 0.8rem;
    padding-right: 3rem;
  }

  .gallery-lightbox__counter {
    margin-top: 0.25rem;
  }

  .gallery-lightbox__stage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
  }

  .gallery-lightbox__nav--prev {
    left: 0.6rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.6rem;
  }

  .gallery-lightbox__image {
    max-height: 56vh;
    border-radius: 18px;
  }

  .gallery-lightbox__thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #team > .container {
    padding-bottom: 0.85rem;
  }

  .scroll-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .standalone-page,
  .legal-page {
    padding: 1rem 0.75rem 2rem;
  }

  .standalone-hero,
  .legal-hero,
  .standalone-card,
  .legal-card {
    border-radius: 22px;
  }

  #info-title {
    max-width: 14ch;
    font-size: clamp(1.85rem, 9vw, 2.4rem);
    letter-spacing: 0.03em;
  }
}
