﻿/* QKULM β€” home page only. Linked after styles.css, by this page alone.
   Adds only what styles.css does not cover: the S2 scroll cue's position under
   the split, the two grey content panels (S5 / S7), and the S6 two-column
   stagger. No other page links this file; styles.css is untouched. */

/* S2 β€” "Wann QKulm ins Spiel kommt" sits under the split, on white */
.split { position: relative; }
.split__scroll { bottom: -40px; text-decoration: none; white-space: nowrap; }

/* S2 β€” the two pills sit side by side, 55 px apart (measured) */
#unser-blick .split__panel .section__cta { display: flex; flex-wrap: wrap; gap: 55px; }

/* S5 + S7 β€” the grey content panels */
.qk-panel { background: var(--card); padding: 52px 34px 41px 27px; }
.qk-panel--quote { background: var(--card-3); padding: 52px 34px 67px 19px; }
.qk-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(0, 409px);
  gap: clamp(24px, 4vw, 60px);
  justify-content: space-between;
  align-items: start;
}
.qk-panel__object { width: 100%; max-width: 409px; justify-self: end; }

/* S6 β€” heading + object left, numbered list right (640 / 487, 86 px gutter) */
#ansatz .split {
  grid-template-columns: minmax(0, 640px) minmax(0, 487px);
  justify-content: space-between;
  gap: clamp(24px, 7vw, 86px);
}
#ansatz .split img { width: 100%; max-width: 370px; }
#ansatz .steps .step:first-child { border-top: 0; padding-top: 0; }

/* S8 β€” the two radio rows read as full-width rows */
#kontakt .choice { font-size: 15px; }

/* S8 β€” the contact object, measured 410 Γ— 366 */
#kontakt .contact__pitch img { max-width: 410px; }

/* ---- Ariola revisions, 18 November 2026 β€” homepage only ---- */

/* Opening: the first Q is ink (Ariola, 19 Nov 2026 β€” it was red before); the tagline sits
   clear of its descender */
.hero__q { color: var(--ink); }
.hero__title { line-height: 1.12; }
.hero__strap { margin: 28px auto 20px; }
.hero__stage { margin-top: 0; }
.hero__cta { margin: 18px 0 35px; }
/* the discover button reads ~13% smaller than the 55 px pills, still β‰¥ 44 px tall */
.hero__cta .btn-solid { min-height: 48px; font-size: 15px; padding: 0 24px; }

/* the hero sculpture plays as a loop; the poster is the first frame of the same clip.
   Both numbers come from her Canva export: the plate is 551 x 367 and the sculpture is
   48.8 % of the plate width, so the clip (tight on the sculpture) is simply scaled to match. */
.hero__object { object-fit: contain; height: auto; }
.hero__plate { overflow: hidden; aspect-ratio: 553 / 368; }
.hero__plate .hero__object { width: 53%; }
.hero__plate .hero__object { top: 50%; transform: translate(-50%, -50%) rotate(4.3deg); }

/* Unser Blick: only "OberflΓ¤che" is emphasised, the rest of the line stays regular italic */
#unser-blick .h2 em { font-weight: 400; }
#unser-blick .h2 em b { font-weight: 800; }
/* both buttons drop as one group by ~16 px */
#unser-blick .split__panel .section__cta { margin-top: 50px; }
/* Unser Blick: the red ripple loop is replaced by the ceramic ring render (Arsen, 20 Nov).
   The object is a real cut-out (alpha), so it sits on the panel instead of being framed in one. */
#unser-blick .split__media--photo {
  display: grid; place-items: center;
  background: var(--card);
  padding: clamp(22px, 3.4vw, 54px);
}
#unser-blick .split__photo {
  width: min(100%, 470px); height: auto;

}

/* Unser Ansatz: the spiral is a cut-out too, on the white page ground */
#ansatz .split img {
  width: 100%; max-width: 370px; height: auto;

}

/* Unser Ansatz: step copy grows ~2 px, with room for the longer German strings */
#ansatz .step__title { font-size: 20px; }
#ansatz .step__body { font-size: 20px; line-height: 1.55; }

