/* ═══════════════════════════════════════════════════
   CANVAS
   ═══════════════════════════════════════════════════ */

#archipelCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
/* CSS-Fallback: Statischer Gradient wenn Canvas inaktiv */
.canvas-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 35%, rgba(91,155,213,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 55% 60%, rgba(123,198,126,0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 65%, rgba(232,184,77,0.035) 0%, transparent 40%);
  display: none;
}
.canvas-fallback.active { display: block }


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */

section.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-start; z-index: 1; pointer-events: none;
  padding: 0; margin: 0; overflow: visible;
}
.hero__content {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--space-md);
  padding-top: calc(var(--nav-height) + 1rem);
  width: 100%; pointer-events: auto;
}
.hero__briefkopf {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 0.15rem;
  opacity: 0; animation: fadeUp 700ms 300ms forwards;
}
.hero__icon {
  width: clamp(80px, 12vw, 160px); height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(91,155,213,0.20)) drop-shadow(0 0 4px rgba(255,255,255,0.06));
}
.hero__brand {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 3rem);
  color: var(--text-primary); letter-spacing: 0.08em; line-height: 1.1;
}
.hero__brand span { color: var(--blob-blue) }
.hero__label {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-accent-blue);
  margin-top: 0.15rem;
}
.hero__briefkopf + .hero__headline {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: none;
}
.hero__headline {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1.15; color: var(--text-primary); letter-spacing: 0.01em;
  max-width: 22ch; margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 700ms 800ms forwards;
}
.hero__headline em { font-style: normal; color: var(--text-accent-blue) }

/* ═══ DRUM ROLLER (Hero-Headline) ═══ */
.roller {
  display: block;
  position: relative;
  overflow: hidden;
}
.roller__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.roller__slot {
  flex-shrink: 0;
  color: var(--text-accent-blue);
  font-style: normal;
  will-change: opacity;
  display: flex;
  align-items: flex-start;
}

.hero__sub {
  font-size: clamp(1rem, 1.2vw, 1.2rem); font-weight: 300;
  color: var(--text-secondary); max-width: 52ch; line-height: 1.5;
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 700ms 1000ms forwards;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  opacity: 0; animation: fadeUp 700ms 1200ms forwards;
}

/* Kompakte Hero-Variante für kurze Viewports (14-Zoll Laptops etc.) */
@media(max-height: 800px) {
  .hero__content { padding-top: calc(var(--nav-height) + 0.5rem) }
  .hero__icon { width: clamp(60px, 10vw, 100px) }
  .hero__brand { font-size: clamp(1.4rem, 2.2vw, 2rem) }
  .hero__label { font-size: 0.72rem }
  .hero__briefkopf + .hero__headline { margin-top: 1rem; padding-top: 1rem }
  .hero__headline { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 0.8rem }
  .hero__sub { margin-bottom: 0.8rem; font-size: 0.95rem }
}
.hero .btn--primary { position: relative }
.hero .btn--primary::before {
  content: ''; position: absolute; inset: -5px; border-radius: 13px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-green));
  filter: blur(18px); z-index: -1;
  animation: glowPulse 8s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: 0.10 } 50% { opacity: 0.25 } }

.viz-label {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.22);
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1.5s 10s forwards;
  pointer-events: none; transition: opacity 300ms;
}
.viz-label__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue);
  animation: pulse 5s ease-in-out infinite;
}

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; pointer-events: none;
  opacity: 0; animation: fadeUp 800ms 1600ms forwards; transition: opacity 300ms;
}
.scroll-hint__text {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-hint__line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(1) } 50% { opacity: 0.7; transform: scaleY(1.3) } }


/* ═══════════════════════════════════════════════════
   TRAILER / VIDEO FACADE
   Innerhalb von <main>, vor der ersten Inhaltssektion.
   Facade-Pattern: Thumbnail + Klick → youtube-nocookie Iframe.
   ═══════════════════════════════════════════════════ */

.trailer {
  position: relative;
  background: var(--bg-elevated);
  padding: var(--space-md) 0 var(--space-lg);
}

