/* rechenstrich – Komponenten. Setzt tokens.css voraus (Farben, Abstände, Radien, Schatten, Schriften). */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-700);
  background: var(--surface-000);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.rs-container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--space-6)); margin: 0 auto; padding: 0 var(--space-6); }
.rs-section { padding: var(--space-16) 0; }
@media (min-width: 992px) { .rs-section { padding: var(--space-24) 0; } }
.rs-section--tinted { background: var(--surface-100); }
.rs-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rs-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Kopfzeile ---------- */
.rs-header { position: sticky; top: 0; z-index: 50; background: var(--surface-000); transition: box-shadow 200ms ease-out; }
.rs-header.is-scrolled { box-shadow: var(--shadow-header); }
.rs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); height: 64px; }
@media (min-width: 992px) { .rs-header__inner { height: var(--header-height); } }
.rs-logo { display: inline-flex; align-items: center; text-decoration: none; }
.rs-logo img { height: 24px; width: auto; }
.rs-nav__list { display: flex; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.rs-nav__link {
  position: relative; display: inline-block; padding: var(--space-2) 0;
  font-family: var(--font-display); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-900); text-decoration: none;
}
.rs-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--koralle-500);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms ease-out;
}
.rs-nav__link:hover::after, .rs-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.rs-header__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink-900); cursor: pointer; }
.rs-header__toggle .rs-icon { width: 24px; height: 24px; }
@media (max-width: 991.98px) {
  .rs-header__toggle { display: inline-flex; }
  .rs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface-000); box-shadow: var(--shadow-header); }
  .rs-nav.is-open { display: block; }
  .rs-nav__list { flex-direction: column; gap: 0; padding: var(--space-2) var(--space-6) var(--space-6); }
  .rs-nav__link { padding: var(--space-3) 0; }
}

/* ---------- Eyebrow & Abschnittstitel ---------- */
.rs-eyebrow {
  margin: 0; font-family: var(--font-text); font-size: 14px; line-height: 16px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--ink-600);
}
.rs-section-title { text-align: center; margin: 0 auto var(--space-8); }
.rs-section-title__title {
  margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-900);
}
.rs-section-title--rule .rs-section-title__title::after {
  content: ""; display: block; width: 32px; height: 2px; margin: var(--space-3) auto 0; background: var(--gold-400);
}
.rs-section-title--left { text-align: left; }
.rs-section-title--left .rs-section-title__title::after { margin-left: 0; }

/* ---------- Hero ---------- */
.rs-hero { position: relative; overflow: hidden; background: var(--surface-100); }
.rs-hero__inner {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center;
  padding: var(--space-16) var(--space-6);
}
@media (min-width: 992px) { .rs-hero__inner { padding: var(--space-24) var(--space-6); } }
.rs-hero__eyebrow { margin-bottom: var(--space-3); }
.rs-hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--ink-900);
  font-size: 40px; line-height: 44px; letter-spacing: -0.5px;
}
.rs-hero__subtitle {
  display: block; margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 700; color: var(--ink-500);
  font-size: 30px; line-height: 36px; letter-spacing: -0.5px;
}
@media (min-width: 576px) {
  .rs-hero__title { font-size: 64px; line-height: 68px; }
  .rs-hero__subtitle { font-size: 48px; line-height: 54px; }
}
.rs-hero__lead { margin: 0 auto var(--space-10); max-width: 480px; font-size: 18px; line-height: 28px; font-style: italic; color: var(--ink-700); }
.rs-hero__media { position: absolute; bottom: 0; width: 34%; max-width: 420px; pointer-events: none; display: none; }
.rs-hero__media img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-shot); }
.rs-hero__media--left { left: 0; transform: translate(-18%, 22%); }
.rs-hero__media--right { right: 0; transform: translate(18%, 30%); }
@media (min-width: 992px) { .rs-hero__media { display: block; } }
.rs-hero .rs-dots { position: relative; z-index: 1; justify-content: center; padding-bottom: var(--space-8); }

