/* ==========================================================================
   Pflegedienst Gabi Jakobs GmbH – öffentliche Website
   Mobile first · warm, ruhig, gut lesbar (Zielgruppe auch 60+)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pj-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pj-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --pj-cream: #fbf8f3;
  --pj-paper: #ffffff;
  --pj-sand: #f1e9dc;
  --pj-line: #e6ded1;
  --pj-line-2: #d9cfbf;
  --pj-ink: #12262c;
  --pj-ink-2: #33474d;
  --pj-muted: #4f6166;
  --pj-teal: #0b7a78;
  --pj-teal-hover: #095f5d;
  --pj-accent: var(--primary, #1db5b2);
  --pj-mint: #e3f3f2;
  --pj-petrol: #0f4c5c;
  --pj-petrol-deep: #0c2f37;
  --pj-on-dark: #c9dcdf;
  --pj-radius: 20px;
  --pj-radius-lg: 32px;
  --pj-shadow: 0 1px 2px rgba(18, 38, 44, .06), 0 8px 24px rgba(18, 38, 44, .06);
  --pj-shadow-lg: 0 20px 48px rgba(18, 38, 44, .16);
  --pj-header-h: 76px;
  --pj-gutter: 16px;
}
@media (min-width: 768px) { :root { --pj-gutter: 24px; --pj-header-h: 88px; } }

/* ---------- Basis -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--pj-header-h) + 16px); }
body.pj {
  margin: 0;
  font-family: var(--pj-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--pj-ink);
  background: var(--pj-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body.pj { font-size: 18px; } }
.pj img { max-width: 100%; height: auto; display: block; }
.pj a { color: var(--pj-teal); text-underline-offset: 3px; }
.pj a:hover { color: var(--pj-teal-hover); }
.pj :focus-visible { outline: 3px solid var(--pj-accent); outline-offset: 3px; border-radius: 6px; }
.pj h1, .pj h2, .pj h3, .pj h4 { margin: 0; line-height: 1.2; color: inherit; }
.pj p { margin: 0; }
.pj ul, .pj ol { margin: 0; }
.pj-serif, .pj h1, .pj .pj-h2 { font-family: var(--pj-serif); font-weight: 600; letter-spacing: -.015em; font-optical-sizing: auto; }
.pj .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pj .hidden { display: none !important; }
.pj .text-block { white-space: pre-line; }
.pj-skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--pj-teal); color: #fff !important; padding: 12px 18px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.pj-skip:focus { top: 12px; }
.pj-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 var(--pj-gutter); }
.pj-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.pj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1.2 var(--pj-font); text-decoration: none !important; cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .15s; text-align: center;
}
.pj-btn:active { transform: translateY(1px); }
.pj-btn--primary { background: var(--pj-teal); color: #fff !important; }
.pj-btn--primary:hover { background: var(--pj-teal-hover); }
.pj-btn--light { background: var(--pj-paper); color: var(--pj-ink) !important; box-shadow: inset 0 0 0 1px #e2d9cb; }
.pj-btn--light:hover { background: #f6f1e8; }
.pj-btn--onDark { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.pj-btn--onDark:hover { background: rgba(255, 255, 255, .18); }
.pj-btn--block { width: 100%; }
.pj-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.pj-link-more { font-weight: 600; color: var(--pj-teal); text-decoration: none; }

/* ---------- Kopfbereich -------------------------------------------------- */
.pj-topbar { background: var(--pj-petrol); color: #d6e8ea; font-size: 14px; }
.pj-topbar .pj-wrap { min-height: 40px; display: flex; align-items: center; gap: 20px; }
.pj-topbar span { flex: 1 1 auto; }
.pj-topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.pj-topbar a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) { .pj-topbar { display: none; } }

