/*
Theme Name: Praxis Jungeblut – Version 11
Theme URI: https://praxis.jungeblut.net/
Author: Praxis Dr. Jungeblut
Description: Schlankes, barrierearmes WordPress-Theme für die neurologische Praxis Dr. Jungeblut. Ohne externe Schriften, Tracking oder Page-Builder.
Version: 2.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: praxis-jungeblut
Update URI: false
*/

:root {
  --pj-navy: #173e5c;
  --pj-navy-2: #245675;
  --pj-teal: #1f9fa7;
  --pj-teal-dark: #247276;
  --pj-mint: #edf8f5;
  --pj-mint-2: #e3f1ef;
  --pj-sand: #f7fbfa;
  --pj-paper: #ffffff;
  --pj-ink: #183044;
  --pj-muted: #526775;
  --pj-line: #d6e7e4;
  --pj-shadow: 0 18px 45px rgba(23, 62, 92, .10);
  --pj-radius: 22px;
  --pj-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pj-ink);
  background: var(--pj-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--pj-teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--pj-navy); }
button, input, textarea, select { font: inherit; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--pj-teal-dark);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 231, 228, .92);
}
.admin-bar .site-header { top: 32px; }
.header-inner,
.pj-shell,
.page-wrap,
.site-footer-inner {
  max-width: var(--pj-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.header-inner {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--pj-navy);
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}
.brand-text { display: grid; line-height: 1.12; }
.brand-title { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-subtitle { margin-top: 3px; color: var(--pj-muted); font-size: 12px; font-weight: 650; }

.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a,
.mobile-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--pj-navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.mobile-nav a:hover,
.mobile-nav .current-menu-item > a { background: var(--pj-mint); }
.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 10px 14px;
  background: #e8f6f4;
  color: var(--pj-navy);
  border: 1px solid #9fcfc8;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(36, 114, 118, .10);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.header-phone:hover { background: #d9efeb; color: var(--pj-navy); border-color: #7ebbb2; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--pj-navy);
  border: 1px solid var(--pj-line);
  border-radius: 10px;
  font-weight: 750;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] > ul {
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 60;
  width: min(310px, calc(100vw - 32px));
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 16px;
  box-shadow: var(--pj-shadow);
}
.mobile-nav li { margin: 0; }

.site-main { min-height: 60vh; }

.pj-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 159, 167, .16), transparent 31%),
    linear-gradient(135deg, #f7fcfc 0%, #edf9f6 48%, #f2fbfa 100%);
  border-bottom: 1px solid var(--pj-line);
}
.pj-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(31, 159, 167, .14);
  border-radius: 50%;
}
.pj-hero-grid {
  max-width: var(--pj-width);
  margin: 0 auto;
  padding: 92px 24px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 64px;
  align-items: center;
}
.pj-eyebrow,
.pj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--pj-teal-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pj-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--pj-teal);
  border-radius: 2px;
}
.pj-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--pj-navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.pj-lead,
.pj-hero-intro {
  max-width: 740px;
  margin: 24px 0 0;
  color: #3f5666;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}
.pj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pj-button,
.wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--pj-navy) 0%, var(--pj-teal-dark) 100%);
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(36, 114, 118, .16);
  text-decoration: none;
  font-weight: 760;
  line-height: 1.2;
}
.pj-button:hover,
.wp-block-button__link:hover {
  background: linear-gradient(135deg, var(--pj-navy-2) 0%, var(--pj-teal-dark) 100%);
  color: #fff !important;
}
.pj-button.secondary,
.is-style-outline > .wp-block-button__link {
  background: rgba(255, 255, 255, .82);
  color: var(--pj-navy) !important;
  border: 1px solid #a9cfca;
  box-shadow: none;
}
.pj-button.secondary:hover,
.is-style-outline > .wp-block-button__link:hover { background: #fff; border-color: #78ada7; }

.pj-hero-card {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(207, 224, 222, .95);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
}
.mark-large-image { width: 84px; height: 84px; object-fit: contain; display: block; margin-bottom: 24px; }
.pj-hero-card h2 { margin: 0 0 6px; color: var(--pj-navy); font-size: 24px; line-height: 1.2; }
.pj-hero-card > p { margin: 0; color: var(--pj-muted); }
.pj-card-rule { height: 1px; margin: 24px 0; background: var(--pj-line); }
.pj-meta { display: grid; gap: 15px; margin: 0; }
.pj-meta-row { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: start; }
.pj-meta-row dt { color: var(--pj-navy); font-size: 14px; font-weight: 750; }
.pj-meta-row dd { margin: 0; color: var(--pj-muted); font-size: 14px; }
.pj-meta-row a { color: var(--pj-muted); text-decoration: none; }
.pj-meta-row a:hover { color: var(--pj-navy); text-decoration: underline; }

.pj-section { padding: 82px 0; }
.pj-section.soft { background: var(--pj-sand); border-top: 1px solid var(--pj-line); border-bottom: 1px solid var(--pj-line); }
.pj-section.mint { background: var(--pj-mint); border-top: 1px solid var(--pj-line); border-bottom: 1px solid var(--pj-line); }
.pj-section h2,
.entry-content h2,
.pj-spotlight h2 {
  margin: 0 0 16px;
  color: var(--pj-navy);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.pj-intro,
.pj-page-lead { max-width: 780px; margin: 0; color: var(--pj-muted); font-size: 20px; }
.pj-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.pj-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.pj-no-top-margin { margin-top: 0; }
.pj-align-center { align-items: center; margin-top: 0; }
.pj-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 18px;
}
.pj-card h2 { margin-top: 0; font-size: 30px; }
.pj-card h3 { margin: 0 0 10px; color: var(--pj-navy); font-size: 21px; }
.pj-card p:last-child { margin-bottom: 0; }
.pj-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--pj-navy);
  background: var(--pj-mint);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
}

