/* ============================================================
   Regionen — page-scoped design system
   Evolves the site's navy/teal/mint identity: quieter, more
   precise, more "institutional trust with startup polish."
   All rules are scoped under .rgn-page so nothing here can leak
   into components.css / regions-home.css used by other pages.
   ============================================================ */

/* Keep the shared horizontal clipping without turning html/body into an
   overflow scroll container, which would prevent descendant sticky items
   from using the browser viewport. */
html:has(.rgn-page),
body:has(.rgn-page) {
  overflow-x: clip;
  overflow-y: visible;
}

.rgn-page {
  --rgn-ink: #0F1E38;
  --rgn-canvas: #FBFCFB;
  --rgn-paper: #FFFFFF;
  --rgn-line: rgba(15, 30, 56, 0.12);
  --rgn-line-strong: rgba(15, 30, 56, 0.22);
  --rgn-muted: #57687F;

  --rgn-region: #6E8F63;
  --rgn-region-soft: #EEF2E9;
  --rgn-polyglon: #2E8577;
  --rgn-polyglon-soft: #E7F2EF;
  --rgn-employer: #4E7FA8;
  --rgn-employer-soft: #EAF1F7;
  --rgn-amber: #B9863A;
  --rgn-cyan: #37BEDE;
  --rgn-cyan-dark: #299FBC;
  --rgn-cyan-ink: #063542;

  --rgn-serif: "Philosopher", Georgia, "Times New Roman", serif;
  --rgn-sans: "DM Sans 18 pt", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rgn-mono: ui-monospace, "SF Mono", "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;

  --rgn-max: 1180px;
  --rgn-gutter: clamp(20px, 5vw, 48px);

  font-family: var(--rgn-sans);
  color: var(--rgn-ink);
  background: var(--rgn-canvas);
  -webkit-font-smoothing: antialiased;
}

.rgn-page * { box-sizing: border-box; }

.rgn-shell {
  width: min(var(--rgn-max), 100% - (var(--rgn-gutter) * 2));
  margin: 0 auto;
}

.rgn-section {
  padding: clamp(64px, 9vw, 116px) 0;
  position: relative;
}
.rgn-section--step1 {
  padding-top: clamp(64px, 9vw, 116px);
}
#faq {
  padding-top: clamp(48px, 6vw, 88px);
}

.rgn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--rgn-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rgn-polyglon);
}
.rgn-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.rgn-h1, .rgn-h2, .rgn-h3 {
  margin: 0;
  font-family: var(--rgn-serif);
  font-weight: 700;
  color: var(--rgn-ink);
  letter-spacing: -0.01em;
}
.rgn-h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.02em; }
.rgn-h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; max-width: 20ch; }
.rgn-h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; }

.rgn-lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  color: var(--rgn-muted);
}

.rgn-heading {
  max-width: 720px;
}
.rgn-heading--center { margin: 0 auto; text-align: center; }
.rgn-heading--center .rgn-h2 { max-width: none; }
.rgn-heading--center .rgn-lead { margin-left: auto; margin-right: auto; }

/* "Das Ergebnis…" block: centered on the page.
   The title keeps its manual two-line break (nowrap) on wide screens where
   it fits; on narrow screens it's allowed to wrap normally so nothing gets
   clipped by the page's overflow-x:clip. */
