/* ==========================================================================
   etage1 – sport reha freiburg
   Stylesheet
   ========================================================================== */

/* Self-hosted fonts (DSGVO: keine externe Anfrage an Google-Server) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('fonts/source-sans-3-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('fonts/source-sans-3-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('fonts/source-sans-3-latin-800-normal.woff2') format('woff2');
}

:root {
  /* Color — from etage1 / physiozentrum freiburg CI (Avada palette) */
  --ink: #4d5c61;        /* anthrazit */
  --ink-soft: #5f6c71;
  --ink-faint: #7a8588;
  --accent: #f49e00;     /* orange */
  --accent-deep: rgb(77, 92, 97);
  --accent-tint: #fff2dc;
  --paper: #ffffff;      /* weiß */
  --paper-soft: #f4f4f4; /* hellgrau */
  --paper-soft-2: #ececec;
  --line: #e3e3e3;
  --dark: #4d5c61;       /* anthrazit (footer bg in CI) */
  --dark-soft: #434549;  /* Color 6 */

  /* Type — Source Sans 3 (etage1 / physiozentrum freiburg CI) */
  --font-display: "Source Sans 3", Arial, Helvetica, sans-serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;
  --font-mono: "Source Sans 3", Arial, Helvetica, sans-serif;

  /* Layout */
  --header-h: 148px;
  --rail-w: 56px;
  --container: 1200px;
  --radius-s: 0px;
  --radius-m: 0px;
  --radius-l: 0px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section { position: relative; }
main section[id] { scroll-margin-top: var(--header-h); }
#top { position: relative; display: block; height: 0; }

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

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--ink);
}
.section-head p {
  margin-top: 18px;
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 54ch;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-pad { padding: 108px 0; }
@media (max-width: 720px) { .section-pad { padding: 72px 0; } }

.bg-soft { background: var(--paper-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Disabled contact placeholders (e.g. WhatsApp pending) ---------- */
.is-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}
.contact-panel a.is-disabled:hover { background: var(--dark-soft); box-shadow: none; transform: none; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 190px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 0;
  transition: color .2s, background .2s;
  position: relative;
  text-transform: lowercase;
}
.main-nav a:hover { color: var(--ink); background: var(--paper-soft); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--paper-soft); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 190;
  padding: 12px 24px 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  text-transform: lowercase;
}
.mobile-nav .btn { margin-top: 18px; width: 100%; justify-content: center; text-transform: none; }

/* ==========================================================================
   Floor rail (Etagenanzeige)
   ========================================================================== */
.floor-rail {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.floor-rail .rail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 18px;
}
.floor-rail ol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
}
.floor-rail ol::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px; left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  z-index: -1;
}
.floor-rail button {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.floor-rail button:hover { color: var(--ink); background: var(--paper-soft); }
.floor-rail button.active {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 5px var(--accent-tint);
  transform: scale(1.08);
}
@media (max-width: 1220px) { .floor-rail { display: none; } }

/* ==========================================================================
   Floating action panel (Aufzugstableau)
   ========================================================================== */
.contact-panel {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: var(--dark);
  border-radius: 0;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.5);
}
.contact-panel a {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-soft);
  color: #fff;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.contact-panel a svg { width: 21px; height: 21px; }
.contact-panel a:hover {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-tint), 0 0 22px 2px rgba(244,158,0,.55);
  transform: translateX(-2px);
}
.contact-panel .tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--dark);
  color: #fff;
  padding: 7px 12px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.contact-panel a:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) {
  .contact-panel { right: 16px; bottom: 16px; }
  .contact-panel a { width: 44px; height: 44px; }
  .contact-panel .tip { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: calc(var(--header-h) + 64px) 0 90px;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--ink);
}
.hero h1 .accent-word {
  color: var(--accent-deep);
  position: relative;
  white-space: nowrap;
}
.hero .kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--ink-soft);
  margin-top: 8px;
  display: block;
}
.hero p.lead {
  margin-top: 26px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero .hero-ctas {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .tag-row {
  margin-top: 44px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero .tag-row span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-soft);
}

.hero-visual { position: relative; }
.hero-visual .ring {
  position: absolute;
  inset: -22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: .55;
}
.hero-visual .photo-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 22px;
  justify-content: center;
}
.hero-photo-rotator {
  position: relative;
  width: calc(100% - 44px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 22px;
  overflow: hidden;
  background: var(--paper-soft-2);
}
.hero-photo-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero-photo-rotator img.is-active { opacity: 1; }
.hero-photo-rotator video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .logo-orbit {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  animation: orbit-swing 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-visual .logo-badge {
  position: absolute;
  top: 0%;
  left: 50%;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  z-index: 2;
  pointer-events: auto;
  animation: badge-counter-swing 20s ease-in-out infinite alternate;
}
.hero-visual .logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes orbit-swing {
  from { transform: rotate(-16deg); }
  to   { transform: rotate(16deg); }
}
@keyframes badge-counter-swing {
  from { transform: translate(-50%, -50%) rotate(16deg); }
  to   { transform: translate(-50%, -50%) rotate(-16deg); }
}
.hero-visual .social-badge {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  z-index: 2;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.hero-visual .social-badge:hover { color: var(--accent); transform: translate(-50%, 50%) scale(1.06); }
.hero-visual .social-badge svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) {
  .hero-visual .logo-orbit { animation: none; }
  .hero-visual .logo-badge { animation: none; transform: translate(-50%, -50%); }
}
@media (max-width: 640px) {
  .hero-visual .logo-badge { width: 68px; height: 68px; }
  .hero-visual .social-badge { width: 44px; height: 44px; }
  .hero-visual .social-badge svg { width: 20px; height: 20px; }
}
.hero-visual .badge {
  position: absolute;
  bottom: 8%;
  left: -8%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.35);
  max-width: 230px;
}
.hero-visual .badge .num { font-family: var(--font-mono); color: var(--accent-deep); font-weight: 700; font-size: 13.5px; }
.hero-visual .badge p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 380px; margin: 0 auto; order: -1; }
  .hero-visual .badge { display: none; }
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px),
    linear-gradient(150deg, #d8d4cc, #8f9296 46%, #4d5257 100%);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
}
.photo-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  background: rgba(20,22,24,.42);
  padding: 7px 12px;
  border-radius: 0;
  margin: 14px;
}

