:root {
  --blue: #00adef;
  --navy: #1f222c;
  --bg: #ffffff;
  --cream: #f7f4f2;
  --text: #1f222c;
  --muted: #444c58;
  --card: #ffffff;
  --border: rgba(0,0,0,.07);
  --blue-light: rgba(0,173,239,0.08);
  --radius: 18px;
  --font-mono: 'DM Mono', monospace;
  /* Easing curves – stronger than browser defaults */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Barlow', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { hyphens: none; -webkit-hyphens: none; }

/* NAV – transparent over hero, solid on scroll */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.6rem 3rem;
  background: transparent;
  transition: background .5s cubic-bezier(.22,1,.36,1), backdrop-filter .5s, border-color .4s,
              padding .45s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav-right {
  display: flex; align-items: center; gap: 20px; justify-self: end;
}
nav.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 28px rgba(0,0,0,.08);
  padding: .85rem 3rem;
}
/* Logo: Crossfade weiß ↔ dunkel je nach Hintergrund */
.nav-logo {
  position: relative; display: block;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
nav.scrolled .nav-logo { transform: scale(.84); }
.nav-logo img {
  height: 28px; width: auto; display: block;
  transition: opacity .45s cubic-bezier(.22,1,.36,1);
}
/* logo-light: weiß – sichtbar auf transparentem Hero-Nav */
.nav-logo .logo-light { opacity: 1; }
/* logo-dark: original – overlay, zunächst unsichtbar */
.nav-logo .logo-dark  { opacity: 0; position: absolute; top: 0; left: 0; }

/* Scrolled (Startseite) + Solid (Unterseiten): dunkel zeigen */
nav.scrolled .nav-logo .logo-light,
nav.nav-solid .nav-logo .logo-light { opacity: 0; }
nav.scrolled .nav-logo .logo-dark,
nav.nav-solid .nav-logo .logo-dark  { opacity: 1; }
/* Unterseiten: kein Scale */
nav.nav-solid .nav-logo { transform: none; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
/* CTA-Button im Mobile-Menü (wird auf Desktop versteckt) */
.nav-cta-mobile { display: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); text-decoration: none;
  padding-bottom: 5px;
  position: relative;
  transition: color .2s;
}
/* Blauer Strich: right:.18em kompensiert den letter-spacing-Überhang nach dem letzten Buchstaben */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: .18em;
  height: 2px;
  background: transparent;
  transition: background .2s;
}
nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover::after, .nav-links a.active::after { background: var(--blue); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
nav.scrolled .nav-links a:hover::after, nav.scrolled .nav-links a.active::after { background: var(--blue); }
nav.scrolled .nav-links a:hover, nav.scrolled .nav-links a.active { color: var(--text); }
/* Termin-Button im Nav */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: 9px 20px; border-radius: 40px;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 14px rgba(0,173,239,.32);
}
.nav-cta:hover { background: #009fd8; transform: translateY(-1px); box-shadow: 0 5px 20px rgba(0,173,239,.45); }
.nav-cta:active { transform: scale(0.96) !important; box-shadow: 0 2px 8px rgba(0,173,239,.25) !important; }
nav.nav-solid .nav-cta { box-shadow: 0 2px 10px rgba(0,173,239,.18); }

/* Visueller Trenner: Social-Icons vom CTA separieren */
.nav-social {
  display: flex; gap: 14px; align-items: center;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.18);
}
nav.scrolled .nav-social,
nav.nav-solid .nav-social { border-left-color: var(--border); }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.nav-social a:hover { color: #fff; }
nav.scrolled .nav-social a { color: rgba(0,0,0,.3); }
nav.scrolled .nav-social a:hover { color: var(--blue); }

/* Solid nav variant for subpages (no fullscreen hero) */
nav.nav-solid {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 1.1rem 3rem;
}
nav.nav-solid.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }
nav.nav-solid .nav-logo img { filter: none; }
nav.nav-solid .nav-links a { color: var(--muted); }
nav.nav-solid .nav-links a:hover, nav.nav-solid .nav-links a.active { color: var(--text); }
nav.nav-solid .nav-links a:hover::after, nav.nav-solid .nav-links a.active::after { background: var(--blue); }
nav.nav-solid .nav-social { border-left-color: var(--border); }
nav.nav-solid .nav-social a { color: rgba(0,0,0,.3); }
nav.nav-solid .nav-social a:hover { color: var(--blue); }

/* ── HAMBURGER BUTTON (mobile only) ── */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 95;                 /* über nav-links (z-index:90) innerhalb nav-Stacking-Context */
  width: 44px; height: 44px;  /* 44px touch target per Apple HIG */
  background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 11px;                  /* (44 - 22) / 2 */
  width: 22px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.85);
  transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .22s, background .3s;
  transform-origin: center center;
}
/* 3 bars: vertically centered with 7 px gap between bar centers */
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

nav.scrolled .nav-toggle span,
nav.nav-solid .nav-toggle span { background: var(--navy); }

/* Open → X: outer bars move to center and rotate */
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu open: force solid nav – X button bleibt sichtbar, auch auf transparenter Hero-Nav */
nav.nav-open {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
nav.nav-open .nav-logo .logo-light { opacity: 0; }
nav.nav-open .nav-logo .logo-dark  { opacity: 1; }
nav.nav-open .nav-toggle span      { background: var(--navy); }

/* ── FULLSCREEN HERO ── */
.hero-fullscreen {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: #0d1118;
  overflow: hidden;
  z-index: 2;           /* liegt über der Schlingen-Illustration */
}

/* ── HERO SLIDESHOW ── */
.hero-slides {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Slideshow dot navigation */
.hero-dots {
  position: absolute;
  bottom: 2.75rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; padding: 0;
  transition: background .3s, width .35s cubic-bezier(.34,1.56,.64,1);
}
.hero-dot.active {
  background: #fff;
  width: 22px; border-radius: 3px;
  border-color: transparent;
}

/* Gradient overlay: subtle at top, dense at bottom for readability */
.hero-fullscreen::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(10,14,22,0.25) 0%,
      rgba(10,14,22,0.15) 30%,
      rgba(10,14,22,0.55) 60%,
      rgba(10,14,22,0.88) 100%
    );
}

