/*
Theme Name: Janina Heyer 2026
Theme URI: https://www.janina-heyer.de/
Author: OpenAI
Description: Finales Relaunch-Theme für die Frauenarztpraxis Janina Heyer in Beckum.
Version: 3.4.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: janina-heyer-test-2026
*/


/* Zusätzliche Komponenten-Styles. Globale Typografie/Farben kommen aus theme.json. */

:root {
  --jh-ink: #2e2929;
  --jh-forest: #7d4045;
  --jh-sage: #eadfe0;
  --jh-ivory: #f5f2f0;
  --jh-white: #ffffff;
  --jh-clay: #618495;
  --jh-border: #ddd6d3;
  --jh-muted: #6c6665;
  --jh-radius: 22px;
  --jh-shadow: 0 18px 50px rgba(125, 64, 69, .10);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }

a { text-underline-offset: .18em; }

.jh-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.jh-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 138px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(circle at 80% 20%, rgba(220,231,225,.90), transparent 33%),
    linear-gradient(135deg, #f5f2f0 0%, #ffffff 60%, #eef2f3 100%);
}

.jh-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  right: -180px;
  bottom: -220px;
  background: rgba(97,132,149,.11);
}

.jh-eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .80rem;
  color: var(--jh-clay);
}

.jh-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.65rem, 6.8vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 650;
  color: var(--jh-ink);
}

.jh-lead {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.65;
  color: var(--jh-muted);
}

.jh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.jh-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.jh-btn:hover { transform: translateY(-1px); }

.jh-btn--primary {
  background: var(--jh-forest);
  color: var(--jh-white);
  box-shadow: 0 10px 28px rgba(125,64,69,.18);
}

.jh-btn--secondary {
  background: var(--jh-white);
  color: var(--jh-forest);
  border: 1px solid var(--jh-border);
}

.jh-section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.jh-section--soft { background: var(--jh-ivory); }
.jh-section--dark { background: var(--jh-forest); color: var(--jh-white); }

.jh-section h2 {
  margin: 0 0 16px;
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 650;
}

.jh-section-intro {
  max-width: 760px;
  color: var(--jh-muted);
  font-size: 1.10rem;
  line-height: 1.75;
}

.jh-section--dark .jh-section-intro { color: rgba(255,255,255,.78); }

.jh-grid {
  display: grid;
  gap: 18px;
}

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

.jh-card {
  padding: 28px;
  background: var(--jh-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  box-shadow: 0 8px 30px rgba(125,64,69,.05);
}

.jh-card h3 {
  margin: 0 0 9px;
  font-size: 1.26rem;
  color: var(--jh-ink);
}

.jh-card p {
  margin: 0;
  color: var(--jh-muted);
  line-height: 1.65;
}

.jh-card a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--jh-forest);
}

.jh-quick {
  margin-top: -34px;
  position: relative;
  z-index: 4;
}

.jh-quick .jh-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 100%;
}

.jh-icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--jh-sage);
  color: var(--jh-forest);
  font-weight: 800;
}

.jh-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.jh-portrait-placeholder {
  min-height: 510px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(125,64,69,.10), rgba(125,64,69,.10)),
    linear-gradient(135deg, #eadfe0, #f5efeb);
  display: grid;
  place-items: end start;
  padding: 28px;
  box-shadow: var(--jh-shadow);
}

.jh-portrait-placeholder span {
  max-width: 310px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: var(--jh-muted);
  font-size: .92rem;
}

.jh-hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.jh-hours th, .jh-hours td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.jh-hours th { color: rgba(255,255,255,.82); font-weight: 500; }
.jh-hours td { color: #fff; }

.jh-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff8e9;
  border: 1px solid #ecd8a8;
  color: #5b4d2d;
}

.jh-page-hero {
  padding: 64px 0 34px;
  background: var(--jh-ivory);
}

.jh-page-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.jh-prose {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 84px;
  line-height: 1.78;
}

.jh-prose h2 { margin-top: 2em; }
.jh-prose h3 { margin-top: 1.6em; }

.jh-team-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.jh-team-role {
  color: var(--jh-clay);
  font-weight: 700;
  font-size: .93rem;
}

