/* ==========================================================================
   PSÖ – Private Sozialwirtschaft Österreich
   Design tokens aus dem PS-Design-System (Brand-Lila #5D17EA, Inter)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  /* Brand purple */
  --purple-800: oklch(0.35 0.21 285.5);
  --purple-700: oklch(0.42 0.25 285.5);
  --purple-600: #5d17ea;
  --purple-500: oklch(0.56 0.24 285.5);
  --purple-400: oklch(0.65 0.19 285.5);
  --purple-200: oklch(0.85 0.08 285.5);
  --purple-100: oklch(0.93 0.04 285.5);
  --purple-50: oklch(0.97 0.016 285.5);
  /* Ink */
  --ink-900: #1e2328;
  --ink-700: oklch(0.36 0.012 240);
  --ink-500: oklch(0.52 0.012 240);
  --ink-200: oklch(0.87 0.006 240);
  --ink-50: oklch(0.975 0.003 240);
  --white: #ffffff;
  --red-600: oklch(0.55 0.2 27);
  --green-600: oklch(0.55 0.14 155);
  --green-100: oklch(0.94 0.05 155);
  /* Aliases */
  --brand: var(--purple-600);
  --brand-hover: var(--purple-700);
  --surface-page: var(--white);
  --surface-subtle: var(--ink-50);
  --surface-brand: var(--purple-600);
  --text-body: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-on-brand: var(--white);
  --text-brand: var(--purple-600);
  --border-subtle: var(--ink-200);
  --border-brand: var(--purple-600);
  --focus-ring: var(--purple-400);
  /* Typo & Effekte */
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --tracking-overline: 0.18em;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(30, 35, 40, 0.06), 0 4px 12px rgba(30, 35, 40, 0.06);
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --container: 1120px;
}

/* ==== Base ==== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* Kein horizontales Scrollen – z. B. durch Reveal-Transforms
   verschobene Elemente. clip statt hidden, damit der Sticky-Header
   funktioniert; hidden als Fallback für ältere Browser. */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font: 400 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

[hidden] { display: none !important; }

a { color: var(--text-brand); }

h1, h2, h3 { text-wrap: pretty; margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 32px;
}

.text-brand { color: var(--text-brand); }
.on-brand { color: var(--text-on-brand); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { font-size: 14px; padding: 8px 20px; }
.btn-md { font-size: 15px; padding: 11px 24px; }
.btn-lg { font-size: 17px; padding: 14px 30px; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 6px 18px rgba(93, 23, 234, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text-brand);
  box-shadow: inset 0 0 0 2px var(--border-brand);
}
.btn-secondary:hover { background: var(--purple-50); }

.btn-ghost {
  background: transparent;
  color: var(--text-brand);
}
.btn-ghost:hover { background: var(--purple-50); }

.btn-inverted {
  background: var(--white);
  color: var(--text-brand);
}
.btn-inverted:hover { background: var(--purple-100); }

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-card); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo { height: 48px; width: auto; display: block; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-body);
  max-width: 180px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav > a:not(.btn) {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--brand);
  transition: right var(--dur-base) var(--ease-out);
}
.main-nav > a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==== Overlines ==== */
.overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-brand);
}
.overline-line {
  display: block;
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--brand);
}
.overline-line-white { background: var(--white); }
.overline-on-brand { color: var(--purple-200); }

.overline-plain {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-brand);
}

/* ==== Sections ==== */
.section { padding-block: 96px; }
.section-subtle { background: var(--surface-subtle); }
.section-brand {
  background: var(--surface-brand);
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ==== Hero ==== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-page);
}