/* ==========================================================================
   Pillars (Unser Anspruch)
   ========================================================================== */
.anspruch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.anspruch-copy p { font-size: 18.5px; color: var(--ink-soft); }
.anspruch-copy p + p { margin-top: 16px; }
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pillar {
  padding: 26px 22px;
  background: var(--paper);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -28px rgba(0,0,0,.3); }
.pillar .icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pillar .icon img { width: 40px; height: 40px; display: block; }
.pillar h3 { font-size: 17px; font-weight: 700; }
.pillar p { margin-top: 8px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 900px) {
  .anspruch-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gallery strip (auto-scrolling filmstrip)
   ========================================================================== */
.gallery-strip {
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.gallery-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: gallery-scroll 75s linear infinite;
}
.gallery-strip:hover .gallery-track { animation-play-state: paused; }
.gallery-track img {
  display: block;
  height: 220px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius-s);
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (min-width: 700px) {
  .gallery-track img { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* ==========================================================================
   Konzept
   ========================================================================== */
.konzept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.konzept-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.konzept-card:hover { box-shadow: 0 30px 60px -34px rgba(0,0,0,.28); transform: translateY(-4px); }
.konzept-card .phase {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: .06em;
}
.konzept-card h3 {
  margin-top: 14px;
  font-size: 23px;
  font-weight: 700;
}
.konzept-card > p {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.konzept-card .more-toggle {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 11px 18px;
  border-radius: 999px;
  align-self: flex-start;
  transition: background .2s, border-color .2s;
}
.konzept-card .more-toggle:hover { border-color: var(--ink); }
.konzept-card .more-toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.konzept-card.is-open .more-toggle svg { transform: rotate(180deg); }
.konzept-card.is-open .more-toggle { background: var(--ink); color: #fff; border-color: var(--ink); }

.service-list {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.konzept-card.is-open .service-list { max-height: 900px; }
.service-list ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.service-list li { font-size: 15px; }
.service-list li strong { display: block; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.service-list li span { color: var(--ink-soft); }

@media (max-width: 980px) { .konzept-grid { grid-template-columns: 1fr; } }

/* ---------- Return to Sport Prozess ---------- */
.rts-track { display: flex; align-items: stretch; gap: 0; margin-top: 8px; }
.rts-card { flex: 1 1 0; min-width: 0; padding: 28px 22px 26px; border-top-width: 4px; border-top-style: solid; border-top-color: var(--accent-deep); }
.rts-card:nth-of-type(odd) { border-top-color: var(--accent); }
.rts-card:nth-of-type(even) { border-top-color: var(--accent-deep); }
.rts-card .rts-num { display: block; font-family: var(--font-mono); font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; }
.rts-card h3 { margin-top: 10px; font-size: 16.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.rts-card .rts-sub { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-deep); }
.rts-card .more-toggle { margin-top: 18px; font-size: 13px; padding: 9px 14px; color: var(--accent-deep); background: rgba(244,158,0,.1); border-color: rgba(244,158,0,.4); }
.rts-card .more-toggle:hover { border-color: var(--accent); background: rgba(244,158,0,.18); }
.rts-card.is-open .more-toggle { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.rts-card .service-list p { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.rts-arrow { flex: 0 0 26px; display: flex; align-items: center; justify-content: center; color: var(--line); }
.rts-arrow svg { width: 16px; height: 16px; }

@media (max-width: 1180px) {
  .rts-track { flex-direction: column; gap: 20px; }
  .rts-arrow { display: none; }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}
.team-card {
  border-radius: var(--radius-m);
  padding: 22px;
  text-align: left;
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: 0 20px 40px -28px rgba(0,0,0,.3); transform: translateY(-4px); }
.team-card .avatar-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-s);
  margin-bottom: 16px;
  overflow: hidden;
}
.team-card .avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.team-card p { font-size: 17.5px; color: var(--ink-soft); margin-top: 4px; }
.team-card .avatar-frame { position: relative; }
.team-card .team-quals { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.team-card .team-quals li { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.team-card .team-quals li::before { content: "→"; color: var(--accent); font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* ==========================================================================
   Reha
   ========================================================================== */
.reha-top {
  margin-bottom: 64px;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-deep);
  width: 34px; height: 34px;
  border-radius: 0;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step h3 { font-size: 17.5px; font-weight: 700; }
.step p { margin-top: 6px; font-size: 15.5px; color: var(--ink-soft); }

.hours-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 34px;
  height: 100%;
}
.hours-card .eyebrow { color: var(--accent); }
.hours-card .eyebrow::before { background: var(--accent); }
.hours-card h3 { color: #fff; font-size: 20px; margin-top: 4px; }
.hours-card dl { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.hours-card .row { display: flex; justify-content: space-between; font-size: 15.5px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-card .row dt { color: rgba(255,255,255,.6); }
.hours-card .row dd { margin: 0; font-weight: 600; }
.hours-card .btn { margin-top: 22px; width: 100%; justify-content: center; }
.hours-card .note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }
.hours-card .sub-note { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.5); }
.hours-card .divider { margin: 26px 0 18px; border: none; border-top: 1px solid rgba(255,255,255,.14); }
.hours-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); font-weight: 700; }
.hours-card h4 + dl { margin-top: 14px; }

.reha-block { max-width: 780px; }
.reha-block + .reha-block { margin-top: 56px; }
.reha-block h3 { font-size: 22px; font-weight: 700; }
.reha-block > p { margin-top: 16px; font-size: 17px; color: var(--ink-soft); line-height: 1.7; }

.reha-card h3 { margin-top: 0; }
.reha-cta-card { margin-top: 24px; }
.reha-cta-card h3 { margin-top: 0; }

.goal-box {
  margin-top: 22px;
  padding: 22px 26px;
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.goal-box .label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--accent-deep); letter-spacing: .06em; }
.goal-box p { margin-top: 8px; font-size: 16.5px; color: var(--ink); line-height: 1.65; }

.beratung-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 380px) {
  .beratung-cta .btn { white-space: normal; text-align: center; }
}


/* ==========================================================================
   Kosten
   ========================================================================== */
.mitbringen {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 64px;
}
.mitbringen li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}
.mitbringen li svg { width: 16px; height: 16px; color: var(--accent-deep); flex-shrink: 0; }

.kosten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kosten-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
}
.kosten-card .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  padding: 5px 11px;
  border-radius: 0;
  display: inline-block;
}
.kosten-card h3 { margin-top: 16px; font-size: 20px; font-weight: 700; }
.kosten-card p { margin-top: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 980px) { .kosten-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-deep); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }
.faq-more { margin-top: 36px; }
@media (max-width: 380px) {
  .faq-more .btn { white-space: normal; text-align: center; }
}
@media (max-width: 640px) {
  .faq-question { padding: 18px 20px; font-size: 16px; }
  .faq-answer p { padding: 0 20px 20px; }
}

/* ==========================================================================
   Contact / CTA band
   ========================================================================== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.cta-band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
.cta-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.cta-text { flex: 1 1 auto; min-width: 0; }
.cta-person-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex-shrink: 0;
}
.cta-person {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.18);
}
.cta-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.cta-person-info { display: flex; flex-direction: column; align-items: center; }
.cta-person-info strong { font-size: 15.5px; color: #fff; font-weight: 700; }
.cta-person-info span { margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.6); }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,.68); font-size: 17.5px; max-width: 46ch; }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink); }
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-m);
  font-size: 16px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.cta-contact a:hover { background: rgba(244,158,0,.14); border-color: var(--accent); }
.cta-contact a svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.cta-contact span.small { display: block; font-weight: 400; color: rgba(255,255,255,.55); font-size: 13px; margin-top: 2px; }

@media (max-width: 1024px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cta-band { padding: 48px 28px; }
}
@media (max-width: 560px) {
  .cta-main { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-person-row { align-self: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 58px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: 15px; color: var(--ink-soft); max-width: 32ch; line-height: 1.6; }
.footer-partner { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-partner-label { display: block; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 12px; }
.footer-partner a { display: inline-block; }
.footer-partner-logo { height: 32px; width: auto; opacity: .85; transition: opacity .2s; }
.footer-partner a:hover .footer-partner-logo { opacity: 1; }
.footer-col h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col address, .footer-col .is-disabled { font-size: 15.5px; color: var(--ink-soft); font-style: normal; transition: color .2s; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-col address { line-height: 1.7; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13.5px; color: var(--ink-faint); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 13.5px; color: var(--ink-faint); }
.footer-legal a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }


/* ---------- PREVIEW: Fotos in Schwarz/Weiß ---------- */
.hero-photo-rotator img,
.gallery-track img,
.team-card .avatar-frame img,
.cta-person img {
  filter: grayscale(100%);
}

/* Hero-Video bleibt bewusst farbig */
.hero-photo-rotator video {
  filter: none;
}