/* Subtle vignette on sides */
.hero-fullscreen::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10,14,22,0.35) 100%);
  pointer-events: none;
}

/* Content layer */
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5rem 5.5rem;
  max-width: 760px;
}

.hero-logo {
  display: block;
  height: 112px; width: auto;
  margin-bottom: 3rem;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
  border: 1px solid rgba(0,173,239,.5); border-radius: 40px; padding: 7px 14px;
  background: rgba(0,173,239,.08); backdrop-filter: blur(4px);
}
.hero-eyebrow--white {
  color: rgba(255,255,255,.9);
  border-color: transparent;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--blue); font-style: normal; }

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.62);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* Hero Stats (ersetzt CTA-Button) */
.hero-stats {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255,255,255,.07); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); overflow: hidden;
  width: fit-content;
  margin-bottom: 3.5rem;
}
.hero-stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .25s var(--ease-out);
  cursor: default;
}
.hero-stat-item:hover { background: rgba(255,255,255,.07); }
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item strong {
  font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 5px;
  letter-spacing: -.02em; display: flex; align-items: center;
}
.hero-stat-item strong em { color: #fff; font-style: normal; }
.hero-stat-item span {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.92); white-space: nowrap;
}

/* ── HERO ENTRANCE ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-eyebrow  { animation: heroFadeUp  .75s cubic-bezier(.22,1,.36,1) .05s both; }
.hero-title    { animation: heroFadeUp  .90s cubic-bezier(.22,1,.36,1) .18s both; }
.hero-subtitle { animation: heroFadeUp  .75s cubic-bezier(.22,1,.36,1) .34s both; }
.hero-stats    { animation: heroFadeUp  .70s cubic-bezier(.22,1,.36,1) .50s both; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(5px);
  transition:
    opacity  .75s var(--ease-out),
    transform .75s var(--ease-out),
    filter   .60s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* Staggered grid reveal – .visible wird per JS gesetzt */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition:
    opacity  .55s var(--ease-out),
    transform .55s var(--ease-out),
    filter   .45s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; filter:blur(0); transition-delay:   0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; filter:blur(0); transition-delay:  45ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; filter:blur(0); transition-delay:  90ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; filter:blur(0); transition-delay: 135ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; filter:blur(0); transition-delay: 180ms; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; filter:blur(0); transition-delay: 225ms; }
.reveal-stagger.visible > *:nth-child(7) { opacity:1; transform:none; filter:blur(0); transition-delay: 270ms; }
.reveal-stagger.visible > *:nth-child(8) { opacity:1; transform:none; filter:blur(0); transition-delay: 315ms; }

/* ── SUBPAGE HERO ENTRANCE ── */
.page-hero .page-eyebrow  { animation: heroFadeUp  .75s cubic-bezier(.22,1,.36,1) .10s both; }
.page-hero .page-title    { animation: heroFadeUp  .90s cubic-bezier(.22,1,.36,1) .22s both; }
.page-hero .page-subtitle { animation: heroFadeUp  .75s cubic-bezier(.22,1,.36,1) .38s both; }
.page-hero .hero-slogan   { animation: heroFadeIn  1.1s ease                      .55s both; }
.page-hero .hero-illo     { animation: heroFadeIn  1.4s ease                      .65s both; will-change: transform; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-stats { animation: none; }
  .page-hero .page-eyebrow, .page-hero .page-title, .page-hero .page-subtitle,
  .page-hero .hero-slogan, .page-hero .hero-illo { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; filter: blur(0) !important; transition: none; }
  .photo-banner img, .feature-strip img { transform: scale(1) !important; transition: none !important; }
}

