/* ============================================================
   EIMSVITAL: One-Pager · v13 (Kunden-Feedback Oktober 2026)
   Fonts: Cormorant Garamond (Überschriften) / Manrope (Text), self-hosted
   Schriftzug „EimsVital“: Grafik (#wordmark), 1:1 nach der Visitenkarte
   Farben laut Kunde (Visitenkarte):
     Hauptfarbe  CMYK 40/10/10/0 → #93BECA (ICC-Umrechnung)
     Schrift     CMYK 0/0/0/85   → #404241
   Abstufungen = Aufhellungen der Hauptfarbe (Kundenwunsch:
   „hellere Abstufungen oder unterschiedliche Transparenzen“).
   ============================================================ */

/* Elegante Überschriftenschrift (Kundenwunsch), aufrecht und kursiv */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-italic-var.woff2') format('woff2');
  font-weight: 300 700; font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
/* Handschrift für das Zitat: wie auf physio-beller.de (OFL, lokal) */
@font-face {
  font-family: 'Shadows Into Light';
  src: url('../assets/fonts/shadows-into-light.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #93BECA;          /* Hauptfarbe (CI) */
  --blue-deep: #326B7B;     /* gleicher Farbton, dunkel: Links, Akzente, Buttons (6:1 auf Weiß) */
  --blue-50: #C9DEE4;       /* 50 % Aufhellung */
  --blue-25: #E4EFF2;       /* 25 % */
  --blue-12: #F2F7F9;       /* 12 % */
  --bg: #FAFCFC;
  --card: #FFFFFF;
  --ink: #404241;           /* Schrift K85 (CI) */
  --ink-soft: #666867;      /* Fließtext gedämpft (5,6:1 auf Weiß) */
  --line: rgba(64, 66, 65, .14);
  --radius: 22px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-text: 'Manrope', 'Helvetica Neue', sans-serif;
  /* Überschriften: Strichstärken und Größen an einer Stelle */
  --fw-head: 500;           /* große Überschriften */
  --fw-sub: 600;            /* kleinere Überschriften */
  --ls-head: 0;
  --em-style: italic;       /* Akzentwörter in Überschriften */
  --title-size: clamp(60px, 10.5vw, 136px);
  --h2-size: clamp(38px, 5.4vw, 66px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* Kein horizontales Scrollen (iOS braucht es auf html UND body) */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  /* Ziffern in Versalhöhe („100 %“), auch in der Überschriftenschrift */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

::selection { background: var(--blue-deep); color: #fff; }

img, svg { display: block; max-width: 100%; }
/* eingebettete Symbol-Bibliothek (Logo + Icons): unsichtbar, nur Quelle für <use> */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }
/* „Zum Inhalt springen“: nur sichtbar, wenn man per Tastatur hineinspringt */
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }

/* ---------- scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
  background: var(--blue-deep);
  z-index: 1001;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex; align-items: center;
  color: var(--ink);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(250, 252, 252, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* Markenname exakt „EimsVital“ (Kundenwunsch): keine Versalien */
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-text);
  line-height: 1.05;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
/* Kleines Logo oben links ist immer sichtbar (Kundenwunsch) */
.brand .emblem {
  width: 36px; height: 36px; color: var(--blue-deep);
  transform: rotate(var(--scroll-rot, 0deg));
  will-change: transform;
}
.brand:hover .emblem {
  transform: rotate(calc(var(--scroll-rot, 0deg) + 180deg));
  transition: transform .6s var(--ease);
}
/* Schriftzug als Grafik: Höhe = Versalhöhe × 1,09 (i-Punkte, „l“) */
.brand-wordmark { display: block; height: 16px; width: auto; aspect-ratio: 7403 / 1526; }
.brand small {
  display: block; margin-top: 5px; font-family: var(--font-text);
  font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--ink-soft);
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none;
  font-size: 14.5px; font-weight: 600; letter-spacing: .03em;
  padding: 9px 14px; border-radius: 999px;
  transition: background .3s, color .3s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .45); }