.pj-hours { max-width: 800px; margin-top: 30px; border-top: 1px solid #cfe1de; }
.pj-hours-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid #cfe1de;
}
.pj-hours-row strong { color: var(--pj-navy); }
.pj-hours-row span { color: var(--pj-muted); }
.pj-hours.is-compact { margin-top: 0; }
.pj-hours.is-compact .pj-hours-row { grid-template-columns: minmax(120px, .8fr) 1.2fr; gap: 14px; }

.pj-page-hero {
  padding: 64px 0 52px;
  background: linear-gradient(180deg, #f4fbfa 0%, #fff 100%);
  border-bottom: 1px solid var(--pj-line);
}
.pj-page-hero h1 {
  margin: 0;
  color: var(--pj-navy);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.page-wrap { padding-top: 56px; padding-bottom: 82px; }
.entry-content > * { max-width: 820px; }
.entry-content > .pj-wide,
.entry-content > .pj-grid-2,
.entry-content > .pj-spotlight,
.entry-content > .pj-legal-layout { max-width: 100%; }
.pj-legal-layout > * { max-width: 100%; }
.entry-content p,
.entry-content li { color: #344b59; }
.entry-content h3 { margin-top: 1.7em; color: var(--pj-navy); font-size: 23px; }
.pj-page-lead { margin-bottom: 34px; }
.pj-content-section { margin-top: 60px; }
.pj-content-section h2 { font-size: 34px; }
.pj-content-section p { max-width: 800px; }

.pj-spotlight {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: center;
  margin: 30px 0 42px;
  padding: 28px;
  background: linear-gradient(135deg, #f7fcfb 0%, #edf9f6 100%);
  border: 1px solid var(--pj-line);
  border-radius: 22px;
}
.pj-spotlight.contact-right { grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); margin-top: 30px; }
.pj-spotlight h2 { font-size: clamp(30px, 4vw, 45px); }
.pj-illustration-plain {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pj-illustration-plain img { width: auto; max-height: 430px; }
.pj-illustration-plain.contact img { max-height: 380px; }

.pj-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.pj-team-list li {
  padding: 14px 16px;
  background: var(--pj-mint);
  color: var(--pj-navy);
  border-radius: 12px;
  font-weight: 680;
}
.pj-team-list small { color: var(--pj-muted); font-weight: 500; }

.pj-contact-address { margin-bottom: 24px; color: #344b59; }
.pj-contact-data { display: grid; gap: 10px; margin: 0 0 24px; }
.pj-contact-data div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; }
.pj-contact-data dt { color: var(--pj-navy); font-weight: 750; }
.pj-contact-data dd { margin: 0; }
.pj-contact-data a { font-weight: 680; text-decoration: none; }
.pj-note {
  max-width: 100%;
  padding: 20px 22px;
  background: #f7fbfa;
  color: #3d535f;
  border-left: 4px solid var(--pj-teal-dark);
  border-radius: 0 14px 14px 0;
}

.legal-wrap { max-width: 1060px; }
.pj-legal-layout { max-width: 100%; }
.pj-legal-layout > * { max-width: 100%; }
.pj-legal-overview,
.pj-privacy-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--pj-mint) 0%, #f8fcfb 100%);
  border: 1px solid var(--pj-line);
  border-radius: var(--pj-radius);
}
.pj-legal-logo {
  width: 126px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(36,114,118,.12);
  border-radius: 20px;
}
.pj-legal-logo img { width: 104px; height: 104px; object-fit: contain; }
.pj-legal-overview h2,
.pj-privacy-summary h2 { margin: 0 0 8px; font-size: 34px; }
.pj-legal-overview p,
.pj-privacy-summary p { margin: 7px 0 0; }
.pj-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pj-legal-card,
.pj-legal-section {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 18px;
}
.pj-legal-card h2,
.pj-legal-section h2 { margin-top: 0; font-size: 27px; }
.pj-legal-card p:last-child,
.pj-legal-section p:last-child { margin-bottom: 0; }
.pj-legal-section { margin-top: 20px; }
.pj-legal-data { display: grid; gap: 9px; margin: 0; }
.pj-legal-data div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.pj-legal-data dt { color: var(--pj-navy); font-weight: 750; }
.pj-legal-data dd { margin: 0; }
.pj-text-link { font-weight: 700; }
.pj-privacy-summary { grid-template-columns: 1.4fr .6fr; align-items: start; }
.pj-privacy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pj-privacy-chips li {
  padding: 7px 10px;
  background: #fff;
  color: var(--pj-navy);
  border: 1px solid #cce2df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.pj-contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 22px;
  background: var(--pj-sand);
  border-radius: 14px;
}
.pj-contact-panel p { margin: 0; }

.site-footer {
  background: linear-gradient(180deg, var(--pj-mint) 0%, var(--pj-mint-2) 100%);
  color: var(--pj-ink);
  border-top: 1px solid var(--pj-line);
}
.site-footer-inner { padding-top: 52px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 42px; }
.footer-wordmark { display: inline-block; margin-bottom: 14px; }
.footer-wordmark img { width: 280px; height: auto; display: block; }
.site-footer h2,
.site-footer h3 { color: var(--pj-navy); }
.site-footer h2 { margin: 0 0 10px; font-size: 20px; }
.site-footer h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; color: var(--pj-muted); font-size: 14px; }
.site-footer a { color: var(--pj-navy); text-decoration: none; }
.site-footer a:hover { color: var(--pj-teal-dark); text-decoration: underline; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  color: #49606f;
  border-top: 1px solid #c9dfdc;
  font-size: 13px;
}

.pj-mobile-call-button { display: none; }
.pj-post-card { margin-bottom: 18px; }
.pj-post-card h2 { font-size: 28px; }

@media (max-width: 920px) {
  .primary-nav { display: none; }
  .mobile-nav { display: block; }
  .pj-hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; }
  .pj-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pj-spotlight,
  .pj-spotlight.contact-right { grid-template-columns: 1fr; }
  .pj-illustration-plain { order: -1; min-height: auto; }
  .pj-illustration-plain img { max-height: 340px; }

  body.pj-has-mobile-call { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .pj-has-mobile-call .pj-mobile-call-button {
    position: fixed;
    z-index: 100;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--pj-navy) 0%, var(--pj-teal-dark) 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(23,62,92,.24);
    text-decoration: none;
    font-weight: 800;
  }
  .pj-has-mobile-call .pj-mobile-call-button:hover { color: #fff; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .admin-bar .site-header { top: 46px; }
  .header-inner { padding: 12px 16px; }
  .brand-mark { width: 43px; height: 43px; flex-basis: 43px; }
  .brand-subtitle { display: none; }
  .pj-shell,
  .page-wrap,
  .site-footer-inner { padding-left: 18px; padding-right: 18px; }
  .pj-hero-grid { padding: 54px 18px 58px; }
  .pj-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .pj-hero-card { padding: 24px; }
  .pj-meta-row { grid-template-columns: 70px 1fr; }
  .pj-section { padding: 60px 0; }
  .pj-grid-2 { grid-template-columns: 1fr; }
  .pj-team-list { grid-template-columns: 1fr; }
  .pj-hours-row,
  .pj-hours.is-compact .pj-hours-row { grid-template-columns: 1fr; gap: 3px; }
  .pj-page-hero { padding: 44px 0 36px; }
  .page-wrap { padding-top: 40px; padding-bottom: 60px; }
  .pj-spotlight { padding: 22px; }
  .pj-legal-overview,
  .pj-privacy-summary,
  .pj-contact-panel { grid-template-columns: 1fr; }
  .pj-legal-logo { width: 100px; height: 100px; }
  .pj-legal-logo img { width: 82px; height: 82px; }
  .pj-legal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .pj-button,
  .header-phone,
  .pj-mobile-call-button,
  .mobile-nav summary { border: 1px solid ButtonText; }
}

/* Häufige Fragen – nativer WordPress-Akkordeonblock, ohne Zusatz-Plugin. */
.pj-faq-page .entry-content > * { max-width: 920px; }
.pj-faq-intro {
  margin-bottom: 28px;
  color: var(--pj-muted);
  font-size: 20px;
}
.pj-faq-alert {
  max-width: 920px;
  margin: 0 0 44px;
  padding: 24px 26px;
  background: #fff8e8;
  color: #3d4c56;
  border: 1px solid #e3d2a8;
  border-left: 5px solid #a66a00;
  border-radius: 16px;
}
.pj-faq-alert h2 {
  margin: 0 0 8px;
  color: var(--pj-navy);
  font-size: 24px;
}
.pj-faq-alert p:last-child { margin-bottom: 0; }
.pj-faq-section-title {
  margin-top: 48px !important;
  margin-bottom: 16px !important;
  font-size: 29px !important;
}
.pj-faq-accordion {
  display: grid;
  gap: 12px;
  max-width: 920px !important;
  margin-top: 0;
}
.pj-faq-page .wp-block-accordion-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(23, 62, 92, .045);
}
.pj-faq-page .wp-block-accordion-heading {
  margin: 0;
  color: var(--pj-navy);
  font-size: 19px;
  line-height: 1.35;
}
.pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle,
.pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:hover,
.pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:focus {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px !important;
  background: transparent !important;
  color: var(--pj-navy) !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:hover {
  background: var(--pj-mint) !important;
}
.pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--pj-teal-dark);
  outline-offset: -3px;
}
.pj-faq-page .wp-block-accordion-heading__toggle-title { flex: 1 1 auto; }
.pj-faq-page .wp-block-accordion-heading__toggle-icon {
  flex: 0 0 auto;
  color: var(--pj-teal-dark);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease;
}
.pj-faq-page .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
  transform: rotate(45deg);
}
.pj-faq-page .wp-block-accordion-panel {
  padding: 18px 20px 20px;
  color: #344b59;
  border-top: 1px solid var(--pj-line);
}
.pj-faq-page .wp-block-accordion-panel > :first-child { margin-top: 0; }
.pj-faq-page .wp-block-accordion-panel > :last-child { margin-bottom: 0; }
.pj-faq-page .wp-block-accordion-panel ul { margin-bottom: 0; }
.pj-faq-closing {
  max-width: 920px;
  margin-top: 44px;
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--pj-mint) 0%, #f8fcfb 100%);
  border: 1px solid var(--pj-line);
  border-radius: 16px;
}
.pj-faq-closing h2 { margin: 0 0 8px; font-size: 25px; }
.pj-faq-closing p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .pj-faq-intro { font-size: 18px; }
  .pj-faq-alert,
  .pj-faq-closing { padding: 20px; }
  .pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle,
  .pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:hover,
  .pj-faq-page .wp-block-accordion-heading .wp-block-accordion-heading__toggle:focus {
    padding: 15px 16px !important;
  }
  .pj-faq-page .wp-block-accordion-panel { padding: 16px; }
}