.jh-faq details {
  border-top: 1px solid var(--jh-border);
  padding: 18px 0;
}

.jh-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--jh-ink);
}

.jh-faq details p {
  color: var(--jh-muted);
  line-height: 1.7;
}

.jh-meta {
  color: var(--jh-muted);
  font-size: .95rem;
}

@media (max-width: 900px) {
  .jh-grid--3, .jh-grid--2, .jh-split { grid-template-columns: 1fr; }
  .jh-quick { margin-top: 0; padding-top: 18px; }
  .jh-portrait-placeholder { min-height: 360px; }
}

@media (max-width: 600px) {
  .jh-shell { width: min(100% - 28px, 1180px); }
  .jh-card { padding: 22px; }
  .jh-actions { display: grid; }
  .jh-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* === Corporate Design Frauenarztpraxis Janina Heyer === */
.jh-brand-logo {
  display: block;
  width: min(310px, 62vw);
  height: auto;
}

.jh-header-brand {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.jh-header-brand img {
  display: block;
}

.jh-hero {
  background:
    radial-gradient(circle at 83% 18%, rgba(97,132,149,.17), transparent 32%),
    radial-gradient(circle at 88% 88%, rgba(176,146,130,.16), transparent 27%),
    linear-gradient(135deg, #f5f2f0 0%, #ffffff 57%, #eef2f3 100%);
}

.jh-eyebrow {
  color: #7d4045;
}

.jh-btn--primary {
  background: #7d4045;
}

.jh-btn--secondary {
  color: #618495;
}

.jh-btn--secondary:hover {
  border-color: #618495;
}

.jh-icon {
  background: #eadfe0;
  color: #7d4045;
}

.jh-card a {
  color: #618495;
}

.jh-section--dark {
  background: #7d4045;
}

.jh-section--dark .jh-eyebrow {
  color: #ead7d9 !important;
}

.jh-portrait-placeholder {
  background:
    linear-gradient(rgba(125,64,69,.06), rgba(97,132,149,.06)),
    linear-gradient(135deg, #efe5e6, #e7edef 60%, #f3ece7);
}

.jh-brand-rule {
  width: 74px;
  height: 3px;
  margin: 20px 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #7d4045 0 38%, #618495 38% 70%, #b09282 70% 100%);
}

@media (max-width: 780px) {
  .jh-brand-logo {
    width: min(260px, 70vw);
  }
}


/* === Medienintegration 0.9.3 === */
.jh-hero--media {
  background:
    linear-gradient(90deg, rgba(245,242,240,.95) 0%, rgba(245,242,240,.93) 46%, rgba(245,242,240,.15) 72%, rgba(245,242,240,.05) 100%),
    linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.0)),
    var(--jh-hero-image) center right / cover no-repeat;
  min-height: 74vh;
  display: flex;
  align-items: center;
}

.jh-floral-band {
  min-height: 190px;
  border-radius: var(--jh-radius);
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    var(--jh-flower-image) center center / cover no-repeat;
  box-shadow: var(--jh-shadow);
}

.jh-media-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.jh-media-grid--gallery {
  grid-template-columns: repeat(4, 1fr);
}

.jh-media-card,
.jh-media-tall,
.jh-media-wide {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  background: #fff;
}

.jh-media-card img,
.jh-media-tall img,
.jh-media-wide img,
.jh-team-photo img,
.jh-contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jh-media-stack {
  display: grid;
  gap: 18px;
}

.jh-media-wide { min-height: 380px; }
.jh-media-tall { min-height: 380px; }
.jh-media-small { min-height: 180px; }

.jh-portrait-photo {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  min-height: 520px;
  background: #fff;
}
.jh-portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jh-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.jh-team-card {
  padding: 0;
  overflow: hidden;
}
.jh-team-photo {
  aspect-ratio: 4 / 3;
  background: #f6f3f1;
}
.jh-team-body {
  padding: 24px 26px 26px;
}
.jh-team-role {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--jh-clay);
  font-weight: 700;
}

.jh-practice-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.jh-practice-gallery .jh-media-card { aspect-ratio: 1 / 1; }

.jh-feature-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.jh-feature-card__media {
  min-height: 100%;
}
.jh-feature-card__body {
  padding: 22px 22px 22px 0;
}
.jh-feature-card__body h3 {
  margin-top: 22px;
}

.jh-inline-note {
  margin-top: 12px;
  font-size: .95rem;
  color: var(--jh-muted);
}

.jh-contact-split {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.jh-contact-photo {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  min-height: 100%;
}

.jh-map-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}
.jh-map-card__media {
  overflow: hidden;
  border-radius: 16px;
}
.jh-map-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jh-link-list {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
}
.jh-link-list li + li { margin-top: 8px; }

@media (max-width: 960px) {
  .jh-media-grid,
  .jh-contact-split {
    grid-template-columns: 1fr;
  }
  .jh-media-grid--gallery,
  .jh-practice-gallery,
  .jh-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jh-feature-card,
  .jh-map-card {
    grid-template-columns: 1fr;
  }
  .jh-feature-card__body { padding: 0 22px 22px; }
  .jh-hero--media {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(245,242,240,.95) 0%, rgba(245,242,240,.88) 58%, rgba(245,242,240,.35) 100%),
      var(--jh-hero-image) center center / cover no-repeat;
  }
}