/* ---------- CTA-Link (Text mit Flankenlinien) ---------- */
.rs-cta-link {
  display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0;
  font-family: var(--font-display); font-size: 14px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-700); text-decoration: none; transition: color 200ms ease-out;
}
.rs-cta-link::before, .rs-cta-link::after { content: ""; width: 24px; height: 1px; background: var(--line-200); transition: width 200ms ease-out, background-color 200ms ease-out; }
.rs-cta-link:hover { color: var(--ink-900); }
.rs-cta-link:hover::before, .rs-cta-link:hover::after { width: 36px; background: var(--koralle-500); }
.rs-cta-link--plain::before { display: none; }
.rs-cta-link--plain::after { display: none; }

/* ---------- Buttons ---------- */
.rs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 44px; padding: 0 28px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink-900);
  font-family: var(--font-display); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.rs-btn .rs-icon { width: 18px; height: 18px; }
.rs-btn--primary { background: var(--ink-900); color: var(--on-ink); }
.rs-btn--primary:hover { background: var(--koralle-700); border-color: var(--koralle-700); }
.rs-btn--secondary { background: transparent; color: var(--ink-900); }
.rs-btn--secondary:hover { background: var(--ink-900); color: var(--on-ink); }
.rs-btn--quiet { background: transparent; border-color: transparent; color: var(--ink-900); padding: 0 var(--space-3); }
.rs-btn--quiet:hover { color: var(--koralle-700); }
.rs-btn--sm { height: 36px; padding: 0 var(--space-5); font-size: 12px; }
.rs-btn[disabled], .rs-btn[aria-disabled="true"] { background: var(--surface-200); border-color: var(--surface-200); color: var(--ink-600); cursor: not-allowed; }

/* ---------- Etiketten (Badge) & Kategorie ---------- */
.rs-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill);
  font-family: var(--font-text); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--surface-000); color: var(--ink-900);
}
.rs-badge--dark { background: var(--ink-900); color: var(--on-ink); border-radius: 0; }
.rs-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-200); color: var(--ink-700); }
.rs-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rs-badge--online { color: var(--salbei-700); }
.rs-badge--arbeit { color: var(--gold-700); }
.rs-badge--intern { color: var(--ink-600); }
.rs-cat { display: inline-flex; align-items: center; gap: var(--space-2); }
.rs-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-200); flex: none; }
.rs-cat--seminar::before { background: var(--koralle-500); }
.rs-cat--schule::before { background: var(--gold-400); }
.rs-cat--allgemein::before { background: var(--salbei-400); }

/* ---------- Neu-Scheibe ---------- */
.rs-disc {
  display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: var(--radius-pill);
  background: var(--sonne-300); color: var(--ink-900);
  font-family: var(--font-display); font-size: 24px; line-height: 28px; font-weight: 700;
}