.deco { position: absolute; border-radius: var(--radius-pill); pointer-events: none; }
.deco-circle-fill {
  top: -140px; right: -120px;
  width: 420px; height: 420px;
  background: var(--purple-50);
  animation: drift 14s ease-in-out infinite alternate;
}
.deco-circle-ring {
  bottom: -60px; right: 340px;
  width: 180px; height: 180px;
  border: 2px solid var(--purple-200);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
.deco-circle-ring-brand {
  bottom: -180px; left: -160px;
  width: 480px; height: 480px;
  border: 2px solid var(--purple-500);
  animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-18px, 14px); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-block: 88px 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.lead {
  margin: 0;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--surface-page);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.pill:hover { border-color: var(--purple-400); color: var(--text-brand); }

.hero-card {
  background: var(--surface-brand);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 24px 48px -20px rgba(93, 23, 234, 0.45);
}
.hero-card-title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-on-brand);
}
.hero-card-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--purple-100);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
  margin-top: 4px;
}
.bar {
  width: 22px;
  border-radius: 6px 6px 0 0;
  background: var(--purple-400);
  transform-origin: bottom;
  transform: scaleY(0);
}
.b1 { height: 24px; }
.b2 { height: 38px; }
.b3 { height: 32px; background: var(--purple-200); }
.b4 { height: 52px; background: var(--white); }
.b5 { height: 64px; background: var(--white); }

.bars.is-visible .bar { animation: grow 700ms var(--ease-out) forwards; }
.bars.is-visible .b1 { animation-delay: 100ms; }
.bars.is-visible .b2 { animation-delay: 220ms; }
.bars.is-visible .b3 { animation-delay: 340ms; }
.bars.is-visible .b4 { animation-delay: 460ms; }
.bars.is-visible .b5 { animation-delay: 580ms; }

@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hero-card-who {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--purple-500);
  padding-top: 18px;
}
.hero-card-q {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-brand);
}
.hero-card-a {
  margin: 0;
  font-size: 14px;
  color: var(--purple-100);
}

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--purple-400);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  transition: background var(--dur-base) var(--ease-out);
}
.chip:hover { background: var(--purple-500); }

/* ==== Split layout (Haltung / Nenner) ==== */
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.split-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.split-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.split-body .body-strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-body);
}

.callout {
  background: var(--purple-100);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--purple-800);
}

/* ==== Ziele ==== */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-head-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.section-head-narrow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin-bottom: 56px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-page);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-card);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--purple-100);
  color: var(--text-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.card:hover .card-icon {
  background: var(--brand);
  color: var(--white);
}
.card-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  color: var(--text-brand);
}
.card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-body);
}
.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==== Gemeinsamer Nenner ==== */
.statement-list { display: flex; flex-direction: column; }
.statement {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--purple-400);
}
.statement-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  color: var(--purple-200);
  padding-top: 4px;
}
.statement p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--white);
}

/* ==== Videos ==== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-card);
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: none;
  background: var(--ink-900);
  cursor: pointer;
  overflow: hidden;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-base) var(--ease-out);
}
.video-card:hover .video-poster img { transform: scale(1.04); }

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(30, 35, 40, 0.35);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.video-card:hover .video-play {
  transform: scale(1.08);
  background: var(--white);
}

.video-poster iframe,
.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.video-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 24px 26px;
}
.video-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-body);
}
.video-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==== Timeline (Mitmachen) ==== */
.timeline { margin-top: 16px; }
.timeline-title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-brand);
}
.timeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.timeline-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 26px 0;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: -2px;
  width: 2px;
  background: var(--border-subtle);
}
.timeline-step:last-child::before { display: none; }
.timeline-step:last-child { padding-bottom: 0; }

.timeline-dot {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: var(--radius-pill);
  background: var(--surface-page);
  border: 2px solid var(--ink-300, var(--border-subtle));
  z-index: 1;
}
.timeline-step.is-current .timeline-dot {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--purple-100);
}
.timeline-step.is-current .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--purple-400);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

.timeline-now {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-bottom: 6px;
}
.timeline-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 4px;
}
.timeline-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.timeline-step:not(.is-current) h3 { color: var(--text-secondary); }

/* ==== Rollen-Checkboxen (Formular) ==== */
.role-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.role-fieldset legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  padding: 0;
  margin-bottom: 10px;
}
.optional-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
  margin-left: 4px;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.role-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.role-option:hover { border-color: var(--purple-400); }
.role-option input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.role-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--purple-50);
  color: var(--text-body);
}

/* ==== Bibliothek ==== */
.library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.doc-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-card);
}