.trailer__frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(90,143,200,0.10),
    0 6px 30px rgba(0,0,0,0.45),
    0 0 60px rgba(90,143,200,0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.trailer__frame:hover,
.trailer__frame:focus-visible {
  box-shadow:
    0 0 0 1px rgba(90,143,200,0.22),
    0 10px 40px rgba(0,0,0,0.55),
    0 0 80px rgba(90,143,200,0.08);
  transform: translateY(-2px);
}

.trailer__frame:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 4px;
}

.trailer__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

.trailer__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer__frame.is-playing {
  cursor: default;
  transform: none;
  box-shadow:
    0 0 0 1px rgba(90,143,200,0.10),
    0 6px 30px rgba(0,0,0,0.45);
}

.trailer__frame.is-playing .trailer__thumb {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .trailer__frame { transition: none; }
}

@media (max-width: 600px) {
  .trailer { padding: var(--space-sm) 0 var(--space-md); }
  .trailer__frame { border-radius: 8px; }
}


/* ═══════════════════════════════════════════════════
   CONTENT WRAPPER & NEBEL-ÜBERGANG
   ═══════════════════════════════════════════════════ */

.content { position: relative; z-index: 2; margin-top: 50vh }
.content::before {
  content: ''; display: block; height: 8vh;
  background: linear-gradient(180deg, transparent 0%, rgba(18,26,42,0.4) 50%, var(--bg-elevated) 100%);
  pointer-events: none;
}
/* Viewport-spezifische Anpassungen */
@media(max-height: 700px) { .content { margin-top: 40vh } }
@media(min-height: 900px) { .content { margin-top: 55vh } }


/* ═══════════════════════════════════════════════════
   SEKTIONEN
   ═══════════════════════════════════════════════════ */

/* — Was ist es — */
.what { background: var(--bg-elevated); padding-top: var(--space-sm) }
.what__intro { max-width: var(--content-narrow); margin-bottom: var(--space-lg) }
.what__intro p { line-height: 1.72 }
.what__accent { color: var(--text-primary); font-weight: 600; margin-top: var(--space-md); display: block }

/* — Inseln — */
.islands { background: transparent; position: relative; overflow: hidden }

.islands-backdrop {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0;
}
.islands-backdrop img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.12;
  filter: saturate(0.6) brightness(0.9);
}
@media(max-width:767px) {
  .islands-backdrop img {
    object-position: center 40%;
    opacity: 0.08;
    filter: saturate(0.45) brightness(0.85) blur(1px);
  }
}
.islands__grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: var(--space-lg) }
@media(min-width:600px) { .islands__grid { grid-template-columns: 1fr 1fr; gap: 0 var(--space-md) } }
.island-item {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  padding: var(--space-sm) 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.island-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
  position: relative; box-shadow: 0 0 6px currentColor;
}
.island-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: 0.25; filter: blur(5px);
}
.island-name { font-family: var(--font-display); font-size: 1.02rem; color: var(--text-primary); display: block; margin-bottom: 2px }
.island-desc { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45 }
.island-flavor { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.55; display: block; margin-top: 0.3rem; font-style: italic; opacity: 0.75 }
.island-modules {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem;
}
.island-modules__tag {
  font-size: 0.75rem; color: var(--text-muted);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 0.15rem 0.55rem;
  line-height: 1.4;
}

/* — Inseln: Dekorative Blobs — */
.islands .blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0 }
.islands .blob--a {
  width: clamp(200px,30vw,350px); height: clamp(200px,30vw,350px);
  top: -10%; right: -5%; filter: blur(90px);
  background: radial-gradient(circle, rgba(96,165,250,0.06), transparent 70%);
}
.islands .blob--b {
  width: clamp(160px,22vw,260px); height: clamp(160px,22vw,260px);
  bottom: -8%; left: -4%; filter: blur(70px);
  background: radial-gradient(circle, rgba(167,139,250,0.05), transparent 65%);
}

/* — Fundierung — */
.foundation { background: var(--bg-elevated); position: relative }
.foundation__content { max-width: var(--content-max) }
.foundation__intro { max-width: var(--content-narrow); margin-bottom: var(--space-lg) }

