/* =========================================================
   PAUL KETZLER — PORTFOLIO
   Design tokens
   ========================================================= */
:root{
  --bg:            #000000;
  --bg-elevated:   #000000;
  --bg-card:       #000000;
  --line:          rgba(255,255,255,0.07);
  --line-strong:   rgba(255,255,255,0.15);

  --text-primary:   #f2f2ef;
  --text-secondary: #9c9c98;
  --text-tertiary:  #6e6e6a;

  /* Gebürstetes Metall als sekundärer Akzent, Rot sparsam für CTAs/Highlights
     — angelehnt an Porsche/Brabus-Understatement statt Motorsport-Grelle. */
  --accent:      #a8121f;
  --accent-2:    #c9c9c4;
  --accent-dim:  rgba(168,18,31,0.14);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:auto; }
body{
  background:var(--bg);
  color:var(--text-primary);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img,video{ max-width:100%; display:block; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

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

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px var(--gutter);
  background:linear-gradient(to bottom, rgba(10,10,11,0.85), transparent);
  backdrop-filter:blur(6px);
  opacity:0; transform:translateY(-8px); pointer-events:none;
  transition:opacity .4s ease, transform .4s ease;
}
.nav.is-visible{
  opacity:1; transform:none; pointer-events:auto;
}
.nav__mark{
  font-family:var(--font-display); font-weight:700; font-size:1.1rem;
  letter-spacing:0.02em;
}
.nav__links{ display:flex; align-items:center; gap:32px; }
.nav__links a{
  font-size:0.9rem; color:var(--text-secondary);
  transition:color .2s ease;
}
.nav__links a:hover{ color:var(--text-primary); }
.nav__cta{
  color:var(--text-primary) !important;
  border:1px solid var(--line-strong);
  padding:8px 18px; border-radius:2px;
}
.nav__cta:hover{ border-color:var(--accent); }
.nav__burger{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.nav__burger span{ width:22px; height:2px; background:var(--text-primary); }

@media (max-width:820px){
  .nav__links{
    position:fixed; inset:0 0 0 auto; top:0; height:100vh; width:min(80vw,320px);
    background:var(--bg-elevated); flex-direction:column; justify-content:center;
    gap:28px; padding:0 40px;
    transform:translateX(100%); transition:transform .35s ease;
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__burger{ display:flex; z-index:110; }
}

/* =========================================================
   HERO — cremefarbener Rand, abgeschrägter Video-Rahmen
   ========================================================= */
:root{
  --cream:#f1ece1;
  --ink:#111110;
}
.hero{
  position:relative;
  min-height:100vh;
  display:flex; flex-direction:column;
  padding:clamp(18px,2.5vw,40px) clamp(12px,2vw,24px) clamp(30px,4vw,48px);
  background:var(--cream);
}
.hero__logo{
  position:absolute; top:clamp(18px,2.5vw,40px); left:clamp(16px,2.2vw,32px);
  z-index:3;
  display:block;
}
.hero__logo img{
  display:block;
  height:clamp(22px,2.6vw,34px);
  width:auto;
}
.hero__frame{
  position:relative;
  flex:1;
  display:flex; flex-direction:column; justify-content:flex-end; align-items:center;
  overflow:hidden;
  background:#000000;
  padding-bottom:clamp(70px,14vh,180px);
  --cx-tl: 15%;
  --cy-tl: 16%;
  --cx-br: 22%;
  --cy-br: 10%;
  clip-path:polygon(
    var(--cx-tl) 0, 100% 0,
    100% calc(100% - var(--cy-br)),
    calc(100% - var(--cx-br)) 100%,
    0 100%, 0 var(--cy-tl)
  );
}
.hero__bg-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
}
.hero__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.55) 100%);
}
.hero__poster{
  position:relative; z-index:2;
  font-family:'Courier Prime', var(--font-mono), monospace;
  font-weight:400;
  font-size:clamp(1.6rem, 5.2vw, 4rem);
  line-height:1; letter-spacing:-0.01em;
  color:#fff;
  text-align:center;
  white-space:nowrap;
  width:100%;
  padding:0 clamp(24px,5vw,72px);
  margin:0;
}

