/* ═══════════════════════════════════════════════════════════════
   rombus.ch Redesign — Unterseiten
   Baut auf assets/style.css auf (Tokens + Komponenten wiederverwendet).
   Nur seitenübergreifende Zusatz-Layouts, keine Token-Overrides.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Page-Hero (kompakter Bild-Kopf, wie Startseiten-Hero) ───── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg,
    rgba(11,23,25,.95) 0%, rgba(11,23,25,.88) 30%,
    rgba(11,23,25,.62) 58%, rgba(11,23,25,.28) 82%, rgba(11,23,25,.1) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(52vh, 440px);
  padding-block: clamp(48px, 8vw, 84px);
}
.page-hero .crumbs { margin-bottom: 22px; }
.page-hero h1 {
  color: #fff; font-size: clamp(34px, 4.4vw, 58px);
  max-width: 20ch; margin: 0;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.82); margin-top: 20px; max-width: 60ch; }

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { color: var(--line); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero .crumbs { color: rgba(255,255,255,.55); }
.page-hero .crumbs a { color: rgba(255,255,255,.72); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { color: rgba(255,255,255,.3); }
.page-hero .crumbs [aria-current] { color: #fff; }

/* ─── Sektionen: getönte Variante gegen zu viel Weiss ────────── */
.section--tint { background: var(--brand-tint); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head .lead { margin-top: 16px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* Zwei-Spalten Text/Bild (wie Befund/Protokoll, wiederverwendbar) */
.split {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px); align-items: stretch;
}
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; min-height: 320px; }
.split__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius); filter: saturate(.85);
}
.split__body > * { min-width: 0; }

/* ─── Prose / Artikel ────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose > * { max-width: none; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(24px, 2.7vw, 33px); letter-spacing: -0.02em;
  margin-top: 1.9em; padding-top: 0.4em;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; margin-top: 1.6em; }
.prose p { font-size: 17px; line-height: 1.72; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-down); }
.prose ul, .prose ol { margin-top: 1.1em; padding: 0; list-style: none; }
.prose li { position: relative; padding: 8px 0 8px 32px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.prose li + li { border-top: 1px solid var(--line-soft); }
.prose ul li::before {
  content: ""; position: absolute; left: 3px; top: 15px;
  width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg);
}
.prose ol { counter-reset: n; }
.prose ol li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 8px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
}

/* Callout / Faktenbox */
.callout {
  margin: 1.6em 0; padding: 20px 24px;
  background: var(--brand-tint); border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.callout p { margin: 0; color: var(--ink); }
.callout p + p { margin-top: .6em; }
.callout__k {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}

/* ─── Vergleichstabelle (Gebäude- vs. techn. Reinigung) ──────── */
.ctable {
  width: 100%; border-collapse: collapse; margin: 1.6em 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.ctable th, .ctable td { text-align: left; padding: 14px 18px; vertical-align: top; font-size: 15.5px; }
.ctable thead th {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); background: var(--card);
}
.ctable thead th:last-child { color: var(--accent); background: var(--brand-tint); }
.ctable td { border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.ctable td:last-child { background: rgba(232,241,241,.5); color: var(--ink); }
.ctable tr:last-child td { border-bottom: 0; }
.ctable th:first-child, .ctable td:first-child { border-right: 1px solid var(--line); width: 42%; }

/* ─── FAQ (Accordion) ────────────────────────────────────────── */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 19px);
  letter-spacing: -0.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 14px; width: 14px; height: 14px; margin-top: 5px;
  background:
    linear-gradient(var(--accent),var(--accent)) center/14px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) center/2px 14px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 4px 22px; }
.faq-item__body p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }

/* ─── CTA-Band (dunkel, mit Button) ──────────────────────────── */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px 40px; flex-wrap: wrap;
  padding-block: clamp(40px, 5vw, 60px);
}
.cta-band__text { max-width: 60ch; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.cta-band p { color: rgba(255,255,255,.75); margin: 12px 0 0; }
.cta-band .btn--light { flex: 0 0 auto; }

/* ─── Ratgeber-Index (Artikel-Karten) ───────────────────────── */
.rat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.rat-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; text-decoration: none; color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rat-card:hover { border-color: var(--ink); box-shadow: 0 4px 20px rgba(16,27,33,.07); }
.rat-card__cat {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.rat-card__cat::before { content:""; width:7px; height:7px; background: var(--brand); transform: rotate(45deg); }
.rat-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 12px;
}
.rat-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 20px; flex: 1; }
.rat-card__more {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.rat-card:hover .rat-card__more span { translate: 4px 0; }
.rat-card__more span { transition: translate .2s ease; }

/* Artikel-Meta (Kategorie · Lesezeit) */
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: 13px; letter-spacing: 0.03em; color: rgba(255,255,255,.7);
  margin-top: 22px;
}
.article-meta .rh { width: 6px; height: 6px; background: var(--signal); transform: rotate(45deg); }

/* Artikel-Fussnavigation */
.article-foot {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}

/* ─── Über uns: Werte + Team ─────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.value h3 { font-size: 19px; margin-bottom: 10px; }
.value p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.value__n {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent);
  letter-spacing: 0.04em; display: block; margin-bottom: 14px;
}
.founder {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  gap: clamp(36px, 5vw, 64px); align-items: center;
}
.founder__photo {
  width: 100%; height: auto; aspect-ratio: 4/5; max-height: 560px; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius); filter: saturate(.92);
}
.jobs-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.jobs-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.jobs-list__role { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.jobs-list__type { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .split, .founder { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media { min-height: 260px; height: 300px; }
  .split__media img { position: static; height: 100%; }
  .values { grid-template-columns: 1fr; max-width: 460px; }
  .founder__photo { max-width: 420px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .ctable { display: block; overflow-x: auto; }
  .ctable table, .ctable tbody, .ctable tr { display: revert; }
  .article-foot { flex-direction: column; align-items: flex-start; }
}

/* ═══ Volle Grid-Breite: Artikel mit Sidebar ═══════════════════ */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 4vw, 64px); align-items: start;
}
.article-layout > * { min-width: 0; }
.article-layout .prose { max-width: none; }
.article-aside {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; gap: 16px;
}
.aside-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.aside-card .eyebrow { margin-bottom: 12px; }
.aside-card h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 10px; }
.aside-card > p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
.aside-card .btn { width: 100%; }
.aside-card--pikett { background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 3px; }
.aside-pikett__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #C6D2D9;
}
.aside-pikett__label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: pulse 2s ease-in-out infinite; }
.aside-pikett__tel {
  font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: #fff;
  text-decoration: none; font-variant-numeric: tabular-nums; margin-top: 8px; letter-spacing: 0.01em;
}
.aside-pikett__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.aside-pikett__name { font-size: 12px; letter-spacing: 0.05em; color: #8FA2AC; }
.article-aside > .link-arr { padding-left: 4px; }

/* ═══ Einsatzorte / Städteliste (Originalinhalt) ═══════════════ */
.locations {
  margin: 0; max-width: none;
  background: var(--brand-tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  font-size: 15.5px; line-height: 2.05; color: var(--ink-soft);
}
.locations__intro { margin: 0 0 16px; max-width: none; font-size: 16px; color: var(--ink); }
.locations .sep { color: var(--brand); padding: 0 5px; font-weight: 700; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-aside > .aside-card { flex: 1 1 260px; }
  .article-aside > .link-arr { flex-basis: 100%; }
}