.methods-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
@media(min-width:600px) { .methods-grid { grid-template-columns: 1fr 1fr } }
@media(min-width:1024px) { .methods-grid { grid-template-columns: 1fr 1fr 1fr } }

.method-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem; position: relative; overflow: hidden;
  transition: all 280ms cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.method-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green));
  opacity: 0.6;
}
@media(hover:hover) {
  .method-card:hover {
    background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(90,143,200,0.10), 0 0 0 1px rgba(90,143,200,0.06);
  }
}
.method-card__name {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--text-primary); line-height: 1.3;
}
.method-card__author {
  font-size: var(--fs-small); color: var(--text-muted);
  font-style: italic; margin-top: -0.3rem;
}
.method-card__desc {
  font-size: var(--fs-small); color: var(--text-secondary);
  line-height: 1.72;
}

.foundation__trauma {
  margin-top: var(--space-md);
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 14px; padding: var(--space-md);
  position: relative; overflow: hidden;
}
.foundation__trauma::before {
  content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--c-green), var(--c-amber));
  border-radius: 14px 0 0 14px;
}
.foundation__trauma-title {
  font-family: var(--font-display); font-size: var(--fs-h3);
  color: var(--text-primary); margin-bottom: 0.8rem;
}
.foundation__trauma p { color: var(--text-secondary); line-height: 1.72 }
.foundation__trauma-features {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem;
}
.foundation__trauma-tag {
  font-size: var(--fs-small); color: var(--text-accent-green);
  background: rgba(124,184,124,0.06); border: 1px solid rgba(124,184,124,0.12);
  border-radius: 20px; padding: 0.35rem 0.9rem;
}
.foundation__note {
  margin-top: var(--space-md); padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  color: var(--text-muted); font-size: var(--fs-small); line-height: 1.72;
}

/* — Zielgruppe — */
.audience { background: var(--bg-primary); position: relative }
.audience .blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0 }
.audience .blob--a {
  width: clamp(200px,28vw,320px); height: clamp(200px,28vw,320px);
  top: -12%; left: -5%; filter: blur(80px);
  background: radial-gradient(circle, rgba(91,155,213,0.06), transparent 65%);
}
.audience .blob--b {
  width: clamp(180px,24vw,280px); height: clamp(180px,24vw,280px);
  bottom: -10%; right: -4%; filter: blur(70px);
  background: radial-gradient(circle, rgba(232,184,77,0.05), transparent 65%);
}
.audience__content { max-width: var(--content-max); position: relative; z-index: 1 }
.audience__intro { max-width: var(--content-narrow); margin-bottom: var(--space-lg) }
.audience__intro p { line-height: 1.72 }

.audience__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
  margin-bottom: var(--space-md);
}
@media(min-width:768px) { .audience__grid { grid-template-columns: repeat(3,1fr) } }

.audience-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: all 280ms cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column;
}
.audience-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: 14px 14px 0 0; z-index: 1;
}
.audience-card--blue::before { background: linear-gradient(90deg, var(--c-blue), var(--c-blue-deep)) }
.audience-card--green::before { background: linear-gradient(90deg, var(--c-green), rgb(90,160,90)) }
.audience-card--amber::before { background: linear-gradient(90deg, var(--c-amber), rgb(200,148,56)) }
@media(hover:hover) {
  .audience-card:hover {
    background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
  }
  .audience-card--blue:hover { box-shadow: 0 12px 40px rgba(90,143,200,0.12), 0 0 0 1px rgba(90,143,200,0.08) }
  .audience-card--green:hover { box-shadow: 0 12px 40px rgba(124,184,124,0.12), 0 0 0 1px rgba(124,184,124,0.08) }
  .audience-card--amber:hover { box-shadow: 0 12px 40px rgba(220,168,76,0.12), 0 0 0 1px rgba(220,168,76,0.08) }
}
.audience-card__img {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-primary);
}
.audience-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 400ms cubic-bezier(0.25,0.46,0.45,0.94);
}
@media(hover:hover) {
  .audience-card:hover .audience-card__img img { transform: scale(1.04) }
}
.audience-card__body {
  padding: 1.3rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: var(--space-xs); flex: 1;
}
.audience-card__title {
  font-family: var(--font-display); font-size: var(--fs-h3);
  color: var(--text-primary);
}
.audience-card__text { color: var(--text-secondary); line-height: 1.72 }

