/* ══════════════════════════════════════════════════════════════
   Cool Your Brand — holding page
   Titels: Organetto UltraBold Cnd 90%  ·  Tekst: Inter regular
   Verloop: 60°, linksboven → rechtsonder
   ══════════════════════════════════════════════════════════════ */

@font-face{
  font-family:"Organetto";
  src:url("../fonts/Organetto-UBCnd-90.ttf") format("truetype");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}

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

@font-face{
  font-family:"InterCYB";
  src:url("../fonts/Inter-Black.ttf") format("truetype");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}

:root{
  --cyb-deep-ink:#190A91;
  --cyb-cool-blue:#3C50D2;
  --cyb-pink-pop:#F03291;
  --cyb-paper:#F7F5FA;
  --cyb-black:#0D0D0D;

  /* 60° verloop, linksboven → rechtsonder.
     CSS meet 0° naar boven, dus 150° is dezelfde hoek. */
  --cyb-verloop:linear-gradient(150deg,#190A91 0%,#3C50D2 50%,#F03291 100%);

  --cyb-display:"Organetto","Arial Black","Helvetica Neue",Helvetica,sans-serif;
  --cyb-body:"InterCYB","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --cyb-marge:clamp(22px,5vw,72px);

  /* breedte van het logo; ook de breedte van de kolom die ervoor vrij blijft */
  --cyb-logo-breedte:clamp(150px,15vw,232px);
}

.cyb-holding *{box-sizing:border-box}

html.cyb-html,
html.cyb-html body{height:100%}

.cyb-holding{
  margin:0;
  background:var(--cyb-deep-ink);
  background-image:var(--cyb-verloop);
  background-attachment:fixed;
  color:#fff;
  font-family:var(--cyb-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

.cyb-holding a{color:inherit}

.cyb-holding :focus-visible{
  outline:3px solid var(--cyb-paper);
  outline-offset:4px;
  border-radius:4px;
}

/* ══════════ raamwerk ══════════
   Drie kolommen: tekst · koelkast · vrije baan voor het logo.
   Die derde kolom bestaat alleen zodat de kast nooit onder het logo
   door kan hangen, hoe breed het scherm ook is.                      */

.cyb-pagina{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-columns:
    minmax(0,1fr)
    clamp(231px,29.4vw,430px)
    calc(var(--cyb-marge) + var(--cyb-logo-breedte) + 40px);
  column-gap:clamp(14px,1.8vw,34px);
  align-items:center;
}

/* ── logo, rechtsboven ── */
.cyb-merk{
  position:absolute;
  top:var(--cyb-marge);
  right:var(--cyb-marge);
  z-index:3;
  display:block;
  width:var(--cyb-logo-breedte);
}
.cyb-merk img{display:block;width:100%;height:auto}

/* ── tekstkolom ── */
.cyb-tekst{
  /* rij expliciet: zonder dit schuift autoplacement de tekst naar rij 2,
     omdat de koelkast in de bron vóór de tekst staat en kolom 2 pakt. */
  grid-row:1;
  grid-column:1;
  /* het hele blok — kop, tekst en knop — staat als geheel midden op de pagina */
  align-self:center;
  padding:clamp(40px,6vh,80px) 0 clamp(40px,6vh,80px) var(--cyb-marge);
  /* meetpunt voor de koppen hieronder: cqi = 1% van deze kolom */
  container-type:inline-size;
}

.cyb-label{
  font-family:var(--cyb-body);
  font-weight:900;
  text-transform:uppercase;
  font-size:clamp(11px,.92vw,14px);
  letter-spacing:.12em;
  line-height:1.6;
  color:rgba(255,255,255,.72);
  margin:0 0 clamp(14px,1.6vw,22px);
}

.cyb-titel{
  font-family:var(--cyb-display);
  font-weight:800;
  text-transform:uppercase;
  font-size:clamp(40px,15.5cqi,100px);
  line-height:.9;
  letter-spacing:.005em;
  margin:0 0 clamp(22px,2.8vw,38px);
}

.cyb-blok{
  margin:0 0 clamp(16px,2vw,24px);
}
.cyb-blok:last-of-type{margin-bottom:0}

.cyb-blok h2{
  font-family:var(--cyb-display);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.015em;
  font-size:clamp(19px,5cqi,30px);
  line-height:1.2;
  margin:0 0 .34em;
  /* voorkomt een losse staart op de tweede regel nu de kop groter is */
  text-wrap:balance;
}

/* Afbreking die alleen op telefoon en tablet geldt. Op desktop staat de zin
   achter elkaar; hieronder zet de media query hem weer aan. */
.cyb-br-m{display:none}

.cyb-blok p{
  margin:0;
  max-width:64ch;
  font-size:clamp(15px,1.2vw,18px);
  color:rgba(255,255,255,.9);
}

/* ── losse vraag, tussen de blokken en de knoppen ── */
.cyb-vraag{
  font-family:var(--cyb-display);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.015em;
  font-size:clamp(19px,5cqi,30px);
  line-height:1.2;
  margin:clamp(24px,3.2vw,36px) 0 0;
  text-wrap:balance;
}

/* ── knop ── */
.cyb-knop-rij{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(10px,1vw,14px);
  margin-top:clamp(28px,4vh,52px);
  margin-bottom:0;
}

.cyb-holding .cyb-knop{
  display:inline-flex;
  align-items:center;
  background:var(--cyb-paper);
  color:var(--cyb-black);
  font-family:var(--cyb-display);
  font-weight:800;
  text-transform:uppercase;
  font-size:clamp(13px,1.1vw,16px);
  letter-spacing:.015em;
  line-height:1;
  text-decoration:none;
  padding:clamp(13px,1.25vw,17px) clamp(18px,1.75vw,25px);
  border:2px solid transparent;
  border-radius:999px;
  box-shadow:0 14px 34px -16px rgba(9,3,44,.75);
  transition:transform .22s ease, box-shadow .22s ease;
}
.cyb-knop:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 42px -16px rgba(9,3,44,.85);
}
.cyb-knop:active{transform:translateY(0)}

/* tweede knop: Pink pop met witte tekst */
.cyb-holding .cyb-knop--roze{
  background:var(--cyb-pink-pop);
  color:#fff;
}
.cyb-holding .cyb-knop--roze:hover{
  background:#e81f83;
}

/* ── koelkast aan de ketting ── */
.cyb-koelkast{
  grid-row:1;
  grid-column:2;
  position:relative;
  align-self:stretch;
  min-height:100svh;
  pointer-events:none;
}

.cyb-koelkast img{
  position:absolute;
  top:clamp(-110px,-8vh,-48px);
  left:50%;
  width:100%;
  height:auto;
  translate:-50% 0;
  scale:1;
  transform-origin:50% 0;
  animation:cyb-zwaai 4.4s cubic-bezier(.45,0,.55,1) infinite;
  filter:drop-shadow(0 34px 44px rgba(9,3,44,.45));
  pointer-events:auto;
  transition:scale .38s cubic-bezier(.2,.75,.3,1),
             filter .38s ease;
}

/* 5% groter bij hover. Het draaipunt zit bovenaan de ketting, dus hij groeit
   naar beneden uit en blijft aan hetzelfde punt hangen. */
.cyb-koelkast img:hover{
  scale:1.05;
  filter:drop-shadow(0 44px 56px rgba(9,3,44,.5));
}

@keyframes cyb-zwaai{
  0%,100%{transform:rotate(-3.5deg)}
  50%    {transform:rotate(3.5deg)}
}

@media (prefers-reduced-motion:reduce){
  .cyb-koelkast img{animation:none;transition:none}
  .cyb-holding .cyb-knop{transition:none}
}

/* ══════════ telefoon en tablet ══════════
   Alles onder elkaar en gecentreerd:
   koelkast › logo › titel met tekst › knop.                         */
@media (max-width:1024px){
  .cyb-pagina{
    grid-template-columns:1fr;
    column-gap:0;
    align-items:start;
    text-align:center;
    padding:clamp(26px,6vw,52px) 0 clamp(40px,10vw,72px);
  }

  /* 1 · koelkast, hangt vanaf de bovenrand */
  .cyb-koelkast{
    grid-row:1;
    grid-column:1;
    min-height:0;
    height:min(75svh,675px);
    margin-top:calc(clamp(26px,6vw,52px) * -1);
  }
  /* De afbeelding is 9% hoger dan zijn vak en begint 9% erboven: dat scheelt
     drie schakels ketting aan de bovenkant en zet de kast hoger in beeld.
     Geen max-width hier — die zou de breedte afknijpen terwijl de hoogte
     blijft staan, en dan vervormt de kast. */
  .cyb-koelkast img{
    top:-17%;
    width:auto;
    height:117%;
  }

  /* 3 · logo, helemaal onderaan onder de knoppen */
  .cyb-merk{
    grid-row:3;
    grid-column:1;
    position:static;
    width:clamp(170px,46vw,260px);
    margin:clamp(34px,8vw,52px) auto 0;
  }

  /* 2 · titel met tekst en knoppen */
  .cyb-tekst{
    grid-row:2;
    grid-column:1;
    align-self:start;
    padding:clamp(24px,6vw,40px) var(--cyb-marge) 0;
  }

  .cyb-label{
    font-size:clamp(11px,2.2vw,14px);
    margin-bottom:clamp(12px,3vw,18px);
  }

  .cyb-br-m{display:inline}

  .cyb-titel{
    font-size:clamp(40px,13vw,92px);
    text-wrap:balance;
  }

  .cyb-blok{
    margin-inline:auto;
    margin-bottom:clamp(18px,3vw,28px);
  }
  .cyb-blok p{margin-inline:auto}
  .cyb-blok h2,
  .cyb-vraag{font-size:clamp(19px,3.2vw,28px)}
  .cyb-vraag{margin-top:clamp(22px,5vw,32px)}
  .cyb-blok p{font-size:clamp(15px,2.2vw,19px)}

  .cyb-knop-rij{margin-top:clamp(26px,6vw,38px);justify-content:center}
  .cyb-holding .cyb-knop{font-size:15px;padding:15px 24px}
}
