html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: #000000;
  overflow-x: clip; /* moderne Browser */
  background-color: #F0EBE6;
}

h1 {
font-family: Epilogue;
font-size: clamp(2.4rem, 5vw, 4.5rem);
font-style: normal;
font-weight: 900;
line-height: 100%;
text-transform: lowercase;
letter-spacing: -1.4px;
margin: 0 0 10px 0 
}

.h1-highlight {
font-family: "Lora";
font-size: clamp(2.4rem, 5vw, 4.5rem);
font-style: italic;
font-weight: 400;
line-height: 90%;
text-transform: lowercase;
letter-spacing: -2.16px;
}

h2 {
font-family: Epilogue;
font-size: clamp(1.8rem, 4vw, 2.5rem);
font-style: normal;
font-weight: 900;
line-height: 110%;
text-transform: lowercase;
margin: 0 0 10px 0 
}

.h2-highlight {
font-family: "Lora";
font-size: clamp(1.9rem, 4.2vw, 2.625rem);
font-style: italic;
font-weight: 400;
line-height: 95%;
text-transform: lowercase;
letter-spacing: -0.84px;
}

h3 {
font-family: Epilogue;
font-size: clamp(1.2rem, 3vw, 1.56rem);
font-style: normal;
font-weight: 900;
line-height: 115%;
letter-spacing: -0.5px;
text-transform: lowercase;
}


.h3-highlight {
font-family: Lora;
font-size: clamp(1.2rem, 3vw, 1.56rem);
font-style: italic;
font-weight: 400;
line-height: normal;
letter-spacing: -0.5px;
text-transform: lowercase;
margin-bottom: 8px;
}

h4 {
font-family: Epilogue;
font-size: clamp(1rem, 2.5vw, 1.125rem);
font-style: normal;
font-weight: 900;
line-height: 110%;
letter-spacing: -0.32px;
text-transform: lowercase;
}

p {
font-family: Epilogue;
font-size: clamp(1rem, 2vw, 1.125rem);
font-style: normal;
font-weight: 400;
line-height: 160%; /* 24px */
letter-spacing: -0.36px;
}

/* ========= NAV ========= */
.hero__nav{
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--nav-pad);
}
.hero__brand img {
  height: clamp(20px, 8vw, 44px);
}
.hero__links{
  display: flex; gap: clamp(18px, 2.5vw, 34px);
  justify-content: center;
}
.hero__links a,
.hero__cta{
  color: #F0EBE6; text-decoration: none;
  font-family: Epilogue; font-weight: 800; letter-spacing: .2px;
  font-size: clamp(14px, 1.1vw, 16px);
}
.hero__cta{ justify-self: end; position: relative; }

.hero__links :hover {
  color: #ED5FC5;
 }

/* Doppel-Unterstreichung (SVG) */
.has-double-underline-home::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height: 12px;
  background: url("../img/striche/double-underline.svg") no-repeat 0 100% / 100% 100%;
}


/* Nav – Dark Theme */
.hero__nav{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(10px, 2.2vw, 18px);
}
.hero__brand img{   height: clamp(20px, 8vw, 44px); }
.hero__links{ display:flex; gap: clamp(18px,2.4vw,34px); justify-content:center; }
.hero__cta{ justify-self:end; position:relative; }

.nav--dark a,
.nav--dark .hero__cta{ color:#222; text-decoration:none; font-weight:800; }
.has-double-underline::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height:12px;
  background: url("../img/striche/double-underline_black.svg")
              no-repeat 0 100% / 100% 100%;
}


/* ===== FOOTER ===== */
.footer-sticker img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer{
  margin-top: 200px;
  padding-bottom: 50px;
}
.site-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: min(7vw, 48px);
  text-align: center;
}

/* Headline-Container: referenz für Sticker-Position */
.site-footer__headline{
  position: relative;
  display: inline-block;             /* nur so breit wie der Titel */
  margin: 0 auto;
}
.site-footer__title{
  /* nutzt deine globalen h1-Styles */
  margin: 0;
}

/* Sticker – absolute im Headline-Container */
.footer-sticker{
  position: absolute;
  width: clamp(56px, 7vw, 92px);
  height: auto;
  opacity: 0;
  transform: scale(.85);
pointer-events: auto;      /* <-- wichtig */
  display: inline-block;
  will-change: transform, opacity;
}

/* Basis: Bild im Sticker-Link */
.footer-sticker img{
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
  transition: transform .28s cubic-bezier(.22, .9, .34, 1.3);
}

/* Hover-Effekt: leicht wachsen + tilt */
.footer-sticker:hover img{
  transform: scale(1.08) rotate(-4deg);
}

/* Positionen (bei 1200px wie im Screenshot) */
.footer-sticker--mail{
  /* links neben „something …“ */
  left: -88px;
  top: 52%;
  transform: translateY(-50%) rotate(-8deg) scale(.85);
}
.footer-sticker--in{
  /* rechts bei „together.“ */
  right: 22px;
  bottom: -30px;
  transform: rotate(-4deg) scale(.85);
}

/* Meta-Zeile */
.site-footer__meta{
  margin-top: clamp(28px, 5vh, 40px);
  display: grid;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.site-footer__meta small{
  font-family: Epilogue, system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.6vw, 0.9rem); /* ≈ 13–14px */
  letter-spacing: -.2px;
  color: #000000;
}

