/* ==========================================================================
   wayforward Splashpage
   Design: 260706_wayforward_landingpage_v1a.html (v3, EB × Kim)
   ========================================================================== */

/* Geist Font */
@font-face {
    font-family: 'Geist';
    src: url('../assets/fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../assets/fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root{
  --bg:#003443;             /* Petrol als wf-Grundfläche */
  --black:#000000;
  --white:#ffffff;
  --petrol:#003443;
  --panel:#00212b;          /* Antwortfeld, aus Petrol abgeleitet */
  --light:#d6dfdc;
  --hero-accent:#d6dfdc;    /* Eyebrow auf Petrol */
  --acc-word:#88939c;       /* Akzentwort in der Frage */
  --muted:rgba(214,223,220,.62);
  --muted2:rgba(214,223,220,.38);
  --line:rgba(214,223,220,.18);
  --panel-line:rgba(214,223,220,.20);
  --pad-x:clamp(1.5rem,5vw,4rem);  /* same gutters as culturecounts/leadworks */
  --max:962px;                     /* cc/lw page column: 1090px wrapper minus 2×4rem gutters */
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  background:var(--bg);
  color:var(--white);
  font-family:'Geist',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  font-weight:400;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
.header{
  padding:clamp(28px,4vh,42px) var(--pad-x) 0;
}
/* Header adapted to the culturecounts/leadworks pattern */
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.brandline{display:flex;align-items:center;gap:1rem;min-width:0}
.logo-img{display:block;flex:none}
.header-logo{height:clamp(24px,3vw,32px);width:auto}
.logo-divider{color:var(--muted);opacity:.6;font-size:clamp(0.9rem,1.5vw,1.1rem)}
.footer-logo{height:clamp(18px,2vw,22px);width:auto;opacity:.7}
.brandline .claim{
  color:var(--muted);
  font-weight:400;
  font-size:clamp(0.9rem,1.5vw,1.1rem);
  white-space:nowrap;
}
.lang{display:flex;align-items:center;gap:.5rem;font-size:clamp(0.85rem,1.2vw,1rem);color:var(--muted)}
.lang .lang-btn{background:none;border:0;color:var(--muted);font-family:inherit;font-size:inherit;font-weight:500;cursor:pointer;padding:.25rem .5rem;transition:color .2s ease}
.lang .lang-btn:hover{color:var(--light)}
.lang .lang-btn.active{color:var(--white)}
.lang .lang-btn:focus-visible{outline:1px solid var(--white);outline-offset:3px}
.page{
  min-height:calc(100vh - 70px);
  padding:clamp(42px,6vh,78px) var(--pad-x) 26px;
  display:flex;
  flex-direction:column;
}
.main{
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  flex:1;
}
.rotor{position:relative;min-height:clamp(275px,32vw,465px)}
.pair{
  position:absolute;top:0;left:0;right:0;
  opacity:0;transform:translateY(9px);
  transition:opacity .4s ease, transform .4s ease;   /* fade out */
}
.pair.active{
  opacity:1;transform:none;
  transition:opacity .5s ease, transform .5s ease;   /* fade in (statement lead) */
}
.statement{
  margin-bottom:clamp(18px,2.2vw,31px);
  font-size:clamp(14px,1.2vw,19px);
  line-height:1.4;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--hero-accent);
}
.question{
  max-width:12.2ch;
  font-size:clamp(54px,8.05vw,126px);
  line-height:.99;
  font-weight:500;
  letter-spacing:-.038em;
  text-transform:uppercase;
}
.question .acc{color:var(--acc-word)}
.question .tw-hidden{visibility:hidden}
/* Blinking caret rides the last revealed char as an absolutely positioned
   pseudo-element — it takes no space in the line, so it can never change
   the question's (pre-computed) line wrapping. */
.question .tw-caret{position:relative}
.question .tw-caret::after{
  content:'';
  position:absolute;
  left:100%;
  bottom:.18em;   /* sit on the baseline, not in the descender space */
  width:.08em;
  height:.76em;   /* cap height — matches the uppercase letters */
  margin-left:.05em;
  background-color:var(--white);
  animation:blink 1s step-end infinite;
}
@keyframes blink{
  0%,50%{opacity:1}
  51%,100%{opacity:0}
}
.answer-panel{
  margin-top:clamp(36px,5.2vh,62px);
  max-width:880px;
  background:var(--panel);
  border:1px solid var(--panel-line);
  color:var(--light);
  padding:clamp(34px,4.2vw,56px);
}
.panel-eyebrow{
  font-size:clamp(11px,.83vw,13px);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:500;
  color:rgba(214,223,220,.72);
}
.answer-title{
  margin-top:clamp(20px,2.7vh,30px);
  max-width:25em;
  font-size:clamp(26px,2.55vw,42px);
  line-height:1.17;
  font-weight:500;
  letter-spacing:-.026em;
  color:var(--white);
}
.answer-body{
  margin-top:clamp(20px,2.8vh,30px);
  max-width:36em;
  color:rgba(214,223,220,.84);
  font-size:clamp(17px,1.38vw,22px);
  line-height:1.5;
  font-weight:400;
}
.answer-body strong{color:var(--white);font-weight:500}
.archline{
  margin-top:clamp(22px,3vh,32px);
  padding-top:clamp(18px,2.5vh,26px);
  border-top:1px solid var(--panel-line);
  color:rgba(214,223,220,.70);
  font-size:clamp(12px,.93vw,14px);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:500;
}
.cta{
  display:inline-block;
  margin-top:clamp(24px,3.2vh,36px);
  color:var(--white);
  font-size:clamp(16px,1.23vw,19px);
  font-weight:400;
  text-decoration:underline;
  text-underline-offset:7px;
  text-decoration-thickness:1.5px;
}
.cta:hover{color:var(--light)}
.cta:focus-visible{outline:1px solid var(--white);outline-offset:4px}
/* Footer styled like culturecounts/leadworks: flex row, no rule line, small muted type */
.footer{
  max-width:var(--max);
  width:100%;
  margin:clamp(38px,5vh,66px) auto 0;
  padding-top:3rem;
  color:var(--muted);
  font-size:clamp(0.7rem,1.2vw,0.85rem);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
}
.footer-brand{display:flex;align-items:center;gap:1rem;min-width:0}
.footer-brand .system-label{white-space:nowrap;color:var(--muted);font-size:clamp(0.6rem,1vw,0.75rem);opacity:.7}
.footer a{text-decoration:none;color:inherit;transition:opacity .2s ease}
.footer a:hover{opacity:.7}
.module-links{white-space:nowrap}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
@media (max-width:980px){
  .footer{flex-direction:column;align-items:flex-start;gap:11px}
  .footer-brand .system-label{white-space:normal}
}
@media (max-width:768px){
  /* Stack the claim below the logo, like the sibling sites */
  .header-inner{align-items:flex-start}
  .brandline{flex-direction:column;align-items:flex-start;gap:.3rem}
  .logo-divider{display:none}
}
@media (max-width:560px){
  .header{padding-top:25px}
  .page{padding-top:52px}
  .rotor{min-height:300px}
  .question{font-size:clamp(43px,13vw,74px);max-width:11.6ch}
  .statement{letter-spacing:.18em}
  .answer-panel{margin-top:34px;padding:28px}
  .answer-title{font-size:clamp(24px,7.3vw,34px)}
}