.site-header.scrolled .main-nav a:hover { background: var(--blue-25); }
.main-nav .btn-nav {
  background: #fff; color: var(--ink);
  margin-left: 8px; padding-inline: 20px;
  box-shadow: 0 6px 18px rgba(50, 107, 123, .18);
}
.main-nav .btn-nav:hover { background: var(--ink); color: #fff; }
.site-header.scrolled .main-nav .btn-nav { background: var(--blue-deep); color: #fff; box-shadow: none; }
.site-header.scrolled .main-nav .btn-nav:hover { background: var(--ink); }

/* burger */
.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: inherit;
  width: 44px; height: 44px; position: relative; z-index: 1102;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: currentColor; transition: .35s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
body.menu-open .site-header { z-index: 1102; background: transparent; box-shadow: none; }
body.menu-open .site-header .brand { opacity: 1; transform: none; pointer-events: auto; }

/* mobile overlay menu: Hauptfarbe, dunkle Schrift */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--blue); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 12vh 8vw;
  clip-path: circle(0% at calc(100% - 54px) 38px);
  transition: clip-path .65s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 54px) 38px); visibility: visible; }
.mobile-menu > a {
  font-family: var(--font-display);
  font-size: clamp(30px, 7.5vw, 48px); font-weight: var(--fw-head);
  text-decoration: none; padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-menu > a:hover { color: #fff; }
body.menu-open .mobile-menu > a { opacity: 1; transform: none; }
.mobile-menu .mm-contact {
  margin-top: 32px; font-size: 17px; font-weight: 600; line-height: 1.9;
}
.mobile-menu .mm-contact a { text-decoration: none; }

/* ============ HERO: nur Hellblau, weiße Schrift, Logo mittig (Seite 1) ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  /* Fläche in der Hauptfarbe; nur ein Hauch Licht für Tiefe, kein Bild */
  background:
    radial-gradient(900px 620px at 50% 38%, rgba(255, 255, 255, .16), transparent 70%),
    var(--blue);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 3vh) 0 12vh;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: clamp(116px, 19vh, 196px); height: clamp(116px, 19vh, 196px);
  color: #fff;
  filter: drop-shadow(0 2px 18px rgba(50, 107, 123, .18));
  margin-bottom: clamp(18px, 3.4vh, 34px);
  opacity: 0; transform: scale(.92) rotate(-25deg);
  animation: logoIn 1.2s .1s var(--ease) forwards;
}
@keyframes logoIn { to { opacity: 1; transform: none; } }
.hero h1 { font-weight: inherit; }
/* „EimsVital“ in der Schrift der Visitenkarte, darunter „Praxis für Physiotherapie“ (Kundenwunsch) */
.hero-title {
  display: block;
  opacity: 0; transform: translateY(30px);
  animation: riseUp 1s .3s var(--ease) forwards;
}
/* gleiche Größe wie zuvor die Schrift: Grafikhöhe = Schriftgröße × 0,763 */
.hero-wordmark {
  display: block; margin-inline: auto;
  height: calc(var(--title-size) * .763); width: auto; aspect-ratio: 7403 / 1526;
  filter: drop-shadow(0 2px 18px rgba(50, 107, 123, .18));
}
.hero-kicker {
  display: block;
  margin-top: clamp(16px, 2.8vh, 26px);
  font-family: var(--font-text);
  font-size: clamp(14px, 1.5vw, 18px); font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(50, 107, 123, .22);
  opacity: 0; animation: fadeIn 1s .55s var(--ease) forwards;
}
@keyframes riseUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-text);
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none;
  padding: 16px 28px; border-radius: 999px;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-deep); color: #fff; box-shadow: 0 12px 28px rgba(50, 107, 123, .28); }
.btn-primary:hover { background: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(64, 66, 65, .22); }
.btn-dark:hover { background: var(--blue-deep); }

/* ============ SECTIONS ============ */
section { position: relative; }
.section-pad { padding: clamp(84px, 12vh, 150px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }

h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--fw-head); line-height: 1.08; letter-spacing: var(--ls-head);
  max-width: 11em;
}
h2 em { font-style: var(--em-style); color: var(--blue-deep); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 60ch; }

/* reveal on scroll: nur wenn JavaScript läuft (Klasse .js aus js/head.js),
   ohne JavaScript ist alles sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

.nowrap { white-space: nowrap; }
/* nur für Screenreader und Suchmaschinen sichtbar */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* „Urban. Ruhig. Über den Dächern.“ über beiden Spalten, in einer Zeile und einer Farbe */
h2.h2-wide { max-width: none; margin-bottom: clamp(30px, 4.5vh, 48px); }
.section-lead { margin-top: 22px; }