/* ---------- Tool-Kachel ---------- */
.rs-tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: var(--tile-short);
  padding: var(--space-8) var(--space-8) var(--space-5); background: var(--surface-200); color: var(--ink-700);
  text-decoration: none; transition: background-color 250ms ease-out;
}
.rs-tile--tall { min-height: var(--tile-tall); padding: var(--space-10) var(--space-10) var(--space-5); }
.rs-tile__title {
  position: relative; z-index: 2; max-width: 62%; margin: 0;
  font-family: var(--font-text); font-size: 24px; line-height: 28px; font-weight: 300; letter-spacing: 4.5px; text-transform: uppercase;
  color: var(--ink-500); hyphens: manual; transition: color 250ms ease-out;
}
.rs-tile--tall .rs-tile__title { max-width: 100%; }
.rs-tile__meta {
  position: relative; z-index: 2; margin-top: auto; padding-top: var(--space-4); display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-700); white-space: nowrap;
}
.rs-tile__go { position: absolute; z-index: 3; top: var(--space-6); right: var(--space-6); display: inline-flex; align-items: center; color: var(--ink-900); opacity: 0; transform: translateX(-6px); transition: opacity 250ms ease-out, transform 250ms ease-out; }
.rs-tile__go .rs-icon { width: 18px; height: 18px; }
.rs-tile__media { position: absolute; z-index: 1; right: -8%; top: 38%; width: 46%; transition: transform 300ms ease-out; }
.rs-tile--tall .rs-tile__media { left: 18%; right: -10%; top: auto; width: auto; bottom: -8%; }
.rs-tile--tall .rs-tile__title { max-width: calc(100% - 24px); }
.rs-tile--tall .rs-tile__meta { margin-top: 0; }
.rs-tile__shot { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-shot); transition: box-shadow 300ms ease-out; }
.rs-tile--flip { align-items: flex-end; text-align: right; }
.rs-tile--flip .rs-tile__media { right: auto; left: -8%; }
.rs-tile--flip .rs-tile__go { right: auto; left: var(--space-6); transform: translateX(6px); }
.rs-tile--flip .rs-tile__meta { justify-content: flex-end; }
.rs-tile .rs-disc { position: absolute; z-index: 3; left: var(--space-8); bottom: var(--space-10); }
a.rs-tile:hover, a.rs-tile:focus-visible { background: var(--surface-300); }
a.rs-tile:hover .rs-tile__title, a.rs-tile:focus-visible .rs-tile__title { color: var(--ink-900); }
a.rs-tile:hover .rs-tile__media, a.rs-tile:focus-visible .rs-tile__media { transform: translateY(-4px); }
a.rs-tile:hover .rs-tile__shot, a.rs-tile:focus-visible .rs-tile__shot { box-shadow: var(--shadow-lift); }
a.rs-tile:hover .rs-tile__go, a.rs-tile:focus-visible .rs-tile__go { opacity: 1; transform: none; }
a.rs-tile:focus-visible { outline-offset: 4px; }
.rs-tile--inactive { cursor: default; }
.rs-tile--inactive .rs-tile__shot { filter: grayscale(1); opacity: 0.7; }
@media (hover: none) { .rs-tile__go { opacity: 1; transform: none; } }

/* ---------- Kachel-Mosaik & Raster ---------- */
.rs-mosaic { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.rs-mosaic > .rs-tile { min-height: 220px; }
@media (min-width: 768px) {
  .rs-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: var(--tile-short); }
  .rs-mosaic > .rs-tile { min-height: 0; }
  .rs-mosaic > .rs-tile--tall { grid-row: span 2; }
}
@media (min-width: 992px) {
  .rs-mosaic { grid-template-columns: repeat(3, 1fr); }
  .rs-mosaic > .rs-tile--wide { grid-column: span 2; }
}
.rs-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.rs-grid > .rs-tile { min-height: 200px; }

/* ---------- Filter-Reiter ---------- */
.rs-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; list-style: none; margin: 0 0 var(--space-8); padding: 0; }
.rs-tabs li + li::before { content: ""; display: inline-block; width: 1px; height: 18px; margin: 0 var(--space-5); background: var(--line-200); vertical-align: middle; }
.rs-tabs__btn {
  border: 0; background: none; padding: var(--space-2) 0; cursor: pointer;
  font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--ink-600); transition: color 200ms ease-out;
}
.rs-tabs__btn:hover { color: var(--ink-900); }
.rs-tabs__btn[aria-pressed="true"], .rs-tabs__btn[aria-selected="true"] { color: var(--ink-900); box-shadow: inset 0 -2px 0 var(--koralle-500); }
.rs-tabs--left { justify-content: flex-start; }

