/* ============================================================
   ALTO Event Performance Partners — Stylesheet
   1. Tokens        2. Reset/Base    3. Layout helpers
   4. Components    5. Sections      6. Motion    7. Responsive
   ============================================================ */

/* 0. Fonts — lokal eingebunden, kein Nachladen von Google Fonts ---- */
@font-face{
  font-family:'Jost';
  src:url('Fonts/Jost/Jost-VariableFont_wght.ttf') format('truetype');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Jost';
  src:url('Fonts/Jost/Jost-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight:100 900;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:'Newsreader';
  src:url('Fonts/Newsreader/Newsreader-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Newsreader';
  src:url('Fonts/Newsreader/Newsreader-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight:200 800;
  font-style:italic;
  font-display:swap;
}

/* 1. Tokens ------------------------------------------------ */
:root{
  --cream:#FAF7F0;
  --cream-deep:#F1ECE0;
  --line:#DED9CD;
  --black:#000;
  --red:#FF0016;
  --grey:#5E5B55;
  --grey-dark:#9C9C9E;
  --cream-soft:#E4E0D6;

  --sans:'Jost',ui-sans-serif,system-ui,sans-serif;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;

  --wrap:1280px;
  --gutter:clamp(1.25rem,4vw,3.5rem);
  --section-pad:clamp(4rem,8vw,8rem);
  --ease:cubic-bezier(.19,1,.22,1);
}

/* 2. Reset / Base ------------------------------------------ */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--cream);color:var(--black);
  font-family:var(--serif);font-size:clamp(1rem,1.1vw,1.0625rem);line-height:1.65;
  font-optical-sizing:auto;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,h4{margin:0;font-family:var(--sans);font-weight:500;text-wrap:balance}
p{margin:0}
ul,ol{list-style:none;margin:0;padding:0}
a{color:inherit}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* 3. Layout helpers ---------------------------------------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.section{padding:var(--section-pad) 0}
.section--tint{background:var(--cream-deep)}
.section--dark{position:relative;overflow:hidden;background:var(--black);color:var(--cream);padding:var(--section-pad) 0}

/* two-column intro block: headline + lede */
.split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.75rem,5vw,5rem);align-items:start}
.cols-2{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(2rem,5vw,4.5rem)}
.cols-3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3.5vw,2.75rem)}
.cols-5{display:grid;grid-template-columns:repeat(5,1fr)}

/* 4. Components -------------------------------------------- */
/* red measure line above every section heading */
.rule{height:1px;background:var(--line);position:relative;margin-bottom:2.25rem}
.rule--light{background:rgba(255,255,255,.2)}
.rule__cap{position:absolute;left:0;top:-2px;width:56px;height:5px;background:var(--red);transform-origin:left}

/* type scale */
.eyebrow{font-family:var(--sans);font-size:.6875rem;letter-spacing:.17em;text-transform:uppercase;color:var(--grey)}
.eyebrow--light{color:var(--grey-dark)}
.eyebrow--flex{display:flex;align-items:center;gap:.6rem}
.h2{font-size:clamp(1.9rem,4.4vw,3.6rem);line-height:1.03;letter-spacing:-.035em}
.h3{font-size:clamp(1.3rem,2.1vw,1.7rem);letter-spacing:-.02em;line-height:1.1}
.h3--module{font-size:clamp(1.7rem,3.4vw,2.75rem);letter-spacing:-.03em;line-height:1.05;max-width:22ch}
.lede{max-width:60ch;color:var(--grey)}
.lede p + p{margin-top:1.05rem}
.lede--light{color:var(--cream-soft);font-size:clamp(1.08rem,1.5vw,1.3rem);line-height:1.6;max-width:52ch}
.statement{font-family:var(--sans);font-size:clamp(1.15rem,2.1vw,1.6rem);line-height:1.35;letter-spacing:-.015em;max-width:44ch}
.note{font-family:var(--sans);font-size:.9375rem;color:var(--grey);max-width:64ch}

/* red tick marks */
.tick{display:inline-block;width:2px;height:.95em;background:var(--red);flex:none}
.tick--bar{width:3px;height:.8em;transform:translateY(.05em)}
.tick--mute{background:var(--line)}

/* buttons */
.btn{
  display:inline-flex;align-items:center;gap:.75rem;font-family:var(--sans);
  font-size:.9375rem;font-weight:500;padding:.9rem 1.5rem;text-decoration:none;
  transition:background-color .2s,color .2s,border-color .2s;
}
.btn__tick{display:inline-block;width:3px;height:1.05em;background:var(--red)}
.btn--red{background:var(--red);color:var(--cream)}
.btn--red .btn__tick{background:currentColor}
.btn--red:hover{background:var(--cream);color:var(--black)}
.btn--outline{border:1px solid currentColor;color:inherit}
.btn--outline:hover{background:var(--black);color:var(--cream)}
.btn--outline-light:hover{background:var(--cream);color:var(--black)}

