/* ═══════════════════════════════════════════════
   holidayjob.ch — ABOUT  ·  Hybrid Theme
   Dark cinematic hero + footer · light main content ·
   contained dark Instagram card
   Fonts → Tokens → Base → Hero → Sticky → Main →
   Typography → Reveal → Team → Impact → Articles →
   Instagram → Trusted → CTA → Footer → Overlay →
   Particles → Responsive
════════════════════════════════════════════════ */

/* ─── LOCAL FONTS ─────────────────────────────── */
@font-face { font-family:'Syne'; src:url('fonts/syne-v24-latin-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Syne'; src:url('fonts/syne-v24-latin-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Syne'; src:url('fonts/syne-v24-latin-800.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'DM Sans'; src:url('fonts/dm-sans-v17-latin-300.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'DM Sans'; src:url('fonts/dm-sans-v17-latin-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════════ */
:root {
  /* ── LIGHT main area ── */
  --bg-light:      #f8fbff;
  --bg-light-2:    #eef4fb;
  --surface-light: rgba(255,255,255,0.85);
  --surface-solid: #ffffff;
  --border-light:  rgba(15,23,42,0.09);
  --border-light-h:rgba(18,119,255,0.30);

  --text-dark:     #0f172a;
  --text-mid-dark: #4b5e7a;
  --text-soft-dark:#607086;

  /* ── DARK areas (hero, footer, instagram card) ── */
  --bg-dark:   #050810;
  --bg-deep:   #03050b;
  --bg-raise:  #0a0f1d;

  --surface-d1: rgba(255,255,255,0.045);
  --surface-d2: rgba(255,255,255,0.07);
  --border-d:   rgba(255,255,255,0.10);
  --border-dh:  rgba(255,255,255,0.22);

  --text-light:      #f0f4ff;
  --text-light-mid:  #aab6d4;
  --text-light-soft: #8493b6;
  --text-light-dim:  rgba(255,255,255,0.30);

  /* ── BRAND ── */
  --c-blue:    #1277ff;   /* primary */
  --c-blue-v:  #1769ff;   /* eyebrow accent */
  --c-blue-dk: #0b5ed7;
  --c-teal:    #27f0d8;   /* shimmer / animation accent */
  --c-violet:  #a855f7;
  --c-gold:    #ffd43a;

  /* glows (dark) */
  --glow-t:    rgba(39,240,216,0.18);
  --glow-b:    rgba(18,119,255,0.18);
  --glow-v:    rgba(168,85,247,0.16);

  /* gradients */
  --grad-brand: linear-gradient(135deg, var(--c-teal) 0%, var(--c-blue) 50%, var(--c-violet) 100%);
  --grad-line:  linear-gradient(90deg, transparent, rgba(18,119,255,0.55) 25%, rgba(168,85,247,0.40) 75%, transparent);
  --grad-blue:  linear-gradient(135deg, var(--c-blue-v) 0%, var(--c-blue) 55%, #3aa0ff 100%);

  /* shape + motion */
  --radius:    20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);

  /* elevation — light */
  --shadow-s:  0 4px 16px rgba(15,23,42,0.06);
  --shadow-m:  0 14px 38px rgba(15,23,42,0.10);
  --shadow-l:  0 28px 64px rgba(15,23,42,0.14);
  --shadow-blue: 0 22px 54px rgba(18,119,255,0.18);
  /* elevation — dark */
  --shadow-d1: 0 12px 34px rgba(0,0,0,0.40);
  --shadow-d2: 0 28px 70px rgba(0,0,0,0.58);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(18,119,255,0.22); color: #0f172a; }

a { color: inherit; }

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

/* ═══════════════════════════════════════════════
   HERO  —  cinematic full-screen logo (DARK)
════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* drifting mesh aurora */
#hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 28% 38%, rgba(39,240,216,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 52% 50% at 72% 62%, rgba(18,119,255,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 42% 42% at 50% 18%, rgba(168,85,247,0.07) 0%, transparent 52%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}

/* vignette to seat the logo */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 38%, rgba(3,5,11,0.55) 100%);
}

@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(2%, 3%) scale(1.05); }
  100% { transform: translate(-2%, -2%) scale(1.02); }
}

/* black overlay — opacity driven by JS on scroll */
#hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 2;
  pointer-events: none;
}

#hero-logo {
  position: relative;
  z-index: 3;
  animation: logoPulse 3.5s ease-in-out infinite;
}