.scroll-cue{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:0.72rem; color:var(--text-tertiary);
  letter-spacing:0.08em; text-transform:lowercase;
  margin:clamp(20px,3vw,32px) auto 0;
}
.scroll-cue__line{
  width:1px; height:40px; background:var(--line-strong);
  position:relative; overflow:hidden;
}
.scroll-cue__line::after{
  content:''; position:absolute; top:-40px; left:0; width:100%; height:40px;
  background:var(--ink); animation:scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown{ to{ top:100%; } }

/* Scroll-Cue nur als Strich, ohne Wort */
.scroll-cue--line-only span{ display:none; }

/* =========================================================
   SECTION DIVIDER — animierter roter Strich zwischen Abschnitten
   ========================================================= */
.section-divider{
  display:flex; justify-content:center; align-items:center;
  padding:4px 0;
  background:transparent;
}
.section-divider__line{
  width:1px; height:54px;
  position:relative; overflow:hidden;
  background:var(--line-strong);
}
.section-divider__line::after{
  content:''; position:absolute; top:-54px; left:0; width:100%; height:54px;
  background:var(--accent); animation:scrollDown 2s ease-in-out infinite;
}

.scroll-cue--dark{
  color:var(--text-tertiary);
  margin:18px auto 0;
}
.scroll-cue--dark .scroll-cue__line{ background:var(--line-strong); }
.scroll-cue--dark .scroll-cue__line::after{ background:var(--accent); }

@media (max-width:700px){
  .hero{ padding:34px 10px 44px; }
  .hero__poster{ padding:0 20px; white-space:normal; }
  .hero__logo{ top:34px; left:16px; }
  .hero__logo img{ height:36px; }
}

/* =========================================================
   INTRO — Name, Rolle, Kennzahlen direkt unter dem Hero
   ========================================================= */
.intro{
  padding:80px var(--gutter) 30px;
  max-width:var(--container); margin:0 auto;
}
.intro__inner{
  display:grid; grid-template-columns:1.2fr 0.8fr;
  gap:clamp(32px,5vw,72px);
  align-items:center;
}
.intro__text > [data-reveal]:nth-of-type(1){ transition-delay:.05s; }
.intro__text > [data-reveal]:nth-of-type(2){ transition-delay:.15s; }
.intro__name{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing:-0.01em; line-height:1.2;
  margin-bottom:40px;
}
.intro__role{
  display:block;
  color:var(--text-secondary); font-weight:500;
  font-size:clamp(1.1rem, 1.8vw, 1.4rem);
  margin-top:8px;
}
.intro__portrait{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:4/5;
  border:1px solid var(--line);
}
.intro__portrait-inner{ width:100%; height:100%; }
.intro__portrait-inner img{
  width:100%; height:100%; object-fit:cover; display:block;
  animation:introKenBurns 22s ease-in-out infinite alternate;
}
@keyframes introKenBurns{
  from{ transform:scale(1); }
  to{ transform:scale(1.07); }
}
@media (max-width:820px){
  .intro__inner{ grid-template-columns:1fr; }
  .intro__portrait{ order:-1; max-width:340px; margin:0 auto; aspect-ratio:4/5; }
}

.eyebrow{
  font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--accent-2); margin-bottom:22px;
}