/* ---------- Praxis (Seite 2) ---------- */
/* Kästen rechts: oben auf Höhe der Inhabernamen (beide Überschriften stehen
   über beiden Spalten), unten bündig mit dem Textende (Spalten werden gestreckt) */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.about-copy p { color: var(--ink-soft); }
.about-copy p + p { margin-top: 18px; }
.about-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-deep) !important;
}
/* Inhabernamen in der ruhigeren Textschrift (Kundenwunsch: weniger technisch) */
.about-kicker > span {
  display: block; margin-top: 6px;
  font-family: var(--font-text); font-size: clamp(21px, 2.1vw, 25px);
  font-weight: 700; letter-spacing: -.01em; text-transform: none;
  color: var(--ink);
}
.about-copy .lead { margin-top: 26px; font-weight: 500; color: var(--ink); text-wrap: balance; }
.about-copy .about-welcome {
  font-family: var(--font-display); font-weight: var(--fw-sub); font-size: 22px; line-height: 1.4;
  color: var(--ink);
}

.value-cards { display: flex; flex-direction: column; gap: 18px; }
.value-card {
  flex: 1 1 auto;   /* verteilt die Resthöhe, damit die letzte Karte mit dem Text abschließt */
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(50, 107, 123, .12); }
.value-card .ic {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--blue-25); border-radius: 14px; color: var(--blue-deep);
}
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h3 { font-family: var(--font-display); font-weight: var(--fw-sub); font-size: 23px; margin-bottom: 6px; line-height: 1.25; }
.value-card p { font-size: 15px; color: var(--ink-soft); }
.value-card p + p { margin-top: 10px; }

/* Galerie (Seite 3): Aufteilung wie abgestimmt */
.praxis-gallery {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: clamp(56px, 8vh, 90px);
}
.photo-card {
  position: relative; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--blue-25);
}
.photo-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.photo-card:hover img { transform: scale(1.04); }
.praxis-gallery .photo-card { aspect-ratio: 3 / 2; }
.praxis-gallery .duo-card { aspect-ratio: auto; }
.duo-card img { object-position: 50% 30%; }
.chip-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 9px 16px; border-radius: 999px;
}
.duo-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 16px 20px;
}
.duo-caption strong { display: block; font-family: var(--font-text); font-weight: 700; font-size: 19px; line-height: 1.25; }
.duo-caption > span { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

.room-gallery {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 22px; margin-top: 22px;
}
.room-gallery .photo-card { aspect-ratio: 4 / 3; grid-column: span 2; }   /* drei Kacheln pro Reihe */
/* Dachterrasse als Panorama über die volle Breite */
.room-gallery .photo-card.panorama { grid-column: 1 / -1; aspect-ratio: 2.2 / 1; }
.panorama img { object-position: 50% 40%; }

/* ---------- Leistungen (Seite 5) ---------- */
.services { background: var(--blue-25); }
.services-intro { margin-top: 30px; max-width: 62ch; }
.services-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 32px); font-weight: var(--fw-sub);
}
.services-intro p { margin-top: 10px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(44px, 6vh, 64px);
}
.services-col h3 {
  font-family: var(--font-display); font-weight: var(--fw-sub);
  font-size: 26px; margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.services-col h3::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-deep);
}
.method-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.5vw, 18px); font-weight: 500;
  transition: padding-left .35s var(--ease), color .3s;
}
.method-list li::before {
  content: '';
  flex: 0 0 8px; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.method-list li:first-child { border-top: 1px solid var(--line); }
.method-list li:hover { padding-left: 16px; color: var(--blue-deep); }

/* ---------- Partner (Seite 6) ---------- */
/* schmaler, damit „Pflegeeinrichtungen.“ ungetrennt in die zweite Zeile rückt */
#partner h2 { max-width: 8.5em; }
.partner-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 90px);
  margin-top: clamp(36px, 5vh, 56px);
  align-items: stretch;
}
/* „Spezialgebiet“ als eigener Block mit fester Höhe, damit der Logo-Kasten exakt
   auf Höhe des ersten Textabsatzes beginnen kann */