/* CTA row (legacy, für Fallback) */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.hero-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  padding: 16px 28px 16px 36px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 50px; font-weight: 600;
  transition:
    background .2s var(--ease-out),
    transform  .16s var(--ease-out),
    box-shadow .2s var(--ease-out);
  box-shadow: 0 4px 24px rgba(0,173,239,.35);
}
.hero-cta-primary:hover { background: #0099d4; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,173,239,.45); }
.hero-cta-primary:active { transform: scale(0.97) !important; }
/* Slogan */
.hero-slogan {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.hero-slogan b { color: rgba(0,173,239,.65); font-weight: 400; }

/* SECTIONS */
section { padding: 6.5rem 5rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
  border: 1px solid rgba(0,173,239,.35); border-radius: 40px; padding: 7px 14px 7px 11px;
}
/* Accent dot inside eyebrow */
.section-eyebrow::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: .7;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600;
  line-height: 1.08; margin-bottom: 1rem; letter-spacing: -.025em;
}
.section-title em { color: var(--blue); font-style: normal; font-weight: 300; }
.section-intro { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.8; margin-bottom: 3rem; }

/* RAEUME */
.raeume-section {
  position: relative;
  overflow: visible;
  z-index: 1;           /* unter Hero (z-index:2), Illustration ragt aber in die Karten */
}
.schlingen-illu {
  position: absolute;   /* aus dem Textfluss – Abstände bleiben unverändert */
  top: 0;               /* beginnt an der Hero-Unterkante */
  right: 5rem;          /* bündig mit Section-Padding */
  width: 42%;
  max-width: 500px;
  height: auto;
  pointer-events: none;
  animation: heroFadeIn 1.2s ease 0.4s both;
}

@media (max-width: 1100px) {
  .schlingen-illu { width: 38%; right: 3rem; }
}
@media (max-width: 860px) {
  .raeume-section {
    padding-top: 0;        /* Illustration bündig mit Hero-Unterkante */
  }
  .raeume-section .section-eyebrow {
    margin-top: 2.5rem;    /* Abstand zum Text wiederherstellen */
  }
  .schlingen-illu {
    position: static;
    display: block;
    width: 100%;
    max-width: 420px;      /* gleich wie andere Illustrationen */
    margin: 0 auto;
  }
}

.raeume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.raum-card {
  background: var(--blue-light);
  border: none;
  border-radius: var(--radius); padding: 32px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.03);
  transition:
    box-shadow .45s var(--ease-out),
    transform  .45s var(--ease-out),
    background .25s var(--ease-out);
}
.raum-card:hover {
  box-shadow: 0 6px 28px rgba(31,34,44,.10);
  transform: translateY(-3px);
}
.raum-icon {
  display: inline-flex;
  color: var(--blue); margin-bottom: 1.25rem;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.raum-icon svg { width: 38px; height: 38px; display: block; }
.raum-card:hover .raum-icon { transform: scale(1.15); }
.raum-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; letter-spacing: -.015em; transition: color .3s; }
.raum-card p { font-size: 17px; color: var(--muted); line-height: 1.75; transition: color .3s; }

/* ══════════════════════════════════════════
   AUSSTATTUNG
   ══════════════════════════════════════════ */
.ausstattung {
  background: var(--cream);
}

/* Header: Eyebrow + Titel + Intro gestapelt */
.ausstattung-header {
  margin-bottom: 3rem;
}
.ausstattung-intro {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 52ch;
  margin-top: .75rem;
}

/* ── Content: Karten links 3fr – Slideshow rechts 2fr ── */
.ausstattung-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: stretch;
}

/* Karten-Grid (2 Spalten) */
.ausstattung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ausstattung-item {
  background: var(--bg);
  border: none;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 3px 10px rgba(0,0,0,.03);
  transition:
    box-shadow  .4s var(--ease-out),
    transform   .4s var(--ease-out),
    background  .25s var(--ease-out);
}
.ausstattung-item:hover {
  box-shadow: 0 6px 28px rgba(31,34,44,.10);
  transform: translateY(-3px);
}

.ausstattung-icon {
  display: inline-flex;
  color: var(--blue);
  margin-bottom: 1rem;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.ausstattung-icon svg { width: 32px; height: 32px; display: block; }
.ausstattung-item:hover .ausstattung-icon { transform: scale(1.15); }
.ausstattung-item-header .ausstattung-icon { margin-bottom: 0; }
.ausstattung-item-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 5px;
}
.ausstattung-item-header h4 { flex: 1; margin-bottom: 0; }
.ausstattung-chevron {
  color: var(--muted);
  flex-shrink: 0;
  display: none;          /* Desktop: Chevron versteckt */
  transition: transform .35s cubic-bezier(0.32,0.72,0,1), color .25s;
}
.ausstattung-item h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; letter-spacing: -.015em; transition: color .3s; }
.ausstattung-item p  { font-size: 17px; color: var(--muted); line-height: 1.7; transition: color .3s; }

/* ── Crossfade Slideshow ── */
.ausstattung-images {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 300px;
}
.ausstattung-img-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.ausstattung-img-wrap.active {
  opacity: 1;
}
.ausstattung-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
/* Gradient overlay für Dot-Lesbarkeit */
.ausstattung-images::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Dot Navigation – absolut am unteren Bildrand (gleich wie Hero-Dots) */
.ausstattung-nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.ausstattung-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.25);
  padding: 0;
  cursor: pointer;
  transition: background .3s, width .35s cubic-bezier(.34, 1.56, .64, 1);
}
.ausstattung-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 3px;
  border-color: transparent;
}

/* LAGE */
.lage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.lage-info h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -.02em; }
.lage-info p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.lage-details { display: flex; flex-direction: column; gap: 12px; }
.lage-row { display: flex; gap: 12px; align-items: flex-start; }
.lage-row-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; color: var(--muted); }
.lage-row-text { font-size: 16px; color: var(--muted); line-height: 1.6; }
.lage-row-text strong { color: var(--text); font-weight: 600; display: block; }

.hours-box {
  background: var(--cream); border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius); padding: 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 2px 8px rgba(0,0,0,.04),
    0 8px 32px rgba(0,0,0,.04);
  position: sticky; top: 5.5rem;
  align-self: start;
}
.hours-box h4 {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
}
.hours-row {
  display: flex; justify-content: space-between; font-size: 16px;
  padding: .65rem 0; border-bottom: 1px solid var(--border); color: var(--muted);
}
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--text); font-weight: 500; }

/* CTA BAND */
.cta-band {
  background: var(--navy); padding: 5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-band-text h2 { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.02em; margin-bottom: .5rem; }
.cta-band-text p { font-size: 18px; color: rgba(255,255,255,.55); }
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  padding: 15px 26px 15px 32px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 50px; font-weight: 600; white-space: nowrap;
  transition:
    background .2s var(--ease-out),
    transform  .16s var(--ease-out),
    box-shadow .2s var(--ease-out);
}
.cta-primary:hover { background: #009fd8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,173,239,.4); }
.cta-primary:active { transform: scale(0.97) !important; box-shadow: 0 2px 8px rgba(0,173,239,.2) !important; }
/* Arrow-in-circle nested component (Button-in-Button pattern) */
.cta-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
  transition: transform .22s var(--ease-out), background .2s;
}
.cta-primary:hover .cta-arrow { transform: translate(2px, -1px); background: rgba(255,255,255,.28); }
.cta-primary:active .cta-arrow { transform: none; }