/* Statistik-Leiste — einzeilig, Apple-artig reduziert */
.hero__stats{
  display:flex; align-items:center; gap:clamp(24px,4vw,56px);
  margin:8px 0 44px; flex-wrap:wrap;
}
.stat{ display:flex; flex-direction:column; gap:4px; }
.stat__value{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.8rem, 3vw, 2.6rem); letter-spacing:-0.01em;
  color:var(--text-primary); line-height:1;
}
.stat__label{
  font-size:0.82rem; color:var(--text-secondary);
}
.stat__divider{
  width:1px; height:40px; background:var(--line-strong);
}
@media (max-width:600px){
  .hero__stats{ gap:20px; }
  .stat__divider{ display:none; }
}
.hero__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:28px; }
.hero__scroll-link{
  font-family:var(--font-mono); font-size:0.85rem; letter-spacing:0.03em;
  color:var(--text-secondary);
  transition:color .25s ease;
}
.hero__scroll-link--stacked{ margin-top:10px; }
.hero__scroll-link:hover{ color:var(--text-primary); }

.btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; border-radius:2px; font-size:0.92rem; font-weight:500;
  letter-spacing:0.02em;
  overflow:hidden;
  transition:transform .2s ease, border-color .2s ease;
}
.btn__fill{
  position:absolute; inset:0; z-index:0;
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s cubic-bezier(.16,1,.3,1);
}
.btn__label{ position:relative; z-index:1; display:inline-flex; align-items:center; gap:8px; }
.btn__label::after{
  content:'→'; display:inline-block;
  transition:transform .3s ease;
}
.btn:hover .btn__label::after{ transform:translateX(4px); }