.partner-copy .tag { display: block; width: fit-content; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  background: var(--blue-25); color: var(--blue-deep);
}
.partner-copy .lead { color: var(--ink); }
.partner-copy p + p { margin-top: 16px; color: var(--ink-soft); max-width: 60ch; }
.partner-logos {
  background: var(--blue);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  /* Höhe der „Spezialgebiet“-Marke (Schrift 11,5 px × 1,65 + 14 px Innenabstand + 20 px Abstand) */
  margin-top: calc(11.5px * 1.65 + 14px + 20px);
}
.partner-tiles {
  flex: 1 1 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.partner-logos-label {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 4px;
}
.partner-tile {
  position: relative;
  display: grid; place-items: center;
  background: var(--card); border-radius: 16px;
  min-height: 116px; padding: 20px 18px;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(50, 107, 123, .18); }
.partner-tile img { height: 82px; width: auto; object-fit: contain; }
.partner-arrow {
  position: absolute; right: 14px; top: 12px;
  width: 16px; height: 16px; color: var(--blue-deep);
}
.partner-name {
  font-family: var(--font-display); font-weight: var(--fw-sub);
  font-size: clamp(22px, 2vw, 28px); text-align: center; line-height: 1.1;
}

/* ---------- Team (Seite 7) ---------- */
.team { background: var(--blue-12); }
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 3vw, 40px) 22px;
  margin-top: clamp(44px, 6vh, 64px);
}
.team-member { flex: 0 1 calc((100% - 3 * 22px) / 4); text-align: center; }
.team-member picture {
  display: block; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--blue-25);
}
.team-member img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.team-member:hover img { transform: scale(1.04); }
.team-name {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: var(--fw-sub); font-size: 23px; line-height: 1.3;
}