@media (max-width: 640px) {
  .jh-media-grid--gallery,
  .jh-practice-gallery,
  .jh-team-grid {
    grid-template-columns: 1fr;
  }
}


/* === Feinschliff 0.9.4 === */

.jh-site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(125,64,69,.08);
}

.jh-site-header .wp-block-group.alignwide {
  min-height: 72px;
}

.jh-site-header .jh-brand-logo {
  width: min(275px, 58vw);
}

.jh-section {
  padding: clamp(52px, 6.4vw, 88px) 0;
}

.jh-hero--media {
  min-height: 68vh;
  background:
    linear-gradient(90deg,
      rgba(245,242,240,.88) 0%,
      rgba(245,242,240,.82) 37%,
      rgba(245,242,240,.48) 55%,
      rgba(245,242,240,.12) 77%,
      rgba(245,242,240,.02) 100%),
    var(--jh-hero-image) center right / cover no-repeat;
}

.jh-hero--media .jh-lead {
  max-width: 690px;
}

.jh-brand-watermark {
  position: relative;
  overflow: hidden;
}

.jh-brand-watermark::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  background: var(--jh-flower-image) center / cover no-repeat;
  opacity: .055;
  transform: rotate(-4deg);
  pointer-events: none;
  border-radius: 50%;
}

.jh-brand-watermark > * {
  position: relative;
  z-index: 1;
}

.jh-practice-showcase {
  display: grid;
  grid-template-columns: 1.45fr .8fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  min-height: 480px;
}

.jh-practice-showcase .jh-media-card {
  min-height: 0;
}

.jh-practice-showcase .jh-media-card:first-child {
  grid-row: 1 / 3;
}

.jh-practice-showcase .jh-media-card:nth-child(4) {
  grid-column: 3;
}

.jh-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.jh-service-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  box-shadow: 0 8px 26px rgba(125,64,69,.045);
}

.jh-service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f1e6e7;
  color: var(--jh-forest);
}

.jh-service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jh-service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.jh-service-card p {
  margin: 0;
  color: var(--jh-muted);
  line-height: 1.65;
}

.jh-service-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--jh-clay);
  font-weight: 700;
}

.jh-consult-showcase {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .7fr);
  gap: 16px;
  margin-top: 28px;
}

.jh-consult-showcase .jh-media-card {
  aspect-ratio: 1.55 / 1;
}

.jh-consult-showcase .jh-media-card:first-child {
  aspect-ratio: auto;
  min-height: 280px;
}

.jh-prep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.jh-prep-item {
  padding: 24px;
  border: 1px solid var(--jh-border);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}

.jh-prep-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.jh-prep-item span {
  color: var(--jh-muted);
  line-height: 1.6;
}

.jh-weight-layout {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.jh-weight-visual {
  display: grid;
  gap: 16px;
}

.jh-weight-photo {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  min-height: 360px;
}

.jh-weight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jh-clinical-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: #faf7f5;
  border: 1px solid var(--jh-border);
}

.jh-clinical-note strong {
  display: block;
  margin-bottom: 6px;
}