.rgn-ergebnis-heading {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.rgn-ergebnis-title {
  max-width: none;
  white-space: nowrap;
  text-align: center;
}
.rgn-ergebnis-lead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--rgn-ink);
  text-align: center;
}
.rgn-ergebnis-cta {
  margin-top: clamp(48px, 7vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  background: var(--rgn-polyglon);
  border-radius: 28px;
  border: 2px solid #000;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 6vw, 72px);
}
.rgn-ergebnis-cta .rgn-h3 {
  max-width: none;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  white-space: nowrap;
  color: #fff;
}
.rgn-ergebnis-cta .rgn-btn {
  min-height: 58px;
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.rgn-ergebnis-cta .rgn-input {
  border: 1.5px solid #000;
}
.rgn-ergebnis-cta .rgn-input::placeholder {
  color: #767676;
}
.rgn-ergebnis-cta .rgn-hint:not(:empty) {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: #C0392B;
  font-weight: 700;
}
.rgn-ergebnis-cta .rgn-input.is-invalid {
  border-color: #fff;
  box-shadow: 0 0 0 2px #C0392B;
}
.rgn-ergebnis-cta .rgn-checkbox-row { color: rgba(255, 255, 255, 0.92); }
.rgn-ergebnis-cta .rgn-checkbox-row a { color: #fff; text-decoration: underline; }
.rgn-ergebnis-cta .rgn-cta-form-submit .rgn-btn {
  background: var(--rgn-ink);
  border-color: var(--rgn-ink);
  color: #fff;
}
.rgn-ergebnis-cta .rgn-cta-form-submit .rgn-btn:hover {
  background: #16294a;
  border-color: #16294a;
}
.rgn-ergebnis-cta .rgn-form-status.is-success { color: #fff; }

/* Minimal inline CTA form — Name / Organisation / E-Mail only */
.rgn-cta-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: left;
}
.rgn-cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rgn-cta-form .rgn-field { display: grid; gap: 6px; }
.rgn-cta-form .rgn-input {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
}
.rgn-cta-form .rgn-checkbox-row {
  font-size: 0.82rem;
  gap: 8px;
}
.rgn-cta-form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.rgn-cta-form-submit .rgn-btn {
  min-width: 240px;
}
.rgn-form-status.is-success { color: var(--rgn-polyglon); font-weight: 600; }
.rgn-form-status.is-error { color: #B0473F; font-weight: 600; }
.rgn-cta-form .rgn-input.is-invalid { border-color: #B0473F; }

@media (max-width: 560px) {
  .rgn-cta-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .rgn-ergebnis-title { white-space: normal; }
  .rgn-ergebnis-cta .rgn-h3 { white-space: normal; }
}

.rgn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--rgn-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.rgn-btn:hover { transform: translateY(-1px); }
.rgn-btn-primary {
  background: var(--rgn-ink);
  border-color: var(--rgn-ink);
  color: #fff;
}
.rgn-btn-primary:hover { background: #16294a; border-color: #16294a; color: #fff; }
.rgn-btn-ghost {
  background: transparent;
  border-color: var(--rgn-line-strong);
  color: var(--rgn-ink);
}
.rgn-btn-ghost:hover { border-color: var(--rgn-ink); color: var(--rgn-ink); }
.rgn-btn-outline {
  background: transparent;
  border-color: var(--rgn-line-strong);
  color: var(--rgn-ink);
}
.rgn-btn-outline:hover { border-color: var(--rgn-polyglon); color: var(--rgn-polyglon); }
.rgn-btn-full { width: 100%; }
.rgn-btn-cyan {
  background: var(--rgn-cyan);
  border-color: var(--rgn-cyan);
  color: var(--rgn-cyan-ink);
  border-radius: 999px;
}
.rgn-btn-cyan:hover { background: var(--rgn-cyan-dark); border-color: var(--rgn-cyan-dark); color: var(--rgn-cyan-ink); }
.rgn-btn-teal {
  background: #3A8B7A;
  border-color: #3A8B7A;
  color: #fff;
  border-radius: 999px;
}
.rgn-btn-teal:hover { background: #6BBFAE; border-color: #6BBFAE; }

.rgn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--rgn-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.rgn-text-link:hover { opacity: 0.8; }

/* ---------- Hero ---------- */
.rgn-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.rgn-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.rgn-hero-copy .rgn-h1 { max-width: 14ch; }
.rgn-hero-copy .rgn-lead { max-width: 48ch; margin-top: 24px; }
.rgn-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 38px;
}
.rgn-hero-actions .rgn-btn {
  min-width: min(100%, 340px);
  padding: 15px 32px;
  border-radius: 8px;
}
.rgn-hero-proof {
  margin: 22px 0 0;
  font-family: var(--rgn-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--rgn-muted);
}
.rgn-hero-proof span { margin: 0 2px; opacity: 0.6; }

/* ---------- Hero: dark photo variant ---------- */
.rgn-hero--photo {
  position: relative;
  padding: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--rgn-ink);
  overflow: hidden;
}
.rgn-hero-photo-media {
  position: absolute;
  inset: 0;
  background: url("../../images/Background.png") center / cover no-repeat;
  background-color: #0A1830;
}
.rgn-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rgn-hero-photo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 57, 0.58);
}
.rgn-hero--photo .rgn-shell {
  position: relative;
  z-index: 1;
  padding: calc(66px + clamp(56px, 9vw, 108px)) 0 clamp(64px, 9vw, 108px);
}
.rgn-hero--photo .rgn-hero-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.rgn-hero--photo .rgn-hero-copy #hero-title.rgn-h1 {
  max-width: none;
  font-size: clamp(22px, 6vw, 83px);
  font-family: var(--rgn-serif);
  color: #fff;
}
.rgn-hero--photo .rgn-hero-copy #hero-title.rgn-h1 .rgn-h1-sub {
  display: inline-block;
  font-size: clamp(16px, 2.6vw, 34px);
  white-space: nowrap;
}
.rgn-hero--photo .rgn-hero-copy #hero-title.rgn-h1 .rgn-h1-nowrap {
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .rgn-hero--photo .rgn-hero-copy #hero-title.rgn-h1 .rgn-h1-nowrap {
    white-space: normal;
  }
}
.rgn-hero--photo .rgn-hero-copy .rgn-lead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 1.7vw, 23px);
  color: rgba(255, 255, 255, 0.86);
}
.rgn-hero--photo .rgn-hero-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.rgn-hero--photo .rgn-hero-actions .rgn-btn {
  min-width: 0;
  padding: 15px 34px;
  border-radius: 999px;
}