#logo-img {
  width: 100vw;
  max-width: 100vw;
  display: block;
  opacity: 0.12;                  /* JS ramps this up on scroll */
  filter: drop-shadow(0 0 80px rgba(39,240,216,0.14));
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 60px rgba(39,240,216,0.15)); }
  50%      { transform: scale(1.045); filter: drop-shadow(0 0 110px rgba(39,240,216,0.30)); }
}

/* tagline */
#hero-tagline {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: taglineFade 1.8s ease forwards 1.2s;
}

.hero-tagline-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}

@keyframes taglineFade {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* scroll hint — falling line */
#scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: taglineFade 1s ease forwards 2s;
}

#scroll-hint span {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollLineDrop 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

@keyframes scrollLineDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   STICKY LOGO  (top-right, fades in past hero)
════════════════════════════════════════════════ */
.logo-wrapper {
  position: fixed;
  top: 18px;
  right: 28px;
  width: 92px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  filter: drop-shadow(0 6px 18px rgba(18,119,255,0.22));
}

.logo-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.logo-sticky-img {
  width: 100%;
  display: block;
  transition: transform 0.35s var(--ease-out);
}

.logo-wrapper:hover .logo-sticky-img { transform: scale(1.06); }

/* ═══════════════════════════════════════════════
   MAIN CONTENT  —  LIGHT canvas
════════════════════════════════════════════════ */
#main-content {
  background:
    radial-gradient(ellipse 60% 40% at 12% 6%, rgba(18,119,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 38% at 90% 14%, rgba(39,240,216,0.07) 0%, transparent 58%),
    linear-gradient(180deg, var(--bg-light) 0%, var(--bg-light-2) 100%);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

/* soft lower ambient tint */
#main-content::after {
  content: '';
  position: absolute;
  bottom: 220px; left: -10%; right: -10%;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 44% at 84% 50%, rgba(18,119,255,0.05) 0%, transparent 62%),
    radial-gradient(ellipse 40% 40% at 16% 60%, rgba(168,85,247,0.045) 0%, transparent 58%);
}

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 36px;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: 116px;
  position: relative;
}

/* hairline divider between flow sections */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 1px;
  background: var(--grad-line);
  opacity: 0.7;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY  (light context)
════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-blue-v);
  margin-bottom: 18px;
}

/* pulsing lead-dot on every eyebrow */
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-blue-v);
  box-shadow: 0 0 12px rgba(23,105,255,0.6);
  animation: eyebrowPulse 2.6s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

/* generic section heading + lead (team / impact / cta) */
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.74;
  color: var(--text-mid-dark);
  max-width: 640px;
}

/* ── INTRO section identity: accent rail + spacing ── */
#about-intro .container {
  padding-left: 60px;
}

#about-intro .container::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 6px;
  bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--c-blue-v), var(--c-violet), transparent);
  opacity: 0.7;
}

.about-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(54px, 7.6vw, 100px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 44px;
  background: linear-gradient(
    135deg,
    #0f172a       0%,
    #163e7a      30%,
    var(--c-blue) 60%,
    var(--c-violet) 100%
  );
  background-size: 300% auto;
  background-position: 100% center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-up.visible .about-title {
  animation: titleSweep 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes titleSweep {
  from { background-position: 100% center; }
  to   { background-position: 0% center; }
}

.about-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-mid-dark);
  max-width: 660px;
  margin-bottom: 22px;
}

.about-description:last-child { margin-bottom: 0; }

/* lead-in emphasis on first paragraph */
.about-description:first-of-type { color: var(--text-dark); font-weight: 500; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════ */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-52px); }
.fade-right { transform: translateX(52px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════
   TEAM  —  Gründerteam (two light cards)
════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 52px;
}

.team-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 34px 38px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--border-light-h);
}

.team-card:hover::before { opacity: 1; }

.team-photo-placeholder {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--grad-blue);
  box-shadow: 0 10px 26px rgba(18,119,255,0.32);
  flex-shrink: 0;
}

.team-body { display: flex; flex-direction: column; gap: 8px; }

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.team-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-v);
}

.team-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-mid-dark);
  margin-top: 6px;
  padding-left: 16px;
  border-left: 2px solid rgba(18,119,255,0.30);
}

/* ═══════════════════════════════════════════════
   IMPACT  —  Zahlen-Kacheln
════════════════════════════════════════════════ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.impact-tile {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.impact-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(18,119,255,0.06) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.impact-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--border-light-h);
}

.impact-tile:hover::after { opacity: 1; }

.impact-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.impact-plus {
  -webkit-text-fill-color: var(--c-teal);
  color: var(--c-teal);
}

.impact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.impact-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-soft-dark);
}

/* ═══════════════════════════════════════════════
   ARTICLES  —  light cards, asymmetric, 3D tilt
════════════════════════════════════════════════ */
#articles { position: relative; }

