/* ===== Project Detail Hero ===== */
.project-hero{
  background: #F0EBE6;               /* dein Cream */
  min-height: clamp(60vh, 78vh, 92vh);
  padding: clamp(16px, 4vw, 24px);
  position: relative;
}

@media (max-width:900px){
  .project-hero { 
    min-height: 60vh;
  }
}



/* Content */
.project-hero__inner{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 12vh auto 0;
  padding: 0 min(7vw, 56px);
  text-align: center;
}

@media (max-width:900px){
  .project-hero__inner{ margin-top: 10vh; }
}

/* Eyebrow (nur Kundenname wird unterstrichen) */
.project-hero__eyebrow{ margin: 0 0 16px 0; }
.project-hero__client{
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.project-hero__client::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:100%; height:12px;
  background: url("../img/striche/underline.svg")
              no-repeat left bottom / 100% 100%;
}

/* H1 nutzt deine globalen h1-Styles */
.project-hero__title{
  margin: clamp(8px, 2vh, 16px) 0 0 0;
  color:#1f1e1c;
}

/* Sticker */
.project-hero__sticker {
  position: absolute;
  right: clamp(0px, 28vw, 200px);
  top: clamp(20px, 3vh, 100px);
  width: clamp(62px, 7.5vw, 96px);
  opacity: 0;            /* Start unsichtbar */
  transform: scale(0.75) rotate(-10deg);
  transition: none;
  z-index: 3;
  pointer-events: none;
}

@media (max-width:900px){
  .project-hero__inner{ margin-top: 10vh; }
  .project-hero__sticker{
    right: clamp(8px, 6vw, 60px);
    top: clamp(80px, 2vh, 220px);
  }
}

/* ===== Project Shot (Parallax) ===== */
.project-shot{
  position: relative;
  padding: clamp(16px, 4vw, 24px);             /* gleicher Gutter wie Hero */
  overflow: visible;
}

/* Frame füllt die sichtbare Höhe innerhalb des Gutters */
.project-shot__frame{
  position: relative;
  height: calc(100vh - 2 * clamp(16px, 4vw, 24px));
  min-height: 72vh;
  border-radius: 22px;
  overflow: hidden;
  will-change: transform;
}

@media (min-width: 1025px){
  .project-shot__frame{
    position: relative;
    height: calc(100vh - 2 * clamp(16px, 4vw, 24px));
    min-height: 72vh;
    max-height: 90vh;
    border-radius: 22px;
    overflow: hidden;
    will-change: transform;
  }
}

/* Tablets & Mobile: max. quadratisch */
@media (max-width: 1024px){
  .project-shot__frame{
    position: relative;
    width: min(1120px, 100%);
    margin: 0 auto;
    aspect-ratio: 1 / 1;                 /* 🔥 nie höher als breit */
    max-height: min(90vh, 100vw);
    border-radius: 22px;
    overflow: hidden;
    will-change: transform;
  }
}

/* Bild ist größer, damit bei Parallax keine Ränder durchscheinen */
.project-shot__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scribble liegt ÜBER dem Bild, außerhalb des Frames */
.project-shot__scribble{
  position: absolute;
  z-index: 3;                                   /* über Frame */
  right: clamp(10px, -10vw, 40px);
  bottom: clamp(-6px, 0vw, -2px);              /* leicht überlappend */
  width: clamp(120px, 24vw, 240px);
  pointer-events: none;
  will-change: transform;
  transform: scale(1.5);
}

@media (max-width: 900px){
  .project-shot__scribble{
    right: clamp(8px, 6vw, 28px);
    width: clamp(100px, 26vw, 200px);
  }
}

/* ===== TEXT + 3 STEP PARALLAX ===== */
.project-steps{
  position: relative;
  padding-block: clamp(56px, 9vh, 100px);
  overflow: visible;
}
.project-steps__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: min(8vw, 64px);
}

