/* RSP Advice – Prototyp-Stylesheet
   Aufbau: 1) Schriften (lokal)  2) Komponenten aus dem Designsystem „RSP Advice“ (bundle.css, unverändert)
           3) Ergänzungen für den Prototyp (am Ende, klar markiert)
   Werte nur über Tokens aus css/tokens.css. Keine Animationen, keine Transitions, keine Schatten. */

/* ---------- 1) Schriften – lokal, OFL (Source Serif 4, Source Sans 3) ---------- */
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 2) Komponenten aus dem Designsystem ---------- */
/* RSP Advice – Komponenten-Stylesheet (statischer HTML/CSS-Prototyp)
   Lädt nach tokens.css. Alle Werte über Tokens; Breakpoints: 48em (Tablet), 64em (Desktop).
   Keine Animationen, keine Transitions, keine Schatten. */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
img, svg { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 var(--s-4); max-width: var(--layout-measure); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, .rsp-h1, .rsp-h2, .rsp-h3 {
  font-family: var(--font-serif); color: var(--c-navy); font-weight: 600;
  margin: 0 0 var(--s-4); overflow-wrap: break-word; hyphens: auto;
}
h1, .rsp-h1 { font-size: var(--fs-h1-m); line-height: var(--lh-tight); }
h2, .rsp-h2 { font-size: var(--fs-h2-m); line-height: var(--lh-heading); }
h3, .rsp-h3 { font-size: var(--fs-h3-m); line-height: var(--lh-heading); }
@media (min-width: 48em) {
  h1, .rsp-h1 { font-size: var(--fs-h1); }
  h2, .rsp-h2 { font-size: var(--fs-h2); }
  h3, .rsp-h3 { font-size: var(--fs-h3); }
}
.rsp-lead { font-size: var(--fs-lead-m); line-height: var(--lh-body); }
@media (min-width: 48em) { .rsp-lead { font-size: var(--fs-lead); } }
.rsp-small { font-size: var(--fs-small); line-height: 1.5; }

/* Links im Fließtext: immer unterstrichen */
a { color: var(--c-gold-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-gold-dark-hover); text-decoration-thickness: 2px; }

/* Fokus: hell = Navy, dunkel = Gold */
:focus-visible { outline: var(--focus-width) solid var(--focus-color-light); outline-offset: var(--focus-offset); }
.rsp-on-dark :focus-visible { outline-color: var(--focus-color-dark); }

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

.rsp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rsp-container { width: 100%; max-width: var(--layout-max); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 48em) { .rsp-container { padding-inline: var(--s-8); } }
.rsp-section { padding-block: var(--s-16); }
.rsp-section--creme { background: var(--c-creme); }
@media (min-width: 64em) { .rsp-section { padding-block: var(--s-24); } }
.rsp-prose { max-width: var(--layout-measure); }

/* ---------- Skip-Link ---------- */
.rsp-skip {
  position: absolute; left: var(--s-4); top: -100rem; z-index: 100;
  background: var(--c-navy); color: var(--c-white); padding: var(--s-3) var(--s-6);
  font-weight: 600; text-decoration: underline; min-height: var(--layout-target);
}
.rsp-skip:focus, .rsp-skip:focus-visible { top: var(--s-2); outline-color: var(--focus-color-dark); color: var(--c-white); }

/* ---------- Logo-Platzhalter ---------- */
.rsp-logo { display: inline-flex; flex-direction: column; gap: var(--s-1); text-decoration: none; color: var(--c-navy); min-height: var(--layout-target); justify-content: center; }
.rsp-logo:hover { color: var(--c-navy); }
.rsp-logo__mark { display: inline-flex; align-items: stretch; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; }
.rsp-logo__rsp { background: var(--c-navy); color: var(--c-white); padding: var(--s-1) var(--s-2); font-weight: 600; letter-spacing: 0.04em; }
.rsp-logo__advice { color: var(--c-navy); padding: var(--s-1) var(--s-2); font-weight: 400; }
.rsp-logo__sub { font-size: var(--fs-small); line-height: 1.3; color: var(--c-text-soft); }
.rsp-on-dark .rsp-logo, .rsp-on-dark .rsp-logo__advice { color: var(--c-white); }
.rsp-on-dark .rsp-logo__rsp { background: var(--c-white); color: var(--c-navy); }
.rsp-on-dark .rsp-logo__sub { color: var(--c-white); }

/* ---------- Header ---------- */
.rsp-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
@media (max-height: 30em) { .rsp-header { position: static; } }
.rsp-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); }
.rsp-menu-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--layout-target); min-width: var(--layout-target); padding: var(--s-2) var(--s-4);
  background: var(--c-white); color: var(--c-navy); border: 2px solid var(--c-navy); border-radius: var(--radius-1);
  font: 600 var(--fs-small)/1 var(--font-sans); cursor: pointer;
}
.rsp-menu-toggle:hover { background: var(--c-navy); color: var(--c-white); }
.rsp-menu-toggle[aria-expanded="true"] { background: var(--c-navy); color: var(--c-white); }
.rsp-menu-toggle svg { flex: none; width: 1.25rem; height: 1.25rem; }
.rsp-nav { display: none; }
.rsp-nav.is-open { display: block; padding-bottom: var(--s-4); }
.rsp-nav__list { list-style: none; margin: 0; padding: 0; }
.rsp-nav__link {
  display: flex; align-items: center; min-height: 3rem; padding: var(--s-2) var(--s-3);
  color: var(--c-navy); font-weight: 600; font-size: var(--fs-body); text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.rsp-nav__link:hover { color: var(--c-navy); text-decoration: underline; text-decoration-thickness: 2px; }
.rsp-nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-gold-dark); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
@media (min-width: 64em) {
  .rsp-menu-toggle { display: none; }
  .rsp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
  .rsp-header__bar { padding-block: var(--s-4); }
  .rsp-nav, .rsp-nav.is-open { display: block; padding: 0; }
  .rsp-nav__list { display: flex; gap: var(--s-2); }
  .rsp-nav__link { border-bottom: 0; font-size: var(--fs-small); padding-inline: var(--s-3); }
}