.rgn-mech {
  border: 1px solid var(--rgn-line);
  background: var(--rgn-paper);
  opacity: 0;
  transform: translateY(10px);
  animation: rgn-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.rgn-mech-head {
  padding: 15px 22px;
  background: var(--rgn-canvas);
  border-bottom: 1px solid var(--rgn-line);
}
.rgn-mech-head-label {
  font-family: var(--rgn-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rgn-muted);
}
.rgn-mech-row {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  gap: 6px 18px;
  padding: 19px 22px;
  border-left: 3px solid var(--role-color, transparent);
}
.rgn-mech-row + .rgn-mech-row { border-top: 1px solid var(--rgn-line); }
.rgn-mech-label {
  padding-top: 1px;
  font-family: var(--rgn-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--role-color, var(--rgn-ink));
}
.rgn-mech-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--rgn-ink);
}
.rgn-mech-outcome {
  background: var(--rgn-ink);
  border-left: 3px solid transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.rgn-mech-outcome-label {
  padding-top: 1px;
  font-family: var(--rgn-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.rgn-mech-outcome-text {
  font-family: var(--rgn-serif);
  font-size: 1.1rem;
  color: #fff;
}

@keyframes rgn-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .rgn-mech { opacity: 1; transform: none; animation: none; }
}

/* ---------- Audience strip ---------- */
.rgn-audience {
  padding: 30px 0;
  border-top: 1px solid var(--rgn-line);
  border-bottom: 1px solid var(--rgn-line);
}
.rgn-audience-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
}
.rgn-audience-eyebrow {
  font-family: var(--rgn-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rgn-muted);
  flex: 0 0 auto;
}
.rgn-audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rgn-chip {
  padding: 8px 16px;
  border: 1px solid var(--rgn-line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--rgn-ink);
  background: var(--rgn-paper);
}

/* ---------- Three-part overview ---------- */
.rgn-overview-heading {
  max-width: 1040px;
  margin-bottom: 64px;
}
.rgn-overview-heading .rgn-h2 { width: 100%; }
.rgn-overview-heading .rgn-h2 span { display: block; }
.rgn-overview-heading .rgn-lead {
  max-width: 760px;
  margin-top: 24px;
}
.rgn-overview-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
}
.rgn-overview-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 35px;
  left: calc(16.666% - 1px);
  right: calc(16.666% - 1px);
  border-top: 2px dashed rgba(46, 133, 119, 0.32);
}
.rgn-overview-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.rgn-overview-step::before {
  content: attr(data-step);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--rgn-ink);
  box-shadow: 0 12px 30px rgba(15, 30, 56, 0.16);
  color: #fff;
  font-family: var(--rgn-serif);
  font-size: 1.7rem;
  line-height: 1;
}
.rgn-overview-step .rgn-h3 { margin-bottom: 14px; }
.rgn-overview-step p {
  margin: 0;
  color: var(--rgn-muted);
  line-height: 1.55;
  text-align: left;
}