/* FOOTER */
footer {
  background: linear-gradient(to right, #181b23, var(--navy), #181b23);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 4.5rem 5rem 0;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-logo { display: block; text-align: right; margin-bottom: 1.25rem; }
.footer-logo img { height: 112px; width: auto; display: inline-block; opacity: .9; }
.footer-logos { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.footer-physioaustria img { display: block; filter: brightness(0) invert(1); opacity: .38; transition: opacity .2s; }
.footer-physioaustria:hover img { opacity: .6; }
.footer-physioaustria--phy img { height: 30px; width: 150px; max-width: 150px; }   /* 402:81 ≈ 5:1 */
.footer-physioaustria--phy { padding-right: 20px; }
.footer-physioaustria--sbg img { height: 32px; width: auto; }   /* 624.8:191.6 ≈ 3.26:1 */
.footer-physioaustria--sbg { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.footer-tagline {
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 1rem;
}
.footer-address { font-size: 15px; color: rgba(255,255,255,.4); line-height: 1.9; }
.footer-address a { color: #00adef; -webkit-text-fill-color: #00adef; text-decoration: none; }
.footer-address a:hover { color: #fff; -webkit-text-fill-color: #fff; }
.footer-col-label {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: 1.25rem; display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { font-size: 16px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; margin-top: 1.25rem; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.38);
  text-decoration: none; transition: color .2s;
}
.footer-social a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0 3rem; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.22); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   PHOTO COMPONENTS
   ══════════════════════════════════════════ */

/* Full-width photo banner between sections */
.photo-banner {
  height: 800px; overflow: hidden; position: relative;
}
@media (max-width: 1100px) {
  .photo-banner { height: 600px; }
}
.photo-banner img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 45%; display: block;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-out);
}
/* Zoom in as banner enters viewport (JS adds .visible class) */
.photo-banner.visible img { transform: scale(1); }
/* Photo banners: cancel translateY/blur from .reveal – only use the img scale-in */
.photo-banner.reveal {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Feature image strip between leistungen sections */
.feature-strip {
  height: 800px; overflow: hidden; position: relative;
}
@media (max-width: 1100px) {
  .feature-strip { height: 600px; }
}
.feature-strip img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease-out);
}
.feature-strip.visible img { transform: scale(1); }
/* Feature strip: same as photo-banner – cancel reveal translateY/blur */
.feature-strip.reveal {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.feature-strip::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,14,22,.45) 100%);
  pointer-events: none;
}

/* Sport image column */
.sport-image {
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.sport-image > img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.sport-image > img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
/* Therapeuten portrait placeholder */
.therapeut-photo-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: linear-gradient(160deg, #dff2fb 0%, #b0dcf0 100%);
}
.therapeut-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
  transition: transform .5s var(--ease-out);
}
.therapeut-card:hover .therapeut-photo-wrap img { transform: scale(1.03); }
/* Kontakt-Overlay: schiebt von unten ins Portrait */
.therapeut-contact-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 1.4rem 1.4rem;
  background: linear-gradient(to top, rgba(10,22,40,.90) 40%, transparent 100%);
  display: flex; flex-direction: column; gap: 10px;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(0.32,0.72,0,1);
}
.therapeut-card:hover .therapeut-contact-overlay { transform: translateY(0); }
.therapeut-contact-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
  text-decoration: none; letter-spacing: .01em;
  transition: color .2s;
}
.therapeut-contact-link:hover { color: #fff; }
.therapeut-contact-link svg { flex-shrink: 0; color: var(--blue); opacity: 1; }
/* Mobile (≤900px): Overlay dauerhaft sichtbar, da kein Hover */
@media (max-width: 900px) {
  .therapeut-contact-overlay { transform: translateY(0); }
  .therapeut-photo-wrap:hover img { transform: none; }
}
.therapeut-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.therapeut-photo-placeholder .placeholder-initials {
  font-size: 3rem; font-weight: 700; color: rgba(0,173,239,.4); line-height: 1;
}
.therapeut-photo-placeholder .placeholder-label {
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,173,239,.5);
}
.therapeut-photo-wrap .therapeut-num {
  position: absolute; bottom: 14px; right: 16px; top: auto;
  font-size: 4rem; font-weight: 700; color: rgba(255,255,255,.2); line-height: 1;
}
.therapeut-info {
  padding: 1.25rem 2rem .25rem;
  border-bottom: none;
}
.therapeut-info h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }

/* ── iPad Landscape (901–1100px) ── */
@media (min-width: 901px) and (max-width: 1100px) {
  /* Nav */
  nav, nav.scrolled, nav.nav-solid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .nav-links { gap: 1.5rem; }
  .nav-social { display: none; }

  /* Sections – seitliches Padding von 5rem → 2.5rem */
  section { padding: 5.5rem 2.5rem; }
  .hero-content { padding: 0 2.5rem 5.5rem; }

  /* CTA Band */
  .cta-band { padding: 4rem 2.5rem; }

  /* Footer */
  footer { padding: 3.5rem 2.5rem 0; }

  /* Page Hero (Unterseiten) */
  .page-hero { padding: 8rem 2.5rem 4rem; }

}