/* ---------- Jobs (Hauptfarbe, dunkle Schrift) ---------- */
.jobs { background: var(--blue); color: var(--ink); overflow: hidden; }
.jobs .eyebrow { color: var(--ink); }
.jobs-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.jobs h2 { max-width: 12em; }
.jobs-copy h2 + p { margin-top: 22px; }
.jobs p { max-width: 54ch; }
.jobs p + p { margin-top: 16px; }
.jobs-card {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 34px) clamp(30px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.jobs-card h3 { font-family: var(--font-display); font-weight: var(--fw-sub); font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.jobs-card ul { margin-bottom: 22px; }
.jobs-card li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 6px 0; font-size: 15.5px;
}
.jobs-card li::before { content: '→'; font-weight: 700; color: var(--blue-deep); }
.jobs-note { font-size: 13.5px; margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-top: clamp(36px, 5vh, 56px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 24px); font-weight: var(--fw-sub); line-height: 1.3;
  transition: color .3s;
}
.faq-item summary:hover { color: var(--blue-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  flex: 0 0 34px; width: 34px; height: 34px;
  border: 1.5px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 500;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq-item[open] summary { color: var(--blue-deep); }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.faq-body { overflow: hidden; }
.faq-body-inner { padding: 0 4px 26px; color: var(--ink-soft); max-width: 62ch; }
.faq-body-inner p + p { margin-top: 10px; }

/* ---------- Zitat (direkt vor Kontakt): Werte 1:1 von physio-beller.de übernommen:
   Hintergrundfoto fixiert (Parallax), Position 47 % 31 %, Schleier #A5C5DF mit 70 %,
   Innenabstand 5 % / 10 %, Mindesthöhe 350 px, Handschrift 47 px in Grau 60 % ---------- */
.quote-strip {
  position: relative; overflow: hidden;
  text-align: center;
  background-color: #A5C5DF;
  /* Ausschnitt: die fixierte Bildebene ist nur innerhalb des Zitat-Bereichs zu sehen */
  clip-path: inset(0);
}
/* Parallax ohne Ruckeln: Statt „background-attachment: fixed“ (wird bei jedem
   Scroll-Schritt neu gezeichnet) liegt das Foto auf einer fixierten Ebene, die die
   Grafikkarte nur noch verschiebt. Der Schleier #A5C5DF 70 % ist die oberste Bildebene:
   optisch identisch zum bisherigen Aufbau. */
.quote-strip::before {
  content: ''; position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-color: #A5C5DF;
  background-image: linear-gradient(rgba(165, 197, 223, .7), rgba(165, 197, 223, .7)), url('../assets/img/praxis-logo-wand-1280.jpg');
  background-image: linear-gradient(rgba(165, 197, 223, .7), rgba(165, 197, 223, .7)), image-set(url('../assets/img/praxis-logo-wand-1280.webp') type('image/webp'), url('../assets/img/praxis-logo-wand-1280.jpg') type('image/jpeg'));
  /* Logo zentriert: Die Logo-Mitte (Bildpunkt 604 / 383 im Foto 1280 × 854) sitzt auf jeder
     Bildschirmgröße in der Mitte des sichtbaren Bereichs unter dem Header. Skaliert wird wie
     „cover“: mindestens so groß, dass oben nie mehr als die Header-Höhe frei bliebe
     (dort liegt immer der Header darüber). */
  --q-scale: max(100vw / 1280, 100vh / 854, (50vh - var(--header-h) / 2) / 383);
  background-size: auto, calc(var(--q-scale) * 1280) auto;
  background-position: 0 0, 47% calc(50vh + var(--header-h) / 2 - var(--q-scale) * 383);
  background-repeat: no-repeat;
  will-change: transform;
}
.quote-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin-inline: auto;
  padding: 5% 10%;
  min-height: 350px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 4px;
}
.quote-strip blockquote {
  margin: 0;
  font-family: 'Shadows Into Light', 'Segoe Print', 'Bradley Hand', cursive;
  font-weight: 400;
  font-size: clamp(32px, 3.3vw, 47px);
  line-height: 1.25;
  color: rgba(75, 79, 88, .6);
}
.quote-strip cite {
  display: block;
  font-family: var(--font-text);
  font-style: italic; font-weight: 400; font-size: 15px;
  color: rgba(75, 79, 88, .5);
}
/* Tablets & Touch-Geräte: Hintergrund scrollt normal mit (wie auf der alten Seite;
   iOS unterstützt fixierte Hintergründe ohnehin nicht) */
@media (max-width: 1024px), (hover: none) {
  .quote-strip { clip-path: none; }
  /* Handy & Tablet: kräftigerer Schleier (84 % statt 70 %) und dunklere Schrift,
     damit das Zitat auf Logo und Wirbelsäule gut lesbar bleibt */
  .quote-strip::before {
    position: absolute; will-change: auto;
    background-image: linear-gradient(rgba(165, 197, 223, .84), rgba(165, 197, 223, .84)), url('../assets/img/praxis-logo-wand-1280.jpg');
    background-image: linear-gradient(rgba(165, 197, 223, .84), rgba(165, 197, 223, .84)), image-set(url('../assets/img/praxis-logo-wand-1280.webp') type('image/webp'), url('../assets/img/praxis-logo-wand-1280.jpg') type('image/jpeg'));
    background-size: auto, cover;
    background-position: 0 0, 47% 31%;
  }
  .quote-strip blockquote { color: rgba(64, 66, 65, .8); }
  .quote-strip cite { color: rgba(64, 66, 65, .7); }
}
@media (max-width: 767px) {
  .quote-inner { padding: 25% 10% 5%; min-height: 300px; }
}

/* ---------- Kontakt & Anfahrt (Hauptfarbe wie der Hero) ---------- */
.contact { background: var(--blue); color: var(--ink); overflow: hidden; }
.contact .eyebrow { color: var(--ink); }
.contact h2 { max-width: 12.5em; }
.contact h2 em { color: #fff; text-shadow: 0 1px 2px rgba(50, 107, 123, .25); }
.contact-emblem {
  position: absolute; right: -8%; bottom: -18%;
  width: 44vw; max-width: 640px;
  color: rgba(255, 255, 255, .22);
  transform: rotate(var(--scroll-rot, 0deg));
  will-change: transform;
  pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  position: relative; z-index: 2;
}
.contact-lead { margin-top: 22px; max-width: 52ch; }
.contact-lead + .contact-lead { margin-top: 14px; }

/* Rechte Spalte als Flex-Spalte: ist das Formular links länger, wächst die Karte mit:
   so schließen Formular und Öffnungszeiten-Karte unten immer bündig ab. */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info .ci-card--map { flex: 1 1 auto; display: flex; flex-direction: column; }
.contact-info .ci-card--map .map-figure { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; }
.ci-card {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.ci-card h3 {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 12px; font-weight: 700;
}
.ci-card p, .ci-card a { font-size: 16px; line-height: 1.7; }
.ci-card a { text-decoration: none; }
.ci-card a:hover { color: var(--blue-deep); }
/* größere Tipp-Fläche für Telefon und Mail, ohne die Zeilen zu verschieben */
.ci-card p a { position: relative; padding: 11px 0; }
/* Adresse: alle Zeilen in derselben Schrift und Größe (Kundenwunsch) */
.ci-card .ci-address { font-size: 17px; font-weight: 600; line-height: 1.65; }
.map-figure {
  display: block; position: relative; margin-top: 16px;
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #DCE8F4;
  border: 1px solid rgba(255, 255, 255, .8);
}
.map-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  transition: transform .9s var(--ease);
}
.map-figure:hover img { transform: scale(1.03); }
.maps-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 14px !important; font-weight: 700;
  color: var(--blue-deep);
}
.maps-link svg { width: 14px; height: 14px; }
.maps-link:hover { text-decoration: underline !important; }
/* Klassisches, kursives „&“ zwischen den Inhabernamen (Systemschrift Georgia, kein Download) */
.amp {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-weight: 400; font-size: 1.08em;
  color: var(--blue-deep); padding: 0 .04em;
}
.ci-persons {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px !important;
}

/* Kontaktformular (sendet über kontakt.php direkt an info@).
   Linke Spalte als Flex-Spalte: das Formular wächst nach unten, bis es mit
   der Öffnungszeiten-Karte rechts abschließt (das Nachrichtenfeld nimmt den Platz auf). */
.contact-main { display: flex; flex-direction: column; }
.contact-form {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  margin-top: 34px;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  max-width: 600px;
}
.contact-form .grow { flex: 1 1 auto; display: flex; flex-direction: column; }
.contact-form .grow textarea { flex: 1 1 auto; }
.contact-form .consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; font-weight: 500; line-height: 1.5;
  margin: 2px 0 18px;
}
.contact-form .consent input {
  flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--blue-deep);
}
.contact-form .consent a { color: var(--blue-deep); font-weight: 700; }
/* Spam-Falle: für Menschen unsichtbar */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button:disabled { opacity: .65; cursor: progress; transform: none; }
.form-status {
  margin-top: 14px; padding: 12px 16px;
  border-radius: 12px; background: #fff;
  font-size: 14.5px; font-weight: 600; line-height: 1.5;
  border-left: 4px solid var(--blue-deep);
}
.form-status.is-error { border-left-color: #B3261E; }
.contact-form h3 {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 18px; font-weight: 700;
}
.contact-form label {
  display: block; font-size: 13.5px; font-weight: 700;
  margin-bottom: 14px;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  background: #fff;
  border: 1.5px solid rgba(64, 66, 65, .18);
  border-radius: 12px; padding: 12px 14px;
  color: var(--ink); font: inherit; font-size: 16px; font-weight: 500;
  transition: border-color .3s, box-shadow .3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(64, 66, 65, .5); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(50, 107, 123, .18);
}
.contact-form textarea { resize: vertical; min-height: 104px; }
.contact-form button {
  border: 0; cursor: pointer;
  width: 100%; justify-content: center;
  margin-top: 4px;
}
.form-note { font-size: 12.5px; margin-top: 12px; line-height: 1.55; }
.form-note a { color: var(--blue-deep); font-weight: 700; }

/* ---------- Footer (Schriftfarbe K85 als Fläche) ---------- */
.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, .78);
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14.5px; }
.site-footer .f-wordmark { display: block; height: 15px; width: auto; aspect-ratio: 7403 / 1526; }
.site-footer .f-name small {
  display: block; margin-top: 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.site-footer .f-brand .emblem { width: 26px; height: 26px; color: var(--blue); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--blue); }