.pj-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #ece4d7; transition: transform .25s ease; }
.pj-header .pj-wrap { height: var(--pj-header-h); display: flex; align-items: center; gap: 24px; }
.pj-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--pj-ink) !important; min-width: 0; }
.pj-brand .logo { height: 48px; width: auto; flex-shrink: 0; }
@media (min-width: 768px) { .pj-brand .logo { height: 58px; } }
.pj-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pj-brand-text strong { font-size: 15px; }
.pj-brand-text small { font-size: 12px; color: var(--pj-muted); }
@media (min-width: 768px) { .pj-brand-text strong { font-size: 17px; } .pj-brand-text small { font-size: 13px; } }
.pj-nav { display: none; }
.pj-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pj-call { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--pj-ink) !important; }
.pj-call-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--pj-teal); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.pj-call-text { display: none; flex-direction: column; line-height: 1.2; }
.pj-call-text small { font-size: 12px; color: var(--pj-muted); }
.pj-call-text strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.pj-menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e2d9cb; background: #fff; color: var(--pj-ink); display: grid; place-items: center; cursor: pointer; }
.pj-login { font-size: 14px; font-weight: 600; color: var(--pj-muted) !important; text-decoration: none; padding: 8px 4px; }
.pj-login:hover { color: var(--pj-ink) !important; }
@media (min-width: 1100px) {
  .pj-nav { display: flex; gap: 28px; flex: 1 1 auto; justify-content: center; }
  .pj-nav a { color: var(--pj-ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; border-bottom: 2px solid transparent; }
  .pj-nav a:hover { color: var(--pj-teal); }
  .pj-nav a[aria-current="page"] { border-bottom-color: var(--pj-accent); }
  .pj-header-actions { margin-left: 0; }
  .pj-menu-btn { display: none; }
  .pj-call-icon { background: var(--pj-mint); color: var(--pj-teal); }
  .pj-call-text { display: flex; }
}
@media (max-width: 1099px) { .pj-login { display: none; } }

/* Mobiles Menü */
.pj-drawer { position: fixed; inset: 0; z-index: 80; background: var(--pj-cream); display: flex; flex-direction: column; padding: 0 var(--pj-gutter) 24px; overflow-y: auto; }
.pj-drawer[hidden] { display: none; }
.pj-drawer-head { height: var(--pj-header-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.pj-drawer nav { display: flex; flex-direction: column; margin-top: 8px; }
.pj-drawer nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid #ece4d7; color: var(--pj-ink); text-decoration: none; font-size: 20px; font-weight: 600; }
.pj-drawer nav a[aria-current="page"] { color: var(--pj-teal); }
.pj-drawer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
body.pj-menu-open { overflow: hidden; }

/* ---------- Abschnitte --------------------------------------------------- */
.pj-section { padding: 56px 0; }
@media (min-width: 768px) { .pj-section { padding: 96px 0; } }
.pj-section--white { background: var(--pj-paper); }
.pj-section--petrol { background: var(--pj-petrol); color: #fff; }
.pj-section--tight { padding-top: 0; }
.pj-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pj-teal); }
@media (min-width: 768px) { .pj-eyebrow { font-size: 13px; } }
.pj-section--petrol .pj-eyebrow { color: #7fe0dc; }
.pj-h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; }
.pj-lead { font-size: 18px; line-height: 1.65; color: var(--pj-muted); }
@media (min-width: 768px) { .pj-lead { font-size: 19px; } }
.pj-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
@media (min-width: 900px) {
  .pj-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
  .pj-head--split > div { max-width: 640px; }
  .pj-head--split > p { max-width: 440px; }
}
.pj-head--center { align-items: center; text-align: center; }

/* ---------- Hero Startseite --------------------------------------------- */
.pj-hero { padding: 28px 0 56px; }
@media (min-width: 768px) { .pj-hero { padding: 64px 0 96px; } }
.pj-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .pj-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }
.pj-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.pj-hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; }
.pj-hero-sub { font-size: 18px; line-height: 1.6; color: var(--pj-muted); max-width: 560px; }
@media (min-width: 768px) { .pj-hero-sub { font-size: 20px; } }
.pj-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .pj-actions { flex-direction: row; flex-wrap: wrap; } }
.pj-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--pj-ink-2); }
@media (min-width: 560px) { .pj-checks { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; } }
.pj-checks li { display: flex; align-items: center; gap: 8px; }
.pj-checks svg { color: var(--pj-teal); }
.pj-hero-media { position: relative; }
.pj-hero-media > img { width: 100%; height: 300px; object-fit: cover; object-position: 78% 40%; border-radius: 24px 24px 24px 72px; }
@media (min-width: 768px) { .pj-hero-media > img { height: 520px; border-radius: 32px 32px 32px 120px; } }
.pj-quote { margin: 16px 0 0; background: #fff; border-radius: 18px; padding: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--pj-shadow); }
.pj-quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.pj-quote blockquote { margin: 0; font-family: var(--pj-serif); font-size: 17px; line-height: 1.35; font-weight: 600; }
.pj-quote figcaption { font-size: 13px; color: var(--pj-muted); margin-top: 4px; }
@media (min-width: 1000px) {
  .pj-quote { position: absolute; left: -48px; bottom: 36px; width: 340px; margin: 0; padding: 20px; box-shadow: var(--pj-shadow-lg); }
  .pj-quote img { width: 64px; height: 64px; }
}

/* Seitenkopf für Unterseiten */
.pj-pagehero { padding: 40px 0 32px; }
@media (min-width: 768px) { .pj-pagehero { padding: 72px 0 48px; } }
.pj-pagehero .pj-wrap { display: flex; flex-direction: column; gap: 16px; }
.pj-pagehero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; max-width: 900px; }
.pj-pagehero .pj-hero-sub { max-width: 720px; }
.pj-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--pj-muted); flex-wrap: wrap; }
.pj-crumbs a { color: var(--pj-muted); }

/* ---------- Leistungen --------------------------------------------------- */
.pj-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .pj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .pj-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.pj-svc { background: #fff; border-radius: var(--pj-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--pj-shadow); transition: box-shadow .2s, transform .2s; position: relative; }
.pj-svc:hover { box-shadow: 0 2px 4px rgba(18,38,44,.08), 0 16px 40px rgba(18,38,44,.10); transform: translateY(-2px); }
.pj-svc img.service-cover { width: 100%; height: 190px; object-fit: cover; }
.pj-svc-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.pj-svc h3 { font-size: 20px; line-height: 1.3; }
.pj-svc .service-summary { font-size: 15px; line-height: 1.6; color: var(--pj-muted); flex: 1 1 auto; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; align-self: stretch; max-height: calc(1.6em * 4); }
.pj-svc:not(:has(img.service-cover))::before { content: ""; display: block; height: 8px; background: linear-gradient(90deg, var(--pj-teal), var(--pj-petrol)); }
.pj-svc .service-icon { display: none; }
.pj-svc .service-card-open { align-self: flex-start; background: none; border: 0; padding: 8px 0; font: 600 15px var(--pj-font); color: var(--pj-teal); cursor: pointer; }
.pj-svc .service-card-open::after { content: ""; position: absolute; inset: 0; }
.pj-svc .service-card-open:hover { text-decoration: underline; }
.service-card-add { min-height: 200px; border: 2px dashed var(--pj-line-2); border-radius: var(--pj-radius); background: transparent; font-size: 40px; color: var(--pj-muted); cursor: pointer; }

/* ---------- Zweispaltig (Bild + Text) ------------------------------------ */
.pj-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pj-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .pj-split--reverse > :first-child { order: 2; } }
.pj-split-media img { width: 100%; height: 240px; object-fit: cover; border-radius: 24px; }
@media (min-width: 768px) { .pj-split-media img { height: 440px; border-radius: var(--pj-radius-lg); } }
.pj-split-copy { display: flex; flex-direction: column; gap: 18px; }
.pj-split-copy h2 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.pj-split-copy .text-block { color: var(--pj-muted); line-height: 1.7; }
.homepage-page-image-placeholder { height: 240px; border-radius: 24px; border: 2px dashed var(--pj-line-2); display: grid; place-items: center; color: var(--pj-muted); }

/* ---------- Ablauf ------------------------------------------------------- */
.pj-steps { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .pj-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pj-steps li { background: rgba(255, 255, 255, .07); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .pj-steps li { padding: 32px; } }
.pj-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--pj-accent); color: #06201f; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.pj-steps h3 { font-size: 20px; font-family: var(--pj-font); }
.pj-steps p { color: var(--pj-on-dark); font-size: 16px; line-height: 1.6; }