/* ── RESPONSIVE: ≤ 900px (iPhone + iPad Portrait) ── */
@media (max-width: 900px) {
  /* Nav: Flex-Layout, Hamburger zeigen */
  nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 1.25rem;
    min-height: 60px;
  }
  nav.scrolled { padding: 0 1.25rem; }
  nav.nav-solid { padding: 0 1.25rem; }

  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }
  .nav-social { display: none; }

  /* Mobile-Menü: slide down from top */
  .nav-links {
    display: flex !important;
    flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 5rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(0,0,0,.15);
    z-index: 90;
    transform: translateY(-110%);
    transition: transform .42s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
  }
  nav.nav-open .nav-links {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; padding: .875rem 0;
    font-size: 16px !important; letter-spacing: .04em !important; font-weight: 500 !important;
    color: var(--text) !important;
    transition: color .2s;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a.active { color: var(--blue) !important; }

  /* CTA im Mobile-Menü */
  .nav-cta-mobile { display: block; padding: 1.25rem 0 .25rem; border-bottom: none !important; }
  .nav-cta-mobile a {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 14px 28px !important;
    background: var(--blue) !important; color: #fff !important;
    border-radius: 40px; font-size: 14px !important;
    font-weight: 600 !important; letter-spacing: .08em !important;
    text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0,173,239,.32);
    transition: background .2s, transform .15s;
  }
  .nav-cta-mobile a:hover { background: #009fd8 !important; transform: translateY(-1px); }

  /* Hero */
  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-stats { flex-wrap: nowrap; }
  .hero-stat-item { padding: .8rem 1.25rem; }
  .hero-stat-item strong { font-size: 1.4rem; }

  /* Sections & layout */
  section { padding: 3.5rem 1.5rem; }
  .raeume-grid { grid-template-columns: 1fr; }
  .ausstattung-header { padding-bottom: 2rem; margin-bottom: 2rem; }
  .ausstattung-layout { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .ausstattung-grid   { grid-template-columns: 1fr 1fr; gap: 10px; }  /* iPad Portrait: zweispaltig */

  .ausstattung-item:hover { transform: none; }

  .ausstattung-images { min-height: 260px; }
  .lage-grid { grid-template-columns: 1fr; gap: 2rem; }
  .photo-banner { height: 480px; }
  .feature-strip { height: 480px; }
  .cta-band { flex-direction: column; padding: 3rem 1.5rem; text-align: center; }
  footer { padding: 3rem 1.5rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-physioaustria--phy { padding-right: 14px; }
  .footer-physioaustria--sbg { padding-left: 14px; }
  .footer-physioaustria--phy img { height: 23px; width: 115px; max-width: 115px; }
  .footer-physioaustria--sbg img { height: 26px; width: auto; }
}

/* iPhone: Grids einspaltig + Akkordeon + Banner-Höhe */
@media (max-width: 560px) {
  .raeume-grid      { grid-template-columns: 1fr; }
  .ausstattung-grid { grid-template-columns: 1fr; gap: 6px; }
  .ausstattung-images { min-height: 360px; }

  /* Akkordeon nur auf iPhone */
  .ausstattung-chevron { display: block; }
  .ausstattung-item-header { cursor: pointer; flex-direction: row; align-items: center; margin-bottom: 0; gap: 1rem; }
  .ausstattung-item h4 { font-size: 1.05rem; }
  .ausstattung-item p {
    max-height: 0; overflow: hidden;
    margin-top: 0; opacity: 0;
    transition:
      max-height .4s cubic-bezier(0.32,0.72,0,1),
      opacity    .3s ease,
      margin-top .3s ease;
  }
  .ausstattung-item.is-open p { max-height: 160px; opacity: 1; margin-top: .6rem; }
  .ausstattung-item.is-open .ausstattung-chevron { transform: rotate(180deg); color: var(--blue); }

  /* Footer: Rechtliches + physiojan-Logo zweispaltig */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-logo { text-align: right; margin-bottom: 0; }
  .footer-logo img { height: 62px; }

  /* Footer-Bottom: zentriert gestapelt */
  .footer-bottom { flex-direction: column; align-items: center; gap: 1.25rem; }
  .footer-bottom p { text-align: center; }
  .footer-logos { margin-bottom: 1rem; }

  .photo-banner  { height: 260px; }
  .feature-strip { height: 260px; }
}

/* Hero stats: 3-spaltig auf kleinen Phones */
@media (max-width: 540px) {
  .hero-subtitle { font-size: 16px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    flex-wrap: unset;
  }
  .hero-stat-item {
    padding: .75rem .75rem;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    border-bottom: none;
  }
  .hero-stat-item:last-child { border-right: none !important; }
  .hero-stat-item strong { font-size: 1.2rem; }
  .hero-stat-item span { font-size: 9px; letter-spacing: .1em; }
}

/* ── SLOT MACHINE DIGITS ── */
.slot-reel {
  display: inline-block;
  overflow: hidden;
  height: 1.7rem;
  vertical-align: middle;
}
.slot-reel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.slot-reel-track div {
  display: block;
  height: 1.7rem;
  line-height: 1.7rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  text-align: center;
}
@media (max-width: 1100px) {
  .slot-reel            { height: 1.4rem; }
  .slot-reel-track div  { height: 1.4rem; line-height: 1.4rem; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slot-reel-track { transition: none; }
}

/* ══════════════════════════════════════════
   PAGE HERO  (Subpages: Leistungen / Therapeuten / Kontakt)
   ══════════════════════════════════════════ */
.page-hero {
  padding: 9rem 5rem 5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-hero::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,173,239,.07) 0%, transparent 70%);
  pointer-events: none;
}
/* Split variant (Text links, Illustration rechts) */
.page-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  overflow: visible;
  z-index: 1;
  background: var(--bg);
}
.page-hero-illu {
  display: block;
  width: 100%;
  max-width: 475px;       /* +25% gegenüber 380px */
  max-height: 425px;      /* Höhen-Cap (3:2 Proportionen → 475 * 2/3 ≈ 317, mit etwas Luft) */
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transform: translateY(70px) scale(1.2);
  transform-origin: center top;
  animation: heroFadeIn 1.2s ease 0.5s both;
}