/* ---------- Buttons ---------- */
.rsp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--layout-target); padding: var(--s-3) var(--s-6);
  font-family: var(--font-sans); font-size: var(--fs-button); font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; border-radius: var(--radius-1); border: 2px solid transparent; cursor: pointer;
}
.rsp-btn--primary { background: var(--c-gold); color: var(--c-navy); border-color: var(--c-gold-dark); }
.rsp-btn--primary:hover { background: var(--c-gold-hover); color: var(--c-navy); text-decoration: underline; }
.rsp-btn--primary:active { background: var(--c-gold-active); color: var(--c-navy); }
.rsp-btn--secondary { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.rsp-btn--secondary:hover { background: var(--c-navy); color: var(--c-white); text-decoration: underline; }
.rsp-btn--secondary:active { background: var(--c-navy-deep); color: var(--c-white); }
.rsp-btn--on-dark { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.rsp-btn--on-dark:hover { background: var(--c-white); color: var(--c-navy); text-decoration: underline; }
.rsp-btn--on-dark:active { background: var(--c-creme); color: var(--c-navy); }
.rsp-on-dark .rsp-btn--primary { border-color: var(--c-gold); }
.rsp-btn:disabled, .rsp-btn[aria-disabled="true"] {
  background: var(--c-disabled-bg); color: var(--c-disabled-text); border-color: var(--c-disabled-bg);
  cursor: not-allowed; text-decoration: none;
}
.rsp-btn__arrow { flex: none; }

/* ---------- Textlink mit Pfeil ---------- */
.rsp-more {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--layout-target);
  font-size: var(--fs-button); font-weight: 600; color: var(--c-gold-dark);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
}
.rsp-more:hover { color: var(--c-gold-dark-hover); text-decoration-thickness: 2px; }
.rsp-more:active { color: var(--c-navy); }
.rsp-on-dark .rsp-more { color: var(--c-gold); }
.rsp-on-dark .rsp-more:hover { color: var(--c-gold-light); }

/* ---------- Bild-Platzhalter + KI-Label ---------- */
.rsp-media { position: relative; margin: 0; }
.rsp-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; background: var(--c-placeholder); color: var(--c-text-soft);
  font-size: var(--fs-small); padding: var(--s-4);
}
.rsp-ph--16x9 { aspect-ratio: 16 / 9; } .rsp-ph--3x2 { aspect-ratio: 3 / 2; } .rsp-ph--4x5 { aspect-ratio: 4 / 5; }
.rsp-ph--1x1 { aspect-ratio: 1 / 1; } .rsp-ph--21x9 { aspect-ratio: 21 / 9; }
.rsp-ai-label {
  position: absolute; left: var(--s-2); bottom: var(--s-2);
  background: var(--c-navy); color: var(--c-white); border-radius: var(--radius-1);
  font-size: var(--fs-small); font-weight: 600; line-height: 1.4; padding: var(--s-1) var(--s-2);
}
.rsp-credit { font-size: var(--fs-small); color: var(--c-text-soft); margin-top: var(--s-2); }

/* ---------- Hero Startseite ---------- */
.rsp-hero { position: relative; background: var(--c-navy); }
.rsp-hero__media .rsp-ph { min-height: 13rem; }
.rsp-hero__panel { background: var(--c-navy); color: var(--c-white); padding-block: var(--s-8) var(--s-12); }
.rsp-hero__panel h1 { color: var(--c-white); max-width: 20ch; }
.rsp-hero__panel p { color: var(--c-white); font-size: var(--fs-lead-m); max-width: 38rem; margin-bottom: var(--s-8); }
@media (min-width: 64em) {
  .rsp-hero { min-height: 36rem; display: grid; }
  .rsp-hero__media, .rsp-hero__content { grid-area: 1 / 1; }
  .rsp-hero__media .rsp-ph { height: 100%; min-height: 36rem; aspect-ratio: auto; align-items: flex-start; justify-content: flex-end; }
  .rsp-hero__content { display: flex; align-items: center; position: relative; z-index: 1; }
  .rsp-hero__panel { background: var(--c-overlay); padding: var(--s-12); max-width: 40rem; }
  .rsp-hero__panel p { font-size: var(--fs-lead); }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.rsp-pagehead { background: var(--c-navy); }
.rsp-pagehead .rsp-ph { aspect-ratio: auto; height: 9rem; }
.rsp-pagehead__panel { background: var(--c-navy); padding-block: var(--s-6) var(--s-8); }
.rsp-pagehead__panel h1 { color: var(--c-white); margin: 0; max-width: 24ch; }
.rsp-pagehead__panel .rsp-pagehead__kicker { color: var(--c-gold); font-weight: 600; font-size: var(--fs-small); margin-bottom: var(--s-2); }
@media (min-width: 64em) {
  .rsp-pagehead { display: grid; }
  .rsp-pagehead__media, .rsp-pagehead__content { grid-area: 1 / 1; }
  .rsp-pagehead .rsp-ph { height: 18rem; align-items: flex-start; justify-content: flex-end; }
  .rsp-pagehead__content { display: flex; align-items: flex-end; position: relative; z-index: 1; }
  .rsp-pagehead__panel { background: var(--c-overlay); padding: var(--s-8) var(--s-12) var(--s-8) var(--s-8); }
}

/* ---------- Situations-Kachel ---------- */
.rsp-tiles { display: grid; gap: var(--s-6); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 48em) { .rsp-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .rsp-tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); } }
.rsp-tile {
  position: relative; background: var(--c-creme); height: 100%;
  padding: var(--s-8) var(--s-12) var(--s-8) var(--s-6);
  clip-path: polygon(0 0, 100% 0, calc(100% - 2.5rem) 100%, 0 100%);
  display: flex; flex-direction: column; gap: var(--s-6);
}
@media (min-width: 48em) { .rsp-tile { padding: var(--s-12) var(--s-16) var(--s-8) var(--s-8); } }
.rsp-tile__statement { font-family: var(--font-serif); font-size: var(--fs-statement); line-height: var(--lh-heading); color: var(--c-navy); font-weight: 400; margin: 0; }
.rsp-tile__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; flex-direction: column; gap: var(--s-2);
  min-height: var(--layout-target); justify-content: center;
  color: var(--c-gold-dark); font-size: var(--fs-button); font-weight: 600; text-decoration: none;
}
.rsp-tile__link::after { content: ""; display: block; width: 4rem; height: 2px; background: var(--c-gold-dark); }
.rsp-tile__link:hover { color: var(--c-gold-dark-hover); text-decoration: underline; }
.rsp-tile__link:hover::after { background: var(--c-gold-dark-hover); width: 6rem; }