/* ---------- Model / signature timeline ---------- */
.rgn-model {
  background: var(--rgn-paper);
  border-top: 1px solid var(--rgn-line);
  border-bottom: 1px solid var(--rgn-line);
}

/* ---------- Flow (5-panel hover accordion) ---------- */
.rgn-flow {
  display: flex;
  align-items: stretch;
  height: clamp(360px, 36vw, 440px);
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rgn-line);
  overflow: hidden;
}
.rgn-flow-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--rgn-paper);
  border-right: 1px solid var(--rgn-line);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: flex-grow 0.55s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.rgn-flow-panel:last-child { border-right: none; }
.rgn-flow-face {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 16px 0;
}
.rgn-flow-num {
  font-family: var(--rgn-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--rgn-ink);
}
.rgn-flow-icon {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--rgn-polyglon);
}
.rgn-flow-icon svg { width: 100%; height: 100%; }
.rgn-flow-title {
  align-self: stretch;
  font-family: var(--rgn-sans);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--rgn-ink);
  overflow-wrap: break-word;
}
.rgn-flow-detail {
  flex: 1 1 auto;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px 34px 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rgn-flow-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--rgn-muted);
}
.rgn-flow-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (hover: hover) {
  .rgn-flow-panel:hover { flex-grow: 6; background: var(--rgn-canvas); }
  .rgn-flow-panel:hover .rgn-flow-detail { opacity: 1; }
}
.rgn-flow-panel:focus-visible,
.rgn-flow-panel.is-active {
  flex-grow: 6;
  background: var(--rgn-canvas);
}
.rgn-flow-panel:focus-visible .rgn-flow-detail,
.rgn-flow-panel.is-active .rgn-flow-detail {
  opacity: 1;
}
.rgn-flow-panel:focus-visible { box-shadow: inset 0 0 0 2px var(--rgn-polyglon); }

.rgn-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--role-soft, var(--rgn-canvas));
  font-family: var(--rgn-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--role-color, var(--rgn-ink));
  white-space: nowrap;
}
.rgn-role-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--role-color, var(--rgn-ink));
}

/* role color hooks, shared by hero / legend / tags */
.is-region { --role-color: var(--rgn-region); --role-soft: var(--rgn-region-soft); }
.is-polyglon { --role-color: var(--rgn-polyglon); --role-soft: var(--rgn-polyglon-soft); }
.is-employer { --role-color: var(--rgn-employer); --role-soft: var(--rgn-employer-soft); }

