/* ============================================
   ORTHOPÄDIE LÜBECK — Editorial Calm Clinical
   White-space forward, sage-tinted, italic accents.
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Lora:ital,wght@1,400;1,500&display=swap");

:root {
  --bg: #FAFBFC;
  --surface: #F1F5F4;
  --card: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --accent: #7FA89B;
  --accent-dim: #5F8A7C;
  --accent-warm: #E9A893;
  --border: #E5E7EB;
  --dark: #1F2937;
  --dark-soft: #2A3441;

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-italic: 'Lora', Georgia, serif;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.04);
  --shadow-md: 0 12px 32px rgba(31, 41, 55, 0.06);
  --shadow-lg: 0 28px 64px rgba(31, 41, 55, 0.08);
  --shadow-coral: 0 18px 44px rgba(233, 168, 147, 0.32);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

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

/* ============================================
   CONTAINER + SECTIONS
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 140px 0;
  position: relative;
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section.dark .lead { color: rgba(255, 255, 255, 0.72); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--text);
}

.section.dark .display { color: #fff; }

.display em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
  letter-spacing: 0;
}

.section.dark .display em { color: var(--accent-warm); }

.h-section { font-size: clamp(34px, 4.4vw, 52px); }
.h-sub { font-size: clamp(28px, 3.4vw, 40px); }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 22px;
  position: relative;
  padding-left: 28px;
}

.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}

.kicker.green { color: var(--accent-dim); }
.kicker.on-dark { color: var(--accent-warm); }
.kicker.on-dark::before { background: var(--accent-warm); }

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
  margin-top: 24px;
}

.muted { color: var(--text-muted); }
.small { font-size: 14px; color: var(--text-muted); }

.section-head {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 760px;
}

.section-head .kicker { padding-left: 0; }
.section-head .kicker::before { display: none; }
.section-head .lead { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: all 0.32s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.32s var(--ease);
}

.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background: var(--accent);
  color: #fff;
}

.btn-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-light:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.section.dark .btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.section.dark .btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.nav.on-dark {
  background: rgba(250, 251, 252, 0.86);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text);
}

.nav-brand em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-dim);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
  transition: color 0.28s var(--ease);
}

.nav-link:hover { color: var(--accent-dim); }

.nav-link.active { color: var(--accent-dim); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  padding: 11px 22px;
  font-size: 14px;
}

/* ============================================
   HERO — Editorial center stage, no photo
   ============================================ */
.hero {
  position: relative;
  padding: 140px 32px 120px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg img { display: none; }

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}

.hero-bg::before {
  width: 560px;
  height: 560px;
  left: -160px;
  top: 8%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(127, 168, 155, 0) 70%);
}

.hero-bg::after {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 22%;
  background: radial-gradient(circle, var(--accent-warm) 0%, rgba(233, 168, 147, 0) 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  display: block;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 36px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
  letter-spacing: 0;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-trustline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.hero-trustline span { white-space: nowrap; }

.hero-trustline .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Hide old hero-chat — replaced by symptom-check mock section */
.hero-chat { display: none; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: var(--accent);
  opacity: 0.5;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  padding: 140px 0 100px;
  background: var(--bg);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: -180px;
  top: 30%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(127, 168, 155, 0) 70%);
  filter: blur(70px);
  opacity: 0.4;
  z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 18ch;
}

.page-hero-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
}

.page-hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ============================================
   ANATOMY (Symptom-Check)
   ============================================ */
.anatomy {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  background: var(--surface);
  padding: 80px 64px;
  border-radius: var(--radius-lg);
}

.anatomy-svg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.anatomy-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.body-outline {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.4;
  opacity: 0.45;
}

.body-outline circle { fill: rgba(127, 168, 155, 0.08); }

.anatomy-hotspot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}

.anatomy-hotspot:hover { fill: var(--accent-warm); transform: scale(1.25); }
.anatomy-hotspot.active { fill: var(--accent-warm); }

.anatomy-hotspot-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  fill: var(--text);
  letter-spacing: 0.04em;
}

.anatomy-info {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 40px;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.anatomy-info-empty {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 16px;
}

/* ============================================
   SYMPTOM-CHECK MOCK INTERFACE
   ============================================ */
.symptom-check {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.symptom-check.reverse { grid-template-columns: 1.1fr 1fr; }

.symptom-check-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}

.symptom-check-text h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
}

.symptom-check-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.symptom-check-mock {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 460px;
  margin: 0 auto;
}

.symptom-check-mock::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(127, 168, 155, 0) 70%);
  filter: blur(50px);
  opacity: 0.35;
  z-index: -1;
}