.jh-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.jh-contact-actions .jh-btn--secondary {
  border-color: rgba(255,255,255,.55);
}

.jh-footer-light {
  background: #f1ebe7 !important;
  color: var(--jh-ink) !important;
  border-top: 1px solid var(--jh-border);
}

.jh-footer-light a {
  color: var(--jh-clay) !important;
}

.jh-footer-light .jh-footer-copy {
  color: #7a716f !important;
}

.jh-footer-light img {
  filter: none;
}

.jh-route-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jh-route-link::before {
  content: "↗";
  font-weight: 700;
}

@media (max-width: 980px) {
  .jh-practice-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .jh-practice-showcase .jh-media-card:first-child {
    grid-row: auto;
    grid-column: 1 / 3;
    min-height: 360px;
  }

  .jh-practice-showcase .jh-media-card:nth-child(4) {
    grid-column: auto;
  }

  .jh-service-grid,
  .jh-prep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-consult-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .jh-consult-showcase .jh-media-card:first-child {
    grid-column: 1 / 3;
    min-height: 340px;
  }

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

@media (max-width: 640px) {
  .jh-service-grid,
  .jh-prep-grid,
  .jh-consult-showcase,
  .jh-practice-showcase {
    grid-template-columns: 1fr;
  }

  .jh-practice-showcase .jh-media-card:first-child,
  .jh-consult-showcase .jh-media-card:first-child {
    grid-column: auto;
    min-height: 280px;
  }

  .jh-site-header .jh-brand-logo {
    width: min(235px, 72vw);
  }
}


/* === Vollständige Unterseiten & Leistungsspektrum 0.9.5 === */
.jh-subhero {
  padding: clamp(62px, 8vw, 104px) 0 clamp(42px, 6vw, 72px);
  background:
    radial-gradient(circle at 88% 18%, rgba(97,132,149,.12), transparent 26%),
    linear-gradient(135deg, #f5f2f0, #fff 62%, #eef2f3);
  border-bottom: 1px solid var(--jh-border);
}

.jh-subhero h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.jh-subhero .jh-lead {
  margin-top: 22px;
}

.jh-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.jh-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--jh-border);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
  color: var(--jh-ink);
}

.jh-anchor-nav a:hover {
  border-color: var(--jh-clay);
  color: var(--jh-clay);
}

.jh-service-section {
  scroll-margin-top: 110px;
}

.jh-service-detail {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.jh-service-number {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #efe3e4;
  color: var(--jh-forest);
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 18px;
}

.jh-service-detail h2 {
  margin-top: 0;
}

.jh-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.jh-checklist li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--jh-border);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  color: var(--jh-muted);
}

.jh-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--jh-forest);
  font-weight: 800;
}

.jh-service-aside {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  min-height: 320px;
  background: #fff;
}

.jh-service-aside img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.jh-highlight-band {
  padding: 30px;
  border-radius: var(--jh-radius);
  background: var(--jh-forest);
  color: #fff;
}

.jh-highlight-band h3 {
  margin-top: 0;
  color: #fff;
}

.jh-highlight-band p {
  color: rgba(255,255,255,.82);
}

.jh-faq {
  max-width: 900px;
}

.jh-faq details {
  border-top: 1px solid var(--jh-border);
  padding: 18px 0;
}

.jh-faq details:last-child {
  border-bottom: 1px solid var(--jh-border);
}

.jh-faq summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--jh-ink);
}

.jh-faq p {
  margin-bottom: 0;
  color: var(--jh-muted);
}

.jh-team-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.jh-team-note {
  padding: 24px;
  border: 1px solid var(--jh-border);
  border-radius: 18px;
  background: #fff;
}

.jh-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.jh-contact-card {
  padding: 24px;
  border: 1px solid var(--jh-border);
  border-radius: 18px;
  background: #fff;
}

.jh-contact-card strong {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .jh-service-detail,
  .jh-team-intro-grid {
    grid-template-columns: 1fr;
  }

  .jh-contact-cards {
    grid-template-columns: 1fr;
  }
}