/* bordered list */
.list{font-family:var(--sans);font-size:1rem;border-bottom:1px solid var(--line)}
.list li{padding:.55rem 0;border-top:1px solid var(--line);line-height:1.4}
.list--flip{border-bottom:none;border-top:1px solid var(--line)}
.list--flip li{border-top:none;border-bottom:1px solid var(--line);font-size:1.0625rem;padding:.65rem 0;display:flex;gap:.8rem;align-items:baseline}
.list__label{font-weight:400;font-size:.6875rem;letter-spacing:.17em;text-transform:uppercase;color:var(--grey);margin-bottom:.9rem}

/* image frame */
.frame{overflow:hidden;background:var(--line)}
.frame img{width:100%;height:100%;object-fit:cover}
.frame--43{aspect-ratio:4/3;margin-bottom:1.4rem}
.frame--169{aspect-ratio:16/9;margin-top:2rem}
.photo-placeholder{
  aspect-ratio:4/5;background:var(--cream-deep);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.4rem;
}
.photo-placeholder span{font-family:var(--sans);font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--grey);text-align:center;padding:1rem}

/* 5. Sections ---------------------------------------------- */
/* Scroll progress rail */
.rail{position:fixed;left:0;top:0;bottom:0;width:4px;background:rgba(128,128,128,.28);z-index:60;pointer-events:none}
.rail__fill{position:absolute;left:0;right:0;top:0;height:0;background:var(--red)}

/* Header */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:70;padding:1rem var(--gutter);
  color:var(--cream);border-bottom:1px solid transparent;
  transition:background-color .35s ease,color .35s ease,border-color .35s ease;
}
.site-header__inner{max-width:var(--wrap);margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.5rem}
.site-nav{display:flex;align-items:center;gap:1.75rem;justify-self:start;font-family:var(--sans);font-size:.9375rem}
.site-nav a{text-decoration:none;padding-bottom:2px;border-bottom:1px solid transparent}
.site-nav a:hover{border-bottom-color:var(--red)}
.site-header__logo{display:block;width:clamp(72px, 9vw, 130px);color:inherit;justify-self:center}
.site-header__logo svg{display:block;width:100%;height:auto}
.header-cta{
  justify-self:end;font-family:var(--sans);font-size:.9375rem;font-weight:500;
  text-decoration:none;display:inline-flex;align-items:center;gap:.6rem;
  border:1px solid currentColor;padding:.55rem 1.05rem;white-space:nowrap;
  transition:background-color .2s,border-color .2s,color .2s;
}
.header-cta:hover{background:var(--red);border-color:var(--red);color:var(--cream)}

/* Hero */
.hero{position:relative;background:var(--black);color:var(--cream);min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding-top:clamp(6.5rem,16vh,10rem);overflow:hidden}
.hero__bg{position:absolute;inset:-8% 0;background:url(../img/alto-hero.jpg) center 40%/cover no-repeat;z-index:0}
.hero__scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,.78) 0%,rgba(0,0,0,.7) 32%,rgba(0,0,0,.88) 72%,#000 100%)}
.hero__inner{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;justify-content:center;max-width:var(--wrap);width:100%;margin:0 auto;padding:0 var(--gutter) clamp(2.5rem,5vw,4.5rem);box-sizing:border-box}
.hero__kicker{font-family:var(--sans);font-size:.6875rem;letter-spacing:.17em;text-transform:uppercase;color:var(--grey-dark);display:flex;align-items:center;gap:.7rem;margin-bottom:clamp(1.25rem,2.5vw,2rem)}
.hero__logo{align-self:center;width:min(58vw,440px);color:var(--cream);margin-bottom:clamp(2.5rem,6vw,5rem)}
.hero__logo svg{display:block;width:100%;height:auto}
.hero h1{font-size:clamp(2.5rem,8.2vw,7.6rem);line-height:.92;letter-spacing:-.02em;text-transform:uppercase;max-width:22ch}
.hero h1 span{display:block}
.hero__body{margin-top:clamp(1.5rem,3vw,2.25rem);color:var(--cream-soft);max-width:52ch;font-size:clamp(1.08rem,1.5vw,1.3rem);line-height:1.6}
.hero__aside{margin-top:1rem;font-family:var(--sans);font-size:1rem;color:var(--grey-dark);max-width:46ch}
.hero__actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:clamp(1.5rem,3vw,2.25rem)}
.hero__actions .btn--outline:hover{background:var(--cream);color:var(--black)}