/* Untersuchungs-FAQ: dezente, rein dekorative Piktogramme. */
.pj-faq-section-intro { max-width: 820px; margin: -4px 0 18px; color: var(--pj-muted); }
.pj-exam-accordion .wp-block-accordion-heading__toggle-title { display: flex; align-items: center; gap: 12px; }
.pj-exam-accordion .wp-block-accordion-heading__toggle-title::before { content: ''; flex: 0 0 28px; width: 28px; height: 28px; background-repeat: no-repeat; background-position: center; background-size: 25px 25px; }
.pj-exam-eeg .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l2-7 4 14 2-7h8'/%3E%3C/svg%3E"); }
.pj-exam-eng .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='19' cy='7' r='2'/%3E%3Ccircle cx='19' cy='17' r='2'/%3E%3Cpath d='M7 12h4l3-5h3M11 12l3 5h3'/%3E%3C/svg%3E"); }
.pj-exam-emg .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20 15 9M13 7l4 4M16 6l2-2 2 2-2 2'/%3E%3Cpath d='M4 8c3-3 6-3 9 0M8 16c3 3 6 3 9 0'/%3E%3C/svg%3E"); }
.pj-exam-vep .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-5 9.5-5 9.5 5 9.5 5-3.5 5-9.5 5-9.5-5-9.5-5Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }
.pj-exam-sep .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h4l2-5 3 8 2-5h7'/%3E%3Cpath d='M4 6h4M16 6h4'/%3E%3C/svg%3E"); }
.pj-exam-aep .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 17.5c-1.2 2-2.4 3-4.2 3-2.7 0-4.3-2-4.3-5.2V10a5 5 0 0 1 10 0c0 3.8-3.6 3.9-3.6 6.3'/%3E%3Cpath d='M10 10a2.5 2.5 0 0 1 5 0c0 2.2-2.2 2.4-2.2 4.2'/%3E%3C/svg%3E"); }
.pj-exam-ultrasound .wp-block-accordion-heading__toggle-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247276' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h5v8H4zM6.5 13v6M4.5 19h4'/%3E%3Cpath d='M12 8c2 1 3 2.3 3 4s-1 3-3 4M15 5c3.5 1.7 5 4 5 7s-1.5 5.3-5 7'/%3E%3C/svg%3E"); }
@media (max-width: 520px) { .pj-exam-accordion .wp-block-accordion-heading__toggle-title { align-items: flex-start; } .pj-exam-accordion .wp-block-accordion-heading__toggle-title::before { flex-basis: 24px; width: 24px; height: 24px; background-size: 22px 22px; margin-top: 1px; } }


.pj-legal-link-list {
  margin: 18px 0 0;
  padding-left: 1.2em;
}
.pj-legal-link-list li + li {
  margin-top: 8px;
}

/* Version 11: verfeinerte Darstellung der Rechtstexte. */
.pj-legal-data-wide div {
  grid-template-columns: minmax(170px, .9fr) minmax(0, 1.1fr);
}
.pj-legal-card-wide {
  grid-column: 1 / -1;
}
.pj-legal-section address,
.pj-legal-overview address {
  color: #344b59;
}
@media (max-width: 700px) {
  .pj-legal-data-wide div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