/* ---------- Prozessleiste ---------- */
.rsp-process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: none; }
.rsp-process__step { display: flex; align-items: center; gap: var(--s-4); }
.rsp-process__icon {
  flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: var(--c-creme);
  border: 2px solid var(--c-navy); color: var(--c-navy); display: flex; align-items: center; justify-content: center;
}
.rsp-process__icon svg { width: 1.75rem; height: 1.75rem; }
.rsp-process__num { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--c-gold-dark); }
.rsp-process__label { display: block; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.3; color: var(--c-navy); font-weight: 600; }
@media (min-width: 64em) {
  .rsp-process { grid-template-columns: repeat(5, 1fr); gap: var(--s-6); position: relative; }
  .rsp-process__step { flex-direction: column; text-align: center; align-items: center; position: relative; }
  .rsp-process__step:not(:last-child)::after {
    content: ""; position: absolute; top: 2rem; left: calc(50% + 2.5rem); right: calc(-50% + 2.5rem - var(--s-6));
    height: 2px; background: var(--c-gold);
  }
}

/* ---------- Fallbeispiel-Karte ---------- */
.rsp-cases { display: grid; gap: var(--s-6); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 48em) { .rsp-cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .rsp-cases { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); } }
.rsp-case {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--c-creme); border: 2px solid var(--c-creme); border-radius: var(--radius-2); overflow: hidden;
}
.rsp-case:hover { border-color: var(--c-border); }
.rsp-case:focus-within { outline: var(--focus-width) solid var(--focus-color-light); outline-offset: var(--focus-offset); }
.rsp-case__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); flex: 1; }
.rsp-case__tag {
  align-self: flex-start; font-size: var(--fs-small); font-weight: 600; color: var(--c-navy);
  border: 1px solid var(--c-navy); border-radius: var(--radius-1); padding: 0 var(--s-2);
}
.rsp-case__title { font-size: var(--fs-h3-m); margin: var(--s-2) 0 0; }
.rsp-case__teaser { margin: 0; }
.rsp-case__link {
  margin-top: auto; padding-top: var(--s-3); display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--layout-target); font-weight: 600; font-size: var(--fs-button); color: var(--c-gold-dark);
}
.rsp-case__link:focus-visible { outline: none; }
.rsp-case__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.rsp-case:hover .rsp-case__link { color: var(--c-gold-dark-hover); text-decoration-thickness: 2px; }
.rsp-case:hover .rsp-case__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- Fallbeispiel-Detail ---------- */
.rsp-casedetail { display: grid; gap: var(--s-8); }
.rsp-casedetail__part { border-top: 2px solid var(--c-gold); padding-top: var(--s-6); }
.rsp-casedetail__part h2 { font-size: var(--fs-h3-m); }
@media (min-width: 48em) { .rsp-casedetail__part h2 { font-size: var(--fs-h3); } }
@media (min-width: 64em) { .rsp-casedetail { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); } }
.rsp-casedetail--stacked { grid-template-columns: 1fr !important; max-width: var(--layout-measure); }

/* ---------- Aufklapper ---------- */
.rsp-acc { border-top: 1px solid var(--c-border); }
.rsp-acc__item { border-bottom: 1px solid var(--c-border); }
.rsp-acc__summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 3.5rem; padding: var(--s-3) var(--s-2);
  font-family: var(--font-serif); font-size: var(--fs-h3-m); line-height: var(--lh-heading); font-weight: 600; color: var(--c-navy);
}
.rsp-acc__summary::-webkit-details-marker { display: none; }
.rsp-acc__summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.rsp-acc__state { flex: none; display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-sans); font-size: var(--fs-small); color: var(--c-gold-dark); }
.rsp-acc__state svg { flex: none; width: 1.25rem; height: 1.25rem; }
.rsp-acc__state .when-open { display: none; }
.rsp-acc__item[open] .rsp-acc__state .when-open { display: inline; }
.rsp-acc__item[open] .rsp-acc__state .when-closed { display: none; }
.rsp-acc__item[open] .rsp-acc__icon { transform: rotate(180deg); }
.rsp-acc__panel { padding: 0 var(--s-2) var(--s-6); max-width: var(--layout-measure); }
@media (min-width: 48em) { .rsp-acc__summary { font-size: var(--fs-h3); } }

/* ---------- Ansprechpartner ---------- */
.rsp-contact { display: grid; gap: var(--s-6); background: var(--c-creme); padding: var(--s-6); align-items: center; }
.rsp-contact__photo { max-width: 14rem; }
.rsp-contact__name { margin: 0; }
.rsp-contact__role { color: var(--c-text-soft); margin: 0 0 var(--s-4); }
.rsp-contact__list { list-style: none; padding: 0; margin: 0 0 var(--s-6); }
.rsp-contact__list li { margin: 0; }
.rsp-contact__list a { display: inline-flex; align-items: center; min-height: var(--layout-target); font-size: var(--fs-body); }
.rsp-contact__list span.rsp-contact__k { display: inline-block; min-width: 5.5rem; font-weight: 600; color: var(--c-text); }
@media (min-width: 48em) { .rsp-contact { grid-template-columns: 14rem 1fr; gap: var(--s-12); padding: var(--s-12); } }