/* ---------- Ethics / certificate ---------- */
.rgn-ethics {
  background: var(--rgn-ink);
  color: #fff;
}
.rgn-ethics .rgn-kicker { color: var(--rgn-employer); }
.rgn-ethics .rgn-h2 { color: #fff; }
.rgn-ethics .rgn-lead { color: rgba(255, 255, 255, 0.68); }
.rgn-ethics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.rgn-ethics-copy { padding-right: 12px; }
.rgn-ethics-cta {
  margin-top: 30px;
}
.rgn-ethics-fit {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.rgn-ethics-fit-label {
  display: block;
  font-family: var(--rgn-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.rgn-ethics-fit-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.rgn-ethics-fit-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 6px 18px;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.rgn-ethics-fit-list li:first-child {
  padding-top: 0;
  border-top: none;
}
.rgn-ethics-fit-list strong {
  font-family: var(--rgn-sans);
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
}
.rgn-ethics-fit-list span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.rgn-cert {
  position: relative;
  background: #fff;
  color: var(--rgn-ink);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rgn-cert-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rgn-line);
}
.rgn-cert-head h3 {
  margin: 0;
  font-family: var(--rgn-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  max-width: 18ch;
}
.rgn-cert-seal {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  background: center / contain no-repeat url("../../images/Polyglon Stamp.png");
  opacity: 0.92;
}
.rgn-principles {
  margin: 24px 0 0;
  display: grid;
  gap: 20px;
}
.rgn-principle {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.rgn-principle-num {
  padding-top: 2px;
  font-family: var(--rgn-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rgn-polyglon);
}
.rgn-principle strong {
  display: block;
  font-family: var(--rgn-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--rgn-ink);
}
.rgn-principle em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--rgn-muted);
}
.rgn-cert-sig {
  margin: 28px 0 0 0;
  width: 150px;
  height: 32px;
  margin-left: auto;
  background: center / contain no-repeat url("../../images/Polyglon Signature.png");
  opacity: 0.85;
}

/* ---------- Trust stats ---------- */
.rgn-trust {
  background: var(--rgn-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rgn-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}
.rgn-trust-stat strong {
  display: block;
  font-family: var(--rgn-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #fff;
  line-height: 1.15;
}
.rgn-trust-stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Team teaser ---------- */
.rgn-team {
  text-align: center;
}
.rgn-team .rgn-heading--center { max-width: 640px; }
.rgn-team .rgn-btn { margin-top: 28px; }

/* ---------- Scroll reveal ---------- */
.rgn-page .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--rgn-ease, cubic-bezier(0.16,1,0.3,1)), transform 0.6s var(--rgn-ease, cubic-bezier(0.16,1,0.3,1));
}
.rgn-page .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rgn-page .rv { opacity: 1; transform: none; transition: none; }
}

.rgn-todo-text { color: var(--rgn-amber); font-style: italic; }

/* ---------- Placeholder media ---------- */
.rgn-ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    repeating-linear-gradient(135deg, rgba(15,30,56,0.06) 0 14px, rgba(15,30,56,0.02) 14px 28px),
    var(--rgn-canvas);
  border: 1px dashed var(--rgn-line-strong);
  overflow: hidden;
}
.rgn-ph-caption {
  margin: 0;
  padding: 8px 12px;
  font-family: var(--rgn-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--rgn-muted);
  background: rgba(251, 252, 251, 0.88);
  border-top: 1px solid var(--rgn-line);
  width: 100%;
}

/* ---------- Die Herausforderung ---------- */
.rgn-challenge-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 56vw, 640px);
  display: flex;
  align-items: center;
  background: var(--rgn-ink);
}
.rgn-challenge-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rgn-challenge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.42) 0%, rgba(6, 12, 24, 0.58) 100%);
}
.rgn-challenge-section .rgn-shell {
  position: relative;
  z-index: 2;
}
.rgn-challenge-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.rgn-challenge-copy .rgn-h2 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
}
.rgn-challenge-copy .rgn-lead {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
}

/* ---------- Sticky reveal card group ---------- */
.rgn-step-head { margin-bottom: clamp(32px, 4vw, 56px); }
.rgn-step-head .rgn-kicker { margin-bottom: 0; }
.rgn-step-head .rgn-h2 { margin-top: 14px; }
.rgn-step-head > .rgn-h2:first-child {
  margin-top: 0;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.5rem, 3.2vw, 3.7rem);
}
.rgn-step-head .rgn-h2 + .rgn-lead {
  max-width: none;
  color: var(--rgn-ink);
}