/* „impressum“: gleiche Doppel-Unterstreichung wie oben */
.footer-underline{
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #000000;
  font-size: clamp(0.8rem, 1.6vw, 0.9rem); /* ≈ 13–14px */
  font-family: Epilogue, system-ui, sans-serif;
  font-weight: 700;                  /* bold wie gewünscht */
  padding-bottom: 10px;              /* Platz für Doppellinie */
}
.footer-underline::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 12px;
  background: url("../img/striche/double-underline_black.svg")
              no-repeat left bottom / 100% 100%;
}

/* Responsiv kleine Korrekturen */
@media (max-width: 900px){
  .footer-sticker--mail{ left: -44px; top: 54%; }
  .footer-sticker--in{ right: -44px; bottom: 0; }
}
@media (max-width: 600px){
  .footer-sticker{ width: clamp(44px, 12vw, 72px); }
  .footer-sticker--mail{ left: -50px; }
  .footer-sticker--in{ right: -36px; }
}



/* ===== More Projects – Overlap Layout ===== */


.more-projects{
  position: relative;
  min-height: 100vh;                         /* nimmt immer mindestens die ganze Höhe ein */
  padding-block: clamp(40px, 8vh, 80px);     /* etwas weniger Rand als vorher */
  overflow: visible;
  display: flex;
  align-items: center;                       /* Stack vertikal mittig */
}

.more-projects__stack{
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding-inline: min(8vw, 64px);
  height: clamp(420px, 56vh, 580px);        /* etwas flacher, sitzt in der Mitte vom Viewport */
}

/* Titel über den Karten */
.more-projects__title{
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
}
.double-underline{
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -10px;
  width: clamp(160px, 22vw, 230px);
  height: 10px;
  background: url("../img/striche/double-underline_black.svg") no-repeat 50% 100% / 100% 100%;
  pointer-events: none;
}

/* Scribble hinter den Karten (unten rechts wie im Shot) */
.more-projects__scribble{
  position: absolute;
  z-index: 0;
  right: -6vw;                              /* immer leicht aus dem Viewport raus */
  bottom: clamp(-40px, -6vh, -90px);        /* knapp unter den Karten */
  width: clamp(200px, 24vw, 360px);
  pointer-events: none;
}

/* Smiley-Sticker vorne links oben */
.more-projects__sticker{
  position: absolute;
  z-index: 4;
  left: clamp(70px, 10vw, 260px);
  top: clamp(110px, 18vh, 200px);
  width: clamp(64px, 8vw, 104px);
  opacity: 1;                /* 🔥 immer sichtbar, JS macht nur noch Bewegung */
  transform: scale(.85);
  pointer-events: none;
}

/* ===== Cards (überlappend) ===== */
.mp-card{
  --radius: 20px;

  position: absolute;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden; /* Label bleibt drin; Sticker liegt außerhalb des Stacks */
  border: 4px solid var(--frame);   /* <<< thin beige frame */
  box-shadow: none !important;

  transform-origin: center center;            /* sanfter Scale-Pivot */
  will-change: transform;
  transition: transform .55s cubic-bezier(.22, .9, .34, 1.2) !important;
  cursor: pointer;
}

.mp-card:hover{
  transform: scale(1.02) rotate(0.1deg) !important;
  box-shadow: none !important; /* falls irgendwo noch eins durchrutscht */
}
@media (hover: none){
  .mp-card:hover{ transform: none !important; }
}


/* Medien */
.mp-card__media{
  width: 100%; height: 100%;
}
.mp-card__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Label */
.mp-card__label{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(14px, 2vw, 22px);
  width: calc(100% - 2*clamp(14px, 2vw, 22px));
  text-align: center;
  color: #F0EBE6;
  text-shadow: 0 2px 10px rgba(0,0,0,.28);
  font-family: Epilogue;
  font-size: 25px;
  font-weight: 900;
  line-height: 115%;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ---- konkrete Positionen + Aspect Ratios (wie im Screenshot) ---- */

/* linke Karte: kleiner, 4:3, leicht nach links geneigt */
/* linke Karte: rechtskante in der Mitte */
/* linke Karte */
.mp-card--left{
  z-index: 1;
  aspect-ratio: 4 / 3;
  width: min(42vw, 520px);
  top: clamp(140px, 26vh, 240px);
  left: clamp(18px, 6vw, 120px);
  transform: rotate(-6deg);
}

/* rechte Karte */
.mp-card--right{
  z-index: 2;
  aspect-ratio: 5 / 4;
  width: min(44vw, 720px);
  top: clamp(90px, 18vh, 200px);
  left: clamp(260px, 36vw, 520px);
  transform: rotate(6deg);
}

/* Responsive: untereinander, ohne Tilt */
@media (max-width: 900px){
  .more-projects__stack{
    height: auto;
    padding-top: clamp(120px, 22vh, 160px);   /* ↑ mehr Abstand zwischen Titel und erster Karte */
    padding-bottom: 40px;
  }

  .mp-card,
  .mp-card--right,
  .mp-card--left{
    position: relative;
    left: 0; top: 0;
    width: 100%;
    transform: none;
    margin-bottom: clamp(18px, 5vw, 30px);
  }

  .more-projects__sticker{
    left: 50%;
    top: clamp(60px, 14vh, 120px);
    transform: translateX(-180%) scale(.9);
  }
}

