:root{
  /* ---------- Base palette ---------- */
  --color-blue:  #6b86ce;
  --color-pink:  #eec6ca;
  --color-berry: #a56e86;
  --color-teal:  #0b3948;

  /* ---------- Semantic tokens ---------- */
  --bg0: var(--color-pink);
  --bg1: var(--color-berry);
  --fg:  var(--color-teal);
  --b:   var(--color-blue);
  --accent: var(--color-pink);

  /* ---------- Utility ---------- */
  --hair: rgba(11,57,72,.12);

  /* RGB helpers */
  --blue-rgb: 119,133,172;
  --pink-rgb: 238,198,202;
  --berry-rgb: 142,65,98;
  --green-rgb: 145,196,153;
  --teal-rgb: 11,57,72;
}

@font-face {
  font-family: "Notable";
  src: url("/assets/fonts/Notable-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--fg);
  background: var(--bg0);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(900px 650px at 18% 12%, rgba(var(--green-rgb), .30), transparent 60%),
    radial-gradient(900px 650px at 78% 18%, rgba(var(--blue-rgb), .18), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

.page{
  min-height:100%;
}

/* ---------- Transition ---------- */
.transition{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  pointer-events: none;
}

.transition .shutter{
  height: 100%;
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  transform: translateY(0);
  transition: transform 1.5s ease;
}

.transition.is-hidden .shutter{
  transform: translateY(-100%);
}

/* ---------- Home ---------- */
.home{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 90px;
}

.s{
  padding: 84px 0;
  border-bottom: 1px dashed var(--hair);
}

.future-teaser__inner .s:first-child{
  padding-top: 0;
}

.s h2{
  margin:0 0 24px;
  font-size: 32px;
  letter-spacing: -.3px;
}

.hs{
  font-size: 16px;
}

/* ---------- Strip ---------- */
.strip{
  position: sticky;
  top: 0;
  z-index: 20;
  height: clamp(140px, 20vh, 180px);
  width: 100%;
  overflow: hidden;
  background: var(--bg0);
}

.reel{
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  gap: 12px;
  padding: 12px;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.frame{
  position: relative;
  flex: 0 0 clamp(90px, 14vw, 170px);
  height: 100%;
  overflow: hidden;
}

@media (min-width: 1024px){
  .reel{
    gap: 8px;
  }
}

.frame img{
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  transform: translateX(-50%);
  will-change: transform;
  backface-visibility: hidden;
}

/* ---------- Links ---------- */
a{
  color: var(--b);
}

/* ---------- Welcome ---------- */
.welcome-message{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.fonts-loaded .welcome-message{
  opacity: 1;
}

.welcome-message__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 24px;
  width: 100%;
}

.welcome-message__inner h1{
  margin: 0;
  font-family: "Notable", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 500;
  line-height: 0.95;
  white-space: nowrap;
  letter-spacing: 0.2em;
  display: block;
  width: max-content;
  max-width: 100%;
  animation: titleSpacing 4s ease forwards;
  margin: 0;
  transform: translateX(3%); /* feinjustieren */
}

.welcome-message.is-hidden .welcome-message__inner{
  opacity: 0;
}

.welcome-line{
  width: min(180px, 38vw);
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(var(--fg), 0) 0%,
    var(--b) 20%,
    var(--b) 80%,
    rgba(var(--fg), 0) 100%
  );
  opacity: .95;
}

@keyframes titleSpacing{
  from{ letter-spacing: 0.2em; }
  to{ letter-spacing: 0.55em; }
}

/* ---------- Content Split ---------- */
.s .content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.s .text{ flex: 1; }

.s .image{
  flex: 1;
  display: flex;
  justify-content: center;
}

.s .image img{
  width: 90%;
  max-width: 500px;
  max-height: 300px;
  object-fit: cover;
}

/* ---------- Future Teaser ---------- */
.future-teaser{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.future-teaser__content{
  position: relative;
  z-index: 1;
}

.future-teaser__inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.future-teaser__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(var(--green-rgb), 0.0) 0%,
    rgba(var(--teal-rgb), 0.82) 30%,
    rgba(var(--teal-rgb), 0.90) 90%,
    rgba(var(--teal-rgb), 0.95) 100%
  );
}

.future-teaser__lines{
  display: grid;
  gap: 5.5rem;
  transform: rotate(-3deg);
  text-align: center;
  color: var(--accent);
  font-size: clamp(1.2rem, 3vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.95;
  width: 80%;
}