/* ── Laptop / kleines Desktop (1100 → 860px) ── */
@media (max-width: 1100px) {
  .page-hero--split {
    gap: 2rem;
  }
  .page-hero-illu {
    max-width: 400px;
    max-height: 360px;
  }
}

/* ── Tablet / Mobile: Illustration zuerst, dann Text ── */
@media (max-width: 860px) {
  .page-hero--split {
    grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--bg);
    padding-bottom: 1.5rem;
  }
  .page-hero-illu,
  .page-hero-illu--kontakt {        /* --kontakt überschreiben, sonst bleibt translateY aktiv */
    order: -1;
    max-width: 420px;
    max-height: none;
    margin: 0 auto;
    transform: none;
  }
  /* Form-padding zurücksetzen (kein Overlap auf Mobile) */
  .kontakt-form-wrap { padding-top: 6rem; }
}

/* White Hero variant (Leistungen / Therapeuten) */
.page-hero--white {
  background: var(--bg);
}

/* Cream Section (direkt unterhalb eines weißen Hero) */
.section--cream {
  background: var(--cream);
}

/* Kontakt-Illustration: eigener translateY – ausschließlich Desktop */
@media (min-width: 861px) {
  .page-hero-illu--kontakt {
    transform: translateY(84px) scale(1.2);
  }
}

/* Kompensiert den translateY-Overlap der Illustration – nur Desktop */
@media (min-width: 861px) {
  .page-hero--split + .section--cream {
    padding-top: calc(6.5rem + 70px);
  }
}