/* ---------- CTA-Leiste ---------- */
.rsp-cta { background: var(--c-navy); color: var(--c-white); padding-block: var(--s-12); }
.rsp-cta__inner { display: grid; gap: var(--s-6); align-items: center; }
.rsp-cta h2 { color: var(--c-white); margin-bottom: var(--s-2); }
.rsp-cta p { color: var(--c-white); }
.rsp-cta__line { display: block; width: 4rem; height: 2px; background: var(--c-gold); margin-bottom: var(--s-4); }
@media (min-width: 64em) { .rsp-cta__inner { grid-template-columns: 1fr auto; gap: var(--s-12); } }

/* ---------- Bild + Text ---------- */
.rsp-imgtext { display: grid; gap: var(--s-8); align-items: start; }
.rsp-imgtext__cols { display: grid; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.rsp-imgtext__cols h3 { margin-bottom: var(--s-2); font-size: 1.25rem; }
.rsp-imgtext__cols li { border-top: 2px solid var(--c-gold); padding-top: var(--s-3); }
@media (min-width: 48em) { .rsp-imgtext__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .rsp-imgtext { grid-template-columns: 5fr 7fr; gap: var(--s-12); } .rsp-imgtext--reverse .rsp-imgtext__media { order: 2; } }

/* ---------- Footer ---------- */
.rsp-footer { background: var(--c-navy-deep); color: var(--c-white); padding-block: var(--s-12) var(--s-8); }
.rsp-footer a { color: var(--c-white); }
.rsp-footer a:hover { color: var(--c-gold-light); }
.rsp-footer__grid { display: grid; gap: var(--s-8); }
.rsp-footer__h { font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 700; color: var(--c-gold); margin: 0 0 var(--s-2); }
.rsp-footer address { font-style: normal; }
.rsp-footer__contact a, .rsp-footer__legal a { display: inline-flex; align-items: center; min-height: var(--layout-target); }
.rsp-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--s-6); }
.rsp-footer__meta { border-top: 1px solid rgba(255, 255, 255, 0.35); margin-top: var(--s-8); padding-top: var(--s-6); font-size: var(--fs-small); }
.rsp-footer__meta p { max-width: none; }
@media (min-width: 64em) { .rsp-footer__grid { grid-template-columns: 4fr 4fr 4fr; } }

/* ---------- Abschnittskopf ---------- */
.rsp-sechead { margin-bottom: var(--s-8); max-width: var(--layout-measure); }
@media (min-width: 64em) { .rsp-sechead { margin-bottom: var(--s-12); } }
.rsp-sechead__line { display: block; width: 4rem; height: 2px; background: var(--c-gold); margin-bottom: var(--s-4); }
.rsp-after { margin-top: var(--s-8); }

/* ---------- 3) Ergänzungen Prototyp ---------- */

/* Menü ohne JavaScript: mobil sichtbar lassen, Button nur mit JS zeigen */
html:not(.has-js) .rsp-nav { display: block; padding-bottom: var(--s-4); }
html:not(.has-js) .rsp-menu-toggle { display: none; }

/* Bilder in Rahmen füllen */
.rsp-media picture, .rsp-media img { width: 100%; height: auto; }
.rsp-contact__photo img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Abschnitts-Intro mit Link darunter */
.rsp-intro p { margin-bottom: var(--s-6); }

/* Schluss: Ralf als Ansprechpartner neben dem CTA */
.rsp-closing { display: grid; gap: var(--s-6); }
.rsp-closing__person { display: grid; gap: var(--s-6); background: var(--c-creme); padding: var(--s-6); align-content: start; }
.rsp-closing__person .rsp-contact__photo { max-width: 14rem; }
.rsp-closing__cta { background: var(--c-navy); color: var(--c-white); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.rsp-closing__cta h2 { color: var(--c-white); margin: 0; }
.rsp-closing__cta p { color: var(--c-white); margin: 0; }
.rsp-closing__cta .rsp-contact__list a { color: var(--c-white); }
.rsp-closing__cta .rsp-contact__list a:hover { color: var(--c-gold-light); }
.rsp-closing__cta .rsp-contact__k { color: var(--c-gold); }
.rsp-closing__cta .rsp-btn { align-self: flex-start; }
@media (min-width: 48em) {
  .rsp-closing__person { grid-template-columns: 12rem 1fr; padding: var(--s-8); }
  .rsp-closing__cta { padding: var(--s-8); }
}
@media (min-width: 64em) {
  .rsp-closing { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: stretch; }
}

/* Platzhalter-Markierung im Prototyp gut sichtbar */
.rsp-offen { background: #FFF3C4; color: var(--c-text); padding: 0 0.2em; }

/* Fallbeispiel-Karten auf Creme-Abschnitt: weiße Karte */
.rsp-section--creme .rsp-case { background: var(--c-white); border-color: var(--c-white); }
.rsp-section--creme .rsp-case:hover { border-color: var(--c-border); }

/* 320 px / 200 % Zoom: lange deutsche Wörter dürfen trennen, Rasterzellen nicht überlaufen */
.rsp-cases > li, .rsp-tiles > li { min-width: 0; }
.rsp-case__body, .rsp-closing p { overflow-wrap: break-word; hyphens: auto; }

/* Kontakt-Bezeichner auf Navy lesbar (Gold auf Navy 5,4:1) */
.rsp-closing__cta .rsp-contact__list span.rsp-contact__k { color: var(--c-gold); }

/* =====================================================================
   4) Layout v2 – Komposition nach Ralfs Referenz (21.10.2026)
   Flächen nebeneinander, feinere Headlines, Foto-Hero, Pastell-Icons.
   → Neue Tokens (Pastelltöne) und Regeln später ins Designsystem übernehmen.
   ===================================================================== */
:root {
  /* Pastelltöne aus Ralfs Icon-Set (Antwort 13.10.) – nur Flächen/Ringe, nie Text */
  --c-pastel-gold: #FBF0DB;   --c-ring-gold: #C09C5A;
  --c-pastel-blue: #E6EFF7;   --c-ring-blue: #637E95;
  --c-pastel-slate: #E3EAEF;  --c-ring-slate: #60798E;
  --c-pastel-sage: #E2E6DD;   --c-ring-sage: #788159;
}

/* Headlines feiner, wie in der Referenz */
h1, h2, .rsp-h1, .rsp-h2 { font-weight: 400; }

/* Stapel aus Flächen */
.rsp-stack { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-12); }
.rsp-panel { background: var(--c-creme); padding: var(--s-8) var(--s-6); }
@media (min-width: 48em) { .rsp-panel { padding: var(--s-12); } }
.rsp-panel > h2, .rsp-panel__text h2 { margin-bottom: var(--s-6); }

/* Hero: Foto über volle Breite, Text direkt darauf (Verlauf sichert Kontrast ≥ 8:1 im Textbereich) */
.rsp-hero2 { position: relative; display: grid; align-items: center; min-height: 30rem; color: var(--c-white);
  background: linear-gradient(120deg, #2B3A57 0%, #1F2A44 55%, #151D31 100%); overflow: hidden; }
.rsp-hero2__bild, .rsp-hero2__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rsp-hero2::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,29,49,.88) 0%, rgba(21,29,49,.82) 40%, rgba(21,29,49,.35) 70%, rgba(21,29,49,0) 100%); }
@media (max-width: 47.99em) { .rsp-hero2::after { background: rgba(21,29,49,.82); } }
.rsp-hero2__inhalt { position: relative; z-index: 1; padding-block: var(--s-16); }
.rsp-hero2__inhalt > div { max-width: 36rem; }
.rsp-hero2 h1 { color: var(--c-white); font-size: var(--fs-h1-m); }
@media (min-width: 48em) { .rsp-hero2 h1 { font-size: 3.25rem; } .rsp-hero2 { min-height: 36rem; } }
.rsp-hero2 p { color: var(--c-white); font-size: var(--fs-lead-m); margin-bottom: var(--s-8); }
@media (min-width: 48em) { .rsp-hero2 p { font-size: var(--fs-lead); } }
.rsp-hero2__hinweis { position: absolute; right: var(--s-4); bottom: var(--s-4); z-index: 1; font-size: var(--fs-small); color: var(--c-white); }