.btn--primary{ background:var(--accent); color:#fff; }
.btn--primary .btn__fill{ background:var(--accent-2); }
.btn--primary:hover{ transform:translateY(-2px); }
.btn--primary:hover .btn__fill{ transform:scaleX(1); }

.btn--ghost{ border:1px solid var(--line-strong); color:var(--text-primary); }
.btn--ghost .btn__fill{ background:var(--text-primary); }
.btn--ghost:hover{ transform:translateY(-2px); color:var(--bg); border-color:var(--text-primary); }
.btn--ghost:hover .btn__fill{ transform:scaleX(1); }

/* =========================================================
   TEXT MASK REVEAL — Zeile wird beim Scrollen "aufgedeckt"
   ========================================================= */
.reveal-line-wrap{ display:block; overflow:hidden; padding-bottom:0.16em; margin-bottom:-0.16em; }
.js-anim .reveal-line-wrap > *{
  display:block; will-change:transform, opacity;
  transform:translateY(110%); opacity:0;
  transition:transform 1s cubic-bezier(.16,1,.3,1), opacity 1s cubic-bezier(.16,1,.3,1);
}
.reveal-line-wrap.is-visible > *{ transform:translateY(0); opacity:1; }

.js-anim .stagger-word{
  display:inline-block; will-change:transform, opacity;
  transform:translateY(16px); opacity:0;
  transition:transform .6s cubic-bezier(.16,1,.3,1), opacity .6s ease;
}
.stagger-parent.is-visible .stagger-word{ transform:translateY(0); opacity:1; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.custom-cursor{
  position:fixed; top:0; left:0; z-index:300;
  width:16px; height:16px; margin:-8px 0 0 -8px;
  border-radius:50%; background:var(--text-primary);
  pointer-events:none; mix-blend-mode:difference;
  transition:width .25s ease, height .25s ease, margin .25s ease, opacity .2s ease;
  opacity:0;
}
.custom-cursor.is-active{ opacity:1; }
.custom-cursor.is-hovering{
  width:52px; height:52px; margin:-26px 0 0 -26px;
}
@media (max-width:900px), (hover:none){
  .custom-cursor{ display:none; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section{
  padding:52px var(--gutter);
  max-width:var(--container); margin:0 auto;
}
.section--alt{ max-width:none; background:var(--bg); }
.section--alt > *{ max-width:var(--container); margin-left:auto; margin-right:auto; }
.section__head{ margin-bottom:40px; }
.section__eyebrow{
  display:block; font-family:var(--font-mono); font-size:0.78rem;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--accent-2);
  margin-bottom:16px;
}
.section__title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing:-0.01em;
  max-width:640px;
}
.section__sub{
  font-size:1rem; color:var(--text-secondary); margin-top:10px;
}

/* =========================================================
   WACHSTUM / GROWTH CHART
   ========================================================= */
.growth{
  padding-top:clamp(32px,4vh,52px);
  padding-bottom:clamp(40px,6vh,72px);
  display:flex; flex-direction:column; justify-content:center;
  min-height:88vh;
}
.growth .section__head{ margin-bottom:24px; }
#reels .section__head{ margin-bottom:56px; }
.growth__chart{
  position:relative;
  width:100%; aspect-ratio:1000/460;
  max-height:min(440px, 46vh);
  margin-top:8px;
}
.growth__svg{ width:100%; height:100%; display:block; overflow:visible; }
.growth__grid line{
  stroke:var(--line); stroke-width:1;
}
.growth__area{
  fill:url(#growthGradientFallback);
  fill:var(--accent-dim);
  opacity:0;
}
.growth__line{
  fill:none;
  stroke:var(--accent);
  stroke-width:3;
  stroke-linecap:round;
}
.growth__arrowhead{
  fill:var(--accent);
  opacity:0;
  filter:drop-shadow(0 0 8px var(--accent));
}
.growth__marker{
  position:absolute;
  margin:-3px 0 0 -3px;
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.04em;
  color:var(--text-secondary);
  opacity:0; transform:translateY(10px);
  transition:opacity .5s ease, transform .5s ease, color .3s ease;
  pointer-events:none;
  white-space:nowrap;
}
.growth__marker::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--text-tertiary);
  transition:background .3s ease;
}
.growth__marker.is-visible{ opacity:1; transform:translateY(0); }

.growth__chart:hover .growth__marker{ color:var(--text-primary); }
.growth__chart:hover .growth__marker::before{ background:var(--accent); }

.growth__hint{
  margin-top:18px;
  font-family:var(--font-mono); font-size:0.72rem; color:var(--text-tertiary);
  letter-spacing:0.03em; text-align:center;
}

/* Real-Beispiel Beleg-Karte unter dem Chart */
.growth__proof{
  display:grid; grid-template-columns:auto 1fr; gap:clamp(24px,4vw,56px);
  align-items:center;
  margin-top:clamp(32px,5vh,64px);
  padding:clamp(24px,3vw,40px);
  border:1px solid var(--line-strong); border-radius:var(--radius);
  background:var(--bg);
  transition:border-color .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.growth__proof:hover{ border-color:var(--accent); transform:translateY(-4px); }
.growth__proof-metric{
  display:flex; flex-direction:column; gap:6px;
  padding-right:clamp(24px,4vw,56px);
  border-right:1px solid var(--line);
}
.growth__proof-value{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2.6rem,6vw,4.4rem); line-height:1;
  color:var(--accent);
}
.growth__proof-label{
  font-family:var(--font-mono); font-size:0.75rem; letter-spacing:0.04em;
  color:var(--text-secondary); text-transform:uppercase; max-width:16ch;
}
.growth__proof-text p{
  font-size:1rem; color:var(--text-secondary); margin-bottom:14px;
}
.growth__proof-text strong{ color:var(--text-primary); font-weight:600; }
.growth__proof-cta{
  font-family:var(--font-mono); font-size:0.8rem; letter-spacing:0.03em;
  color:var(--accent);
  transition:letter-spacing .3s ease;
}
.growth__proof:hover .growth__proof-cta{ letter-spacing:0.09em; }
@media (max-width:640px){
  .growth__proof{ grid-template-columns:1fr; gap:20px; }
  .growth__proof-metric{
    border-right:none; padding-right:0;
    padding-bottom:20px; border-bottom:1px solid var(--line);
  }
}

@media (max-width:700px){
  .growth__chart{ aspect-ratio:1000/620; }
  .growth__marker{ font-size:0.62rem; }
}

.js-anim [data-reveal]{
  opacity:0; transform:translateY(24px) scale(0.98);
  filter:blur(6px);
  transition:opacity 1.1s cubic-bezier(0.16,1,0.3,1),
             transform 1.1s cubic-bezier(0.16,1,0.3,1),
             filter 1.1s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].is-visible{ opacity:1; transform:none; filter:blur(0); }

/* Vorhang-Reveal für große Bild-/Videoflächen: zieht sich beim Scrollen
   wie ein Vorhang auf, statt nur einzublenden. */
/* Medien-Reveal bewusst OHNE clip-path: clip-path auf <video> wird von
   Safari und teils Chrome fehlerhaft gerendert (Element bleibt komplett
   unsichtbar). Deckkraft + Verschiebung sind browseruebergreifend sicher. */
.js-anim [data-media-reveal]{
  opacity:0;
  transform:translateY(28px) scale(1.02);
  transition:opacity .9s cubic-bezier(0.16,1,0.3,1),
             transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
[data-media-reveal].is-visible{
  opacity:1;
  transform:none;
}

/* =========================================================
   PROFIL
   ========================================================= */
.profil__grid{
  display:grid; grid-template-columns:1.4fr 1fr; gap:64px;
}
.profil__text p{ color:var(--text-secondary); margin-bottom:20px; max-width:56ch; }
.profil__facts{ display:flex; flex-direction:column; gap:24px; }
.fact{
  border-top:1px solid var(--line); padding-top:14px;
  display:flex; flex-direction:column; gap:6px;
}
.fact__label{ font-family:var(--font-mono); font-size:0.72rem; color:var(--text-tertiary); text-transform:uppercase; letter-spacing:0.06em; }
.fact__value{ font-size:0.98rem; }

@media (max-width:820px){
  .profil__grid{ grid-template-columns:1fr; gap:40px; }
}

/* =========================================================
   KOMPETENZEN
   ========================================================= */
.skills{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.skill{
  background:var(--bg); padding:36px 32px;
  display:flex; flex-direction:column; gap:12px;
  transition:background .2s ease, transform .7s cubic-bezier(.16,1,.3,1), opacity .7s ease;
}
.js-anim .skill{ transform:translateY(24px); opacity:0; }
.skills.is-visible .skill{ transform:translateY(0); opacity:1; }
.skills.is-visible .skill:nth-child(1){ transition-delay:0s; }
.skills.is-visible .skill:nth-child(2){ transition-delay:.08s; }
.skills.is-visible .skill:nth-child(3){ transition-delay:.16s; }
.skills.is-visible .skill:nth-child(4){ transition-delay:.24s; }
.skills.is-visible .skill:nth-child(5){ transition-delay:.32s; }
.skills.is-visible .skill:nth-child(6){ transition-delay:.4s; }
.skill:hover{ background:var(--bg-card); }
.skill__num{ font-family:var(--font-mono); font-size:0.78rem; color:var(--accent-2); }
.skill h3{ font-family:var(--font-display); font-size:1.15rem; font-weight:600; }
.skill p{ color:var(--text-secondary); font-size:0.92rem; }

.skill--big{ padding:56px 44px; gap:20px; }
.skill--big .skill__num{ font-size:0.9rem; }
.skill--big h3{ font-size:1.5rem; line-height:1.25; }
.skill--big p{ font-size:1rem; max-width:42ch; }

@media (max-width:900px){
  .skills--big{ grid-template-columns:1fr; }
  .skill--big{ padding:40px 28px; }
}

@media (max-width:820px){
  .skills{ grid-template-columns:1fr; }
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline{
  position:relative;
  padding-left:32px;
  display:flex; flex-direction:column; gap:52px;
}
.timeline::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:1px;
  background:var(--line-strong);
}
.timeline__item{
  position:relative;
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.js-anim .timeline__item.is-visible{ opacity:1; transform:translateY(0); }
.timeline__item::before{
  content:''; position:absolute; left:-32px; top:6px;
  margin-left:-5.5px;
  width:11px; height:11px; border-radius:50%;
  background:var(--bg); border:2px solid var(--text-primary);
}
.timeline__date{
  font-family:var(--font-mono); font-size:0.78rem; color:var(--accent-2);
  text-transform:uppercase; letter-spacing:0.06em; margin-bottom:8px;
}
.timeline__body h3{
  font-family:var(--font-display); font-size:1.2rem; font-weight:600; margin-bottom:10px;
}
.timeline__body p{ color:var(--text-secondary); max-width:60ch; }

/* =========================================================
   PROJEKTE / CASES
   ========================================================= */
.section__hint{
  display:block; margin-top:10px;
  font-family:var(--font-mono); font-size:0.72rem;
  color:var(--text-tertiary); letter-spacing:0.04em;
}
.cases{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.case{ width:100%; }
@media (max-width:900px){
  .cases{ grid-template-columns:1fr; }
}
.case{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s ease, border-color .25s ease,
             opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.js-anim .case.is-visible{ opacity:1; transform:translateY(0); }
.case:hover{ transform:translateY(-4px); border-color:var(--line-strong); }
.case__media{ aspect-ratio:4/3; width:100%; object-fit:cover; background:var(--bg-card); }
.case__media--logo{
  display:flex; align-items:center; justify-content:center;
  background:#f4f4f2; padding:32px;
}
.case__media--logo img{
  width:100%; max-width:180px; height:auto; object-fit:contain;
}
.case__body{ padding:26px; display:flex; flex-direction:column; gap:10px; }
.case__body h3{ font-family:var(--font-display); font-size:1.1rem; font-weight:600; }
.case__body p{ color:var(--text-secondary); font-size:0.92rem; }
.case__tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.case__tags li{
  font-family:var(--font-mono); font-size:0.7rem; text-transform:uppercase; letter-spacing:0.05em;
  color:var(--text-primary); border:1px solid var(--line-strong); background:var(--bg-elevated);
  padding:5px 10px; border-radius:100px;
}

@media (max-width:900px){
  .case{ flex-basis:78vw; }
}

/* =========================================================
   PLACEHOLDER MEDIA (bis echte Dateien eingesetzt werden)
   ========================================================= */
.placeholder-media{
  position:relative;
  background:
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border:1px dashed var(--line-strong);
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  min-height:160px;
}
.placeholder-media::after{
  content:attr(data-label);
  font-family:var(--font-mono); font-size:0.72rem; color:var(--text-tertiary);
  text-transform:uppercase; letter-spacing:0.05em; text-align:center; padding:0 16px;
}

/* =========================================================
   REELS
   ========================================================= */
.reels{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:clamp(20px,3vw,40px);
}
.reels__item{
  width:100%; aspect-ratio:9/16; object-fit:cover;
  border-radius:var(--radius); background:#000;
}
@media (max-width:820px){
  .reels{ grid-template-columns:1fr; max-width:360px; margin:0 auto; gap:28px; }
}

/* =========================================================
   GALERIE
   ========================================================= */
.gallery{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
.gallery__item{
  position:relative; margin:0;
  aspect-ratio:1/1; border-radius:var(--radius); overflow:hidden;
  will-change:transform, opacity;
  transition:transform .6s cubic-bezier(.16,1,.3,1), opacity .6s ease;
}
.js-anim .gallery__item.is-near{ transform:scale(1); opacity:1; }
.gallery__item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease;
}
.gallery:hover .gallery__item:not(:hover) img{ transform:scale(0.92); opacity:0.55; }
.gallery__item:hover{ z-index:2; }
.gallery__item:hover img{ transform:scale(1.12); opacity:1; }
.gallery__item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:14px 16px;
  background:linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family:var(--font-mono); font-size:0.7rem; color:var(--text-primary);
  letter-spacing:0.02em;
  transition:opacity .4s ease, transform .4s ease;
}
.js-anim .gallery__item.is-near figcaption{ opacity:1; transform:translateY(0); }
@media (max-width:820px){ .gallery{ grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   SCROLL PROGRESS — durchgehend sichtbare Bewegung beim Scrollen
   ========================================================= */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:100%;
  transform:scaleX(0); transform-origin:left;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index:200; will-change:transform;
}

/* =========================================================
   CHAPTER INDEX — identische Optik wie die Berufserfahrung-
   Timeline: Linie mit roten Kreisen
   ========================================================= */
.chapter-index{
  position:fixed; right:clamp(24px,3.5vw,48px); top:50%; transform:translateY(-50%);
  z-index:150;
}
.chapter-index__track{
  position:relative;
  display:flex; flex-direction:column; align-items:flex-start; gap:26px;
  padding-left:0;
}
.chapter-index__track::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:1px;
  background:var(--line-strong);
}
.chapter-index__dot{
  width:11px; height:11px; border-radius:50%;
  background:var(--bg); border:2px solid var(--text-tertiary);
  margin-left:-5.5px;
  transition:background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.chapter-index__dot:hover{ transform:scale(1.2); border-color:var(--text-primary); }
.chapter-index__dot.is-active{
  background:var(--text-primary); border-color:var(--text-primary); transform:scale(1.2);
}
@media (max-width:1100px){
  .chapter-index{ display:none; }
}

/* =========================================================
   SHOWREEL
   ========================================================= */
.showreel__player{
  aspect-ratio:16/9; max-width:100%; width:100%;
  border-radius:var(--radius); background:#000;
  object-fit:cover;
}

/* =========================================================
   LOGOS
   ========================================================= */
.logos{ padding-top:80px; padding-bottom:80px; }
.logos__eyebrow{ display:block; text-align:center; margin-bottom:36px; max-width:var(--container); margin-left:auto; margin-right:auto;}
.logos__row{
  display:flex; justify-content:center; align-items:center; gap:24px; flex-wrap:wrap;
}
.logos__item{ width:140px; height:64px; display:flex; align-items:center; justify-content:center; }
.logos__item img{ max-width:100%; max-height:100%; object-fit:contain; }
.logos__item::after{ font-size:0.65rem; }

/* =========================================================
   KONTAKT
   ========================================================= */
.kontakt{ text-align:center; padding-top:140px; padding-bottom:140px; }
.kontakt__inner{ max-width:640px; margin:0 auto; display:flex; flex-direction:column; align-items:center; }
.kontakt__title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2rem, 5vw, 3rem); margin:18px 0 14px; letter-spacing:-0.02em;
}
.kontakt__sub{ color:var(--text-secondary); margin-bottom:36px; }
.kontakt__actions{ margin-bottom:28px; }
.kontakt__socials{ display:flex; gap:28px; }
.kontakt__socials a{ color:var(--text-secondary); font-size:0.9rem; }
.kontakt__socials a:hover{ color:var(--accent-2); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  flex-wrap:wrap;
  padding:32px var(--gutter);
  font-family:var(--font-mono); font-size:0.72rem; color:var(--text-tertiary);
  border-top:1px solid var(--line);
}
.footer__credit{ order:1; }
@media (max-width:600px){
  .footer{ justify-content:center; text-align:center; }
  .footer__credit{ order:2; width:100%; }
}
.footer a:hover{ color:var(--text-primary); }


/* =========================================================
   AUSFALLSICHERUNG
   Alle Start-Zustaende der Scroll-Animationen greifen nur,
   wenn JavaScript laeuft (.js-anim am <html>-Element).
   Faellt JS oder eine externe Bibliothek aus, bleibt die
   Seite vollstaendig sichtbar und lesbar.
   ========================================================= */
.js-anim .timeline__item{ opacity:0; transform:translateY(24px); }
.js-anim .case{ opacity:0; transform:translateY(28px); }
.js-anim .gallery__item{ transform:scale(0.9); opacity:0.6; }
.js-anim .gallery__item figcaption{ opacity:0; transform:translateY(8px); }