/* Hero module doors */
.doors{position:relative;z-index:2;border-top:1px solid rgba(255,255,255,.2);display:grid;grid-template-columns:repeat(3,1fr);max-width:var(--wrap);margin:0 auto;width:100%;padding:0 var(--gutter);box-sizing:border-box}
.door{padding:1.5rem 1.6rem 1.75rem;text-decoration:none;display:block;color:inherit;transition:background-color .25s}
.door:first-child{padding-left:0;padding-right:1.6rem}
.door + .door{border-left:1px solid rgba(255,255,255,.2)}
.door:hover{background:rgba(255,255,255,.05)}
.door__eyebrow{font-family:var(--sans);font-size:.6875rem;letter-spacing:.17em;text-transform:uppercase;color:var(--grey-dark);display:flex;align-items:center;gap:.6rem;margin-bottom:.65rem}
.door__title{font-family:var(--sans);font-size:1.0625rem;display:block;margin-bottom:.3rem}
.door__desc{font-family:var(--sans);font-size:.9375rem;color:var(--grey-dark)}

/* Problem list (two masonry-ish columns) */
.problems{margin-top:clamp(2.25rem,4vw,3.25rem);border-top:1px solid var(--line);columns:2;column-gap:clamp(2rem,5vw,4.5rem)}
.problems li{break-inside:avoid;padding:1rem 0 1.05rem;border-bottom:1px solid var(--line);font-family:var(--sans);font-size:1.0625rem;line-height:1.45;display:flex;gap:.85rem;align-items:baseline}

/* Module articles */
.module{border-top:2px solid var(--black);padding-top:2rem;margin-top:clamp(3rem,6vw,5rem)}
.module__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.9rem 1.5rem;margin-bottom:1.1rem}
.module__kind{margin-left:auto;font-family:var(--sans);font-size:1.0625rem;color:var(--red)}
.module__claim{font-family:var(--sans);font-size:clamp(1.05rem,1.7vw,1.3rem);margin-top:.85rem;max-width:44ch;line-height:1.4}
.module__body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.75rem,5vw,5rem);margin-top:1.75rem;align-items:start}
.module__lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1.5rem,4vw,3rem);row-gap:.9rem;align-items:stretch}
.module__lists > .list__label{grid-column:1/-1;margin-bottom:0}
.module__lists > .list{align-self:stretch}
.module__cta{margin-top:1.75rem}

/* Scope tiers */
.tiers{margin-top:2.25rem;border-top:1px solid var(--black)}
.tiers__label{font-family:var(--sans);font-size:.6875rem;letter-spacing:.17em;text-transform:uppercase;color:var(--grey);padding:1rem 0 .2rem}
.tier{display:grid;grid-template-columns:180px minmax(0,1fr);gap:1rem 1.5rem;padding:1.05rem 0;border-bottom:1px solid var(--line);align-items:baseline}
.tier__name{font-family:var(--sans);font-size:1.0625rem;display:flex;gap:.7rem;align-items:baseline}
.tier p{color:var(--grey);font-size:1rem}

/* Kernfrage und Ergebnis je Modul */
.module__core{display:grid;grid-template-columns:repeat(2,1fr);margin-top:clamp(2rem,4vw,2.75rem);border-top:1px solid var(--black)}
.module__core-cell{padding:1.25rem 2rem 1.4rem 0}
.module__core-cell + .module__core-cell{padding:1.25rem 0 1.4rem 2rem;border-left:1px solid var(--line)}
.module__core .eyebrow{display:flex;align-items:center;gap:.6rem;margin-bottom:.65rem}
.module__core-text{font-family:var(--sans);font-size:clamp(1.05rem,1.7vw,1.35rem);line-height:1.35;letter-spacing:-.015em;max-width:34ch}

.module-footnote{margin-top:clamp(2.5rem,5vw,4rem);border-top:1px solid var(--black);padding-top:1.5rem;display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem clamp(2rem,5vw,4rem)}
.module-footnote p{font-family:var(--sans);font-size:1rem;color:var(--grey);max-width:52ch}

/* Field cards */
.field h3{margin-bottom:.75rem}
.field p:last-child{color:var(--grey);font-size:1rem}

/* Image plate band */
.plate{position:relative;min-height:clamp(20rem,46vw,32rem);display:flex;align-items:flex-end;color:var(--cream);overflow:hidden;background:var(--black)}
.plate__bg{position:absolute;inset:-14% 0;background:url(../img/alto-stage.jpg) center/cover no-repeat}
.plate__scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,.35) 100%)}
.plate__inner{position:relative;width:100%;max-width:var(--wrap);margin:0 auto;padding:clamp(2.5rem,5vw,4rem) var(--gutter);box-sizing:border-box}
.plate h2{max-width:20ch}

/* Sponsoring */
.sponsor-grid{margin-top:clamp(2.5rem,5vw,4rem);border-top:1px solid var(--line);padding-top:2.25rem}
.sponsor h3{margin-bottom:.4rem}
.sponsor__claim{font-family:var(--sans);font-size:1.125rem;margin-bottom:1rem;line-height:1.4}
.sponsor .list{margin-top:1.4rem}
.sponsor__note{margin-top:1.25rem;color:var(--grey);font-size:1rem}