.doc-cover {
  flex: none;
  width: 132px;
  aspect-ratio: 1 / 1.414;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px rgba(30, 35, 40, 0.14);
  transform: rotate(-1.5deg);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  background: var(--white);
}
.doc-card:hover .doc-cover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 10px 24px rgba(30, 35, 40, 0.2);
}
.doc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.doc-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.doc-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-brand);
  background: var(--purple-100);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.doc-body h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-body);
}
.doc-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.doc-meta {
  font-size: 13px !important;
  color: var(--text-muted) !important;
}
.doc-download { margin-top: 4px; }
.doc-download svg { flex: none; }

/* ==== Allianz ==== */
.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.member {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border-subtle);
}
.member-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--surface-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.member h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 6px;
}
.member p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.who-panel {
  margin-top: 48px;
  border: 2px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.who-intro {
  margin: 0;
  max-width: 860px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 56px;
}
.who-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  break-inside: avoid;
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--brand);
}

.member-cta { margin-top: 40px; }

/* ==== Formular ==== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-copy-note {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}
.field input {
  font: 400 16px/1.4 var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(0.65 0.19 285.5 / 0.25);
}
.field.has-error input { border-color: var(--red-600); }
.field-error {
  margin: 0;
  font-size: 13px;
  color: var(--red-600);
}

.form-actions { margin-top: 4px; }
.form-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-error {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--red-600);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* Erfolgsmeldung */
.form-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fade-up 500ms var(--ease-out);
}
.success-check {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 400ms var(--ease-out) 150ms backwards;
}
.success-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-body);
}
.success-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.share-card {
  border: 2px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.share-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-body);
}
.share-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.share-url {
  margin: 2px 0 0;
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-800);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ==== Rechtsseiten (Impressum / Datenschutz) ==== */
.legal { max-width: 760px; }
.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin: 20px 0 8px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: 40px;
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal p { margin: 14px 0 0; }
.legal ul {
  margin: 14px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal li::marker { color: var(--brand); }
.legal strong { color: var(--text-body); }
.legal a { color: var(--text-brand); text-decoration-thickness: 1px; }
.legal a:hover { color: var(--brand-hover); }
.legal-stand {
  margin-top: 40px !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

/* ==== CTA-Band ==== */
.cta-band { background: var(--surface-brand); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-block: 80px;
}
.cta-inner p {
  margin: 0;
  max-width: 680px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-on-brand);
}
.cta-highlight { color: var(--purple-200); }

/* ==== Footer ==== */
.site-footer {
  background: var(--surface-page);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand img {
  height: 40px;
  width: auto;
  align-self: flex-start;
}
.footer-brand span {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==== Scroll-Reveal ==== */
.reveal,
.reveal-right {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-right { transform: translateX(32px); }

.reveal.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { --reveal-delay: 90ms; }
.delay-2 { --reveal-delay: 180ms; }
.delay-3 { --reveal-delay: 270ms; }
.delay-4 { --reveal-delay: 360ms; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ==== Reduced motion ==== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-right { opacity: 1; transform: none; }
  .bar { transform: scaleY(1); }
}

/* ==== Responsive ==== */
@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .section-head,
  .member-grid,
  .form-grid,
  .library-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .member-grid { gap: 0; }
  .who-list { columns: 1; }
  .who-panel { padding: 26px 24px; }
  .library-grid { gap: 24px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .section-head { align-items: start; margin-bottom: 40px; }
  .section { padding-block: 72px; }
  .hero-grid { padding-block: 64px 72px; }
  .deco-circle-ring { right: 40px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .hero-grid { padding-block: 48px 56px; }
  .hero-card { padding: 32px 26px; }
  .form-card { padding: 28px 22px; }
  .share-card { padding: 26px 22px; }
  .doc-card { flex-direction: column; padding: 22px; }
  .doc-cover { width: 110px; }
  .video-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .cta-inner { padding-block: 56px; }
  .brand-logo { height: 40px; }
  .brand-name {
    font-size: 13px;
    max-width: 150px;
  }
  .header-inner { gap: 12px; }

  /* Mobile-Navigation */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface-page);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    padding: 12px 20px 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.btn) {
    padding: 10px 0;
    font-size: 16px;
    width: 100%;
  }
  .main-nav > .btn { margin-top: 8px; }
}

@media (max-width: 360px) {
  .brand { gap: 10px; }
  .brand-logo { height: 34px; }
  .brand-name {
    font-size: 12px;
    max-width: 125px;
  }
}