/* ---------- Rechtliches (Impressum / Datenschutz) ---------- */
.legal-page { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal-page h1 { font-family: var(--font-display); font-weight: var(--fw-head); font-size: clamp(32px, 5.4vw, 60px); line-height: 1.08; margin-bottom: 30px; hyphens: auto; }
.legal-page h2 { font-size: clamp(24px, 2.7vw, 30px); font-weight: var(--fw-sub); margin: 44px 0 14px; max-width: none; }
.legal-page h3 { font-family: var(--font-display); font-weight: var(--fw-sub); font-size: 22px; margin: 28px 0 10px; }
.legal-page p, .legal-page li, .legal-page td, .legal-page th { color: var(--ink-soft); font-size: 16px; max-width: 75ch; }
.legal-page strong { color: var(--ink); }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page li + li { margin-top: 6px; }
.legal-page a { color: var(--blue-deep); }
.legal-page .stand { margin-top: 48px; font-size: 14px; }
.legal-table { border-collapse: collapse; margin-top: 14px; width: 100%; max-width: 760px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); font-size: 14px; font-weight: 700; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  color: var(--blue-deep) !important; margin-bottom: 40px;
}
.back-link:hover { color: var(--ink) !important; }
.back-link svg { width: 16px; height: 16px; }

/* ============ RESPONSIVE ============ */
/* Kleine Laptops: Spalten gleich breit, damit Text und Kästen unten bündig bleiben */
@media (min-width: 1021px) and (max-width: 1240px) {
  .about-grid, .partner-grid, .jobs-grid { grid-template-columns: 1fr 1fr; }
  .value-card { padding: 24px 26px; }
}
@media (max-width: 1080px) {
  .main-nav a { padding: 9px 10px; font-size: 14px; }
}
@media (max-width: 1020px) {
  .about-grid, .services-grid, .jobs-grid, .contact-grid, .praxis-gallery, .partner-grid { grid-template-columns: 1fr; }
  .praxis-gallery .duo-card { aspect-ratio: 1; }
  .room-gallery { grid-template-columns: 1fr 1fr; }
  .room-gallery .photo-card { grid-column: auto; aspect-ratio: 4 / 3; }
  .room-gallery .photo-card:nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .room-gallery .photo-card.panorama { grid-column: span 2; aspect-ratio: 2.2 / 1; }
  .team-member { flex-basis: calc((100% - 2 * 22px) / 3); }
  /* untereinander: Formular und Karte nicht mehr künstlich strecken */
  .contact-form { flex: 0 0 auto; max-width: none; }
  .contact-info .ci-card--map .map-figure { flex: 0 0 auto; aspect-ratio: 4 / 3; min-height: 0; }
  /* untereinander: Logo-Kasten ohne Versatz */
  .partner-logos { margin-top: 0; }
  .contact-form .grow textarea { min-height: 140px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .hero-kicker { letter-spacing: .22em; }
  .team-grid { gap: 26px 14px; }
  .team-member { flex-basis: calc((100% - 14px) / 2); }
  .team-name { font-size: 20px; margin-top: 10px; }
  .room-gallery { grid-template-columns: 1fr; }
  .room-gallery .photo-card:nth-child(3) { grid-column: auto; aspect-ratio: 4 / 3; }
  .partner-tiles { grid-template-columns: 1fr; }
  .room-gallery .photo-card.panorama { grid-column: auto; aspect-ratio: 3 / 2; }
}

/* ============ Kleine Screens (iPhone & Co.) ============ */
@media (max-width: 480px) {
  .jobs-card .btn { width: 100%; justify-content: center; }
  .value-card { padding: 24px 20px; gap: 16px; }
  .jobs-card { padding: 26px 22px; }
  .ci-card { padding: 20px 22px; }
  .faq-item summary { gap: 14px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .partner-tile { padding: 20px 36px; }
  .duo-caption { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; }
  .duo-caption strong { font-size: 17px; }
}

/* ============ Touch-Geräte: größere Tipp-Flächen (ca. 44 px) ============ */
@media (hover: none), (max-width: 860px) {
  .maps-link { padding: 10px 0; margin-top: 2px; }
  .site-footer nav { gap: 0 20px; }
  .site-footer nav a { padding: 10px 0; }
}

/* ============ Sehr schmale Handys (320 bis 360 px) ============ */
@media (max-width: 360px) {
  .brand small { letter-spacing: .16em; }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-logo, .hero-title, .hero-kicker { opacity: 1; transform: none; }
}