/* === Staging-Navigation 0.9.6 === */
.jh-static-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 26px);
}
.jh-static-nav a {
  color: var(--jh-ink);
  font-size: .96rem;
  font-weight: 650;
  text-decoration: none;
}
.jh-static-nav a:hover {
  color: var(--jh-forest);
}
@media (max-width: 760px) {
  .jh-static-nav {
    width: 100%;
    padding-bottom: 10px;
    gap: 12px 18px;
  }
}


/* Classic-theme reset / staging navigation */
body.jh-classic-test { margin: 0; }
.jh-classic-test * { box-sizing: border-box; }
.jh-classic-test img { max-width: 100%; }

.jh-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--jh-border);
  backdrop-filter: blur(10px);
}
.admin-bar .jh-site-header { top: 32px; }

.jh-header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.jh-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 25px;
  align-items: center;
}
.jh-main-nav a {
  color: var(--jh-ink);
  text-decoration: none;
  font-weight: 650;
}
.jh-main-nav a:hover { color: var(--jh-forest); }

.jh-test-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  padding: 8px 12px;
  border-radius: 999px;
  background: #2e2929;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.jh-legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 55px 0 85px;
}
.jh-legal-content > * { max-width: 100%; }

@media (max-width: 782px) {
  .admin-bar .jh-site-header { top: 46px; }
}
@media (max-width: 760px) {
  .jh-header-row { align-items: flex-start; padding: 13px 0; }
  .jh-main-nav { width: 100%; }
}


/* Praxisprofil 1.2 */
.jh-personal-intro {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--jh-muted);
}

.jh-personal-intro strong {
  color: var(--jh-ink);
}

.jh-signature {
  display: block;
  width: min(260px, 70%);
  height: auto;
  margin-top: 22px;
}

.jh-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.jh-profile-fact {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--jh-border);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  font-size: .92rem;
  font-weight: 650;
}


/* Rechtliche Seiten 1.3 */
.jh-legal-page {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 90px;
}
.jh-legal-page h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}
.jh-legal-page h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.jh-legal-page p,
.jh-legal-page li {
  line-height: 1.72;
}
.jh-legal-page ul {
  padding-left: 1.25rem;
}
.jh-legal-meta {
  color: var(--jh-muted);
  font-size: .95rem;
}
.jh-legal-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--jh-forest);
  border-radius: 0 14px 14px 0;
  background: #faf7f5;
}
.jh-legal-page a {
  overflow-wrap: anywhere;
}


/* Bildwelt-Feinschliff 1.4 */
.jh-photo-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
  align-items: stretch;
}
.jh-photo-mosaic .jh-media-card,
.jh-photo-mosaic .jh-media-card img {
  height: 100%;
}
.jh-photo-column {
  display: grid;
  gap: 16px;
}
.jh-photo-column .jh-media-card {
  min-height: 190px;
}
.jh-family-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 16px;
  margin-top: 30px;
}
.jh-family-grid .jh-media-card:first-child {
  min-height: 420px;
}
.jh-family-grid .jh-family-stack {
  display: grid;
  gap: 16px;
}
.jh-two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.jh-visual-inline {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 28px;
  align-items: center;
}
.jh-visual-inline .jh-legal-image {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
}
.jh-visual-inline .jh-legal-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 280px;
}
.jh-caption-muted {
  margin-top: 8px;
  color: var(--jh-muted);
  font-size: .92rem;
}
@media (max-width: 980px) {
  .jh-photo-mosaic,
  .jh-family-grid,
  .jh-visual-inline {
    grid-template-columns: 1fr;
  }
  .jh-family-grid .jh-media-card:first-child {
    min-height: 280px;
  }
}


/* Finaler Feinschliff 1.5 */
.jh-visual-trio {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr;
  gap: 16px;
  margin-top: 30px;
}
.jh-visual-trio .jh-media-card {
  min-height: 330px;
}
.jh-visual-trio .jh-media-card:nth-child(2),
.jh-visual-trio .jh-media-card:nth-child(3) {
  min-height: 250px;
}

.jh-family-strip {
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr;
  gap: 16px;
  margin-top: 28px;
}
.jh-family-strip .jh-media-card {
  min-height: 290px;
}

.jh-practice-pair {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 16px;
  margin-top: 28px;
}
.jh-practice-pair .jh-media-card {
  min-height: 360px;
}