/* Due diligence */
.dd__bg{position:absolute;inset:0;background:url(../img/alto-dd.jpg) center/cover no-repeat;opacity:.80}
.dd__scrim{position:absolute;inset:0;background:linear-gradient(to right,#000 30%,rgba(0,0,0,.62) 100%)}
.dd__inner{position:relative;z-index:2;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.dd h2{font-size:clamp(2.1rem,5.6vw,4.6rem);line-height:.97;letter-spacing:-.04em;color:var(--red);max-width:16ch}
.dd__lede{margin-top:1.5rem;max-width:54ch;font-size:clamp(1.08rem,1.5vw,1.3rem);line-height:1.6;color:var(--cream-soft)}
.dd__grid{display:grid;grid-template-columns:repeat(2,1fr);margin-top:clamp(2.25rem,4.5vw,3.5rem);border-top:1px solid rgba(255,255,255,.2)}
.dd__cell{padding:1.5rem 2rem 1.6rem 0;border-bottom:1px solid rgba(255,255,255,.2)}
.dd__cell:nth-child(even){padding:1.5rem 0 1.6rem 2rem;border-left:1px solid rgba(255,255,255,.2)}
.dd__cell h4{font-weight:400;font-size:1.0625rem;display:flex;align-items:baseline;gap:.7rem;margin-bottom:.35rem}
.dd__cell p{color:var(--grey-dark);font-size:1rem}
.dd__statement{margin-top:clamp(2rem,4vw,2.75rem);font-family:var(--sans);font-size:clamp(1.1rem,2vw,1.5rem);line-height:1.35;max-width:40ch;letter-spacing:-.01em}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(2rem,5vw,4rem);margin-top:clamp(2.5rem,5vw,4rem)}
.team h3{margin-bottom:.25rem}
.team__role{font-family:var(--sans);font-size:1rem;color:var(--red);margin-bottom:1rem}
.team .list--flip{margin-top:1.2rem}
.team .list--flip li{display:block;font-size:1rem;padding:.55rem 0}

/* Process steps */
.steps-track{position:relative;height:1px;background:var(--line);margin-top:clamp(2.5rem,5vw,3.5rem)}
.steps-track__fill{position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--red)}
.step{padding:1.5rem 1.25rem 0;border-left:1px solid var(--line)}
.step:first-child{padding-left:0;border-left:none}
.step:last-child{padding-right:0}
.step h3{font-family:var(--sans);font-size:1.1875rem;letter-spacing:-.015em;margin-bottom:.45rem}
.step p{color:var(--grey);font-size:.9375rem}
.step .eyebrow{margin-bottom:.7rem;display:block}

/* Contact */
.contact__bg{position:absolute;inset:0;background:url(../img/alto-hero.jpg) center/cover no-repeat;opacity:.2}
.contact__scrim{position:absolute;inset:0;background:linear-gradient(to bottom,#000 20%,rgba(0,0,0,.75) 100%)}
.contact__inner{position:relative;z-index:2;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.contact h2{max-width:18ch}
.contact__grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.2);margin-top:clamp(2.25rem,4.5vw,3.5rem)}
.contact__cell{padding:1.8rem 1.6rem 0;border-left:1px solid rgba(255,255,255,.2)}
.contact__cell:first-child{padding-left:0;border-left:none}
.contact__cell .eyebrow{margin-bottom:.75rem;display:block}
.contact__cell p{font-family:var(--sans);font-size:1.0625rem;line-height:1.55}
.contact__cell a{text-decoration:none;border-bottom:1px solid var(--red)}

/* Footer */
.site-footer{background:var(--black);color:var(--cream);padding:clamp(2.5rem,5vw,4rem) 0 2rem;border-top:1px solid rgba(255,255,255,.2)}
.site-footer__mark{width:min(100%,440px);margin-inline:auto}
.site-footer__mark{
display: flex;
  justify-content: center;
  align-items: center;

}

.site-footer__mark svg{display:block;width:100%;height:auto}
.site-footer__tagline{margin-top:1.1rem;font-family:var(--sans);font-size:clamp(1rem,1.6vw,1.35rem);display:flex;align-items:center;gap:.8rem;letter-spacing:-.01em}
.site-footer__legal{display:flex;flex-wrap:wrap;gap:1.25rem 2.5rem;justify-content:space-between;align-items:baseline;margin-top:clamp(2.25rem,4.5vw,3.5rem);padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.2);font-family:var(--sans);font-size:.875rem;color:var(--grey-dark)}
.site-footer__legal nav{display:flex;flex-wrap:wrap;gap:1.4rem;align-items:baseline}
.site-footer__legal a{text-decoration:none}
.site-footer__legal a:hover{color:var(--cream)}
.site-footer__legal .cc-footer-btn{font:inherit;font-family:var(--sans);font-size:.875rem;background:none;border:0;padding:0;margin:0;color:var(--grey-dark);cursor:pointer}
.site-footer__legal .cc-footer-btn:hover{color:var(--cream)}
.legal-body .site-footer__legal .cc-footer-btn{color:var(--grey)}
.legal-body .site-footer__legal .cc-footer-btn:hover{color:var(--red)}

/* 6. Motion ------------------------------------------------ */
/* Logo intro overlay v3 — Pixelaufbau des roten Vierecks, dann A L T O,
   dann Unterzeile, dann Vorhang. .intro-Block im HTML löschen = kein Intro. */
/* --- Keyframes --------------------------------------------- */
@keyframes altoIntroPix{from{opacity:0}to{opacity:1}}
@keyframes altoIntroPixFlick{0%{opacity:0}52%{opacity:1}70%{opacity:0}100%{opacity:1}}
@keyframes altoIntroBlock{
  from{transform:translate(-2.73%,-241.58%) scale(4.2)}
  to{transform:translate(0,0) scale(1)}
}
@keyframes altoIntroLetterA{from{opacity:0;transform:translateX(-2.2%)}to{opacity:1;transform:none}}
@keyframes altoIntroLetterL{from{opacity:0;transform:translateX(-.9%)}to{opacity:1;transform:none}}
@keyframes altoIntroLetterT{from{opacity:0;transform:translateX(.9%)}to{opacity:1;transform:none}}
@keyframes altoIntroLetterO{from{opacity:0;transform:translateX(2.2%)}to{opacity:1;transform:none}}
@keyframes altoIntroFade{from{opacity:0}to{opacity:1}}
@keyframes altoCurtain{to{transform:translateY(-100%)}}

/* --- Overlay ----------------------------------------------- */
.intro{
  position:fixed;inset:0;z-index:100;background:var(--cream);
  display:flex;align-items:center;justify-content:center;
  animation:altoCurtain .85s cubic-bezier(.77,0,.18,1) 3.05s forwards;
}
.intro__mark{position:relative;width:min(62vw,540px);aspect-ratio:944/346;color:var(--black)}
.intro__mark svg{position:absolute;inset:0;width:100%;height:100%;fill-rule:evenodd;clip-rule:evenodd}

/* --- Buchstaben: erscheinen um das Viereck herum ----------- */
.intro__letter{animation-duration:.65s;animation-timing-function:var(--ease);animation-fill-mode:both}
.intro__letter--l{animation-name:altoIntroLetterL;animation-delay:1.30s}
.intro__letter--t{animation-name:altoIntroLetterT;animation-delay:1.36s}
.intro__letter--o{animation-name:altoIntroLetterO;animation-delay:1.44s}
.intro__letter--a{animation-name:altoIntroLetterA;animation-delay:1.48s}

/* --- Unterzeile: nur einblenden, Optik exakt wie Logodatei -- */
.intro__claim{animation:altoIntroFade .7s var(--ease) 1.95s both}

/* --- Rotes Viereck: Pixelaufbau, durchgehend rote Flaeche --- */
/* Position und Groesse entsprechen exakt dem Rechteck im Logo-SVG. */
.intro__block{
  position:absolute;left:47.948%;top:58.137%;width:4.341%;height:11.866%;
  display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);
  animation:altoIntroBlock .7s cubic-bezier(.72,0,.18,1) .68s both;
}
.intro__block i{background:var(--red);animation:altoIntroPix .1s steps(1,end) both}
.intro__block i:nth-child(1){animation-delay:.32s}
.intro__block i:nth-child(2){animation-delay:.10s}
.intro__block i:nth-child(3){animation-delay:.44s}
.intro__block i:nth-child(4){animation-delay:.18s}
.intro__block i:nth-child(5){animation-delay:.26s}
.intro__block i:nth-child(6){animation-delay:.14s}
.intro__block i:nth-child(7){animation-delay:.24s}
.intro__block i:nth-child(8){animation-delay:.06s}
.intro__block i:nth-child(9){animation-delay:.36s}
.intro__block i:nth-child(10){animation-delay:.22s}
.intro__block i:nth-child(11){animation-delay:.40s}
.intro__block i:nth-child(12){animation-delay:.28s}
.intro__block i:nth-child(13){animation-delay:.08s}
.intro__block i:nth-child(14){animation-delay:.46s}
.intro__block i:nth-child(15){animation-delay:.16s}
.intro__block i:nth-child(16){animation-delay:.20s}
.intro__block i:nth-child(17){animation-delay:.34s}
.intro__block i:nth-child(18){animation-delay:.24s}
.intro__block i:nth-child(19){animation-delay:.12s}
.intro__block i:nth-child(20){animation-delay:.42s}
.intro__block i:nth-child(21){animation-delay:.30s}
.intro__block i:nth-child(22){animation-delay:.38s}
.intro__block i:nth-child(23){animation-delay:.30s}
.intro__block i:nth-child(24){animation-delay:.04s}
.intro__block i:nth-child(25){animation-delay:.52s}
/* drei Pixel flackern beim Zuschalten */
.intro__block i:nth-child(7),
.intro__block i:nth-child(21){animation-name:altoIntroPixFlick;animation-duration:.24s}
.intro__block i:nth-child(13){animation-name:altoIntroPixFlick;animation-duration:.22s}