.rgn-sticky-list {
  display: flex;
  flex-direction: column;
}
.rgn-sticky-item {
  position: relative;
  min-height: 108vh;
  display: flex;
  align-items: flex-start;
  padding-bottom: clamp(24px, 4vw, 40px);
}
.rgn-sticky-item:last-child { min-height: 0; padding-bottom: 0; }
.rgn-sticky-card {
  position: sticky;
  top: 96px;
  width: 100%;
  border-radius: 24px 24px 0 0;
  background: var(--rgn-paper);
  box-shadow: 0 30px 60px rgba(15, 30, 56, 0.14);
  overflow: hidden;
}
.rgn-sticky-item:nth-child(1) .rgn-sticky-card { top: 56px; z-index: 1; }
.rgn-sticky-item:nth-child(2) .rgn-sticky-card { top: 76px; z-index: 2; }
.rgn-sticky-item:nth-child(3) .rgn-sticky-card { top: 96px; z-index: 3; }
.rgn-sticky-item:nth-child(4) .rgn-sticky-card { top: 116px; z-index: 4; }
.rgn-sticky-item:nth-child(5) .rgn-sticky-card { top: 136px; z-index: 5; }
.rgn-sticky-item:nth-child(6) .rgn-sticky-card { top: 156px; z-index: 6; }

/* Schritt 1 & 2: build the deck from the viewport bottom. A viewport-height,
   transparent item supplies the sticky geometry while its unchanged card is
   aligned to the bottom edge. Later items form progressively higher layers. */
@media (min-width: 981px) and (min-height: 481px) {
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) {
    padding-bottom: 0;
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-list::after {
    content: "";
    flex: 0 0 clamp(64px, 9vw, 116px);
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item {
    position: sticky;
    top: 0;
    bottom: auto;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item .rgn-sticky-card {
    position: relative;
    top: auto;
    bottom: auto;
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:nth-child(1) { z-index: 1; }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:nth-child(2) { z-index: 2; }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:nth-child(3) { z-index: 3; }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:nth-child(4) { z-index: 4; }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:nth-child(5) { z-index: 5; }
}

/* The shared overflow correction above is required for Schritt 1 & 2, but it
   must not activate the legacy top-sticky rules in the later sections. */
@media (min-width: 641px) {
  .rgn-section:not(.rgn-section--step1):not(.rgn-section--step2):not(.rgn-section--step3):not(.rgn-section--step4) .rgn-sticky-item .rgn-sticky-card {
    position: relative;
    top: auto;
    bottom: auto;
  }
}

/* Avoid forcing the deck into tablet/mobile or short landscape viewports
   where a complete card may be taller than the available screen. */
@media (max-width: 980px), (max-height: 480px) {
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item {
    position: relative;
    min-height: 0;
    height: auto;
    align-items: flex-start;
    padding-bottom: clamp(24px, 4vw, 40px);
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item:last-child {
    padding-bottom: 0;
  }
  :is(.rgn-section--step1, .rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-item .rgn-sticky-card {
    position: static;
    top: auto;
    bottom: auto;
    z-index: auto;
  }
}

.rgn-sticky-card-media {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.rgn-sticky-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgn-sticky-card-media--wide {
  position: relative;
  aspect-ratio: 17 / 5;
}
.rgn-sticky-card-media--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 12, 24, 0.6) 0%, rgba(6, 12, 24, 0.22) 42%, rgba(6, 12, 24, 0) 68%);
  pointer-events: none;
}
.rgn-sticky-card-body {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px) clamp(30px, 4vw, 44px);
  max-width: 760px;
}
.rgn-sticky-card-body .rgn-h3 { margin-bottom: 12px; }
.rgn-sticky-card-body p {
  margin: 0;
  color: var(--rgn-muted);
  line-height: 1.6;
  font-size: 1rem;
}

/* Cards with a wide photo banner: title overlaid top-left on the image,
   body copy spans the full card width. */
.rgn-sticky-card:has(.rgn-sticky-card-media--wide) .rgn-sticky-card-body .rgn-h3 {
  position: absolute;
  top: clamp(16px, 2.6vw, 28px);
  left: clamp(20px, 3vw, 40px);
  z-index: 2;
  margin: 0;
  max-width: 70%;
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  text-shadow: 0 2px 16px rgba(6, 12, 24, 0.45);
}
.rgn-sticky-card:has(.rgn-sticky-card-media--wide) .rgn-sticky-card-body {
  max-width: none;
}
.rgn-sticky-card:has(.rgn-sticky-card-media--wide) .rgn-sticky-card-body p {
  max-width: none;
  color: var(--rgn-ink);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  min-height: 6.4em;
}
/* Schritt 2 & 3's longer copy needs an extra line of reserved space so all
   cards in each deck render at the same height. */
:is(.rgn-section--step2, .rgn-section--step3, .rgn-section--step4) .rgn-sticky-card:has(.rgn-sticky-card-media--wide) .rgn-sticky-card-body p {
  min-height: 8em;
}

/* Overlay variant: full-bleed photo, dark scrim, centered white copy.
   Relies on .rgn-sticky-card's position:sticky (already a positioned
   element) as the containing block for the absolutely-filled media/scrim. */
.rgn-sticky-card--overlay {
  min-height: clamp(420px, 52vw, 560px);
  display: grid;
  place-items: center;
  text-align: center;
}
.rgn-sticky-card--overlay .rgn-ph,
.rgn-sticky-card--overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rgn-sticky-card--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,30,56,0.32) 0%, rgba(15,30,56,0.66) 100%);
}
.rgn-sticky-card--overlay .rgn-sticky-card-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 32px;
}
.rgn-sticky-card--overlay .rgn-h3 { color: #fff; }
.rgn-sticky-card--overlay p { color: rgba(255,255,255,0.88); }
.rgn-sticky-card--overlay .rgn-ph-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  text-align: left;
}