/* Dark variant (Kontakt) */
.page-hero--dark {
  background: var(--navy);
  border-bottom-color: transparent;
}
.page-hero--dark .page-title { color: #fff; }
.page-hero--dark .page-subtitle { color: rgba(255,255,255,.55); }
.page-hero--dark .page-eyebrow { color: rgba(0,173,239,.9); border-color: rgba(0,173,239,.4); }
.page-hero--dark .hero-slogan { color: rgba(255,255,255,.35); }

.page-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
  border: 1px solid rgba(0,173,239,.35); border-radius: 40px; padding: 7px 14px 7px 11px;
}
.page-eyebrow::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: .7;
  flex-shrink: 0;
}
.page-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 600;
  line-height: 1.05; letter-spacing: -.025em; margin-bottom: 1.25rem;
  overflow-wrap: break-word; hyphens: none;
}
.page-title em { color: var(--blue); font-style: normal; font-weight: 300; }
.page-subtitle { font-size: 18px; color: var(--muted); line-height: 1.8; max-width: 600px; }
.hero-slogan {
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.hero-slogan b { color: var(--blue); font-weight: 400; }

/* Hero illustration – decorative SVG right side */
.hero-illo {
  position: absolute;
  right: 3.5rem; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px;
  pointer-events: none;
  color: var(--navy);
  opacity: .075;
}
.hero-illo svg { width: 100%; height: 100%; overflow: visible; display: block; }

@media (max-width: 1200px) { .hero-illo { width: 260px; height: 260px; right: 2rem; } }
@media (max-width: 900px)  { .hero-illo { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-illo { opacity: .05; } }

/* ── MULTI-LAYER PARALLAX BACKGROUNDS ── */
.hbg, .pbg {
  position: absolute; pointer-events: none;
  will-change: transform; z-index: -1;
}
.hbg svg, .pbg svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Homepage hero (dark background) */
.hbg-1 { top: -12%; right: -8%;  width: min(74vw, 860px); height: min(74vw, 860px); opacity: .10; }
.hbg-2 { bottom: -5%; left: -4%; width: min(56vw, 640px); height: min(46vw, 520px); opacity: .09; }
.hbg-3 { bottom: 12%; right: 5%; width: min(20vw, 260px); height: min(20vw, 260px); opacity: .18; }

/* Kompass-Rose Rotation */
@keyframes orbitSpin { to { transform: rotate(360deg); transform-origin: 120px 120px; } }
.hbg3-orbit { transform-origin: 120px 120px; animation: orbitSpin 32s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hbg3-orbit { animation: none; } }

/* Subpage heroes (light background) */
.pbg-1 { top: -9%;  left: -5%;  width: min(65vw, 750px); height: min(65vw, 750px); opacity: .07; color: var(--navy); }
.pbg-2 { bottom: -7%; right: -3%; width: min(60vw, 700px); height: min(46vw, 520px); opacity: .06; color: var(--navy); }
.pbg-3 { top: 38%;  left: 3%;   width: min(16vw, 200px); height: min(20vw, 240px); opacity: .16; }

@media (max-width: 1100px) { .hbg-3, .pbg-3 { display: none; } }
@media (max-width: 900px)  { .hbg-2, .pbg-2 { display: none; } .hbg-1 { opacity: .05; } .pbg-1 { opacity: .04; } }
@media (prefers-reduced-motion: reduce) { .hbg, .pbg { will-change: auto; } }

@media (max-width: 900px) {
  .page-hero { padding: 7rem 1.5rem 3.5rem; }
}

/* ══════════════════════════════════════════
   LEISTUNGEN
   ══════════════════════════════════════════ */
/* Kategorien untereinander */
.kategorien-wrapper {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Beide Card-Grids: 3 Spalten */
.kategorien-wrapper .leistungen-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.kategorie { margin-bottom: 0; }
.kategorie-header {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 1.75rem;
}
.kategorie-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.kategorie-icon svg { width: 32px; height: 32px; }
.kategorie-header h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; }
.kategorie-header p { font-size: 17px; color: var(--muted); margin-top: 3px; }
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.leistungen-grid-wrap {
  background-image: radial-gradient(rgba(0,173,239,.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.leistung-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition:
    box-shadow .4s var(--ease-out),
    transform  .4s var(--ease-out),
    background .25s var(--ease-out);
}
.leistung-card:hover {
  box-shadow: 0 6px 28px rgba(31,34,44,.10);
  transform: translateY(-3px);
}
/* Icon: inline-flex damit transform-origin am Icon-Zentrum bleibt, nicht am vollen Div */
.leistung-icon {
  display: inline-flex;
  margin-bottom: 1rem; color: var(--blue);
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.leistung-icon svg { width: 32px; height: 32px; display: block; }
.leistung-card:hover .leistung-icon { color: var(--blue); transform: scale(1.15); }
.leistung-card h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; letter-spacing: -.015em; transition: color .3s; }
.leistung-card p { font-size: 17px; color: var(--muted); line-height: 1.7; transition: color .3s; }

.sport { background: var(--bg); }
.sport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; }
.sport-illu {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 50px 0;
}
@media (min-width: 901px) and (max-width: 1440px) {
  .sport-illu {
    max-width: 270px;
    margin: 16px 0;
  }
}
.sport-text h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 1rem; }
.sport-text h2 em { color: var(--blue); font-style: normal; }
.sport-text p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.sport-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.sport-tag {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 40px; padding: 9px 16px;
  font-size: 14px; font-weight: 400; color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
}
.sport-tag svg {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-right: 0 !important; /* override inline style */
}
.sport-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sport-stat {
  background: var(--bg); border: 1px solid rgba(0,0,0,.055);
  border-radius: var(--radius); padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.sport-stat:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.sport-stat strong { display: block; font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.sport-stat span { font-size: 16px; color: var(--muted); }

@media (max-width: 1100px) {
  .kategorien-wrapper .leistungen-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .kategorien-wrapper { margin-top: 2.5rem; gap: 3rem; }
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .sport-grid { grid-template-columns: 1fr; }
  .sport-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .sport-stats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   THERAPEUTEN
   ══════════════════════════════════════════ */
.therapeuten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.therapeut-card {
  background: var(--bg); border: 1px solid rgba(0,0,0,.055);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 3px rgba(0,0,0,.04);
  transition:
    box-shadow .45s var(--ease-out),
    transform  .45s var(--ease-out),
    border-color .3s;
}
.therapeut-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,.04), 0 12px 48px rgba(0,0,0,.10);
  transform: translateY(-5px);
  border-color: rgba(0,173,239,.18);
}
.therapeut-header {
  background: linear-gradient(135deg, #dff2fb 0%, #b0dcf0 100%);
  padding: 2.5rem 2rem 1.5rem;
  position: relative; overflow: hidden;
}
.therapeut-header::after {
  content: ''; position: absolute;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  bottom: -60px; right: -40px;
}
.therapeut-num {
  font-size: 5rem; font-weight: 700; color: rgba(0,173,239,.15);
  position: absolute; top: 10px; right: 16px; line-height: 1;
}
.therapeut-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.therapeut-header h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); letter-spacing: -.015em; }
.therapeut-role {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue);
}
.therapeut-body { padding: 1.75rem 2rem; }
.therapeut-body p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.fortbildungen { margin-top: .25rem; }
.fortbildungen h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: .01em; text-transform: none;
  color: var(--text); margin-bottom: 0;
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 15px;
  background: rgba(0,173,239,.055);
  border: none;
  border-radius: 11px;
  transition: background .2s var(--ease-out), transform .15s;
}
.fortbildungen h4:hover {
  background: rgba(0,173,239,.10);
}
.fortbildungen h4:active { transform: scale(0.98); }
.fortbildungen-chevron {
  color: var(--blue); flex-shrink: 0;
  transition: transform .35s cubic-bezier(0.32,0.72,0,1);
}
.fortbildungen.is-open .fortbildungen-chevron { transform: rotate(180deg); }
.fortbildungen ul {
  list-style: none; font-size: 16px; color: var(--muted);
  display: flex; flex-direction: column; gap: .45rem;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .42s cubic-bezier(0.32,0.72,0,1), opacity .3s ease, margin-top .3s ease;
}
.fortbildungen.is-open ul { max-height: 400px; opacity: 1; margin-top: .65rem; }
.fortbildungen li { display: flex; align-items: flex-start; gap: 8px; }
.fortbildungen li::before { content: '→'; color: var(--blue); font-size: 11px; flex-shrink: 0; margin-top: 2px; }

.values { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item {
  background: var(--bg);
  border: none;
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition:
    box-shadow .4s var(--ease-out),
    transform  .4s var(--ease-out),
    background .25s var(--ease-out);
}
.value-item:hover {
  box-shadow: 0 6px 28px rgba(31,34,44,.10);
  transform: translateY(-3px);
}
.value-icon { display: inline-flex; font-size: 1.75rem; margin-bottom: 1rem; color: var(--blue); transition: color .3s var(--ease-out); }
.value-icon svg { width: 32px; height: 32px; display: block; }
.value-item h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: -.015em; transition: color .3s; }
.value-item p { font-size: 17px; color: var(--muted); line-height: 1.7; transition: color .3s; }