/* Thema-Fläche: Text links, Situations-Liste rechts */
.rsp-thema { display: grid; gap: var(--s-8); }
@media (min-width: 64em) { .rsp-thema { grid-template-columns: 5fr 7fr; gap: var(--s-12); align-items: start; } }
.rsp-thema__frage { font-family: var(--font-sans); font-size: var(--fs-body); font-weight: 600; color: var(--c-navy); margin: 0 0 var(--s-4); }
.rsp-sitlist { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-2); }
.rsp-sitlist a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: var(--s-4);
  min-height: var(--layout-target); padding: var(--s-2) var(--s-3); background: var(--c-white);
  color: var(--c-navy); text-decoration: none; line-height: 1.4; border: 2px solid var(--c-white); }
.rsp-sitlist a:hover { border-color: var(--c-border); text-decoration: underline; text-underline-offset: 0.2em; }
.rsp-sitlist img { width: 3rem; height: 3rem; }
.rsp-sitlist .rsp-btn__arrow { color: var(--c-gold-dark); }

/* Zwei Flächen nebeneinander: Vorgehen + Ralf */
.rsp-duo { display: grid; gap: var(--s-6); }
@media (min-width: 64em) { .rsp-duo { grid-template-columns: 1fr 1fr; } }
.rsp-duo > .rsp-panel { display: flex; flex-direction: column; }
.rsp-duo .rsp-more { margin-top: auto; }

.rsp-phasen { list-style: none; margin: var(--s-4) 0 var(--s-8); padding: 0; display: grid; gap: var(--s-3); }
.rsp-phasen li { display: flex; align-items: center; gap: var(--s-4); }
.rsp-phasen__kreis { flex: none; width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center;
  color: var(--c-navy); border: 3px solid var(--c-ring-gold); background: var(--c-pastel-gold); }
.rsp-phasen__kreis svg { width: 1.75rem; height: 1.75rem; }
.rsp-phasen li:nth-child(2) .rsp-phasen__kreis { background: var(--c-pastel-blue);  border-color: var(--c-ring-blue); }
.rsp-phasen li:nth-child(3) .rsp-phasen__kreis { background: var(--c-pastel-slate); border-color: var(--c-ring-slate); }
.rsp-phasen li:nth-child(4) .rsp-phasen__kreis { background: var(--c-pastel-sage);  border-color: var(--c-ring-sage); }
.rsp-phasen__label { font-size: var(--fs-small); font-weight: 600; color: var(--c-navy); line-height: 1.3; }
@media (min-width: 30em) and (max-width: 63.99em), (min-width: 75em) {
  .rsp-phasen { grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
  .rsp-phasen li { flex-direction: column; text-align: center; gap: var(--s-2); }
}

.rsp-ueber { padding: 0; display: grid; }
.rsp-ueber__text { padding: var(--s-8) var(--s-6); display: flex; flex-direction: column; }
.rsp-ueber__bild { align-self: end; }
.rsp-ueber__bild img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 48em) {
  .rsp-ueber { grid-template-columns: 1fr 38%; }
  .rsp-ueber__text { padding: var(--s-12) var(--s-8) var(--s-12) var(--s-12); }
}