/* --- Kein Intro bei reduzierter Bewegung ------------------- */
@media (prefers-reduced-motion:reduce){.intro{display:none}}

/* 7. Responsive -------------------------------------------- */
@media (max-width:940px){.site-nav{display:none}}
@media (max-width:980px){.cols-5{grid-template-columns:1fr}}
@media (max-width:860px){
  .split,.module__body,.module__lists,.module__core,.cols-2,.cols-3,.doors,.dd__grid,.contact__grid,.team-grid,.module-footnote{grid-template-columns:1fr}
  .door,.door + .door,.dd__cell,.dd__cell:nth-child(even),.contact__cell,.step,.module__core-cell,.module__core-cell + .module__core-cell{border-left-width:0;padding-left:0;padding-right:0}
  .module__core-cell + .module__core-cell{border-top:1px solid var(--line);padding-top:1.25rem}
  .step{padding-top:1.5rem}
}
@media (max-width:760px){
  .problems{columns:1}
  .tier{grid-template-columns:1fr;gap:.3rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}


/* 8. Leistungen — interaktive Listenpunkte mit Info-Kachel ---- */
#leistungen .module__lists .list li{position:relative;padding-left:1.75rem;cursor:pointer;z-index:1}
#leistungen .module__lists .list li::before,
#leistungen .module__lists .list li::after{
  content:"";position:absolute;background:var(--red);
  transition:transform .25s var(--ease);
}
#leistungen .module__lists .list li::before{left:0;top:calc(.55rem + .7em - 1.5px);width:13px;height:3px}
#leistungen .module__lists .list li::after{left:5px;top:calc(.55rem + .7em - 6.5px);width:3px;height:13px}