.audience__tagline {
  margin-top: var(--space-md); font-weight: 600; color: var(--text-primary);
  max-width: var(--content-narrow);
}
.audience__facts {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-sm);
}
.audience__fact {
  font-size: var(--fs-small); color: var(--text-muted);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 0.35rem 0.9rem;
}

/* — Origin-Block (innerhalb Audience) — */
.audience__origin {
  margin-top: var(--space-lg);
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 14px; padding: var(--space-md);
  position: relative; overflow: hidden;
}
.audience__origin::before {
  content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--c-blue), var(--c-amber));
  border-radius: 14px 0 0 14px;
}
.audience__origin-title {
  font-family: var(--font-display); font-size: var(--fs-h3);
  color: var(--text-primary); margin-bottom: 0.8rem;
}
.audience__origin p { color: var(--text-secondary); line-height: 1.72 }
.audience__origin p + p { margin-top: 0.8rem; }
.audience__origin a {
  color: var(--text-accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms;
}
@media(hover:hover) { .audience__origin a:hover { color: var(--text-primary) } }

/* — Zugang — */
.access { background: var(--bg-elevated); position: relative; overflow: hidden }
.access .blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0 }
.access .blob--a {
  width: clamp(250px,35vw,400px); height: clamp(250px,35vw,400px);
  top: -15%; right: -8%;
  background: radial-gradient(circle, rgba(91,155,213,0.14), transparent 70%);
}
.access .blob--b {
  width: clamp(200px,28vw,320px); height: clamp(200px,28vw,320px);
  bottom: -12%; left: -6%;
  background: radial-gradient(circle, rgba(232,184,77,0.10), transparent 70%);
}
.access .blob--c {
  width: clamp(180px,25vw,280px); height: clamp(180px,25vw,280px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123,198,126,0.06), transparent 65%);
}
.access__inner { max-width: var(--content-max); position: relative; z-index: 1 }
.access__intro { max-width: var(--content-narrow); margin-bottom: var(--space-lg) }

.access__trust {
  display: grid; grid-template-columns: 1fr; gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
@media(min-width:600px) { .access__trust { grid-template-columns: 1fr 1fr } }
@media(min-width:900px) { .access__trust { grid-template-columns: repeat(4,1fr) } }

.trust-item {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 12px; padding: 1.3rem;
  transition: all 250ms cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column; gap: 0.5rem;
}
@media(hover:hover) {
  .trust-item:hover {
    background: var(--bg-card-hover); border-color: rgba(255,255,255,0.10);
    transform: translateY(-2px);
  }
}
.trust-item__icon { line-height: 0 }
.trust-item__title {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--text-primary); line-height: 1.3;
}
.trust-item__desc {
  font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.72;
}

.access__cta {
  max-width: var(--content-narrow);
}
.access__cta p { color: var(--text-secondary); line-height: 1.72; margin-bottom: var(--space-sm) }
.access__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-md) 0 }
.access__note { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.72 }
.access__note a {
  color: var(--text-accent-blue); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 200ms;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer { background: var(--bg-footer); padding: var(--space-lg) 0 var(--space-md); position: relative; overflow: hidden }
.footer__net {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
}
.footer__inner { display: flex; flex-direction: column; gap: var(--space-md); position: relative; z-index: 1 }
@media(min-width:768px) { .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start } }
.footer__brand {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary);
  letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px;
}
.footer__brand span { color: var(--blob-blue) }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md) }
.footer__links a { font-size: var(--fs-small); color: var(--text-muted); transition: color 200ms }
@media(hover:hover) { .footer__links a:hover { color: var(--text-secondary) } }
.footer__links a:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 2px }
.footer__bottom {
  margin-top: var(--space-md); padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs);
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-muted) }