/* ---------- Kennzahlen --------------------------------------------------- */
.pj-trust { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pj-trust article { background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 4px; }
.pj-trust strong { font-family: var(--pj-serif); font-size: 34px; line-height: 1.1; color: var(--pj-teal); }
.pj-trust span { font-size: 15px; color: var(--pj-muted); }
.trust-card-add { border: 2px dashed var(--pj-line-2); border-radius: 18px; background: transparent; font-size: 32px; color: var(--pj-muted); cursor: pointer; min-height: 100px; }

/* ---------- Team --------------------------------------------------------- */
.pj-team { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pj-team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .pj-team--page { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pj-person { display: flex; flex-direction: column; gap: 12px; }
.pj-person-media img, .pj-person-media .team-avatar-fallback { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 18px; }
.pj-person-media .team-avatar-fallback { background: var(--pj-sand); display: grid; place-items: center; font-family: var(--pj-serif); font-size: 56px; color: var(--pj-muted); }
.pj-person h3, .pj-person strong { font-size: 18px; font-weight: 700; font-family: var(--pj-font); display: block; }
.pj-person p { font-size: 14px; color: var(--pj-muted); line-height: 1.5; margin-top: 2px; }
@media (min-width: 768px) { .pj-person h3, .pj-person strong { font-size: 20px; } .pj-person p { font-size: 15px; } }

/* ---------- News --------------------------------------------------------- */
.pj-news { display: grid; gap: 16px; }
@media (min-width: 900px) { .pj-news { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.pj-news article { background: #fff; border-radius: var(--pj-radius); padding: 24px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 10px; }
.pj-news time { font-size: 13px; font-weight: 600; color: var(--pj-teal); letter-spacing: .04em; }
.pj-news h3 { font-size: 20px; font-family: var(--pj-font); }
.pj-news p { color: var(--pj-muted); font-size: 16px; white-space: pre-line; }
.pj-empty { background: #fff; border-radius: var(--pj-radius); padding: 32px; text-align: center; color: var(--pj-muted); box-shadow: var(--pj-shadow); }

/* ---------- Karriere / Stellen ------------------------------------------ */
.pj-career { background: var(--pj-sand); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .pj-career { border-radius: var(--pj-radius-lg); padding: 56px; flex-direction: row; align-items: center; gap: 48px; } .pj-career > div { flex: 1 1 auto; } }
.pj-career h2 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(24px, 3vw, 38px); line-height: 1.15; }
.pj-career p { color: var(--pj-muted); margin-top: 10px; }
.pj-career .pj-btn { white-space: nowrap; align-self: flex-start; }
@media (min-width: 900px) { .pj-career .pj-btn { align-self: center; } }
.pj-jobs { display: grid; gap: 16px; }
@media (min-width: 900px) { .pj-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.pj-job { background: #fff; border-radius: var(--pj-radius); padding: 24px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 12px; position: relative; }
.pj-job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pj-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--pj-mint); color: var(--pj-teal); font-size: 13px; font-weight: 600; }
.pj-tag--sand { background: var(--pj-sand); color: var(--pj-ink-2); }
.pj-job h3 { font-size: 22px; font-family: var(--pj-font); }
.pj-job .job-meta { color: var(--pj-muted); font-size: 15px; }
.pj-job .job-summary { color: var(--pj-muted); font-size: 16px; }
.pj-job .job-card-open { align-self: flex-start; }
.pj-job .job-card-open::after { content: ""; position: absolute; inset: 0; }

/* ---------- Kontakt ------------------------------------------------------ */
.pj-contact { display: grid; gap: 32px; }
@media (min-width: 1000px) { .pj-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; } }
.pj-contact-info { display: flex; flex-direction: column; gap: 20px; }
.pj-contact-tiles { display: grid; gap: 14px; }
@media (min-width: 560px) { .pj-contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pj-contact-tiles .pj-tile--wide { grid-column: 1 / -1; } }
.pj-tile { padding: 18px 20px; border-radius: 18px; background: var(--pj-cream); display: flex; flex-direction: column; gap: 4px; text-decoration: none !important; color: var(--pj-ink) !important; min-width: 0; }
.pj-tile small { font-size: 13px; color: var(--pj-muted); }
.pj-tile strong, .pj-tile address { font-style: normal; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.pj-tile--phone { flex-direction: row; align-items: center; gap: 16px; background: var(--pj-mint); }
.pj-tile--phone > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pj-tile--phone strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.pj-tile--phone .pj-call-icon { width: 48px; height: 48px; }
.pj-form { background: var(--pj-cream); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .pj-form { padding: 40px; border-radius: 28px; } }
.pj-section--white .pj-form { background: var(--pj-cream); }
.pj-form h3 { font-size: 22px; font-family: var(--pj-font); }
.pj-form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .pj-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pj-field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.pj-field input, .pj-field textarea, .pj-field select {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--pj-line-2); border-radius: 14px; background: #fff;
  font: 17px/1.4 var(--pj-font); color: var(--pj-ink); transition: border-color .15s, box-shadow .15s;
}
.pj-field textarea { min-height: 130px; resize: vertical; }
.pj-field input:focus, .pj-field textarea:focus { outline: none; border-color: var(--pj-teal); box-shadow: 0 0 0 3px rgba(29, 181, 178, .25); }
.pj-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--pj-ink-2); cursor: pointer; }
.pj-check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--pj-teal); flex-shrink: 0; }
.pj-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rechtliches / Fließtext ------------------------------------- */
.pj-prose { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.pj-prose h2 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); }
.pj-prose h3 { font-size: 20px; font-family: var(--pj-font); }
.pj-prose .text-block { color: var(--pj-ink-2); line-height: 1.75; }
.pj-legal { display: grid; gap: 16px; }
@media (min-width: 768px) { .pj-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.pj-legal article { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 8px; }
.pj-legal article h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-teal); font-family: var(--pj-font); }
.pj-legal address, .pj-legal .impressum-value { font-style: normal; font-weight: 600; white-space: pre-line; }
.pj-legal p { font-size: 16px; color: var(--pj-ink-2); }
.pj-legal--notes { grid-template-columns: minmax(0, 1fr); }