/* Copy */
.project-steps__copy{
  max-width: 540px;
  margin: 0 auto clamp(36px, 6vh, 56px);
  margin-bottom: 120px;
  text-align: left;
}
.project-steps__copy p{ margin: 0 0 1rem 0; }

/* left floating sticker */
.steps-sticker{
  position: absolute;
  width: clamp(70px, 10vw, 110px);
  height: auto;
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
}
.steps-sticker--left{
  left: clamp(10px, 50vw, 80px);
  top: clamp(220px, 22vh, 320px);
}

/* Grid of 3 cards */
.project-steps__grid{
  position: relative;    /* Bezugspunkt für absolute Elemente */
  overflow: visible;     /* Sticker darf überragen */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 3vw, 24px);
  align-items: stretch;
}
.project-card{
    margin: 0;                         /* <<< wichtig */
  aspect-ratio: 4 / 5;               /* höheres Format */
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(0);
  will-change: transform, opacity;
}
.project-card__img{
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
}

/* small sticker on the 3rd card */
.project-sticker{
  position: absolute;
  width: clamp(58px, 8vw, 92px);
  height: auto;
  opacity: 0;
  transform: scale(.8);
  pointer-events: none;
  z-index: 5;
}

.project-sticker--right{
    right: clamp(-20px, -2vw, -40px);  /* leicht über den Rand hinaus */
  bottom: clamp(-40px, -20vw, -80px); /* leicht über Rand hinausragen */
}

/* Responsive */
@media (max-width: 900px){
  .project-steps__grid{ grid-template-columns: 1fr; }
  .project-steps__copy{ margin-bottom: clamp(28px, 6vh, 40px); }
  .steps-sticker--left{
    left: clamp(8px, 5vw, 36px);
    top: clamp(160px, 20vh, 240px);
  }
}

/* === STATEMENT + FEATURE (Viewport, Bild mit paddings) === */
.statement-feature {
  position: relative;
  height: 100vh;
  padding: clamp(16px, 4vw, 40px);
  overflow: visible;
}

.statement-feature__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Statement — bleibt gleich, SCHMAL in der Mitte */
.statement-feature__text {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 80%);
}

/* MEDIA → nimmt voll Platz, aber mit max-Size */
.statement-feature__media {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;

  /* gleichmäßig Abstand durch padding */
  padding: clamp(16px, 4vw, 60px);

  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.statement-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;

  /* Max dimension → wie Start-Hero */
  max-width: 1600px;
max-height: 100vw; }

/* Sticker an rechter Kante */
.statement-feature__sticker {
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  bottom: clamp(-20px, -5vw, 30px);
  width: clamp(70px, 10vw, 120px);
  opacity: 0;
  transform: scale(.85);
  z-index: 4;
}

@media (max-width: 724px){
  .statement-feature__sticker{
    bottom: 40px;
  }
}

@media (max-width: 624px){
  .statement-feature__sticker{
    bottom: 60px;
  }
}

@media (max-width: 564px){
  .statement-feature__sticker{
    bottom: 100px;
  }
}

@media (max-width: 424px){
  .statement-feature__sticker{
    bottom: 180px;
  }
}

/* Scribble */
.statement-feature__scribble {
  position: absolute;
  left: clamp(-64px, -8vw, -24px);
  top: clamp(-18px, -2.5vw, -6px);
  width: clamp(140px, 20vw, 260px);
  opacity: 1;
  pointer-events: none;
  z-index: 3;
}

/* ==== OVERRIDE: Project Shot – auf kleineren Screens max. quadratisch ==== */
@media (max-width: 1024px){
  .project-shot__frame{
    height: auto;          /* überschreibt calc(100vh - …) */
    min-height: 0;         /* überschreibt 72vh */
    aspect-ratio: 1 / 1;   /* 🔥 nie höher als breit */
    max-height: 100vw;     /* Sicherheitsnetz, falls aspect-ratio ignoriert wird */
  }
}