/* Γber QKulm: the sculpture slot keeps the clip's own aspect ratio */
.qk-panel__object { aspect-ratio: 16 / 9; align-self: center; display: flex; align-items: center; justify-content: center; }
.qk-panel__video { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Die Idee: the founder attribution is readable red on the pale panel */
.qk-panel--quote .quote__cite { color: var(--crimson); font-size: 17px; }
.qk-panel--quote .quote__direct { font-size: 15px; color: #4a4a4a; margin: 6px 0 0; }
.qk-panel--quote .quote__direct a { color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; }

/* Contact: red editorial panel left, form on pale ground right */
#kontakt .contact__grid {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 0;
  align-items: stretch;
}
#kontakt .contact__pitch {
  background: var(--red-cta);
  color: #fff;
  padding: 46px clamp(24px, 3.2vw, 44px) 36px;
  display: flex;
  flex-direction: column;
}
#kontakt .contact__pitch h2,
#kontakt .contact__pitch p { color: #fff; }
#kontakt .contact__pitch h2 { font-size: clamp(30px, 3.4vw, 46px); }
#kontakt .contact__mail a { color: #fff; text-decoration: underline; }
#kontakt .contact__object {
  margin: auto 0 0;
  width: min(250px, 62%);
  align-self: center;
}
#kontakt .contact__formpanel {
  background: #f2f2f2;
  padding: 44px clamp(24px, 3.2vw, 52px) 38px;
}
#kontakt .form__submit {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  margin-top: 26px;
  font-size: 16px;
}

/* ---- Leistungen, re-cut 19 Nov 2026: four rows + one motion tile ----
   The old 3-column box grid left the section empty; the rows carry the same copy at a
   readable size, and one shape loop gives the section the motion it was missing. */
#leistungen .services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.services__list { display: grid; }
#leistungen .service {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  column-gap: clamp(12px, 2vw, 28px);
  row-gap: 8px;
  align-items: start;
  border: 0;
  border-top: 1px solid #dedede;
  border-radius: 0;
  padding: 22px 0 24px;
  background: none;
}
.services__list .service:last-child { border-bottom: 1px solid #dedede; }
#leistungen .service:hover { background: none; border-color: var(--crimson); }
.service__num {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em;
  color: var(--crimson); padding-top: 0.6em;
}
#leistungen .service__title {
  grid-column: 2; grid-row: 1;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.06; margin: 0;
}
#leistungen .service__list {
  grid-column: 2; grid-row: 2;
  display: flex; flex-wrap: wrap; gap: 0 28px;
  font-size: 16px; line-height: 1.4;
}
.service__arrow {
  grid-column: 3; grid-row: 1 / span 2; align-self: center;
  font-size: 22px; color: var(--crimson);
  transition: transform 200ms ease;
}
#leistungen .service:hover .service__arrow { transform: translateX(6px); }
.services__motion {
  position: sticky; top: 110px;
  aspect-ratio: 1;
  background: #f2f2f2;
  border-radius: 18px;
  overflow: hidden;
}
.shape-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Wann QKulm: one shape for the section instead of three small ones */
.section__head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 230px);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}
.section__head-motion {
  aspect-ratio: 1;
  background: #f2f2f2;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 1080px) {
  #leistungen .services { grid-template-columns: minmax(0, 1fr); }
  .services__motion { position: static; max-width: 360px; }
  .section__head-row { grid-template-columns: minmax(0, 1fr); }
  .section__head-motion { max-width: 200px; }
  .qk-panel__grid { grid-template-columns: minmax(0, 1fr); }
  #ansatz .split { grid-template-columns: minmax(0, 1fr); }
  .qk-panel__object { justify-self: start; }
  #kontakt .contact__grid { grid-template-columns: minmax(0, 1fr); }
  #kontakt .contact__pitch { padding: 34px 24px 30px; }
  #kontakt .contact__object { margin: 24px 0 0; width: min(210px, 58%); align-self: flex-start; }
  #kontakt .contact__formpanel { padding: 32px 24px 30px; }
}
/* ---------------------------------------------------------------------------
   Wann QKulm ins Spiel kommt β€” scroll stage, rebuilt 20 November 2026 (v2).
   The section is a tall runway with a sticky stage: scrolling advances the three
   rows by itself, clicking a row jumps to that step, so the two never disagree.
   Colour is carried by the red rail, the number chips and the pale-red object
   panel; type and palette are otherwise unchanged. Motion is Arsen's approved
   ease-in-out, and the whole scroll behaviour is off under reduced motion or on
   small screens, where it degrades to a plain accordion.
   --------------------------------------------------------------------------- */

.wann { padding: 0; }
.wann__runway { position: relative; }
.wann__stage {
  position: relative;
  background: #fff;
  padding: clamp(32px, 4vw, 56px) 0 clamp(36px, 4vw, 52px);
}

.wann__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.40fr);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 5vw, 78px);
  row-gap: clamp(22px, 3vw, 38px);
  align-items: start;
}
.wann__head { grid-column: 1; grid-row: 1; }
.wann__head .h2 { max-width: 18ch; }
.wann__head .lead { max-width: 48ch; }