#leistungen .module__lists .list li.is-open{z-index:5}
#leistungen .module__lists .list li.is-open::before,
#leistungen .module__lists .list li.is-open::after{transform:rotate(45deg)}

#leistungen .module__lists .list li > .li-tip{
  position:absolute;left:0;top:calc(100% - 1px);z-index:5;
  width:max(100%,17rem);max-width:min(24rem,80vw);
  box-sizing:border-box;padding:.85rem 1rem;
  background:var(--cream);border:1px solid var(--line);border-left:3px solid var(--red);
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  font-family:var(--sans);font-size:.9375rem;line-height:1.5;color:var(--grey);
  opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
#leistungen .module__lists .list li.is-open > .li-tip,
#leistungen .module__lists .list li:focus-visible > .li-tip{
  opacity:1;visibility:visible;transform:translateY(0)
}

@media (hover:hover) and (pointer:fine){
  #leistungen .module__lists .list li:hover{z-index:5}
  #leistungen .module__lists .list li:hover::before,
  #leistungen .module__lists .list li:hover::after{transform:rotate(45deg)}
  #leistungen .module__lists .list li:hover > .li-tip{opacity:1;visibility:visible;transform:translateY(0)}
}

@media (prefers-reduced-motion:reduce){
  #leistungen .module__lists .list li::before,
  #leistungen .module__lists .list li::after,
  #leistungen .module__lists .list li > .li-tip{transition:none}
}


/* 10. Zeilenweises Aufdecken (data-reveal="lines") ----------- */
.ln{display:block;overflow:hidden;padding-bottom:10px;margin-bottom:-10px}
.ln__i{display:block;transform:translateY(110%);transition:transform .95s var(--ease)}
.is-in .ln__i{transform:none}
@media (prefers-reduced-motion:reduce){
  .ln__i{transform:none;transition:none}
}

/* 11. Umfangs-Stufen als Umschalter -------------------------- */
.tiers__nav{display:flex;flex-wrap:wrap;gap:0 clamp(1.25rem,3vw,2.25rem);border-bottom:1px solid var(--line);margin-top:.35rem}
.tiers__tab{
  appearance:none;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;
  padding:.7rem 0;cursor:pointer;color:var(--grey);
  font-family:var(--sans);font-size:1.0625rem;line-height:1.4;
  display:inline-flex;align-items:baseline;gap:.7rem;
  transition:color .2s,border-color .2s;
}
.tiers__tab .tick{opacity:.3;transition:opacity .2s}
.tiers__tab:hover{color:var(--black)}
.tiers__tab[aria-selected="true"]{color:var(--black);border-bottom-color:var(--red)}
.tiers__tab[aria-selected="true"] .tick{opacity:1}
.tiers.is-tabs .tier{display:none;grid-template-columns:minmax(0,1fr);border-bottom:none;padding:1.15rem 0 .35rem}
.tiers.is-tabs .tier.is-active{display:grid}
.tiers.is-tabs .tier__name{display:none}
.tiers.is-tabs .tier p{max-width:64ch;font-size:1.0625rem;color:var(--grey)}