/* ---------- Umschaltringe ---------- */
.rs-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.rs-dots__btn {
  width: 16px; height: 16px; padding: 0; border-radius: var(--radius-pill); border: 1.5px solid var(--ink-400);
  background: transparent; cursor: pointer; transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.rs-dots__btn:hover { border-color: var(--ink-900); }
.rs-dots__btn[aria-current="true"] { border: 2px solid var(--ink-900); box-shadow: inset 0 0 0 3px var(--surface-100), inset 0 0 0 8px var(--ink-900); }

/* ---------- Tags (Pills) ---------- */
.rs-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.rs-tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill);
  border: 1px solid var(--line-200); font-family: var(--font-text); font-size: 13px; line-height: 18px; color: var(--ink-700);
  text-decoration: none; background: transparent; transition: border-color 200ms ease-out, color 200ms ease-out;
}
a.rs-tag:hover, button.rs-tag:hover { border-color: var(--ink-900); color: var(--ink-900); }
.rs-tag[aria-pressed="true"] { border-color: var(--ink-900); background: var(--ink-900); color: var(--on-ink); }

/* ---------- Kompakte Tool-Liste ---------- */
.rs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.rs-list-item { display: flex; gap: var(--space-4); align-items: flex-start; text-decoration: none; color: var(--ink-700); }
.rs-list-item__thumb { flex: none; width: 88px; height: 66px; overflow: hidden; background: var(--surface-200); display: flex; align-items: flex-end; justify-content: flex-end; }
.rs-list-item__thumb img { width: 80px; height: auto; transform: translate(10px, 8px); border-radius: 2px; box-shadow: var(--shadow-shot); }
.rs-list-item__name { margin: 0 0 2px; font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink-900); transition: color 200ms ease-out; }
.rs-list-item__text { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-700); }
.rs-list-item__meta { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-600); }
a.rs-list-item:hover .rs-list-item__name { color: var(--koralle-700); }

/* ---------- Hinweisbox ---------- */
.rs-callout { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); background: var(--surface-100); color: var(--ink-700); font-size: 15px; line-height: 24px; }
.rs-callout .rs-icon { margin-top: 2px; color: var(--ink-900); }
.rs-callout__title { margin: 0 0 2px; font-family: var(--font-display); font-size: 15px; line-height: 22px; font-weight: 700; color: var(--ink-900); }
.rs-callout p { margin: 0; }
.rs-callout--hinweis { background: var(--gold-050); }
.rs-callout--hinweis .rs-icon, .rs-callout--hinweis .rs-callout__title { color: var(--gold-700); }
.rs-callout--fehler { background: var(--koralle-050); }
.rs-callout--fehler .rs-icon, .rs-callout--fehler .rs-callout__title { color: var(--koralle-700); }
.rs-callout--erledigt { background: var(--salbei-050); }
.rs-callout--erledigt .rs-icon, .rs-callout--erledigt .rs-callout__title { color: var(--salbei-700); }

/* ---------- Formularfelder ---------- */
.rs-field { display: grid; gap: 6px; align-content: start; }
.rs-field__label { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-900); }
.rs-field__help { font-size: 13px; line-height: 18px; color: var(--ink-600); }
.rs-input, .rs-select, .rs-textarea {
  width: 100%; height: 44px; padding: 0 var(--space-4); border: 0; border-bottom: 1.5px solid var(--ink-400); border-radius: 0;
  background: var(--surface-100); font-family: var(--font-text); font-size: 16px; line-height: 24px; color: var(--ink-900);
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}
.rs-textarea { height: auto; min-height: 112px; padding: var(--space-3) var(--space-4); resize: vertical; }
.rs-select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.rs-input::placeholder, .rs-textarea::placeholder { color: var(--ink-600); }
.rs-input:hover, .rs-select:hover, .rs-textarea:hover { border-bottom-color: var(--ink-700); }
.rs-input:focus-visible, .rs-select:focus-visible, .rs-textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; background: var(--surface-000); border-bottom-color: var(--ink-900); }
.rs-field--error .rs-input, .rs-field--error .rs-select, .rs-field--error .rs-textarea { border-bottom-color: var(--koralle-700); }
.rs-field__error { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--koralle-700); }
.rs-field__error .rs-icon { width: 16px; height: 16px; }
.rs-check { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; color: var(--ink-700); cursor: pointer; }
.rs-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink-900); }