.symptom-check-mock::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-warm) 0%, rgba(233, 168, 147, 0) 70%);
  filter: blur(50px);
  opacity: 0.35;
  z-index: -1;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.mock-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.mock-name { font-weight: 600; font-size: 14.5px; }

.mock-status {
  font-size: 12px;
  color: var(--accent-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.mock-step {
  margin-bottom: 18px;
  animation: stepIn 0.6s var(--ease) both;
}

.mock-step:nth-child(2) { animation-delay: 0.4s; }
.mock-step:nth-child(3) { animation-delay: 0.8s; }
.mock-step:nth-child(4) { animation-delay: 1.2s; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-bubble {
  background: var(--surface);
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  max-width: 90%;
}

.mock-bubble.user {
  background: var(--accent);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
  max-width: 75%;
}

.mock-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 4px;
}

.mock-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mock-option {
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.24s var(--ease);
}

.mock-option:hover { border-color: var(--accent); background: rgba(127, 168, 155, 0.08); }
.mock-option.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

.mock-input {
  display: flex;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.mock-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  outline: none;
  background: var(--surface);
}

.mock-input input:focus { border-color: var(--accent); background: var(--card); }

.mock-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.24s var(--ease);
}

.mock-send:hover { background: var(--accent-dim); transform: scale(1.05); }

/* ============================================
   QUICKLINKS
   ============================================ */
.quicklinks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.quicklink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  text-align: center;
  transition: all 0.32s var(--ease);
}

.quicklink svg {
  width: 32px;
  height: 32px;
  color: var(--accent-dim);
  transition: all 0.32s var(--ease);
}

.quicklink:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.quicklink:hover svg { color: var(--accent-warm); transform: scale(1.08); }

/* ============================================
   SERVICES — 3 große runde Karten
   ============================================ */
.services-round {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-round {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: all 0.42s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-round::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 100%, rgba(233, 168, 147, 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.42s var(--ease);
  pointer-events: none;
}

.service-round:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-coral);
  border-color: rgba(127, 168, 155, 0.3);
}

.service-round:hover::before { opacity: 1; }

.service-round-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--card);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  box-shadow: var(--shadow-sm);
  transition: all 0.42s var(--ease);
}

.service-round-icon svg { width: 36px; height: 36px; stroke-width: 1.6; }

.service-round:hover .service-round-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04) rotate(-4deg);
}

.service-round-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
  color: var(--text);
}

.service-round-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.service-round-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.32s var(--ease);
}

.service-round:hover .service-round-link { gap: 12px; }
.service-round-link svg { width: 14px; height: 14px; }

/* Asymmetric service rows (alternating left/right) */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 140px;
}

.service-row:last-child { margin-bottom: 0; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-row-img { position: relative; }

.service-row-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-row-img::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(127, 168, 155, 0) 70%);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
  top: -10%;
  left: -10%;
}

.service-row:nth-child(even) .service-row-img::before {
  background: radial-gradient(circle, var(--accent-warm) 0%, rgba(233, 168, 147, 0) 70%);
  left: auto;
  right: -10%;
}

.service-row-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--accent-dim);
  display: block;
  margin-bottom: 14px;
}

.service-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}

.service-row-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
}

.service-row-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.service-row-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: gap 0.32s var(--ease);
}

.service-row-link:hover { gap: 14px; color: var(--text); }

/* Backward-compatible spotlight (used in leistungen.html) */
.services-spotlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-spot {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.42s var(--ease);
  background: var(--surface);
}

.service-spot:hover { transform: translateY(-4px); }
.service-spot-img-wrap { position: relative; aspect-ratio: 4 / 5; }

.service-spot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-spot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(31, 41, 55, 0.85) 100%);
  border-radius: var(--radius-lg);
}

.service-spot-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.service-spot-meta {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  color: #fff;
}

.service-spot-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}

.service-spot-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}

.service-spot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-warm);
}

.service-spot-link svg { width: 12px; height: 12px; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.timeline-step { text-align: center; }

.timeline-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-warm);
}

.timeline-icon svg { width: 30px; height: 30px; }

.timeline-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 14px;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.018em;
}

.timeline-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TEAM CARDS (index + team.html)
   ============================================ */
.team-spotlight,
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: stretch;
}

.team-spotlight > .team-card,
.team-grid > .team-card {
  grid-column: span 2;
}

/* When team-grid has 5 cards: center the last two on row 2 */
.team-grid > .team-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}
.team-grid > .team-card:nth-child(5):nth-last-child(1) {
  grid-column: 4 / span 2;
}