/* Praxisbeispiele */
.rsp-faelle h2 { text-align: center; }
.rsp-faelle .rsp-case { background: var(--c-white); border-color: var(--c-white); }
.rsp-faelle .rsp-case__title { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.rsp-faelle .rsp-case__kicker { font-size: var(--fs-small); color: var(--c-text-soft); margin: 0; }
.rsp-bildfolgt { aspect-ratio: 21 / 9; display: flex; align-items: flex-end; padding: var(--s-3) var(--s-4);
  color: var(--c-white); font-size: var(--fs-small); background: linear-gradient(135deg, #2B3A57, #151D31); }
.rsp-cases li:nth-child(2) .rsp-bildfolgt { background: linear-gradient(135deg, #3A4560, #1F2A44); }
.rsp-cases li:nth-child(3) .rsp-bildfolgt { background: linear-gradient(135deg, #4A5670, #23304B); }
.rsp-faelle__mehr { text-align: center; margin: var(--s-8) auto 0; max-width: none; }

/* CTA-Leiste mit Ralf als Ansprechpartner */
.rsp-cta2 { background: var(--c-navy); color: var(--c-white); padding-block: var(--s-12); }
.rsp-cta2__inner { display: grid; gap: var(--s-6); align-items: center; }
.rsp-cta2__foto { width: 6rem; height: 6rem; border-radius: 50%; overflow: hidden; border: 3px solid var(--c-gold); }
.rsp-cta2__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rsp-cta2 h2 { color: var(--c-white); margin: 0 0 var(--s-2); font-size: var(--fs-h3-m); }
.rsp-cta2 p { color: var(--c-white); margin: 0; }
.rsp-cta2__kontakt { display: grid; gap: var(--s-1); }
.rsp-cta2__name { font-weight: 600; }
.rsp-cta2 a:not(.rsp-btn) { color: var(--c-white); display: inline-flex; align-items: center; min-height: var(--layout-target); }
.rsp-cta2 a:not(.rsp-btn):hover { color: var(--c-gold-light); }
@media (min-width: 48em) { .rsp-cta2 h2 { font-size: var(--fs-h3); } }
@media (min-width: 64em) { .rsp-cta2__inner { grid-template-columns: auto 1.4fr 1fr auto; gap: var(--s-8); } }

/* Footer hell wie in der Referenz */
.rsp-footer { background: var(--c-white); color: var(--c-text); border-top: 1px solid var(--c-line); }
.rsp-footer a { color: var(--c-gold-dark); }
.rsp-footer a:hover { color: var(--c-gold-dark-hover); }
.rsp-footer__h { color: var(--c-navy); }
.rsp-footer__meta { border-top-color: var(--c-line); color: var(--c-text-soft); }
.rsp-footer .rsp-logo { color: var(--c-navy); }
.rsp-stack > *, .rsp-thema > *, .rsp-duo > *, .rsp-sitlist a > span { min-width: 0; }
.rsp-panel { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 22em) { .rsp-panel { padding-inline: var(--s-4); } .rsp-sitlist a { grid-template-columns: 2.5rem 1fr; } .rsp-sitlist a .rsp-btn__arrow { display: none; } .rsp-sitlist img { width: 2.5rem; height: 2.5rem; } }
/* Feinschliff Duo: Höhen angleichen, Leerraum im Vorgehen vermeiden */
@media (min-width: 64em) {
  .rsp-duo { align-items: stretch; }
  .rsp-ueber { grid-template-columns: 1fr 34%; }
  .rsp-ueber__text { padding: var(--s-12) var(--s-6) var(--s-12) var(--s-12); }
  .rsp-phasen { margin-block: var(--s-8) var(--s-8); }
  .rsp-phasen__kreis { width: 4.5rem; height: 4.5rem; }
}
/* Portrait füllt die rechte Spalte der Über-Fläche (Desktop/Tablet), mobil kompakt rechts unten */
.rsp-ueber__bild { justify-self: end; width: min(16rem, 70%); }
@media (min-width: 48em) {
  .rsp-ueber__bild { align-self: stretch; justify-self: stretch; width: auto; height: 100%; }
  .rsp-ueber__bild picture, .rsp-ueber__bild img { height: 100%; }
  .rsp-ueber__bild img { aspect-ratio: auto; min-height: 20rem; object-fit: cover; object-position: 50% 15%; }
}
.rsp-duo .rsp-panel:first-child .rsp-more { margin-top: 0; }
@media (max-width: 47.99em) { .rsp-sitlist a { grid-template-columns: 2.75rem 1fr; } .rsp-sitlist a .rsp-btn__arrow { display: none; } .rsp-sitlist img { width: 2.75rem; height: 2.75rem; } }
.rsp-duo > .rsp-panel.rsp-ueber { display: grid; }

/* =====================================================================
   5) Headline-Schrift Libre Caslon Text (gewählt 26.10.2026, Variante A) – gilt für alle Seiten
   ===================================================================== */
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root { --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif; }

/* =====================================================================
   6) Bewegung – dezent (Motion-Stufe 2: CSS + kleines Skript, keine Bibliothek)
   Regeln: nur transform/opacity, alles sichtbar ohne JS, bei „Bewegung reduzieren“ komplett aus.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Übergänge für Hover und Fokus */
  .rsp-btn, .rsp-more, .va-kacheln a, .va-karte, .va-karte img, .rsp-nav__link, .rsp-sitlist a {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  }
  .rsp-btn__arrow { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  a:hover .rsp-btn__arrow, a:focus-visible .rsp-btn__arrow { transform: translateX(4px); }
  .rsp-btn:hover { transform: translateY(-1px); }
  .va-kacheln a:hover { transform: translateY(-3px); }
  .va-karte { overflow: hidden; }
  .va-karte:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(21,29,49,.10); }
  .va-karte img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .va-karte:hover img { transform: scale(1.03); }

  /* Startseite: Kopfbereich baut sich beim Laden ruhig auf */
  .va-hero__bild { animation: rsp-bild-ruhe 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .va-hero__inhalt > * { animation: rsp-auftauchen .9s cubic-bezier(.2,.7,.2,1) both; }
  .va-hero__inhalt > :nth-child(2) { animation-delay: .15s; }
  .va-hero__inhalt > :nth-child(3) { animation-delay: .3s; }
  @keyframes rsp-bild-ruhe { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }
  @keyframes rsp-auftauchen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  /* Beim Scrollen sanft einblenden – nur wenn das Skript läuft (html.rsp-motion) */
  .rsp-motion [data-reveal], .rsp-motion [data-reveal-gruppe] > * {
    opacity: 0; transform: translateY(18px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .rsp-motion [data-reveal].ist-sichtbar, .rsp-motion [data-reveal-gruppe].ist-sichtbar > * { opacity: 1; transform: none; }

  /* Prozessleiste: Goldlinie zeichnet sich von links */
  .rsp-motion .va-phasen::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
  .rsp-motion .va-phasen.ist-sichtbar::before { transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 34em) {
  .rsp-motion .va-phasen::before { transform: scaleY(0); transform-origin: top; }
}

/* =====================================================================
   7) Barrierefreiheit: Bedienfeld „Ansicht anpassen“ + Modi
   Hoher Kontrast (auch automatisch bei „Kontrast erhöhen“ im System), größere Schrift, Bewegung aus.
   ===================================================================== */
.rsp-a11y { position: fixed; right: 0; bottom: var(--s-6); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2);
  transform: translateX(110%); }
.rsp-a11y.ist-sichtbar, .rsp-a11y:focus-within, .rsp-a11y.ist-offen { transform: none; }
html:not(.has-js) .rsp-a11y { display: none; }
.rsp-a11y__tab { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--layout-target); padding: var(--s-2) var(--s-4) var(--s-2) var(--s-3);
  background: var(--c-navy); color: var(--c-white); border: 2px solid var(--c-white); border-right: 0; border-radius: 999px 0 0 999px;
  font: 600 var(--fs-small)/1 var(--font-sans); cursor: pointer; box-shadow: 0 6px 18px rgba(21,29,49,.18); }
.rsp-a11y__tab:hover { background: var(--c-navy-deep); }
.rsp-a11y__tab:focus-visible { outline: var(--focus-width) solid var(--c-gold); outline-offset: 2px; }
.rsp-a11y__panel { width: min(18rem, calc(100vw - 2rem)); margin-right: var(--s-4); padding: var(--s-6); background: var(--c-white); color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: var(--radius-2); box-shadow: 0 12px 32px rgba(21,29,49,.18); display: grid; gap: var(--s-3); }
.rsp-a11y__panel[hidden] { display: none; }
.rsp-a11y__titel { font-family: var(--font-serif); font-size: 1.3rem; color: var(--c-navy); margin: 0 0 var(--s-1); }
.rsp-a11y__label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--s-1); }
.rsp-a11y__stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.rsp-a11y__opt { min-height: var(--layout-target); padding: var(--s-2) var(--s-3); background: var(--c-white); color: var(--c-navy);
  border: 2px solid var(--c-navy); border-radius: var(--radius-1); font: 600 var(--fs-small)/1.2 var(--font-sans); cursor: pointer; text-align: left; }
.rsp-a11y__stufen .rsp-a11y__opt { text-align: center; }
.rsp-a11y__opt[aria-pressed="true"] { background: var(--c-navy); color: var(--c-white); }
.rsp-a11y__opt[aria-pressed="true"]::after { content: " ✓"; }
.rsp-a11y__stufen .rsp-a11y__opt[aria-pressed="true"]::after { content: ""; }
.rsp-a11y__opt:hover { text-decoration: underline; }
.rsp-a11y__fuss { display: flex; justify-content: space-between; gap: var(--s-4); }
.rsp-a11y__link, .rsp-footer__ansicht { min-height: var(--layout-target); padding: 0; background: none; border: 0; cursor: pointer;
  font: 600 var(--fs-small)/1.2 var(--font-sans); color: var(--c-gold-dark); text-decoration: underline; text-underline-offset: .2em; }
.rsp-footer__ansicht { font-weight: 400; font-size: inherit; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y-ruhe) .rsp-a11y { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
}

/* Größere Schrift: alles ist in rem angelegt und wächst mit */
html.a11y-schrift-1 { font-size: 112.5%; }
html.a11y-schrift-2 { font-size: 125%; }

/* Bewegung aus: alles sofort sichtbar, keine Übergänge */
html.a11y-ruhe *, html.a11y-ruhe *::before, html.a11y-ruhe *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-ruhe [data-reveal], html.a11y-ruhe [data-reveal-gruppe] > * { opacity: 1 !important; transform: none !important; }
html.a11y-ruhe .va-phasen::before { transform: none !important; }

/* Hoher Kontrast (Ziel: Text ≥ 7:1, WCAG AAA) */
html.a11y-kontrast {
  --c-text: #000000; --c-text-soft: #1A1A1A; --c-navy: #0B1530; --c-navy-deep: #050A18;
  --c-gold-dark: #5A3D06; --c-gold-dark-hover: #000000; --c-creme: #FFFFFF; --c-line: #000000; --c-border: #000000;
  --c-placeholder: #FFFFFF; --page: #FFFFFF;
  --c-pastel-gold: #FFFFFF; --c-pastel-blue: #FFFFFF; --c-pastel-slate: #FFFFFF; --c-pastel-sage: #FFFFFF;
  --c-ring-gold: #0B1530; --c-ring-blue: #0B1530; --c-ring-slate: #0B1530; --c-ring-sage: #0B1530;
  --focus-width: 4px; --focus-color-light: #000000; --focus-color-dark: #FFD24D;
}
html.a11y-kontrast body { background: #FFFFFF; }
html.a11y-kontrast a { text-decoration-thickness: 2px; }
html.a11y-kontrast .rsp-btn--primary { background: #0B1530; color: #FFFFFF; border-color: #0B1530; text-decoration: underline; }
html.a11y-kontrast .rsp-on-dark .rsp-btn--primary { background: #FFFFFF; color: #0B1530; border-color: #FFFFFF; }
html.a11y-kontrast .rsp-on-dark .rsp-more, html.a11y-kontrast .rsp-cta2 a, html.a11y-kontrast .va-cta a:not(.rsp-btn) { color: #FFFFFF; }
html.a11y-kontrast .va-hero::before { background: rgba(5,10,24,.9); }
html.a11y-kontrast .va-flaeche, html.a11y-kontrast .va-karte, html.a11y-kontrast .rsp-panel { border: 2px solid #000000; }
html.a11y-kontrast .va-kacheln a { clip-path: none; border: 2px solid #000000; filter: none; }
html.a11y-kontrast .va-kacheln a:hover { background: #FFFFFF; }
html.a11y-kontrast .va-kacheln a:hover .va-kacheln__text { text-decoration: underline; }
html.a11y-kontrast .rsp-header { border-bottom: 2px solid #000000; }
html.a11y-kontrast .rsp-footer { border-top: 2px solid #000000; }
html.a11y-kontrast .rsp-a11y__tab { background: #000000; }
html.a11y-kontrast .rsp-logo__sub { color: #000000; }
html.a11y-kontrast .va-hero .rsp-btn--primary { background: #FFFFFF; color: #0B1530; border-color: #FFFFFF; }
html.a11y-kontrast .va-hero :focus-visible { outline-color: var(--focus-color-dark); }

/* Runde 5b-2 (René 04.11.2026): Rechtliches im Footer untereinander – ruhiger im Gesamtbild der Fußzeile */
.rsp-footer__legal { flex-direction: column; align-items: flex-start; column-gap: 0; }
/* Design-Review 04.11.2026 */
/* CTA-Band der Unterseiten: Überschrift ausgeglichen umbrechen */
.rsp-cta2 h2 { text-wrap: balance; }
/* Footer: ab Tablet zwei Spalten statt einer langen */
@media (min-width: 48em) and (max-width: 63.99em) { .rsp-footer__grid { grid-template-columns: 1fr 1fr; } .rsp-footer__grid > :first-child { grid-column: 1 / -1; } }
/* Handy: Logo-Unterzeile in einer Zeile → niedrigerer Kopf */
@media (max-width: 29.99em) { .rsp-logo__sub { font-size: .8125rem; white-space: nowrap; } }

/* ---------- Prüfung Webdesigner + Art Director (04.11.2026 abends) ---------- */
/* Drucken: alle Abschnitte sichtbar, Kopf nicht fixiert, Bedienelemente aus */
@media print {
  .rsp-motion [data-reveal], .rsp-motion [data-reveal-gruppe] > * { opacity: 1 !important; transform: none !important; }
  .rsp-header { position: static !important; }
  .rsp-a11y, .rsp-skip { display: none !important; }
}
/* Kein seitliches Überlaufen bei 320 px / großer Schrift: Kopfzeile darf umbrechen */
.rsp-header__bar { flex-wrap: wrap; }
/* Mobilmenü: geöffnet „Schließen“ mit ✕ */
.rsp-menu-toggle__offen { display: none; }
.rsp-menu-toggle[aria-expanded="true"] .rsp-menu-toggle__zu { display: none; }
.rsp-menu-toggle[aria-expanded="true"] svg.rsp-menu-toggle__offen { display: block; }
.rsp-menu-toggle[aria-expanded="true"] span.rsp-menu-toggle__offen { display: inline; }

/* ---------- Ergänzungen Livegang 19.11.2026: Logo E5 als SVG (ersetzt den Text-Platzhalter) ---------- */
/* Desktop mind. 260 px breit (Subline im SVG dann ≈ 16 px), Handy Fassung ohne Subline + Subline als Text (LIESMICH-Web.md) */
.rsp-logo__bild { display: block; width: 260px; height: auto; }
.rsp-logo__sub--handy { display: none; }
@media (max-width: 29.99em) {
  .rsp-header .rsp-logo__bild { width: 180px; }
  .rsp-logo__sub--handy { display: block; }
}
@media (max-width: 22.49em) { .rsp-header .rsp-logo__bild { width: 160px; } .rsp-header .rsp-logo__sub--handy { white-space: normal; max-width: 10.5rem; } }   /* 320 px: Menü-Knopf bleibt neben dem Logo */

/* ---------- Ergänzung 19.11.2026 (René): Knopf „Nach oben“ – nur vorhandene Tokens ----------
   Ohne JS: Link im Fuß. Mit JS: fest unten rechts über dem Reiter „Ansicht“, sichtbar ab ca. einer Bildschirmhöhe. Kein animiertes Scrollen. */
.rsp-nach-oben { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--layout-target); margin-top: var(--s-3);
  padding: var(--s-2) var(--s-4); background: var(--c-white); color: var(--c-navy); border: 2px solid var(--c-navy); border-radius: 999px;
  font: 600 var(--fs-small)/1 var(--font-sans); text-decoration: none; }
.rsp-nach-oben:hover { background: var(--c-navy); color: var(--c-white); text-decoration: none; }
.rsp-nach-oben:focus-visible { outline: var(--focus-width) solid var(--focus-color-light); outline-offset: 2px; }   /* Prüfstelle 19.11.: Gold auf Weiß nur 2,6:1 */
.rsp-nach-oben svg { flex: none; }
html.has-js .rsp-nach-oben { position: fixed; right: var(--s-4); bottom: calc(var(--s-6) + var(--layout-target) + var(--s-3)); z-index: 59; margin: 0;
  box-shadow: 0 6px 18px rgba(21,29,49,.18); opacity: 0; visibility: hidden; }
html.has-js .rsp-nach-oben.ist-sichtbar { opacity: 1; visibility: visible; }
body:has(.rsp-a11y.ist-offen) .rsp-nach-oben { opacity: 0; visibility: hidden; }   /* Bedienfeld offen: nicht überlagern */
/* kein Überblenden (Leitregel „keine Animationen“, Prüfstelle 19.11.) */
@media print { .rsp-nach-oben { display: none !important; } }
.rsp-footer .rsp-nach-oben { color: var(--c-navy); }          /* Fuß-Links sind sonst goldbraun */
.rsp-footer .rsp-nach-oben:hover { color: var(--c-white); }
