/* =====================================================================
   Sub pages (Für wen, Preise) – same language as the start page:
   big centred type, real photos, little text, hairline rails, pills, black
   closing band. No icon tiles, no bullet lists, no visible skeleton boxes.
   ===================================================================== */

/* ---------- page hero ---------- */
.pg-hero {
  margin: 0 var(--rail); padding: clamp(72px, 10vw, 148px) var(--pad) clamp(56px, 7vw, 104px);
  text-align: center;
}
.pg-hero__kicker { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: var(--muted); }
.pg-hero__title {
  margin: 0 auto; max-width: 14em;
  font-size: clamp(40px, 6vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance;
}
.pg-hero__sub {
  margin: 26px auto 0; max-width: 34em;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--text-2); text-wrap: balance;
}
/* gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .pg-hero > * { animation: pg-in 700ms cubic-bezier(0.2, 0, 0, 1) both; }
  .pg-hero > :nth-child(2) { animation-delay: 80ms; }
  .pg-hero > :nth-child(3) { animation-delay: 160ms; }
  @keyframes pg-in { from { opacity: 0; transform: translateY(12px); } }
}

/* ---------- Für wen: one large row per role – real photo, big name, one sentence ---------- */
.pg-rows { margin: 0 var(--rail); border-top: 1px solid var(--border); }
.pg-row {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  gap: clamp(28px, 5vw, 88px); padding: clamp(48px, 6vw, 96px) var(--pad);
}
.pg-row + .pg-row { border-top: 1px solid var(--border); }
.pg-row__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #ece9e3; }
.pg-row__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-row__num { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-row__name { margin: 0; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.pg-row__desc { margin: 20px 0 26px; max-width: 28em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--text-2); }

/* quiet link with a left-to-right underline */
.pg-link { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-weight: 500; color: var(--text); }
.pg-link span { position: relative; }
.pg-link span::before, .pg-link span::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; }
.pg-link span::before { width: 100%; background: var(--border); }
.pg-link span::after { width: 0; background: var(--text); transition: width 200ms var(--ease); }
.pg-link:hover span::after, .pg-link:focus-visible span::after { width: 100%; }
.pg-link:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 3px; }

/* ---------- generic block ---------- */
.pg-block { margin: 0 var(--rail); padding: clamp(64px, 8vw, 120px) var(--pad); }
.pg-block + .pg-block { border-top: 1px solid var(--border); }
.pg-block__head { margin-bottom: clamp(28px, 3vw, 44px); }
.pg-block__title { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }

/* ---------- FAQ ---------- */
.pg-faq { border-top: 1px solid var(--border); }
.pg-faq__item { border-bottom: 1px solid var(--border); }
.pg-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 500;
}
.pg-faq__item summary::-webkit-details-marker { display: none; }
.pg-faq__item summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform 220ms var(--ease); }
.pg-faq__item[open] summary svg { transform: rotate(45deg); }
.pg-faq__item summary:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 4px; }
.pg-faq__item p { margin: 0 0 24px; max-width: 40em; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .pg-faq__item[open] p { animation: pg-in 320ms cubic-bezier(0.2, 0, 0, 1); }
}

/* ---------- closing band (dark, flows into the footer) ---------- */
.pg-cta {
  position: relative; z-index: 5; background: #121212; color: #f4f2ee; text-align: center;
  padding: clamp(80px, 9vw, 140px) var(--pad) clamp(72px, 8vw, 120px);
}
.pg-cta::before, .pg-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.09); }
.pg-cta::before { left: var(--rail); }
.pg-cta::after { right: var(--rail); }
.pg-cta__kicker { margin: 0 0 14px; font-size: 14px; color: #8f8d88; }
.pg-cta__title { margin: 0; font-size: clamp(32px, 4vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.pg-cta__btn { margin-top: 32px; height: 48px; padding: 0 24px; background: #f4f2ee; color: #121212; }
.pg-cta__btn:hover { background: #fff; }
.pg-cta__btn:active { transform: scale(0.985); }
.pg-cta__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tablet / phone ---------- */
@media (max-width: 900px) {
  .pg-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .pg-hero { text-align: left; padding-top: 56px; }
  .pg-hero__title, .pg-hero__sub { margin-left: 0; }
}

/* a block right after the hero needs no extra air on top */
.pg-hero + .pg-block, .pg-hero + .pg-block + * { padding-top: 0; }

/* draft banner on pages that are not final (remove the <p class="pg-draft"> once a page is done) */
.pg-draft {
  position: relative; z-index: 25; margin: 0;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  min-height: 40px; padding: 8px var(--pad);
  background: #d92d20; color: #fff; font-size: 14px; line-height: 1.35; text-align: center;
}
.pg-draft strong { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