.jh-quote-band {
  padding: clamp(30px, 5vw, 52px);
  border-radius: 26px;
  background: linear-gradient(135deg, #f1e7e7, #eef2f3);
  border: 1px solid var(--jh-border);
}
.jh-quote-band blockquote {
  margin: 0;
  max-width: 880px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--jh-ink);
}
.jh-quote-band p {
  margin: 18px 0 0;
  color: var(--jh-muted);
}

.jh-weight-clean {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.jh-weight-clean .jh-clinical-note {
  margin-top: 0;
}

.jh-page-divider {
  width: 84px;
  height: 3px;
  margin: 20px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7d4045 0 42%, #618495 42% 72%, #b09282 72% 100%);
}

.jh-team-grid {
  align-items: stretch;
}
.jh-team-card {
  min-height: 100%;
}
.jh-team-body {
  min-height: 142px;
}

.jh-service-aside {
  box-shadow: 0 12px 32px rgba(125,64,69,.07);
}

.jh-legal-page h2:first-of-type {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .jh-visual-trio,
  .jh-family-strip,
  .jh-practice-pair,
  .jh-weight-clean {
    grid-template-columns: 1fr;
  }
  .jh-visual-trio .jh-media-card,
  .jh-family-strip .jh-media-card,
  .jh-practice-pair .jh-media-card {
    min-height: 260px;
  }
}


/* Kontakt & Startseiten-Bildfix 1.6 */
.jh-welcome-photo {
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  aspect-ratio: 4 / 3;
  background: transparent;
}
.jh-welcome-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.jh-map-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: stretch;
}
.jh-google-map {
  min-height: 460px;
  border-radius: var(--jh-radius);
  overflow: hidden;
  box-shadow: var(--jh-shadow);
  background:
    linear-gradient(135deg, rgba(97,132,149,.09), rgba(125,64,69,.07)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(97,132,149,.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(97,132,149,.08) 40px),
    #f7f5f3;
  position: relative;
}
.jh-google-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}
.jh-google-map__consent {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 34px;
  text-align: center;
}
.jh-google-map__consent-inner {
  max-width: 560px;
}
.jh-map-pin {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 999px 999px 999px 4px;
  transform: rotate(-45deg);
  background: var(--jh-forest);
  position: relative;
  box-shadow: 0 14px 30px rgba(125,64,69,.18);
}
.jh-map-pin::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  left: 20px;
  top: 20px;
}
.jh-map-pin + h3 {
  margin-top: 0;
}
.jh-google-map__privacy {
  font-size: .9rem;
  color: var(--jh-muted);
  margin-top: 14px;
}
.jh-route-box {
  height: 100%;
  padding: 30px;
  border-radius: var(--jh-radius);
  background: var(--jh-white);
  border: 1px solid var(--jh-border);
  box-shadow: var(--jh-shadow);
}
.jh-route-box h3 {
  margin-top: 0;
}
.jh-route-address {
  padding: 16px 18px;
  margin: 18px 0 22px;
  border-radius: 14px;
  background: var(--jh-ivory);
  line-height: 1.65;
}
.jh-route-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.jh-route-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--jh-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.jh-route-form .jh-btn {
  margin-top: 12px;
  width: 100%;
}
.jh-route-alt {
  margin-top: 14px;
  text-align: center;
  font-size: .94rem;
}

@media (max-width: 900px) {
  .jh-map-section {
    grid-template-columns: 1fr;
  }
  .jh-google-map,
  .jh-google-map__consent,
  .jh-google-map iframe {
    min-height: 380px;
    height: 380px;
  }
}


/* Eindeutiger Google-Maps-Zielpunkt 2.1 */
.jh-exact-map-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f2f0;
  color: var(--jh-muted);
  font-size: .93rem;
  line-height: 1.55;
}
.jh-map-profile-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
}


/* Fallback, falls kurzfristig noch altes HTML aus einem Cache ausgeliefert wird:
   In der alten Reihenfolge war Klaus Position 4 und Melina Position 5. */