@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .therapeuten-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } /* iPad Portrait: 3-spaltig */
  .therapeut-info { padding: .9rem 1.25rem .2rem; }
  .therapeut-info h3 { font-size: 1.05rem; }
  .therapeut-body { padding: 1.1rem 1.25rem 1.25rem; }
  .therapeut-body p { font-size: 14.5px; line-height: 1.75; margin-bottom: 1rem; }
  .fortbildungen h4 { font-size: 12px; padding: 9px 12px; }
  .fortbildungen ul { font-size: 13.5px; }
  .therapeut-contact-overlay { padding: 2.5rem 1rem 1rem; gap: 8px; }
  .therapeut-contact-link { font-size: 13px; gap: 7px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .therapeuten-grid { grid-template-columns: 1fr; gap: 20px; }  /* iPhone: einspaltig */
  .values-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   KONTAKT
   ══════════════════════════════════════════ */
.kontakt-main { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.kontakt-info {
  padding: 6rem 5rem; background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.kontakt-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(0,173,239,.8); margin-bottom: 1.5rem;
}
.kontakt-details { display: flex; flex-direction: column; gap: 0; }
.kontakt-row {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.kontakt-row:first-child { padding-top: 0; }
.kontakt-row:last-child { border-bottom: none; }
.k-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; width: 28px; color: var(--blue); }
.k-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 4px; display: block;
}
.k-val { font-size: 17px; color: rgba(255,255,255,.85); line-height: 1.7; }
.k-val a { color: var(--blue); text-decoration: none; }
.k-val a:hover { text-decoration: underline; }
.kontakt-form-wrap {
  padding: 6rem 5rem; background: var(--cream);
  padding-top: calc(6rem + 84px); /* Ausgleich für überlappende Illustration (84px translateY) */
  display: flex; flex-direction: column;
}
.form-title { font-size: 1.9rem; font-weight: 600; margin-bottom: .75rem; letter-spacing: -.02em; }
.form-subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Barlow', sans-serif;
  font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,173,239,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237f858f' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  padding: 15px 28px 15px 32px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 50px; font-weight: 600; cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition:
    background .2s var(--ease-out),
    transform  .16s var(--ease-out),
    box-shadow .2s var(--ease-out);
  align-self: flex-start;
}
.form-submit:hover { background: #009fd8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,173,239,.3); }
.form-submit:hover .cta-arrow { transform: translate(2px, -1px); background: rgba(255,255,255,.28); }
.form-submit:active { transform: scale(0.97) !important; box-shadow: none !important; }
.form-submit:active .cta-arrow { transform: none; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-message {
  margin-top: 1rem;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.form-message--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.form-message--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.anfahrt { padding: 6.5rem 5rem; background-image: radial-gradient(rgba(0,173,239,.05) 1.5px, transparent 1.5px); background-size: 24px 24px; }
.anfahrt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.anfahrt h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.anfahrt h2 em { color: var(--blue); font-style: normal; }
.anfahrt-text p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.anfahrt-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 1.5rem; }
.anfahrt-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.anfahrt-list li > svg { flex-shrink: 0; margin-top: 2px; }
.map-embed {
  border-radius: var(--radius); overflow: hidden;
  min-height: 340px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  position: sticky; top: 5.5rem;
  align-self: start;
}
.map-embed iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .kontakt-info { padding: 4.5rem 2.5rem; }
  .kontakt-form-wrap { padding: 2.5rem; padding-top: calc(4.5rem + 84px); }
}
@media (max-width: 900px) {
  .kontakt-main { grid-template-columns: 1fr; }
  .kontakt-info, .kontakt-form-wrap { padding: 3.5rem 1.5rem; }
  .anfahrt { padding: 3.5rem 1.5rem !important; }
  .anfahrt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Sticky-Elemente auf Mobile deaktivieren */
  .hours-box,
  .map-embed { position: static; align-self: auto; }
}

/* ── LEGAL PAGES (Cookie-Richtlinie, Impressum, Datenschutz) ── */
.legal-content h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--text);
  margin: 2.5rem 0 .75rem; letter-spacing: -.02em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  margin: 1.75rem 0 .5rem;
}
.legal-content p {
  font-size: 16px; line-height: 1.75; color: var(--muted);
  margin-bottom: 1rem;
}
.legal-content a {
  color: var(--blue); text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--text); }
.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
  margin: 1.1rem 0 1.25rem;
}
.legal-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  padding-left: .3rem;
  margin-bottom: .45rem;
}
.legal-content li:last-child { margin-bottom: 0; }
.legal-content ul li::marker {
  color: var(--blue);
  font-size: .72em;
}
.legal-content ol li::marker {
  color: var(--blue);
  font-weight: 600;
  font-size: .9em;
}
.cookie-table {
  width: 100%; border-collapse: collapse;
  margin: 1rem 0 1.75rem; font-size: 14px;
}
.cookie-table th {
  text-align: left; padding: .6rem 1rem;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 13px;
}
.cookie-table td {
  padding: .6rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--muted); vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: rgba(0,0,0,.02); }
.cookie-settings-cta {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: var(--blue-light); border-radius: var(--radius);
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cookie-settings-cta p {
  margin: 0; font-weight: 500; color: var(--text); font-size: 16px;
}
.cookie-settings-cta .hero-cta-primary {
  flex-shrink: 0; white-space: nowrap;
}
@media (max-width: 600px) {
  .cookie-table { font-size: 13px; }
  .cookie-table th, .cookie-table td { padding: .5rem .65rem; }
  .cookie-settings-cta { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
}