/* 13. Bild-Einblendung — opt-in über die Klasse .img-reveal ---
   An:  <div class="frame img-reveal"> … </div>  oder direkt am <img>
   Aus: Klasse entfernen — oder global <body class="no-img-reveal">
   Ohne JS bleiben die Bilder sichtbar (armiert wird erst per Script). */
.img-reveal.is-armed{
  opacity:0;transform:translateY(22px);
  transition:opacity .9s var(--ease),transform .9s var(--ease);
  will-change:opacity,transform;
}
.img-reveal.is-armed.is-in{opacity:1;transform:none}
.no-img-reveal .img-reveal.is-armed{opacity:1;transform:none;transition:none}
@media (prefers-reduced-motion:reduce){
  .img-reveal.is-armed{opacity:1;transform:none;transition:none}
}


/* 9. Module: Kernfrage/Ergebnis in der linken Spalte ---- */
.module__main{min-width:0}
.module__core--stack{grid-template-columns:1fr;margin-top:0;border-top:none;row-gap:0}
.module__core--stack .module__core-cell{padding:0 0 1.2rem}
.module__core--stack .module__core-cell + .module__core-cell{padding:1.2rem 0 0;border-left:none;border-top:1px solid var(--line)}
.module__core--stack .module__core-text{max-width:30ch}
.module__main > .lede{margin-top:clamp(1.5rem,3vw,2.25rem)}

/* 10. Kunden-Laufband ---- */
.clients{background:#F1ECE0;overflow:hidden}
.marquee{margin-top:clamp(4rem,8vw,7rem);overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.marquee__track{display:flex;width:max-content;animation:marquee-x var(--marquee-speed,60s) linear infinite}
.marquee__group{display:flex;align-items:center;gap:clamp(2.75rem,6vw,6rem);padding-right:clamp(2.75rem,6vw,6rem)}
.marquee__logo{flex:none;--logo-base:clamp(36px,4.32vw,55px);height:calc(var(--logo-base) * var(--s,1));
  width:auto;max-width:none;object-fit:contain;display:block}
@keyframes marquee-x{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee__track{animation:none}}

/* 11. Team: gemeinsamer Text der Geschäftsführung ---- */
.team-note{margin-top:clamp(2rem,4vw,3rem);border-top:1px solid var(--black);padding-top:1.5rem}
.team-note .lede{max-width:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1.1rem clamp(2rem,5vw,4rem)}

.module__lists .list li{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:1040px){.module__lists{grid-template-columns:1fr}}

/* 12. Team: kleine Portraits, einspaltiger Text ---- */
.team-people{display:flex;flex-wrap:wrap;gap:clamp(2rem,5vw,4.5rem);margin-top:clamp(2.5rem,5vw,3.5rem)}
.team-people .team{display:flex;align-items:flex-end;gap:1.4rem}
.team__photo{width:clamp(220px,24vw,300px);flex:none;aspect-ratio:4/5;overflow:hidden;margin-bottom:0}
.team__photo img{width:100%;height:100%;object-fit:cover;display:block}
.team-people .team h3{font-size:clamp(1.15rem,1.7vw,1.4rem);margin-bottom:.2rem}
.team-people .team__role{margin-bottom:0}
.team-note{display:block;max-width:74ch}
.team-note p + p{margin-top:1rem}

/* 13. Kernfrage/Ergebnis hervorgehoben ---- */
.module__core--stack{background:var(--cream-deep);border-top:3px solid var(--red);padding:clamp(1.25rem,2.5vw,1.75rem)}
.module__core--stack .module__core-cell{padding:0 0 1.05rem}
.module__core--stack .module__core-cell + .module__core-cell{padding:1.05rem 0 0;border-top:1px solid var(--cream-soft)}
.module__core--stack .module__core-text{max-width:28ch;font-size:clamp(1.1rem,1.8vw,1.4rem)}
.section--tint .module__core--stack{background:var(--cream)}

/* 14. Förderprojekte: Auswahl und Begleitung gleichwertig ---- */
.dd__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.75rem,4vw,3.5rem);margin-top:clamp(2.25rem,4.5vw,3.5rem)}
.dd__half{border-top:1px solid rgba(255,255,255,.2);padding-top:1.25rem}
.dd__half .h3{margin:.7rem 0 .7rem}
.dd__half p:last-child{color:var(--cream-soft);font-size:1.0625rem}
.dd__label{margin-top:clamp(2.25rem,4.5vw,3.25rem)}
.dd__label + .dd__grid{margin-top:.9rem}
@media (max-width:860px){.dd__pair{grid-template-columns:1fr}}