.team-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.42s var(--ease);
  border: 1px solid var(--border);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.team-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.team-card:hover .team-card-img-wrap img { transform: scale(1.05); }

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(31, 41, 55, 0.88) 100%);
}

.team-card-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
}

.team-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.team-card-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14.5px;
  color: var(--accent-warm);
  margin-bottom: 14px;
}

.team-card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.team-card-pill {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.team-card-link {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.team-card-link span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.team-card-link svg { width: 14px; height: 14px; }

/* Team teaser (circle avatars 90px, name+role beside) */
.team-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.team-teaser {
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-teaser-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--card);
  box-shadow: var(--shadow-md);
}

.team-teaser-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-teaser-info { min-width: 0; }

.team-teaser-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 4px;
}

.team-teaser-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14.5px;
  color: var(--accent-dim);
  margin-bottom: 6px;
}

.team-teaser-spec {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { position: relative; }

.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial-slide {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-slide:first-child { border-top: none; padding-top: 0; }

.testimonial-img { position: relative; }

.testimonial-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.testimonial-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--accent-warm);
}

.testimonial-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.testimonial-meta {
  font-size: 13.5px;
  color: var(--accent-warm);
  letter-spacing: 0.02em;
}

.testimonial-meta strong { color: #fff; font-weight: 600; }

.testimonial-dots { display: none; }

/* ============================================
   FAQ — Minimal, sage-border-bottom, viel padding
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(127, 168, 155, 0.32);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.28s var(--ease);
}

.faq-question:hover { color: var(--accent-dim); }

.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.32s var(--ease);
  color: var(--accent-dim);
}

.faq-toggle svg { width: 14px; height: 14px; }

.faq-item.open .faq-toggle {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 480ms cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.open .faq-answer {
  max-height: 900px;
  transition: max-height 1100ms cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-answer-inner {
  padding: 0 0 36px 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 64ch;
}

.faq-answer-inner a {
  color: var(--accent-dim);
  border-bottom: 1px solid var(--accent);
}

/* ============================================
   CTA — zentriertes Pill mit Pulse
   ============================================ */
.cta-band {
  padding: 140px 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(127, 168, 155, 0) 70%);
  filter: blur(80px);
  opacity: 0.32;
  left: -200px;
  top: -200px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-warm) 0%, rgba(233, 168, 147, 0) 70%);
  filter: blur(80px);
  opacity: 0.32;
  right: -180px;
  bottom: -180px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--text);
  margin-bottom: 22px;
}

.cta-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
}

.cta-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.cta-pulse-wrap {
  display: inline-block;
  position: relative;
}

.cta-pulse-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  opacity: 0.3;
  animation: ctaPulse 2.4s ease-in-out infinite;
  z-index: -1;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.28; }
  50% { transform: scale(1.08); opacity: 0; }
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 22px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  padding: 14px 26px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.28s var(--ease);
}

.newsletter-form button:hover { background: var(--accent-dim); }

.newsletter-success {
  display: none;
  text-align: center;
  margin-top: 16px;
  color: var(--accent-dim);
  font-weight: 500;
}

.newsletter-success.show { display: block; }

/* ============================================
   CONTACT BLOCK
   ============================================ */
.contact-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.contact-info-block {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex: 1;
  min-width: 0;
}

.contact-info-block .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 12px;
}

.contact-info-block .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}

.contact-info-block .value a:hover { color: var(--accent-dim); }
.contact-info-block .small { margin-top: 8px; font-size: 13px; }

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info-row {
  display: flex;
  gap: 40px;
  padding: 50px 0 22px;
  margin-top: 50px;
  border-top: 1px solid var(--border);
}

.contact-info-row:last-child { border-bottom: none; }