.wann__figure {
  grid-column: 2; grid-row: 1 / span 2;
  margin: 0;
  position: relative;
  display: grid; justify-items: center;
  background: #fdeceb;
  border: 1px solid rgba(193, 17, 18, 0.16);
  border-radius: 18px;
  padding: 28px 24px 16px 34px;
  overflow: hidden;
}
.wann__img {
  width: 100%; height: auto; display: block;
  transform: translateY(calc(var(--p, 0) * -6px)) scale(calc(0.98 + var(--p, 0) * 0.02));
}
.wann__meter {
  position: absolute; left: 15px; top: 28px; bottom: 24px;
  width: 2px; background: rgba(193, 17, 18, 0.16);
}
.wann__meter-fill {
  display: block; width: 100%; height: calc(var(--p, 0) * 100%);
  background: var(--crimson);
}
.wann__count {
  justify-self: start;
  margin-top: 14px;
  display: flex; gap: 5px;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em;
  color: var(--crimson);
}
.wann__count-now { color: var(--crimson); font-weight: 600; }

.wann__list {
  grid-column: 1; grid-row: 2;
  position: relative;
  list-style: none; margin: 0; padding: 0 0 0 30px;
  border-left: 2px solid rgba(0, 0, 0, 0.10);
}
.wann__list::after {
  content: "";
  position: absolute; left: -2px; top: 0;
  width: 2px; height: calc(var(--p, 0) * 100%);
  background: var(--crimson);
}
.wann__item { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }

.wann__trigger {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  width: 100%;
  padding: 16px 0 15px;
  background: none; border: 0;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.wann__trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.wann__num {
  display: grid; place-items: center;
  width: 34px; height: 28px;
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.06em;
  color: #8a8a8a;
  background: #f1f1f1;
  transition: background 300ms ease-in-out, color 300ms ease-in-out;
}
.wann__item.is-active .wann__num { background: var(--crimson); color: #fff; }

.wann__title {
  position: relative;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1;
  color: #6f6f6f;
  transition: color 300ms ease-in-out;
}
.wann__item.is-active .wann__title { color: var(--ink); }
.wann__title::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--crimson);
  transform: scaleX(var(--q, 0));
  transform-origin: left center;
}

.wann__sign { position: relative; width: 14px; height: 14px; }
.wann__sign::before,
.wann__sign::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px; background: #9a9a9a;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms ease-in-out;
}
.wann__sign::after { transform: rotate(90deg); }
.wann__item.is-active .wann__sign::before,
.wann__item.is-active .wann__sign::after { background: var(--crimson); }
.wann__item.is-active .wann__sign::after { transform: rotate(0deg); }

.wann__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 420ms cubic-bezier(0.4, 0, 0.2, 1);
}
.wann__item.is-active .wann__panel { grid-template-rows: 1fr; }
.wann__panel-inner { overflow: hidden; }
.wann__body {
  margin: 2px 0 12px;
  padding-left: calc(34px + clamp(12px, 1.8vw, 24px));
  max-width: 54ch;
  font-size: 17px; line-height: 1.55;
  opacity: 0; transform: translateY(6px);
  transition: opacity 320ms ease-in-out 90ms, transform 320ms ease-in-out 90ms;
}
.wann__item.is-active .wann__body { opacity: 1; transform: none; }
.wann__link {
  display: inline-block;
  margin: 0 0 18px calc(34px + clamp(12px, 1.8vw, 24px));
  color: var(--crimson);
}


/* the scroll runway: only where a sticky stage actually fits */
@media (min-width: 1081px) and (min-height: 780px) and (prefers-reduced-motion: no-preference) {
  .wann__runway { height: 270vh; }
  .wann__stage { position: sticky; top: 86px; }
}

/* no JavaScript: all three rows open, no rail fill */
:root:not(.js) .wann__panel { grid-template-rows: 1fr; }
:root:not(.js) .wann__body { opacity: 1; transform: none; }
:root:not(.js) .wann__sign { display: none; }
:root:not(.js) .wann__list::after { display: none; }

@media (max-width: 1080px) {
  .wann__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .wann__figure { grid-column: 1; grid-row: 2; max-width: 300px; margin: 0 auto; }
  .wann__list { grid-column: 1; grid-row: 3; padding-left: 0; border-left: 0; }
  .wann__list::after { display: none; }
  .wann__body, .wann__link { padding-left: 0; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wann__img, .wann__meter-fill, .wann__panel, .wann__body, .wann__num, .wann__title,
  .wann__sign::before, .wann__sign::after, .wann__title::after {
    transition: none !important;
  }
  .wann__img { transform: none; }
  .wann__body { transform: none; }
  .wann__title::after { transform: scaleX(1); }
}