.articles-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-top: 46px;
  perspective: 1300px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-s);
  transition: transform 0.36s var(--ease-out),
              box-shadow 0.36s ease,
              border-color 0.36s ease;
  position: relative;
  transform-style: preserve-3d;   /* JS tilt relies on this */
  will-change: transform;
}

/* top accent line */
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.36s ease;
  z-index: 2;
}

.article-card:hover {
  border-color: var(--border-light-h);
  box-shadow: var(--shadow-l), var(--shadow-blue);
}

.article-card:hover::before { opacity: 1; }

.article-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #e7eef7;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.5s ease;
  filter: brightness(0.98) saturate(1);
}

.article-card:hover .article-img {
  transform: scale(1.07);
  filter: brightness(1.04) saturate(1.1);
}

.article-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(8,18,38,0.55));
}

.article-source {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8,18,38,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
}

.article-body {
  padding: 26px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.article-title {
  font-family: 'Syne', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.article-card:hover .article-title { color: var(--c-blue-dk); }

.article-teaser {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-mid-dark);
  line-height: 1.68;
  flex: 1;
}

.article-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-top: 4px;
  transition: gap 0.25s var(--ease-out);
}

.article-cta svg { transition: transform 0.25s var(--ease-out); }

.article-card:hover .article-cta { gap: 11px; }
.article-card:hover .article-cta svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════
   INSTAGRAM  —  CONTAINED dark navy card
════════════════════════════════════════════════ */
#instagram {
  padding-block: 60px;
  position: relative;
}

.insta-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
  padding: 64px 28px;
  text-align: center;
  border-radius: 34px;
  overflow: hidden;
  color: var(--text-light);
  background: linear-gradient(135deg, #06152e, #0a2664 46%, #063a57);
  box-shadow: 0 40px 90px rgba(6,21,46,0.40);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ambient glows inside the card */
.insta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 22% 26%, rgba(39,240,216,0.16) 0%, transparent 56%),
    radial-gradient(ellipse 55% 55% at 82% 74%, rgba(168,85,247,0.16) 0%, transparent 54%),
    radial-gradient(ellipse 50% 50% at 50% 40%, rgba(18,119,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}

/* central glow seam */
.insta-inner::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(168,85,247,0.34) 30%,
    rgba(39,240,216,0.46) 50%,
    rgba(168,85,247,0.34) 70%,
    transparent
  );
  pointer-events: none;
}

.insta-label {
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.insta-headline {
  position: relative;
  z-index: 1;
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.038em;
  margin-bottom: 42px;
  line-height: 1.04;
  text-shadow: 0 4px 50px rgba(168,85,247,0.20);
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  padding: 17px 36px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.3s var(--ease-out);
}

.insta-link:hover {
  border-color: rgba(168,85,247,0.55);
  background: rgba(168,85,247,0.10);
  transform: translateY(-3px);
}

.insta-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(168,85,247,0.12), rgba(39,240,216,0.12), rgba(18,119,255,0.12)
  );
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  animation: gradShift 4s linear infinite;
}

.insta-link:hover::before { opacity: 1; }

.insta-link::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg,
    var(--c-violet), var(--c-teal), var(--c-blue), var(--c-violet)
  );
  background-size: 300% auto;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: borderShimmer 4s linear infinite;
}

.insta-link:hover::after { opacity: 0.55; }

@keyframes gradShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes borderShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.insta-icon {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  color: rgba(255,255,255,0.78);
  transition: color 0.35s ease;
}

.insta-link:hover .insta-icon { color: #fff; }

.insta-handle {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--c-teal)   0%,
    var(--c-blue)  40%,
    var(--c-violet) 70%,
    var(--c-teal) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════
   TRUSTED BY  —  light conveyor
════════════════════════════════════════════════ */
#trusted {
  overflow: hidden;
  position: relative;
}

.testimonial-track-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent);
}

.testimonial-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: carouselScroll 28s linear infinite;  /* JS may override duration */
}

.testimonial-track:hover { animation-play-state: paused; }

@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--surface-solid);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.34s var(--ease-out), box-shadow 0.34s ease, border-color 0.34s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light-h);
  box-shadow: var(--shadow-m);
}

.testimonial-logo-wrap {
  height: 38px;
  display: flex;
  align-items: center;
}

.testimonial-logo {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.35s ease;
}

.testimonial-card:hover .testimonial-logo {
  filter: grayscale(0) opacity(1);
}

.testimonial-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-soft-dark);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-logo-text { color: var(--c-blue); }