/* Contact form */
.contact-form {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-field { margin-bottom: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all 0.24s var(--ease);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(127, 168, 155, 0.15);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  padding: 18px;
  background: rgba(127, 168, 155, 0.12);
  border-radius: var(--radius-sm);
  color: var(--accent-dim);
  text-align: center;
  font-weight: 500;
  margin-top: 18px;
}

.form-success.show { display: block; }

/* Calendar */
.calendar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cal-month {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.cal-nav { display: flex; gap: 8px; }

.cal-nav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.24s var(--ease);
}

.cal-nav button:hover { background: var(--accent); color: #fff; }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal-weekdays > * {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-grid button,
.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.cal-grid button:hover:not(:disabled),
.cal-day:hover:not(.disabled):not(.empty) { background: var(--surface); }
.cal-grid button.active,
.cal-day.selected { background: var(--accent); color: #fff; }
.cal-grid button:disabled,
.cal-day.disabled { opacity: 0.3; cursor: not-allowed; }
.cal-day.empty { visibility: hidden; cursor: default; }
.cal-day.today {
  box-shadow: inset 0 0 0 1px var(--accent-dim);
  font-weight: 700;
}
.cal-day.today.selected { box-shadow: none; }

.cal-slots {
  margin-top: 24px;
  display: block;
}

.cal-slots-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cal-slots button,
.slot {
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.cal-slots button:hover,
.slot:hover:not(:disabled) { background: var(--accent); color: #fff; }

.slot.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-dim);
}

.slot.busy,
.slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-slots-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.appointment-pickup {
  margin-top: 24px;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.appointment-pickup-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.appointment-pickup-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

/* Location card */
.location-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.location-coords {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

.location-svg {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 18px;
}

/* ============================================
   STATS (used by ueber-uns)
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--accent-dim);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 24px;
  color: var(--accent-warm);
  margin-left: 4px;
}

.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* History / Equipment / Certifications */
.history-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.history-year {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: var(--accent-dim);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-year em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.history-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.history-text p + p { margin-top: 14px; }

.history-text strong { color: var(--text); font-weight: 600; }

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

.equipment-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.equipment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.equipment-card:hover img { transform: scale(1.05); }

.equipment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 41, 55, 0.8) 0%, transparent 60%);
}

.equipment-card-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.cert-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  margin-bottom: 18px;
}

.cert-icon svg { width: 24px; height: 24px; }

.cert-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}

.cert-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* Service blocks (leistungen.html) */
.service-block-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.service-block.reverse { grid-template-columns: 1.1fr 1fr; }
.service-block.reverse .service-block-content { order: 2; }
.service-block.reverse .service-block-image { order: 1; }

.service-block-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-block-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  color: var(--accent-dim);
  margin-bottom: 10px;
}

.service-block-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 14px;
}

.service-block-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}

.service-block-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dim);
}

.service-block-desc {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Target groups (leistungen) */
.target-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.target-group {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.32s var(--ease);
}

.target-group:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.target-group-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  margin-bottom: 18px;
}

.target-group-icon svg { width: 24px; height: 24px; }

/* USPs */
.usp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.usp-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.usp-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.usp-icon svg { width: 20px; height: 20px; }

.usp-text { line-height: 1.65; color: var(--text-muted); }

.usp-text strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 600; }

/* Spine graphic */
.spine-graphic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 200px;
  margin: 0 auto;
}

.spine-segment {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spine-segment-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent-dim);
}

/* Joints list */
.joints-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.joints-list li {
  list-style: none;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 7px 14px;
  background: rgba(127, 168, 155, 0.12);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-dim);
}

/* Phases */
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.phase {
  text-align: center;
  padding: 24px;
}

.phase-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  margin: 0 auto 16px;
}

.phase-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--accent-dim);
  margin-bottom: 6px;
}

.phase-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

/* Checklist */
.checklist { list-style: none; padding: 0; }

.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--text-muted);
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Values stack */
.values-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.value-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.value-row:last-child { border-bottom: none; }

.value-row-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 28px;
  color: var(--accent-dim);
}

.value-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.value-row-body {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Counter */
.counter { display: inline-block; }

/* Info box */
.info-box {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 50px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13.5px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #fff;
}

.footer-brand em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-warm);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 26px;
}

.footer-links a {
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.24s var(--ease);
}

.footer-links a:hover { color: var(--accent-warm); }

/* ============================================
   DEMO BANNER + CHATBOT
   ============================================ */
.demo-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(31, 41, 55, 0.94);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

.demo-banner a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-warm);
  font-weight: 600;
}

.chat-overlay {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 70;
  display: none;
  width: 360px;
  max-width: calc(100vw - 48px);
}

.chat-overlay.open { display: block; }

.chat-window {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.chat-name { font-weight: 600; font-size: 14px; }
.chat-status { font-size: 11.5px; color: var(--accent-dim); }

.chat-close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  padding: 18px;
  max-height: 320px;
  overflow-y: auto;
  font-size: 14px;
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
}

.chat-input-wrap input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  outline: none;
}

.chat-input-wrap button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 65;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.32s var(--ease);
}

.chat-trigger:hover { background: var(--accent-dim); transform: scale(1.05); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   IMPRESSUM
   ============================================ */
.impressum-content {
  max-width: 760px;
  margin: 0 auto;
}

.impressum-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 36px 0 14px;
  letter-spacing: -0.015em;
}

.impressum-content h2:first-child { margin-top: 0; }