/* 15. Terminmodal ---- */
.modal{position:fixed;inset:0;z-index:200;display:none;align-items:flex-start;justify-content:center;overflow:auto;overscroll-behavior:contain;padding:clamp(1rem,4vw,3rem)}
.modal:target{display:flex}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.74)}
.modal__panel{position:relative;z-index:1;box-sizing:border-box;width:min(660px,100%);margin:auto;background:var(--cream);color:var(--black);border-top:4px solid var(--red);padding:clamp(1.75rem,4vw,2.5rem)}
.modal__close{position:absolute;top:.5rem;right:.9rem;font-family:var(--sans);font-size:1.9rem;line-height:1;text-decoration:none;color:var(--grey)}
.modal__close:hover{color:var(--red)}
.modal__lede{margin-top:.9rem;color:var(--grey);max-width:52ch}
.modal__embed{margin-top:1.5rem;min-height:var(--booking-height,340px);border:1px dashed var(--line);background:var(--cream-deep);display:grid;place-items:center;text-align:center;padding:1.25rem}
.modal__embed > p{font-family:var(--sans);font-size:.9375rem;letter-spacing:.1em;text-transform:uppercase;color:var(--grey)}
.modal__embed > p span{letter-spacing:0;text-transform:none}
.modal__embed iframe{width:100%;min-height:var(--booking-height,340px);border:0}
.modal__alt{margin-top:1.25rem;font-family:var(--sans);font-size:.9375rem;color:var(--grey)}
.modal__alt a{color:var(--red)}

/* 16. Modul: Beschreibungstext zweispaltig unter beiden Spalten ---- */
.module__text{margin-top:clamp(1.75rem,3.5vw,2.75rem);padding-top:1.4rem;border-top:1px solid var(--line);
  max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem clamp(2rem,5vw,4rem);align-items:start}
.module__text > p{margin:0}
@media (max-width:860px){.module__text{grid-template-columns:1fr}}

/* 17. Rechtsseiten (Impressum, Datenschutz) ---- */
.legal-body{background:var(--cream);color:var(--black)}
.legal-header{border-bottom:1px solid var(--line);padding:1.5rem 0}
.legal-header__back{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--sans);font-size:.875rem;
  letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:var(--grey)}
.legal-header__back:hover{color:var(--red)}
.legal-page{padding:clamp(3rem,7vw,6rem) 0 clamp(4rem,8vw,7rem)}
.legal-page .wrap{max-width:var(--wrap)}
.legal-page__title{font-family:var(--serif);font-weight:300;line-height:1.06;letter-spacing:-.01em;
  font-size:clamp(2.4rem,5.5vw,4.25rem);margin:.9rem 0 clamp(2.25rem,5vw,3.5rem)}

.legal{max-width:74ch;font-family:var(--sans);font-weight:300;font-size:1.0625rem;line-height:1.62;color:var(--black)}
.legal > * + *{margin-top:1rem}
.legal h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.18;
  margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:1.1rem;border-top:2px solid var(--red)}
.legal h2:first-child{margin-top:0}
.legal h3{font-family:var(--sans);font-weight:500;font-size:1.0625rem;letter-spacing:.06em;text-transform:uppercase;
  margin-top:2rem;margin-bottom:.5rem}
.legal p{text-wrap:pretty}
.legal strong{font-weight:500}
.legal a{color:var(--red);text-decoration:underline;text-underline-offset:.18em}
.legal a:hover{color:var(--black)}
.legal ul,.legal ol{padding-left:1.35rem}
.legal ul{list-style:none;padding-left:0}
.legal ul li{position:relative;padding-left:1.35rem}
.legal ul li::before{content:"";position:absolute;left:0;top:.62em;width:.5rem;height:.5rem;background:var(--red)}
.legal li + li{margin-top:.5rem}
.legal dl{display:grid;grid-template-columns:minmax(12ch,20ch) 1fr;gap:.55rem clamp(1.25rem,3vw,2.5rem);
  border-top:1px solid var(--line);padding-top:1rem}
.legal dt{font-weight:500;letter-spacing:.04em;text-transform:uppercase;font-size:.9375rem}
.legal dd{margin:0}
.legal table{width:100%;border-collapse:collapse;font-size:1rem}
.legal th,.legal td{text-align:left;vertical-align:top;padding:.7rem .9rem .7rem 0;border-bottom:1px solid var(--line)}
.legal th{font-weight:500;letter-spacing:.05em;text-transform:uppercase;font-size:.875rem;white-space:nowrap}
.legal__box{background:var(--cream-deep);border-top:3px solid var(--red);padding:clamp(1.1rem,2.5vw,1.6rem)}
.legal__note{font-size:.9375rem;color:var(--grey)}
.legal__placeholder{color:var(--grey);border:1px dashed var(--line);padding:1.1rem}
@media (max-width:640px){.legal dl{grid-template-columns:1fr;gap:.15rem}
  .legal dt{margin-top:.8rem}}