.testimonial-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-mid-dark);
  line-height: 1.72;
  flex: 1;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-person {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.testimonial-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-soft-dark);
}

.testimonial-url {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--c-blue);
  text-decoration: none;
  margin-top: 5px;
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.testimonial-url:hover { opacity: 1; text-decoration: underline; }

/* ═══════════════════════════════════════════════
   CTA / MITMACHEN  —  dual conversion cards
════════════════════════════════════════════════ */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 42px 40px 38px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.cta-card:hover { transform: translateY(-6px); }

/* primary — bold blue */
.cta-card-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.cta-card-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 0%, rgba(39,240,216,0.28) 0%, transparent 60%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cta-card-primary:hover { box-shadow: 0 32px 70px rgba(18,119,255,0.34); }
.cta-card-primary:hover::after { opacity: 1; }

/* secondary — light outlined */
.cta-card-secondary {
  background: var(--surface-solid);
  color: var(--text-dark);
  border-color: var(--border-light);
  box-shadow: var(--shadow-s);
}

.cta-card-secondary:hover {
  border-color: var(--border-light-h);
  box-shadow: var(--shadow-m);
}

.cta-tag {
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cta-card-primary .cta-tag   { color: rgba(255,255,255,0.78); }
.cta-card-secondary .cta-tag { color: var(--c-blue-v); }

.cta-title {
  position: relative;
  z-index: 1;
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-card-secondary .cta-title { color: var(--text-dark); }

.cta-text {
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
}
.cta-card-primary .cta-text   { color: rgba(255,255,255,0.88); }
.cta-card-secondary .cta-text { color: var(--text-mid-dark); }

.cta-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.25s var(--ease-out);
}
.cta-card-primary .cta-action   { color: #fff; }
.cta-card-secondary .cta-action { color: var(--c-blue); }

.cta-action svg { transition: transform 0.25s var(--ease-out); }
.cta-card:hover .cta-action { gap: 13px; }
.cta-card:hover .cta-action svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   FOOTER  (DARK)
════════════════════════════════════════════════ */
#site-footer {
  background: linear-gradient(180deg, #050810 0%, #000 100%);
  color: var(--text-light);
  padding: 96px 36px 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 640px;
  max-width: 80%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(39,240,216,0.28) 30%,
    rgba(168,85,247,0.34) 50%,
    rgba(39,240,216,0.28) 70%,
    transparent
  );
}

/* soft footer glow */
#site-footer::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(39,240,216,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-logo-wrap { position: relative; z-index: 1; }

.footer-logo {
  width: 260px;
  max-width: 65vw;
  display: block;
  animation: logoPulse 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(39,240,216,0.12));
}

.footer-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.footer-home-text {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
}

.footer-home-link:hover .footer-home-text { color: rgba(255,255,255,0.72); }

.wave-char {
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-home-link:hover .wave-char {
  animation: waveChar 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.045s);
  color: var(--c-teal);
}

@keyframes waveChar {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-7px); }
  65%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

.footer-globe {
  width: 15px;
  height: 15px;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease, transform 0.5s var(--ease-out);
  flex-shrink: 0;
}

.footer-home-link:hover .footer-globe {
  color: var(--c-teal);
  transform: rotate(360deg);
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   PAGE-FADE OVERLAY
════════════════════════════════════════════════ */
#page-fade {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.55s ease;
}

#page-fade.active {
  opacity: 1;
  pointer-events: all;
}

/* ═══════════════════════════════════════════════
   HERO PARTICLES
════════════════════════════════════════════════ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.5; }
  100% { transform: translateY(-100vh) scale(0.2); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }

  .article-card.fade-left,
  .article-card.fade-right { transform: translateY(40px); }
  .team-card.fade-left,
  .team-card.fade-right { transform: translateY(40px); }
}

@media (max-width: 768px) {
  .logo-wrapper { display: none; }

  .section { padding-block: 80px; }
  .container { padding-inline: 22px; }

  #about-intro .container { padding-left: 36px; }
  #about-intro .container::before { left: 22px; }

  #instagram { padding-block: 40px; }
  .insta-inner { padding: 52px 22px; border-radius: 26px; }

  .testimonial-track-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent);
  }

  .testimonial-card { width: 300px; }
  .article-img-wrap { height: 210px; }

  .cta-card { padding: 34px 30px; }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
  #logo-img { width: 300px; }
  .about-description { font-size: 16px; }
  .insta-handle { font-size: 17px; }
  .insta-link { padding: 15px 26px; }
  #hero-tagline { bottom: 76px; }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .fade-left, .fade-right { opacity: 1 !important; transform: none !important; }
}