.impressum-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ============================================
   ACCENT / UTILITY
   ============================================ */
.accent { color: var(--accent-dim); }
.alt { background: var(--surface); }

/* ============================================
   RESPONSIVE — 880px / 540px
   ============================================ */
@media (max-width: 880px) {
  .section { padding: 96px 0; }

  .container { padding: 0 24px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-inner { padding: 16px 20px; }

  /* Hero */
  .hero { padding: 96px 24px 80px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 8vw, 56px); }
  .scroll-indicator { display: none; }

  /* Anatomy */
  .anatomy {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 28px;
  }

  /* Symptom-check */
  .symptom-check,
  .symptom-check.reverse {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Quicklinks */
  .quicklinks { grid-template-columns: repeat(3, 1fr); }

  /* Services */
  .services-round { grid-template-columns: 1fr; gap: 24px; }
  .services-spotlight { grid-template-columns: 1fr; }
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
    margin-bottom: 80px;
  }

  /* Timeline */
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .timeline::before { display: none; }

  /* Team */
  .team-spotlight,
  .team-grid { grid-template-columns: 1fr; }
  .team-spotlight > .team-card,
  .team-grid > .team-card,
  .team-grid > .team-card:nth-child(4):nth-last-child(2),
  .team-grid > .team-card:nth-child(5):nth-last-child(1) {
    grid-column: auto;
  }
  .team-teasers { grid-template-columns: 1fr; gap: 28px; }

  /* Testimonials */
  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  /* Contact */
  .contact-block { grid-template-columns: 1fr; gap: 50px; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 50px; }
  .slot-list { grid-template-columns: repeat(3, 1fr); }
  .contact-info-row { flex-wrap: wrap; }
  .contact-info-block { flex: 1 1 45%; }

  /* Stats */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* History */
  .history-grid { grid-template-columns: 1fr; gap: 14px; }
  .history-year { font-size: 26px; }

  /* Equipment */
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Services blocks */
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-block.reverse .service-block-content { order: unset; }
  .service-block.reverse .service-block-image { order: unset; }

  /* Target groups */
  .target-groups { grid-template-columns: 1fr; }

  /* USPs */
  .usp-list { grid-template-columns: 1fr; }

  /* Phases */
  .phases { grid-template-columns: repeat(2, 1fr); }

  /* Joints */
  .joints-list { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 18px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  /* FAQ */
  .faq-question { font-size: 16.5px; padding: 28px 0; gap: 14px; }

  /* CTA */
  .cta-band { padding: 96px 0; }

  /* Page hero */
  .page-hero { padding: 90px 0 70px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }

  .section { padding: 72px 0; }
  .container { padding: 0 18px; }

  .nav-inner { padding: 14px 18px; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }

  .hero { padding: 70px 18px 60px; }
  .hero-kicker { font-size: 11px; padding: 6px 14px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 16.5px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trustline { font-size: 12.5px; flex-direction: column; gap: 6px; }
  .hero-trustline .dot { display: none; }

  .anatomy { padding: 32px 20px; }
  .anatomy-info { padding: 28px; }

  .quicklinks { grid-template-columns: 1fr 1fr; }
  .quicklink { padding: 22px 12px; font-size: 13px; }

  .services-round { gap: 18px; }
  .service-round { padding: 36px 24px; }

  .symptom-check-mock { padding: 24px; }

  .timeline { grid-template-columns: 1fr; gap: 36px; }

  .testimonial-quote { font-size: 19px; padding-left: 18px; }

  .faq-question { font-size: 15.5px; padding: 22px 0; }
  .faq-toggle { width: 30px; height: 30px; }

  .cta-title { font-size: clamp(26px, 7vw, 36px); }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); padding: 12px; }
  .newsletter-form button { width: 100%; }

  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }

  .equipment-grid { grid-template-columns: 1fr; }

  .phases { grid-template-columns: 1fr; }

  .demo-banner { font-size: 11.5px; left: 12px; bottom: 12px; padding: 8px 12px; }

  .chat-overlay { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
  .chat-trigger { right: 18px; bottom: 18px; }

  .value-row { grid-template-columns: 60px 1fr; gap: 18px; padding: 26px 0; }

  .slot-list { grid-template-columns: repeat(2, 1fr); }
  .calendar { padding: 20px; }
  .cal-grid button,
  .cal-day { font-size: 13px; }
  .contact-info-block { flex: 1 1 100%; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cta-pulse-wrap::before { display: none; }
  .scroll-line { animation: none; }
  .mock-step { animation: none; opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus, input:focus, a:focus { outline: none; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