/* ---------- Fließtext (Unterseiten) ---------- */
.rs-prose { max-width: var(--text-max); color: var(--ink-700); font-size: 16px; line-height: 26px; }
.rs-prose h2 { margin: var(--space-10) 0 var(--space-3); font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 700; color: var(--ink-900); }
.rs-prose h3 { margin: var(--space-8) 0 var(--space-2); font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink-900); }
.rs-prose p, .rs-prose ul, .rs-prose ol { margin: 0 0 var(--space-4); }
.rs-prose ul, .rs-prose ol { padding-left: 1.2em; }
.rs-prose li { margin-bottom: var(--space-1); }
.rs-prose li::marker { color: var(--koralle-500); }
.rs-prose a { color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--koralle-500); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rs-prose a:hover { color: var(--koralle-700); }
.rs-prose strong { color: var(--ink-900); font-weight: 600; }
.rs-prose code { font-size: 0.92em; padding: 1px 5px; background: var(--surface-100); border-radius: var(--radius-sm); color: var(--ink-900); }
.rs-prose hr { border: 0; height: 1px; background: var(--line-100); margin: var(--space-10) 0; }
.rs-prose table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-6); font-size: 15px; }
.rs-prose th { text-align: left; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-900); border-bottom: 1.5px solid var(--ink-900); padding: var(--space-2) var(--space-3); }
.rs-prose td { border-bottom: 1px solid var(--line-100); padding: var(--space-2) var(--space-3); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.rs-page-header { background: var(--surface-100); overflow: hidden; }
.rs-page-header__inner { display: grid; gap: var(--space-8); align-items: center; padding-top: var(--space-16); padding-bottom: var(--space-16); }
@media (min-width: 992px) { .rs-page-header__inner { grid-template-columns: 1.1fr 1fr; padding-top: var(--space-16); padding-bottom: 0; } }
.rs-page-header__crumbs { display: flex; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: 13px; line-height: 18px; color: var(--ink-600); }
.rs-page-header__crumbs a { color: var(--ink-700); text-decoration: none; }
.rs-page-header__crumbs a:hover { color: var(--koralle-700); }
.rs-page-header__title { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; color: var(--ink-900); }
@media (min-width: 576px) { .rs-page-header__title { font-size: 36px; line-height: 42px; } }
.rs-page-header__lead { margin: 0 0 var(--space-6); max-width: 520px; font-size: 18px; line-height: 28px; font-style: italic; color: var(--ink-700); }
.rs-page-header__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.rs-page-header__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (min-width: 992px) { .rs-page-header__copy { padding-bottom: var(--space-16); } }
.rs-page-header__media { align-self: end; }
.rs-page-header__media img { width: 100%; height: auto; border-radius: var(--radius-sm) var(--radius-sm) 0 0; box-shadow: var(--shadow-shot); }
@media (min-width: 992px) { .rs-page-header__media img { width: 112%; max-width: none; } }

/* ---------- Fußzeile ---------- */
.rs-footer { background: var(--surface-100); color: var(--ink-700); font-size: 14px; line-height: 22px; }
.rs-footer__grid { display: grid; gap: var(--space-8); padding-top: var(--space-16); padding-bottom: var(--space-10); grid-template-columns: 1fr; }
@media (min-width: 768px) { .rs-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.rs-footer__brand img { height: 22px; width: auto; margin-bottom: var(--space-4); }
.rs-footer__brand p { margin: 0; max-width: 260px; }
.rs-footer__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink-900); }
.rs-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.rs-footer__links a { color: var(--ink-700); text-decoration: none; }
.rs-footer__links a:hover { color: var(--koralle-700); }
.rs-footer__bar { border-top: 1px solid var(--line-100); }
.rs-footer__bar-inner { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; padding-top: var(--space-5); padding-bottom: var(--space-5); font-size: 13px; line-height: 18px; color: var(--ink-600); }
.rs-footer__bar a { color: var(--ink-600); }