.jh-team-grid > .jh-team-card:not([class*="jh-team-order-"]):nth-child(1) { order: 1; }
.jh-team-grid > .jh-team-card:not([class*="jh-team-order-"]):nth-child(2) { order: 2; }
.jh-team-grid > .jh-team-card:not([class*="jh-team-order-"]):nth-child(3) { order: 3; }
.jh-team-grid > .jh-team-card:not([class*="jh-team-order-"]):nth-child(4) { order: 5; }
.jh-team-grid > .jh-team-card:not([class*="jh-team-order-"]):nth-child(5) { order: 4; }


/* Definitive Team-Anordnung: 2 + 2 + Klaus allein unten */
.jh-team-grid--fixed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.jh-team-grid--fixed > .jh-team-card {
  order: initial !important;
}

.jh-team-grid--fixed > .jh-team-card--janina {
  grid-column: 1;
  grid-row: 1;
}
.jh-team-grid--fixed > .jh-team-card--sandra {
  grid-column: 2;
  grid-row: 1;
}
.jh-team-grid--fixed > .jh-team-card--kristina {
  grid-column: 1;
  grid-row: 2;
}
.jh-team-grid--fixed > .jh-team-card--melina {
  grid-column: 2;
  grid-row: 2;
}
.jh-team-grid--fixed > .jh-team-card--klaus {
  grid-column: 1 / -1;
  grid-row: 3;
  width: calc(50% - 11px);
  justify-self: center;
}

@media (max-width: 640px) {
  .jh-team-grid--fixed {
    grid-template-columns: 1fr;
  }
  .jh-team-grid--fixed > .jh-team-card--janina,
  .jh-team-grid--fixed > .jh-team-card--sandra,
  .jh-team-grid--fixed > .jh-team-card--kristina,
  .jh-team-grid--fixed > .jh-team-card--melina,
  .jh-team-grid--fixed > .jh-team-card--klaus {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    justify-self: stretch;
  }
}


/* Mobile Header Fix: auf Smartphone/Tablet nicht sticky */
@media (max-width: 900px) {
  .jh-site-header,
  .admin-bar .jh-site-header {
    position: relative !important;
    top: auto !important;
  }
  .jh-site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* Mobile Button Fix: kompakt, zentriert, kein Überlaufen */
.jh-classic-site,
.jh-classic-site *,
.jh-classic-site *::before,
.jh-classic-site *::after {
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .jh-actions {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .jh-actions .jh-btn {
    width: 100%;
    max-width: 340px;
    min-height: 50px;
    padding: 10px 16px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    line-height: 1.25;
    text-align: center;
  }

  .jh-contact-actions {
    width: 100%;
  }

  .jh-contact-actions .jh-btn {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Bildbereinigung 2.1 / 2.8 */
.jh-practice-single {
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  min-height: 360px;
}
.jh-practice-single img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .jh-practice-single,
  .jh-practice-single img {
    min-height: 260px;
  }
}


/* Aktuelles: Beitragsbilder */
.jh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.jh-news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.jh-news-thumb {
  display: block;
  margin: 0 !important;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--jh-ivory);
}

.jh-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.jh-news-card:hover .jh-news-thumb img {
  transform: scale(1.02);
}

.jh-news-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jh-news-body .jh-meta {
  margin-bottom: 10px;
}

.jh-news-body h3 {
  margin-bottom: 12px;
}

.jh-news-body h3 a {
  margin-top: 0;
}

.jh-news-excerpt {
  margin-top: auto !important;
}

.jh-post-feature {
  width: min(1060px, calc(100% - 40px));
  margin: -18px auto 46px;
  overflow: hidden;
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
  background: var(--jh-ivory);
}

.jh-post-feature img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .jh-news-grid {
    grid-template-columns: 1fr;
  }

  .jh-news-thumb {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .jh-news-body {
    padding: 22px;
  }

  .jh-post-feature {
    width: calc(100% - 28px);
    margin-top: -8px;
    margin-bottom: 30px;
  }
}


/* Zweitdomain-Hinweis – exakt wie übrige Footer-Links */
.jh-footer-alias {
  margin-top: 14px;
  color: var(--jh-ink);
}

.jh-footer-alias a {
  color: var(--jh-clay) !important;
  font: inherit;
  font-weight: inherit;
}