/* ---------- Feature grid (non-sticky, simultaneous cards) ---------- */
.rgn-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
}
.rgn-feature-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--rgn-paper);
  border: 1px solid var(--rgn-line);
  overflow: hidden;
}
.rgn-feature-card .rgn-sticky-card-media { aspect-ratio: 4 / 3; }
.rgn-feature-card .rgn-sticky-card-body { padding: 20px 20px 26px; max-width: none; }
.rgn-feature-card .rgn-h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.rgn-feature-card p { font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.rgn-faq-list {
  display: grid;
  gap: 30px;
  max-width: 840px;
  margin: 0 auto;
}
.rgn-faq-item {
  border: none;
  background: none;
}
.rgn-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--rgn-sans);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--rgn-ink);
}
.rgn-faq-question::-webkit-details-marker { display: none; }
.rgn-faq-question::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--rgn-muted);
  border-bottom: 2px solid var(--rgn-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.rgn-faq-item[open] .rgn-faq-question::after { transform: rotate(225deg); }
.rgn-faq-answer {
  padding: 8px 0 0;
  color: var(--rgn-ink);
  line-height: 1.6;
}
.rgn-faq-answer p { margin: 0; }

/* ---------- Contact ---------- */
.rgn-contact {
  padding-top: 40px;
  background: var(--rgn-paper);
}
.rgn-contact-grid {
  max-width: 1020px;
  padding: clamp(28px, 4vw, 48px);
  border: 6px solid var(--rgn-polyglon);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.rgn-contact-heading { max-width: 420px; text-align: left; }
.rgn-contact-heading .rgn-h2 { max-width: none; }
.rgn-contact-heading .rgn-lead { margin-left: 0; margin-right: 0; }
.rgn-contact-lead { color: var(--rgn-ink); }

.rgn-form {
  max-width: none;
  margin: 0;
  display: grid;
  gap: 14px;
}
.rgn-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rgn-field { display: grid; gap: 6px; }
.rgn-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rgn-ink);
}
.rgn-input, .rgn-select, .rgn-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--rgn-line-strong);
  border-radius: 3px;
  background: var(--rgn-paper);
  color: var(--rgn-ink);
  font-family: var(--rgn-sans);
  font-size: 0.98rem;
  line-height: 1.35;
  transition: border-color 0.16s ease;
}
.rgn-textarea { resize: vertical; min-height: 88px; }
.rgn-input:focus, .rgn-select:focus, .rgn-textarea:focus {
  outline: none;
  border-color: var(--rgn-polyglon);
}
.rgn-hint {
  display: block;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #B0473F;
}
.rgn-hint:empty { display: none; }
.rgn-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--rgn-muted);
}
.rgn-checkbox-row input { margin-top: 3px; }
.rgn-checkbox-row a { color: var(--rgn-polyglon); }
.rgn-form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--rgn-muted);
}
.rgn-contact .rgn-btn-primary {
  background: var(--rgn-polyglon);
  border-color: var(--rgn-polyglon);
}
.rgn-contact .rgn-btn-primary:hover {
  background: #276f64;
  border-color: #276f64;
}