/* Über uns */
.pj-about { display: grid; gap: 24px; }
@media (min-width: 1000px) { .pj-about { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; } }
.pj-about-text { background: #fff; border-radius: var(--pj-radius-lg, 28px); padding: 24px; box-shadow: var(--pj-shadow); }
@media (min-width: 768px) { .pj-about-text { padding: 48px 56px; } }
.pj-about-intro { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; color: var(--pj-petrol); margin-bottom: 8px; }
.pj-about-text .about-body-heading { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; margin: 36px 0 12px; }
.pj-about-text .about-body-paragraph { color: var(--pj-ink-2); font-size: 17px; line-height: 1.75; margin-top: 16px; max-width: 68ch; }
@media (min-width: 1000px) { .pj-about-side { position: sticky; top: 110px; align-self: start; } }
.pj-about-side { display: flex; flex-direction: column; gap: 16px; }
.pj-about-side div { background: var(--pj-sand); border-radius: var(--pj-radius); padding: 22px; }
.pj-about-side h3 { font-size: 18px; font-family: var(--pj-font); margin-bottom: 6px; }
.pj-about-side p { color: var(--pj-ink-2); font-size: 16px; }

/* ---------- Footer ------------------------------------------------------- */
.pj-footer { background: var(--pj-petrol-deep); color: var(--pj-on-dark); padding: 48px 0 28px; font-size: 15px; }
@media (min-width: 768px) { .pj-footer { padding: 72px 0 32px; } }
.pj-footer a { color: var(--pj-on-dark); text-decoration: none; }
.pj-footer a:hover { color: #fff; text-decoration: underline; }
.pj-footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .pj-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.pj-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.pj-footer-brand img { height: 64px; width: auto; align-self: flex-start; }
.pj-footer strong, .pj-footer h2 { color: #fff; font-size: 16px; font-family: var(--pj-font); font-weight: 700; }
.pj-footer-col { display: flex; flex-direction: column; gap: 10px; }
.pj-footer-col dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pj-footer-col dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8fb0b6; }
.pj-footer-col dd { margin: 0; }
.pj-footer-col address { font-style: normal; }
.pj-footer-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #8fb0b6; }
@media (min-width: 900px) { .pj-footer-bottom { flex-direction: row; align-items: center; gap: 24px; } .pj-footer-bottom > :first-child { flex: 1 1 auto; } }
.pj-footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pj-credit strong { color: var(--pj-on-dark); font-weight: 600; }

/* ---------- Meldungen & Cookie-Hinweis ---------------------------------- */
.pj-flashes { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.pj-flash { padding: 14px 18px; border-radius: 14px; font-size: 16px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.pj-flash--success { background: #e5f5eb; color: #146c3c; }
.pj-flash--error { background: #fdecea; color: #a4271d; }
.pj-flash--info, .pj-flash--warning { background: #fdf1e1; color: #8a4108; }
.pj-cookie { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; background: #fff; color: var(--pj-ink); border-radius: 18px; padding: 16px 18px; box-shadow: var(--pj-shadow-lg); display: flex; gap: 14px; align-items: center; font-size: 15px; }
.pj-cookie[hidden] { display: none; }
.pj-cookie p { flex: 1 1 auto; line-height: 1.5; }
@media (min-width: 768px) { .pj-cookie { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Modale (Leistung, Stelle) ----------------------------------- */
body.modal-open { overflow: hidden; }
.service-modal, .job-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 768px) { .service-modal, .job-modal { align-items: center; padding: 24px; } }
.service-modal-backdrop, .job-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 22, 26, .6); }
.service-modal-dialog, .job-modal-dialog {
  position: relative; width: 100%; max-height: 92dvh; overflow-y: auto; background: #fff; color: var(--pj-ink);
  border-radius: 24px 24px 0 0; padding: 24px 20px 28px; box-shadow: var(--pj-shadow-lg); animation: pj-sheet .22s ease-out;
}
@media (min-width: 768px) { .service-modal-dialog, .job-modal-dialog { border-radius: 28px; padding: 36px; max-width: 760px; } .job-modal-dialog { max-width: 1080px; } }
@keyframes pj-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.service-modal-close, .job-modal-close { position: sticky; top: 0; float: right; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pj-line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--pj-ink); z-index: 2; }
.service-modal-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.service-modal-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; }
.service-modal-dialog h3, .job-modal-dialog h3 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 4px 0 10px; }
#service-modal-summary { color: var(--pj-muted); font-size: 17px; margin-bottom: 18px; white-space: pre-line; }
.service-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.service-details h4, .job-modal-section h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-teal); margin-bottom: 6px; }
.service-details ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
#service-modal-cta, .service-modal-dialog > a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--pj-teal); color: #fff !important; font-weight: 600; text-decoration: none; }
.job-modal-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .job-modal-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; } }
.job-status-pill { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--pj-mint); color: var(--pj-teal); font-size: 13px; font-weight: 600; }
.job-modal-teaser, #job-modal-meta { color: var(--pj-muted); }
.job-modal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.job-modal-fact { background: var(--pj-cream); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.job-modal-fact small { font-size: 12px; color: var(--pj-muted); }
.job-modal-sections { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.job-modal-section .text-block { color: var(--pj-ink-2); }
.job-form-card { background: var(--pj-cream); border-radius: 20px; padding: 22px; }
.job-form-card-head h4 { font-size: 20px; }
.job-form-card-head p { color: var(--pj-muted); font-size: 15px; margin: 4px 0 16px; }
.job-application-form .form-grid { display: flex; flex-direction: column; gap: 14px; }
.job-application-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.job-application-form input[type="text"], .job-application-form input[type="email"], .job-application-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--pj-line-2); border-radius: 12px; font: 16px var(--pj-font); background: #fff; }
.job-application-form textarea { min-height: 110px; }
.job-upload-grid { display: grid; gap: 12px; }
.upload-field-control { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 14px; border: 1px dashed var(--pj-line-2); border-radius: 12px; background: #fff; font-weight: 500; color: var(--pj-muted); }
.upload-field-control input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-field small { font-weight: 400; color: var(--pj-muted); font-size: 13px; }
.job-application-form .checkbox-row { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.job-application-form .checkbox-row input { width: 22px; height: 22px; accent-color: var(--pj-teal); flex-shrink: 0; }
.job-form-actions { margin-top: 16px; }
.job-form-actions .btn { width: 100%; min-height: 54px; border-radius: 999px; border: 0; background: var(--pj-teal); color: #fff; font: 600 16px var(--pj-font); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .pj-topbar, .pj-header, .pj-cookie, .pj-drawer, .service-modal, .job-modal { display: none !important; }
  body.pj { background: #fff; }
}

/* Fehlerseiten */
.pj-error { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.pj-error-logo img { height: 64px; width: auto; margin-bottom: 16px; }
.pj-error h1 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; }
.pj-error-text { color: var(--pj-ink-2); font-size: 18px; line-height: 1.6; }

/* Inhaltsseiten: Artikel + Seitenleiste */
.pj-article { display: grid; gap: 24px; }
@media (min-width: 1000px) { .pj-article { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } }
.pj-article-main { background: #fff; border-radius: var(--pj-radius-lg, 28px); box-shadow: var(--pj-shadow); overflow: hidden; }
.pj-article-img { display: block; width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.pj-article-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .pj-article-body { padding: 44px 56px 52px; } }
.pj-article-body > h2 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); }
.pj-richtext { color: var(--pj-ink-2); font-size: 17px; line-height: 1.75; max-width: 68ch; }
.pj-richtext > * + * { margin-top: 16px; }
.pj-richtext h3 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(21px, 2.3vw, 25px); line-height: 1.25; color: var(--pj-ink); margin-top: 32px; }
.pj-richtext h3:first-child { margin-top: 0; }
.pj-richtext ul { padding-left: 1.2em; display: grid; gap: 6px; }
.pj-richtext li::marker { color: var(--pj-teal); }
.pj-richtext a { color: var(--pj-teal); font-weight: 600; text-underline-offset: 3px; }
.pj-article-side { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .pj-article-side { position: sticky; top: 110px; } }
.pj-side-card { background: var(--pj-petrol); color: #fff; border-radius: var(--pj-radius-lg, 28px); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pj-side-card .pj-eyebrow { color: #7fe0dc; }
.pj-side-card h2 { font-family: var(--pj-serif); font-weight: 600; font-size: 24px; line-height: 1.25; color: #fff; }
.pj-side-phone { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); color: #fff !important; text-decoration: none !important; min-height: 44px; }
.pj-side-phone small { display: block; font-size: 13px; color: rgba(255,255,255,.7); }
.pj-side-phone strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.pj-side-phone .pj-call-icon { background: #fff; color: var(--pj-petrol); }
.pj-side-mail { color: #cdeeed !important; overflow-wrap: anywhere; font-size: 15px; }
.pj-side-card .pj-btn { align-self: stretch; justify-content: center; }
.pj-side-links { background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; }
.pj-side-links .pj-eyebrow { margin-bottom: 6px; }
.pj-side-links a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-top: 1px solid var(--pj-line); color: var(--pj-ink) !important; text-decoration: none !important; font-weight: 600; }
.pj-side-links a:first-of-type { border-top: 0; }
.pj-side-links a:hover { color: var(--pj-teal) !important; }
.pj-join-card { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 280px; padding: 24px; border-radius: 22px; border: 2px dashed #cfe3e1; background: linear-gradient(180deg, #f4fbfa, #e9f6f4); color: var(--pj-ink) !important; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.pj-join-card:hover { border-color: var(--pj-teal); transform: translateY(-2px); }
.pj-join-card strong { font-family: var(--pj-serif); font-weight: 600; font-size: 24px; line-height: 1.2; }
.pj-join-card span { color: var(--pj-ink-2); font-size: 15px; line-height: 1.55; }
.pj-join-card .pj-join-link { color: var(--pj-teal); font-weight: 700; }
@media (max-width: 599px) { .pj-join-card { min-height: 0; padding: 16px; justify-content: center; } .pj-join-card strong { font-size: 19px; } .pj-join-card span { font-size: 14px; } }

/* ---------- Leistungs-Detailfenster (neu) -------------------------------- */
.service-modal-backdrop { background: rgba(6, 22, 26, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.service-modal-dialog.sm { padding: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.sm-close {
  position: absolute; top: 12px; right: 12px; float: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--pj-ink); z-index: 3;
  box-shadow: 0 2px 10px rgba(6, 22, 26, .18); transition: transform .15s;
}
.sm-close:hover { transform: scale(1.06); }
.sm-close:focus-visible { outline: 3px solid var(--pj-teal); outline-offset: 2px; }
.sm-media { position: relative; flex-shrink: 0; background: var(--pj-sand); }
.sm-media .service-modal-gallery { display: block; margin: 0; }
.sm-media .service-modal-gallery img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.sm-thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.sm-thumbs:empty { display: none; }
.sm-thumbs button { width: 48px; height: 48px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.7); background: #fff; cursor: pointer; opacity: .75; }
.sm-thumbs button[aria-pressed="true"] { border-color: #fff; opacity: 1; box-shadow: 0 0 0 2px var(--pj-teal); }
.sm-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-no-image .sm-media { display: none; }
.sm-body { padding: 22px 20px 0; display: flex; flex-direction: column; }
.sm-eyebrow { margin-bottom: 6px; }
.service-modal-dialog.sm h3 { margin: 0 0 10px; padding-right: 8px; }
.sm #service-modal-summary { font-size: 17px; line-height: 1.6; color: var(--pj-ink-2); margin: 0 0 18px; }
.sm .service-details { gap: 18px; margin-bottom: 20px; }
.sm .service-details h4 { margin: 0 0 10px; }
.sm .service-detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sm .service-detail-list li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.55; color: var(--pj-ink); }
.sm .service-detail-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--pj-mint, #e2f4f3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7c7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.sm-hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--pj-cream, #fbf8f3); border: 1px solid var(--pj-line); color: var(--pj-ink-2); font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.sm-hint svg { flex-shrink: 0; color: var(--pj-teal); margin-top: 1px; }
.sm-actions {
  position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(255,255,255,.85), #fff 30%); border-top: 1px solid var(--pj-line);
}
.sm-actions .pj-btn { flex: 1 1 200px; justify-content: center; min-height: 52px; }
.sm-actions #service-modal-cta { border-radius: 999px; }
.sm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding-right: 52px; }
.sm-head .sm-eyebrow { margin: 0; }
@media (max-width: 899px) { .service-modal:not(.sm-no-image) .sm-head { padding-right: 0; } }
.sm-nav { display: flex; gap: 6px; flex-shrink: 0; }
.sm-nav button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--pj-line); background: #fff; color: var(--pj-teal); cursor: pointer; transition: background .15s, border-color .15s; }
.sm-nav button:hover { background: var(--pj-mint, #e2f4f3); border-color: var(--pj-teal); }
.sm-nav button:focus-visible { outline: 3px solid var(--pj-teal); outline-offset: 2px; }
.sm-nav button[hidden] { display: none; }
.sm-nav:not(:has(button:not([hidden]))) { display: none; }

@media (min-width: 900px) {
  .service-modal-dialog.sm { max-width: 1040px; flex-direction: row; overflow: hidden; max-height: min(720px, 90vh); border-radius: 28px; }
  .sm-media { width: 42%; }
  .sm-media .service-modal-gallery, .sm-media .service-modal-gallery img { height: 100%; }
  .sm-media .service-modal-gallery img { min-height: 100%; }
  .sm-body { flex: 1; min-width: 0; overflow-y: auto; padding: 40px 44px 0; }
  .sm-actions { margin: 0 -44px; padding: 16px 44px; }
  .sm-head { padding-right: 56px; }
  .sm-close { top: 16px; right: 16px; }
  .sm-no-image .sm-body { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .service-modal-dialog.sm { animation: none; } }

/* ==========================================================================
   Redesign 2026 – Schnellhilfe, Kosten, Rückruf, Fragen, größere Schrift
   ========================================================================== */
html.pj-large-text body.pj { font-size: 20px; }
@media (min-width: 768px) { html.pj-large-text body.pj { font-size: 21px; } }
html.pj-large-text .pj-svc .service-summary, html.pj-large-text .pj-qt-text, html.pj-large-text .pj-checks { font-size: 17px; }

.pj-textsize { margin-left: auto; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 700 14px/1 var(--pj-font); cursor: pointer; }
.pj-textsize[aria-pressed="true"] { background: #fff; color: var(--pj-petrol); }
.pj-topbar span:first-child { flex: 0 1 auto; }

.pj-header-cta { display: none; min-height: 46px; padding: 0 20px; white-space: nowrap; box-shadow: 0 8px 20px rgba(11, 122, 120, .22); }
@media (min-width: 900px) { .pj-header-cta { display: inline-flex; } }
.pj-footer-login { font-size: 14px; }

/* Hero */
.pj-capacity { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px; border-radius: 999px; background: #e3f5ec; color: #0b5e37; font-size: 15px; font-weight: 600; }
.pj-capacity-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); flex-shrink: 0; }
@media (min-width: 768px) {
  .pj-hero-media > img { height: 560px; border-radius: 240px 240px 32px 32px; object-position: 70% 40%; box-shadow: 0 30px 60px rgba(11, 47, 56, .16); }
}

/* Schnellhilfe-Kacheln */
.pj-quick { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 560px) { .pj-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pj-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; } }
.pj-qt { position: relative; background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(19, 40, 46, .05), 0 12px 32px rgba(19, 40, 46, .08); color: var(--pj-ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
a.pj-qt:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(19, 40, 46, .06), 0 18px 40px rgba(19, 40, 46, .12); }
.pj-qt strong { font-size: 19px; line-height: 1.3; }
.pj-qt-text { font-size: 15.5px; line-height: 1.5; color: var(--pj-muted); }
.pj-qt-phone { font-size: 20px; font-weight: 800; color: var(--pj-ink); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pj-qt-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pj-teal); font-size: 15.5px; }
.pj-qt-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.pj-qt-icon .pj-icon { width: 26px; height: 26px; }
.pj-qt-icon--teal { background: #e0f4f2; color: var(--pj-teal); }
.pj-qt-icon--apricot { background: #fdeee3; color: #b5400a; }
.pj-qt-icon--violet { background: #efe9fe; color: #5b34c2; }
.pj-qt-icon--blue { background: #e3eefc; color: #1d4fb8; }
.pj-qt--wide { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pj-qt--wide strong { flex: 1 1 auto; }
.pj-qt--wide .pj-plz { flex: 1 1 100%; }

/* PLZ-Check */
.pj-plz { display: flex; gap: 8px; }
.pj-plz input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--pj-line-2); border-radius: 12px; background: #fff; font: 500 17px var(--pj-font); color: var(--pj-ink); }
.pj-plz input:focus { outline: none; border-color: var(--pj-teal); box-shadow: 0 0 0 3px rgba(11, 122, 120, .2); }
.pj-plz-go { width: 48px; min-height: 48px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--pj-petrol-deep); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pj-plz-go:hover { background: var(--pj-teal); }

/* Kosten-Band */
.pj-btn--white { background: #fff; color: var(--pj-petrol-deep) !important; }
.pj-btn--white:hover { background: #eef8f6; }
.pj-costband { position: relative; overflow: hidden; border-radius: 28px; background: var(--pj-petrol-deep); color: #fff; padding: 28px 22px; display: grid; gap: 28px; align-items: center; }
.pj-costband::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(45, 212, 191, .12); }
@media (min-width: 960px) { .pj-costband { grid-template-columns: minmax(0, 1fr) 470px; padding: 56px; gap: 56px; border-radius: 32px; } }
.pj-costband-copy { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pj-costband .pj-eyebrow { color: #5eead4; }
.pj-costband p { color: #c5d9da; font-size: 18px; line-height: 1.6; }
.pj-grade { position: relative; background: #fff; color: var(--pj-ink); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--pj-shadow); }
.pj-grade-label { font-weight: 700; }
.pj-grade-buttons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pj-grade-buttons button { min-height: 52px; border: 0; border-radius: 12px; background: #f3efe8; color: var(--pj-ink-2); font: 800 19px var(--pj-font); cursor: pointer; }
.pj-grade-buttons button:hover { background: #ebe4d8; }
.pj-grade-buttons button[aria-checked="true"] { background: var(--pj-teal); color: #fff; box-shadow: 0 8px 20px rgba(11, 122, 120, .28); }
.pj-grade-result { border-radius: 16px; background: #eef8f6; padding: 18px 20px; color: #3d5a5c; font-size: 15px; display: block; }
.pj-grade-result > span:first-child { display: block; }
.pj-grade-result strong { font-family: var(--pj-serif); font-size: 44px; line-height: 1.1; color: #0b6b69; font-weight: 600; }
.pj-grade-unit { font-family: var(--pj-serif); font-size: 19px; font-weight: 600; }
.pj-grade-result small { display: block; margin-top: 4px; font-size: 14.5px; }
.pj-grade-note { font-size: 13px; color: #6b7b80; line-height: 1.5; }

/* Fragen */
.pj-section--sand { background: #f3ede3; }
.pj-faq-wrap { display: grid; gap: 24px; }
@media (min-width: 960px) { .pj-faq-wrap { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; } }
.pj-faq { border-bottom: 1px solid #e2d9cb; }
.pj-faq-item { border-top: 1px solid #e2d9cb; }
.pj-faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 19px; font-weight: 600; line-height: 1.4; }
.pj-faq-item summary::-webkit-details-marker { display: none; }
.pj-faq-item summary > span:first-child { flex: 1 1 auto; }
.pj-faq-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 1px solid #e0d7c9; display: grid; place-items: center; color: var(--pj-teal); transition: transform .2s; }
.pj-faq-item[open] .pj-faq-icon { transform: rotate(45deg); }
.pj-faq-answer { padding: 0 54px 22px 0; color: var(--pj-ink-2); line-height: 1.7; white-space: pre-line; }

/* Team auf der Startseite: runde Porträts */
.pj-team:not(.pj-team--page) .pj-person { align-items: center; text-align: center; }
.pj-team:not(.pj-team--page) .pj-person-media img,
.pj-team:not(.pj-team--page) .pj-person-media .team-avatar-fallback { width: min(180px, 38vw); height: min(180px, 38vw); aspect-ratio: 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 14px 34px rgba(19, 40, 46, .14); margin: 0 auto; }
.pj-team:not(.pj-team--page) .pj-person h3 { font-family: var(--pj-serif); font-weight: 600; font-size: 22px; }

/* Rückruf */
.pj-callback { background: #fff; box-shadow: var(--pj-shadow); }
.pj-slots { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pj-slots legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pj-slot { position: relative; }
.pj-slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pj-slot span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #f3efe8; font-weight: 600; font-size: 15px; color: var(--pj-ink-2); }
.pj-slot input:checked + span { background: var(--pj-teal); color: #fff; }
.pj-slot input:focus-visible + span { outline: 3px solid var(--pj-accent); outline-offset: 2px; }
.pj-form-note { font-size: 14px; color: var(--pj-muted); line-height: 1.5; }
.pj-callback-page { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .pj-callback-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
.pj-callback-info { display: flex; flex-direction: column; gap: 16px; }
.pj-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fdf1e1; color: #6b3a08; line-height: 1.5; }
.pj-notice--ok { background: #e3f5ec; color: #0b5e37; }
.pj-notice .pj-icon { margin-top: 2px; }

/* Kostenseite */
.pj-costpage { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .pj-costpage { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; } }
.pj-costcalc { display: flex; flex-direction: column; gap: 24px; }
.pj-table-wrap { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: var(--pj-shadow); }
.pj-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pj-table caption { text-align: left; padding: 18px 20px 6px; font-weight: 700; }
.pj-table th, .pj-table td { padding: 14px 20px; text-align: left; border-top: 1px solid #efe8dc; vertical-align: top; }
.pj-table thead th { border-top: 0; font-size: 14px; color: var(--pj-ink-2); }
.pj-table thead small { display: block; font-weight: 400; color: var(--pj-muted); font-size: 13px; }
.pj-table tbody th { font-family: var(--pj-serif); font-size: 22px; font-weight: 600; width: 72px; }
.pj-table td { font-variant-numeric: tabular-nums; font-weight: 600; }
.pj-table tr.is-active { background: #eef8f6; }
.pj-table tr.is-active th { color: var(--pj-teal); }
.pj-cost-notes { display: flex; flex-direction: column; gap: 10px; color: var(--pj-ink-2); line-height: 1.6; }
.pj-costaside { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 12px; }
.pj-costaside h2 { font-family: var(--pj-serif); font-weight: 600; font-size: 28px; }
.pj-costaside > p { color: var(--pj-muted); }
.pj-costaside .pj-callback { padding: 0; background: transparent; box-shadow: none; }
.pj-costaside .pj-callback h3 { display: none; }

/* Anruf-Leiste unten auf dem Handy */
.pj-callbar { display: none; }
@media (max-width: 767px) {
  .pj-callbar { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(11, 47, 56, .22); }
  .pj-callbar .pj-btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; }
  body.pj:not(.preview-mode) { padding-bottom: 92px; }
  .pj-cookie { bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.pj-menu-open .pj-callbar { display: none; }
}
@media print { .pj-callbar, .pj-textsize { display: none !important; } }
@media (min-width: 1100px) {
  .pj-nav { gap: 22px; }
  .pj-nav a { white-space: nowrap; }
  .pj-header .pj-call-text { display: none; }
}
@media (min-width: 1600px) { .pj-header .pj-call-text { display: flex; } }
@media (min-width: 768px) { .pj-hero-media > img { object-position: 50% 35%; } }

/* Leistungen: Kostenträger-Hinweis und eigene Leistungsseiten */
.pj-payer { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--pj-petrol-deep); font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(19, 40, 46, .12); max-width: calc(100% - 28px); }
.pj-payer .pj-icon { width: 16px; height: 16px; color: var(--pj-teal); }
.pj-svc:not(:has(img.service-cover)) .pj-payer { position: static; margin: 18px 22px 0; align-self: flex-start; }
.pj-payer--static { position: static; align-self: flex-start; background: #e0f4f2; color: #0b5e5c; box-shadow: none; }
.pj-svc .service-card-link { align-self: flex-start; padding: 8px 0; font-weight: 600; font-size: 15px; color: var(--pj-teal); text-decoration: none; }
.pj-svc .service-card-link::after { content: ""; position: absolute; inset: 0; }
.pj-svc .service-card-link:hover { text-decoration: underline; }
.pj-svc-hero-grid { display: grid !important; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .pj-svc-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; } }
.pj-svc-hero-copy { display: flex; flex-direction: column; gap: 16px; }
.pj-svc-hero-media img { width: 100%; height: 260px; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(11, 47, 56, .16); }
@media (min-width: 768px) { .pj-svc-hero-media img { height: 400px; border-radius: 32px; } }
.pj-svc-detail { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .pj-svc-detail { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } .pj-svc-aside { position: sticky; top: calc(var(--pj-header-h) + 20px); } }
.pj-svc-detail-main { display: flex; flex-direction: column; gap: 18px; }
.pj-h3 { font-family: var(--pj-serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin-top: 12px !important; }
.pj-svc-text { display: flex; flex-direction: column; gap: 12px; color: var(--pj-ink-2); line-height: 1.7; }
.pj-checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pj-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.pj-checklist .pj-icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #e0f4f2; color: var(--pj-teal); flex-shrink: 0; }
.pj-payer-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .pj-payer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pj-payer-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--pj-shadow); display: flex; flex-direction: column; gap: 8px; }
.pj-payer-card .pj-icon { width: 28px; height: 28px; color: var(--pj-teal); }
.pj-payer-card strong { font-size: 19px; }
.pj-payer-card p { color: var(--pj-muted); line-height: 1.55; font-size: 16px; }
.pj-related { display: grid; gap: 12px; }
@media (min-width: 640px) { .pj-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pj-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pj-related-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--pj-shadow); text-decoration: none !important; color: var(--pj-ink) !important; }
.pj-related-item:hover { box-shadow: 0 2px 4px rgba(19,40,46,.06), 0 14px 34px rgba(19,40,46,.12); }
.pj-related-item img, .pj-related-ph { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.pj-related-ph { display: grid; place-items: center; background: #fdeee3; color: #b5400a; }
.pj-related-item strong { display: block; font-size: 16.5px; line-height: 1.3; }
.pj-related-item small { color: var(--pj-teal); font-weight: 700; font-size: 14px; }
.pj-advisor { display: flex; gap: 14px; align-items: center; }
.pj-advisor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.pj-advisor strong { display: block; font-size: 18px; }
.pj-advisor small { color: var(--pj-muted); font-size: 14.5px; }

/* =====================================================================
   Barrierefreiheit (WCAG 2.2 AA) – Korrekturen Phase 6
   Fokusfarbe fest (nicht von der Primärfarbe abhängig), Feldrahmen ≥ 3:1,
   kleine Texte mindestens 14 px, Kontraste ≥ 4,5:1.
   ===================================================================== */
:root { --pj-focus: #0c2f37; --pj-field-line: #857a69; }
.pj-topbar, .pj-section--petrol, .pj-footer, .pj-side-card, .pj-costband, .pj-join-card, .pj-plz-go { --pj-focus: #ffffff; }
.pj :focus-visible { outline: 3px solid var(--pj-focus); outline-offset: 3px; }
.pj-nav a[aria-current="page"] { border-bottom-color: var(--pj-teal); }
.sm-close:focus-visible, .sm-nav button:focus-visible, .pj-slot input:focus-visible + span { outline-color: var(--pj-focus); }

/* Formularfelder deutlich als Felder erkennbar (4,2:1 auf weiß) */
.pj-field input, .pj-field textarea, .pj-field select, .pj-plz input,
.job-application-form input[type="text"], .job-application-form input[type="email"], .job-application-form textarea { border: 1.5px solid var(--pj-field-line); }
.upload-field-control { border: 1.5px dashed var(--pj-field-line); }
.pj-field input:focus, .pj-field textarea:focus, .pj-field select:focus, .pj-plz input:focus,
.job-application-form input:focus, .job-application-form textarea:focus { outline: 3px solid var(--pj-focus); outline-offset: 2px; border-color: var(--pj-focus); box-shadow: none; }
.pj-field input[type="checkbox"], .pj-check input[type="checkbox"] { accent-color: var(--pj-teal); }

/* Fehler am Feld */
.pj-field [aria-invalid="true"], .job-application-form [aria-invalid="true"] { border-color: #b42318; border-width: 2px; }
.pj-field-error { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; color: #b42318; font-size: 15px; font-weight: 600; }
.pj-error-summary { border: 2px solid #b42318; background: #fef3f2; color: #7a271a; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }
.pj-error-summary h2 { font-size: 17px; margin: 0 0 6px; font-family: var(--pj-font); color: #7a271a; }
.pj-error-summary ul { margin: 0; padding-left: 20px; }
.pj-error-summary a { color: #7a271a; font-weight: 600; }

/* Kontraste */
.pj-eyebrow { color: var(--pj-teal-hover); }
.pj-legal article h3, .service-details h4, .job-modal-section h4, .pj-news time { color: var(--pj-teal-hover); }
.pj-grade-note { color: var(--pj-muted); }

/* Kleine Texte: mindestens 14 px (Zielgruppe 60+) */
.pj-eyebrow { font-size: 14px; letter-spacing: .08em; }
.pj-brand-text small, .pj-call-text small, .pj-quote figcaption, .pj-tile small, .job-modal-fact small,
.upload-field small, .pj-side-phone small, .pj-table thead small, .pj-grade-note, .pj-footer-col dt { font-size: 14px; }
.pj-legal article h3, .service-details h4, .job-modal-section h4 { font-size: 14px; letter-spacing: .05em; }
.pj-tag, .job-status-pill, .pj-payer, .pj-news time { font-size: 14px; }
.pj-footer-col dt { letter-spacing: .05em; }
.pj-footer a { display: inline-block; min-height: 32px; padding: 4px 0; }

/* Cookie-Hinweis: im Quelltext am Anfang; darf beim Drucken und bei 200 % Zoom nicht stören */
@media (max-height: 420px) { .pj-cookie { position: static; margin: 12px; } }
@media (prefers-reduced-motion: reduce) { .pj *, .pj *::before, .pj *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Bildausschnitt des Startbilds (Einstellungen → Website) */
.pj-hero-media > img.pj-focus-right { object-position: 82% 35%; }
.pj-hero-media > img.pj-focus-center { object-position: 50% 35%; }
.pj-hero-media > img.pj-focus-left { object-position: 18% 35%; }
.pj-version { margin-top: 32px; color: var(--pj-muted); font-size: 14px; }