/* ---------- Focus ring (accessibility) ---------- */
.rgn-page a:focus-visible,
.rgn-page button:focus-visible,
.rgn-page input:focus-visible,
.rgn-page select:focus-visible,
.rgn-page textarea:focus-visible {
  outline: 2px solid var(--rgn-polyglon);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .rgn-hero-grid { grid-template-columns: 1fr; }
  .rgn-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .rgn-contact-heading { max-width: none; }
  .rgn-hero-copy .rgn-h1 { max-width: none; }
  .rgn-hero--photo { min-height: 0; }
  .rgn-hero--photo .rgn-shell { padding-bottom: clamp(48px, 8vw, 72px); }
  .rgn-hero--photo .rgn-hero-copy { max-width: none; }
  .rgn-challenge-copy .rgn-h2 { max-width: none; }
  .rgn-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgn-ethics-grid { grid-template-columns: 1fr; }
  .rgn-ethics-fit-list li { grid-template-columns: 1fr; gap: 4px; }
  .rgn-trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .rgn-flow {
    flex-direction: column;
    height: auto;
    border-left: none;
    border-right: none;
  }
  .rgn-flow-panel {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--rgn-line);
  }
  .rgn-flow-panel:last-child { border-bottom: none; }
  .rgn-flow-face {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 18px 20px;
  }
  .rgn-flow-num { font-size: 1.5rem; }
  .rgn-flow-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .rgn-flow-title { max-width: none; }
  .rgn-flow-detail {
    min-width: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
  }
  .rgn-flow-panel:focus-visible .rgn-flow-detail,
  .rgn-flow-panel.is-active .rgn-flow-detail {
    max-height: 260px;
    padding: 0 20px 22px;
  }
}

@media (max-width: 640px) {
  .rgn-shell { width: min(var(--rgn-max), 100% - 40px); }
  .rgn-overview-heading .rgn-h2 span { display: inline; }
  .rgn-overview-steps { grid-template-columns: 1fr; gap: 40px; }
  .rgn-overview-steps::before {
    top: 36px;
    bottom: 36px;
    left: 35px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(46, 133, 119, 0.32);
  }
  .rgn-overview-step {
    min-height: 72px;
    padding-left: 100px;
    text-align: left;
  }
  .rgn-overview-step::before {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }
  .rgn-contact-grid { border-radius: 14px; }
  .rgn-audience-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rgn-form-row { grid-template-columns: 1fr; }
  .rgn-cert-head { flex-direction: column; }
  .rgn-cert-seal { order: -1; }
  .rgn-mech-row { grid-template-columns: 1fr; gap: 4px; }
  .rgn-feature-grid { grid-template-columns: 1fr; }

  /* Sticky-reveal degrades to a plain stacked list on small viewports */
  .rgn-sticky-item { min-height: 0; padding-bottom: 20px; }
  .rgn-sticky-card,
  .rgn-sticky-item:nth-child(1) .rgn-sticky-card,
  .rgn-sticky-item:nth-child(2) .rgn-sticky-card,
  .rgn-sticky-item:nth-child(3) .rgn-sticky-card,
  .rgn-sticky-item:nth-child(4) .rgn-sticky-card,
  .rgn-sticky-item:nth-child(5) .rgn-sticky-card,
  .rgn-sticky-item:nth-child(6) .rgn-sticky-card {
    position: static;
    z-index: auto;
    border-radius: 18px;
  }
  .rgn-sticky-card--overlay { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .rgn-btn { transition: none; }
  .rgn-flow-panel, .rgn-flow-detail { transition: none; }
}

.rgn-back-to-top {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  background: var(--rgn-canvas, #FBFCFB);
}
.rgn-back-to-top a {
  font-family: var(--rgn-sans, inherit);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rgn-muted, #57687F);
  text-decoration: none;
}
.rgn-back-to-top a:hover {
  color: var(--rgn-ink, #0F1E38);
  text-decoration: underline;
}
