/* ============================================================
   Yorck Consulting — Relaunch v4
   Zurück zur alten Marken-DNA: Neon-Farben (Gelb/Pink/Grün/Lila),
   Cyan-Glow auf Headlines, Himmel-Fotos als Sektionshintergrund,
   eckige Bild-Kacheln, Endlos-Marquees, viel Bewegung.
   Self-hosted fonts (DSGVO). Kein CDN zur Laufzeit.
   ============================================================ */

/* ---------- Fonts (aus PPTX: League Spartan + Roboto + Quicksand) ---------- */
@font-face { font-family: "League Spartan"; src: url("../fonts/leaguespartan-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("../fonts/leaguespartan-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("../fonts/leaguespartan-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #000000;
  --ink-soft: #231f20;
  --muted: #656565;
  --muted-2: #656565;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, .12);
  --line-strong: rgba(0, 0, 0, .2);

  /* Markenfarben (Neon, wie alte Seite): je Leistungsfeld eine Farbe */
  --yellow: #ffde59;
  --yellow-ink: #231f20; /* Sonderfall: Gelb braucht einen dunklen Ink-Ton für Kontrast, nie als Linktext auf Weiß */
  --pink: #ff66c4;
  --pink-ink: color-mix(in srgb, var(--pink) 78%, #000);
  --green: #00bf63;
  --green-ink: color-mix(in srgb, var(--green) 78%, #000);
  --violet: #8c52ff;
  --violet-ink: color-mix(in srgb, var(--violet) 78%, #000);

  /* Leitakzent: Cyan/Glow — ersetzt die frühere UI-Leitfarbe "brand" überall */
  --cyan: #0cc0df;
  --cyan-ink: color-mix(in srgb, var(--cyan) 78%, #000);

  /* Signalfarbe (Impressum/Datenschutz nutzen sie inline) */
  --signal-soft: rgba(255, 222, 89, .25);
  --signal-ink: #231f20;

  --font-display: "League Spartan", "Arial Narrow", Arial, sans-serif;
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-round: "Quicksand", var(--font-display);

  --fs-display: clamp(2.7rem, 8vw, 6rem);
  --fs-h2: clamp(2rem, 5vw, 3.6rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.35rem);
  --fs-lead: clamp(1.12rem, 1.7vw, 1.4rem);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 132px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-md: 0 18px 44px -22px rgba(20, 30, 50, .32);
  --shadow-lg: 0 36px 80px -30px rgba(20, 30, 50, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-width: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.62; color: var(--ink-soft); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - calc(var(--gutter) * 2)); margin-inline: auto; }
.container--wide { width: min(1360px, 100% - calc(var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--sky { background: linear-gradient(180deg, color-mix(in srgb, var(--cyan) 14%, var(--paper)), var(--paper)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* Vollflächiges Himmelfoto als Sektionshintergrund (Komplizen, Vision, Cases, Team) */
.section--skyphoto { position: relative; background: url("../img/sky-640.webp") center / cover no-repeat; isolation: isolate; }
@media (min-width: 700px) { .section--skyphoto { background-image: url("../img/sky-960.webp"); } }
@media (min-width: 1100px) { .section--skyphoto { background-image: url("../img/sky-1600.webp"); } }
.section--skyphoto::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0, 0, 0, .3); pointer-events: none; }
.section--skyphoto > .container, .section--skyphoto > .container--wide { position: relative; z-index: 1; }
.section--skyphoto { color: #fff; }
.section--skyphoto p, .section--skyphoto .eyebrow, .section--skyphoto .lead, .section--skyphoto .wheel__kicker, .section--skyphoto .journey__step p {
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.section--skyphoto h1, .section--skyphoto h2, .section--skyphoto h3, .section--skyphoto .display, .section--skyphoto .statement {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45), 0 0 6px rgba(12, 192, 223, .9), 0 0 24px rgba(12, 192, 223, .55);
}
/* Content-Fließtext (nicht in weißen Karten) auf dem Himmel gut lesbar in Weiß halten */
.section--skyphoto .wheel__detail p, .section--skyphoto .wheel__detail li,
.section--skyphoto .journey-intro p,
.section--skyphoto #ueber-uns p, .section--skyphoto .statement {
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.section--skyphoto .wheel-claim { color: var(--cyan); }
.section--skyphoto .tile { background: transparent; border: 0; }
.section--skyphoto .tile h3, .section--skyphoto .tile__excerpt, .section--skyphoto .tile__link {
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
/* #5: Case-/Insight-Kicker behält seine Tile-Farbe (nicht weiß), nur Lesbarkeits-Shadow */
.section--skyphoto .tile__kicker { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
/* Weiße Kästen innerhalb eines Himmel-Fotos behalten dunklen Text (Team-Info, Platzhalter) */
.section--skyphoto .team-tile--info,
.section--skyphoto .team-tile--info p,
.section--skyphoto .team-tile--info h3,
.section--skyphoto .team-tile--placeholder {
  color: var(--ink-soft); text-shadow: none;
}
.section--skyphoto .team-tile--info h3 { color: var(--ink); }
.section--skyphoto .team-tile--info .team-tile__role,
.section--skyphoto .team-hashtags { color: var(--cyan); text-shadow: none; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { min-width: 0; font-family: var(--font-display); color: var(--ink); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin: 0; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.01em; }
.display { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); font-family: var(--font-sans); text-transform: none; letter-spacing: 0; text-align: justify; hyphens: auto; }
.hero .lead, .article-cta .lead { text-align: center; hyphens: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 0 0 22px; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 20px; }

/* Glow-Utility (Cyan-Neon, wie alte Website) */
.glow, .hero .display, .wheel-claim {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35), 0 0 6px rgba(12, 192, 223, .9), 0 0 24px rgba(12, 192, 223, .55);
}
/* #1: Hero-Headline weiß, damit der Neon-Glow strahlt */
.hero .display { color: #fff; }

/* Mehrfarbige Akzentwörter */
.c-yellow { color: var(--yellow); } .c-pink { color: var(--pink); } .c-green { color: var(--green); } .c-violet { color: var(--violet); } .c-cyan { color: var(--cyan); }

/* Marken-Logo (umfärbbar via Maske) */
.brand-logo { display: block; height: 38px; aspect-ratio: 1154 / 453; background: var(--ink); -webkit-mask: url("../img/logo.svg") center / contain no-repeat; mask: url("../img/logo.svg") center / contain no-repeat; }
.brand-logo--light { background: #fff; height: 34px; }
.brand-sub { display: none; }

/* Scribble */
.scribble { display: inline-block; background: var(--pink); -webkit-mask: url("../img/scribble.png") no-repeat center / contain; mask: url("../img/scribble.png") no-repeat center / contain; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; padding: 15px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: var(--cyan-ink); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(150%) blur(12px); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; flex-direction: column; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: var(--ink); position: relative; padding-block: 4px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--cyan); transition: width .25s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--cyan); }
.nav-links a.is-active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 9px 20px; border-radius: 999px; background: var(--cyan); color: var(--ink) !important; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .78rem; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--cyan-ink); transform: translateY(-1px); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: rgba(255,255,255,.7); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero (full-bleed Foto) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 150px var(--gutter) 92px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; }
.hero__bg picture { display: block; }
.hero__bg img { object-fit: cover; opacity: .9; }
.hero__lamp { position: absolute; z-index: -1; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(20,30,50,.18)); transform-origin: bottom center; }
.hero__lamp--warm { right: -7%; bottom: 0; height: clamp(440px, 84vh, 980px); }
.hero__lamp--cool { left: 2%; top: 8%; height: clamp(220px, 42vh, 540px); opacity: .9; }
.hero__inner { position: relative; width: 100%; max-width: 1100px; min-width: 0; }
.hero .display { max-width: 100%; min-width: 0; font-size: clamp(2.7rem, 9vw, 6.8rem); line-height: .94; overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.hero__sub { max-width: 620px; min-width: 0; margin: 26px auto 0; overflow-wrap: anywhere; word-break: normal; }
.hero__logo { height: clamp(56px, 8vw, 90px); aspect-ratio: 1154 / 453; width: auto; margin: 0 auto 26px; background: var(--ink); -webkit-mask: url("../img/logo.svg") center / contain no-repeat; mask: url("../img/logo.svg") center / contain no-repeat; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 34px; background: var(--ink); animation: scrollcue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0%{transform:scaleY(0);} 40%{transform:scaleY(1);} 100%{transform:scaleY(0); transform-origin:bottom;} }

/* ---------- Statement (mehrfarbig) ---------- */
.statement { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 6.5vw, 5rem); line-height: 1.0; letter-spacing: -.02em; color: var(--ink); }
.statement span { display: block; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Vision ---------- */
#vision { display: flex; align-items: center; min-height: clamp(560px, 82vh, 800px); }
.vision__body { max-width: min(600px, 54%); }
.vision__body p + p { margin-top: 18px; }
.vision__body p { text-align: justify; hyphens: auto; }

/* ---------- Billboard-Bild (Foto) ---------- */
/* rechte Kante bündig an der Container-Rechtskante (nicht am Viewport-Rand) → Text + Billboard bleiben zusammen */
/* vertikal zentriert wie der Text links (Text ist via #vision flex align-items:center zentriert) */
/* transform-Y ist NICHT -50%: das Bild ist überwiegend Mast unter dem Schild,
   daher zentriert -50% das GESAMTBILD und schiebt das Schild zu weit nach oben.
   -24.3% zentriert stattdessen die MITTE DES SCHILDS (endet bei ~48.5% der Bildhöhe,
   pixelgenau ermittelt) auf Höhe des Vision-Texts links. */
.vision__billboard { position: absolute; right: max(var(--gutter), calc((100vw - 1200px) / 2)); top: auto; bottom: calc(clamp(560px, 82vh, 800px) * 0.5 - 0.757 * clamp(440px, 76vh, 720px)); transform: none; z-index: 1; pointer-events: none; }
.vision__billboard-img { height: clamp(505px, 87vh, 825px); width: auto; display: block; }

/* ---------- Über uns: Bild-Collage (Nachbau alte Website) ----------
   Positions sind vw/vh (Viewport-relativ), NICHT relativ zu .container:
   .about-section ist die volle Section-Breite (0 bis 100vw) und der einzige
   positionierte Vorfahre + Clipping-Rahmen (overflow:hidden), damit z.B.
   "left:83vw" wirklich bei 83% der Fensterbreite landet und Elemente, die
   über den Rand hinausragen, exakt am Viewportrand abgeschnitten werden. */
.about-section { overflow: hidden; }
.about-section > picture { display: contents; }
.about-text { max-width: 620px; margin-inline: auto; position: relative; z-index: 5; }
#ueber-uns .about-text p { text-align: justify; hyphens: auto; }
.about-deco { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 10px 22px rgba(0,0,0,.25)); }

/* Linke Seite: Christian (höher) + Jan (tiefer/rechts, überlagert Christian stärker) */
.about-deco--christian { left: 5.5vw; top: 19vh; width: 10.5vw; z-index: 3; }
.about-deco--jan { left: 8.5vw; top: 22.5vh; width: 10.5vw; z-index: 4; }
/* Karte: hinter den Personen, ca. 15-20° zusätzlich gegen den Uhrzeigersinn gedreht */
.about-deco--map { left: 4vw; top: 41vh; width: 17vw; transform: rotate(-23deg); z-index: 1; }
.about-deco--compass { left: 9vw; top: 52vh; width: 9vw; transform: rotate(12deg); z-index: 2; }
/* Freiheitsstatue: vor der Karte, verlängert damit sie unten aus dem Viewport läuft */
.about-deco--statue { left: 4vw; top: 61vh; width: 17vw; height: 50vh; object-fit: cover; object-position: top; transform: rotate(-3deg); z-index: 2; }

/* Rechte Seite: horizontal gestaffelt statt Spalte — Champagner weit rechts (oben angeschnitten),
   General bis über den rechten Rand (kopfüber gedreht), Gebäude am rechten/unteren Rand,
   Espresso davor weiter links */
.about-deco--champagne { left: 83vw; top: -2vh; width: 14vw; transform: rotate(18deg); z-index: 1; }
.about-deco--portrait { left: 80vw; top: 25vh; width: 22vw; transform: rotate(270deg); z-index: 1; }
.about-deco--facade { left: 84vw; top: 64vh; width: 17vw; height: 46vh; object-fit: cover; object-position: center; z-index: 1; }
.about-deco--espresso { left: 74vw; top: 77vh; width: 11vw; z-index: 2; }

@media (max-width: 1120px) { .about-deco { display: none; } }

/* ---------- Arbeitsweise: Abstand Zitat -> Text darunter verkleinern ---------- */
#arbeitsweise .section-head { margin-bottom: 10px; }
#arbeitsweise .journey-intro p { margin-top: 8px; }

/* ---------- Arbeitsweise: Ansatz-Intro + Fortschritts-Pfad ---------- */
.journey-intro { max-width: 720px; }
.journey-intro p { margin-top: 20px; text-align: justify; hyphens: auto; }
.journey-quote, .section--skyphoto .journey-quote {
  font-family: var(--font-sans); font-size: clamp(1rem, 2.3vw, 1.5rem); color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.45), 0 0 6px rgba(12,192,223,.9), 0 0 24px rgba(12,192,223,.55);
  white-space: nowrap; max-width: none; margin-top: 20px;
}
@media (max-width: 700px) { .journey-quote { white-space: normal; } }

.journey { position: relative; margin-top: 46px; --progress: 0; }
.journey__track { position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.journey__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--progress) * 100%); background: linear-gradient(90deg, var(--yellow), var(--pink) 42%, var(--green) 72%, var(--violet)); transition: width .35s var(--ease); }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.journey__step { position: relative; padding-right: 14px; }
.journey__node { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); position: relative; z-index: 1; margin-top: 18px; transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease); }
.journey__num { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.03em; color: var(--step-color, var(--yellow)); opacity: .16; margin: 22px 0 6px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.journey__step h3 { font-size: 1.24rem; margin-bottom: 8px; }
.journey__step p { color: var(--muted); font-size: .96rem; max-width: 30ch; text-align: justify; hyphens: auto; }
/* #6: Step-Text blendet ein, sobald der Schritt beim Scrollen aktiv wird */
.js .journey__step p { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .journey__step.is-active p { opacity: 1; transform: none; }
.journey__step.is-active .journey__node { background: var(--step-color, var(--yellow)); border-color: var(--step-color, var(--yellow)); transform: scale(1.35); box-shadow: 0 0 0 6px color-mix(in srgb, var(--step-color, var(--yellow)) 18%, transparent); }
.journey__step.is-active .journey__num { opacity: 1; transform: translateY(-2px); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.js .marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.js .marquee__track { animation: marquee var(--dur, 50s) linear infinite; }
.js .marquee--rtl .marquee__track { animation-direction: reverse; }
.js .marquee:hover .marquee__track, .js .marquee:focus-within .marquee__track { animation-play-state: paused; }
.js .komplizen .marquee:hover .marquee__track { animation-play-state: running; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.js .marquee--draggable { cursor: grab; touch-action: pan-y; }
.js .marquee--draggable.is-dragging { cursor: grabbing; }
.js .marquee--draggable.is-dragging, .js .marquee--draggable.is-dragging * { user-select: none; -webkit-user-select: none; }
.js .marquee--draggable img, .js .marquee--draggable a { -webkit-user-drag: none; }

/* Cases / Insights tiles in marquee */
.tile { width: clamp(280px, 32vw, 380px); flex: 0 0 auto; display: flex; flex-direction: column; border-radius: 0; overflow: hidden; background: var(--paper); border: 2px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--tile-color, var(--yellow)); }
.tile__media { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, var(--cyan) 12%, var(--paper)), color-mix(in srgb, var(--muted) 12%, var(--paper))); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile__kicker { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--tile-color, var(--yellow)); }
.tile h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: anywhere; hyphens: auto; }
.tile__excerpt { color: var(--muted); font-size: .95rem; flex: 1; text-align: justify; hyphens: auto; }
.tile__metric { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; color: var(--tile-color, var(--yellow)); line-height: 1; }
.tile__metric span { display: block; margin-top: 6px; font-family: var(--font-sans); font-weight: 400; font-size: .8rem; color: var(--muted); text-transform: none; }
.tile__link { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .78rem; color: var(--ink); display: inline-flex; gap: 7px; align-items: center; }
.tile:hover .tile__link { color: var(--tile-color, var(--yellow)); }

/* ---------- Komplizen (Logos) ---------- */
.komplizen .marquee__track { gap: clamp(40px, 6vw, 80px); align-items: center; }
.komplizen img { height: 62px; width: auto; max-width: 300px; object-fit: contain; }
/* Reine Logos ohne verlinkte Detailseite: kein Hover-Feedback (keine Klick-Suggestion). */
/* Pausiert wie jedes andere Laufband bei Hover/Touch (WCAG 2.2.2: Pause-Mechanismus für autostartende Bewegung >5s). */

/* ---------- Leistungen: Kreis-Diagramm ---------- */
.wheel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.wheel__graphic { text-align: center; }
.wheel__svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.wheel__svg .seg path { cursor: pointer; transform-origin: 200px 200px; transition: transform .3s var(--ease), opacity .25s; }
.wheel__svg .seg text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 26px; pointer-events: none; }
.wheel__svg .seg.seg--dark text, .wheel__svg .seg[data-dark] text { fill: #231f20; }
.wheel__svg .seg:hover path, .wheel__svg .seg:focus-visible path, .wheel__svg .seg.is-active path { transform: scale(1.05); }
.js .wheel__svg .seg:not(.is-active) path { opacity: .55; }
.wheel__detail { border-left: 5px solid var(--wheel-color, var(--yellow)); padding-left: 26px; }
.wheel__kicker { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--wheel-color, var(--yellow)); }
.wheel__detail h3 { font-size: 1.1rem; margin: 10px 0 12px; text-transform: uppercase; letter-spacing: .02em; }
.wheel__detail p { color: var(--muted); font-size: 1.05rem; margin: 10px 0 0; text-align: justify; hyphens: auto; }
.wheel__detail ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 1.05rem; }
.wheel__detail li { margin-bottom: 7px; }
@media (max-width: 820px) { .wheel { grid-template-columns: 1fr; } .wheel__graphic { max-width: 420px; margin-inline: auto; } }

/* ---------- Team (Marquee-Kacheln, in Paaren gruppiert: [Foto+Info] [Foto+Info] [Platzhalter-Foto+Platzhalter-Info]) ---------- */
.team-pair { display: flex; gap: 14px; flex: 0 0 auto; }
#team .marquee__track { gap: clamp(28px, 4vw, 52px); }
.team-tile { width: clamp(320px, 82vw, 380px); height: clamp(480px, 66vh, 560px); flex: 0 0 auto; display: flex; flex-direction: column; }
.team-tile--photo { position: relative; display: block; overflow: hidden; }
.team-tile--photo picture { display: block; width: 100%; height: 100%; }
.team-tile--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.team-tile--photo:hover img { transform: scale(1.045); }
.team-tile--info { min-width: 0; background: var(--paper); color: var(--ink-soft); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 9px; overflow-y: auto; }
.team-tile--info h3 { font-size: 1.3rem; text-transform: uppercase; color: var(--ink); }
.team-tile__role { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--cyan); }
.team-tile--info p { color: var(--muted); font-size: .92rem; text-align: justify; hyphens: auto; }
.team-hashtags { color: var(--cyan); font-family: var(--font-display); font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .78rem; margin-top: auto; }
.team-hashtags span, .team-tile__role { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.team-tile--placeholder { display: flex; align-items: center; justify-content: center; text-align: center; border: 2px dashed var(--line-strong); background: rgba(255,255,255,.5); color: var(--muted); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.team-tile--placeholder-photo span { font-size: 3rem; opacity: .5; }
.linkedin-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--ink); color: #fff; flex-shrink: 0; }
.linkedin-link svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.linkedin-link:hover { background: var(--cyan); }
.team-tile--photo .linkedin-link { position: absolute; right: 14px; bottom: 14px; background: var(--cyan); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
/* Übergangs-Sicherheitsnetz, falls noch alte .member-Struktur vorkommt */
.member__photo { border-radius: 0; border: 0; }

/* ---------- Contact ---------- */
.contact { position: relative; background: #18242d; color: #fff; isolation: isolate; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; display: block; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0, 0, 0, .45); pointer-events: none; }
.contact .eyebrow, .contact h2, .contact .display { color: #fff; }
.contact__grid { position: relative; z-index: 1; max-width: 640px; }
.contact__headline { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.14; color: #fff; overflow-wrap: anywhere; }
.contact__lead { color: rgba(255,255,255,.7); margin-top: 22px; }
.contact__email { display: inline-block; max-width: 100%; margin-top: 26px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--cyan); overflow-wrap: anywhere; }
.contact__email:hover { color: #fff; }
.contact__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .84rem; color: rgba(255,255,255,.72); }
.contact__meta a:hover { color: #fff; }
.contact__note { margin-top: 22px; max-width: 100%; font-size: .8rem; color: rgba(255,255,255,.55); overflow-wrap: anywhere; }
.contact__note a { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding-block: clamp(48px, 6vw, 76px); }
.site-footer a { color: rgba(255,255,255,.66); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__cols { display: flex; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-display); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; font-weight: 700; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---------- Reveal & parallax ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
/* Richtungs-Varianten: data-reveal="left|right|zoom" */
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.93); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }
[data-parallax] { will-change: transform; }

/* Statement: Zeilen staffeln sich nacheinander ein (Elternelement bleibt neutral) */
.js .statement[data-reveal] { opacity: 1; transform: none; transition: none; }
.js .statement[data-reveal] > span { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .statement[data-reveal].is-visible > span { opacity: 1; transform: none; }
.js .statement[data-reveal].is-visible > span:nth-child(2) { transition-delay: .14s; }
.js .statement[data-reveal].is-visible > span:nth-child(3) { transition-delay: .28s; }

/* Leistungs-Rad: dreht sich beim Einblenden ein */
.js .wheel[data-reveal] .wheel__svg { opacity: 0; transform: rotate(-10deg) scale(.94); transition: opacity .7s var(--ease), transform .95s var(--ease); }
.js .wheel[data-reveal].is-visible .wheel__svg { opacity: 1; transform: none; }

/* Hero: Einstiegsanimation beim Laden + sanftes Ausblenden beim Scrollen (Vars via JS) */
.js .hero__logo, .js .hero .display, .js .hero__sub { animation: heroIn .9s var(--ease) backwards; }
.js .hero .display { animation-delay: .1s; }
.js .hero__sub { animation-delay: .22s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
.js .hero__inner { opacity: var(--hero-fade, 1); transform: translate3d(0, calc(var(--hero-shift, 0) * 1px), 0); }
.js .hero__scroll { opacity: var(--hero-cue, 1); }

/* Bild-Parallax: Motiv bewegt sich langsamer als sein beschnittener Rahmen (--py via JS) */
[data-parallax-img] { overflow: hidden; }
.js [data-parallax-img] img, .js .article-hero__bg img, .js .article-figure__frame img { transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.14); will-change: transform; }

/* Lesefortschritt auf Artikelseiten (Element wird per JS eingefügt) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 140; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent, var(--cyan)); transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transition: none; }
  .js .journey__step p { opacity: 1; transform: none; transition: none; }
  .js .statement[data-reveal] > span { opacity: 1; transform: none; transition: none; }
  .js .wheel[data-reveal] .wheel__svg { opacity: 1; transform: none; transition: none; }
  .js .hero__logo, .js .hero .display, .js .hero__sub { animation: none; }
  .js .hero__inner, .js .hero__scroll { opacity: 1; transform: none; }
  .js [data-parallax-img] img, .js .article-hero__bg img, .js .article-figure__frame img { transform: none; }
  .team-tile--photo img { transition: none; transform: none; }
  .btn, .tile, .hero__scroll span { transition: none; animation: none; }
  /* Laufband einfrieren ist nicht genug: ohne Scroll-Mechanismus wären Inhalte jenseits der
     ersten Viewport-Breite für Reduced-Motion-Nutzer:innen unerreichbar (z. B. Komplizen-Logos). */
  .js .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .js .marquee__track { animation: none; }
  [data-parallax], [data-lamp] { transform: none !important; }
}

/* ---------- Subpage ---------- */
.page-hero { padding-top: clamp(130px, 16vw, 180px); padding-bottom: clamp(40px, 5vw, 64px); background: linear-gradient(180deg, color-mix(in srgb, var(--cyan) 14%, var(--paper)), var(--paper)); }
.breadcrumb { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--cyan); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 14px; font-size: clamp(1.4rem, 3vw, 2rem); }
.prose p, .prose li { color: var(--ink-soft); text-align: justify; hyphens: auto; }
.prose ul { padding-left: 20px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 48px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .8rem; color: var(--cyan); }

/* Übersichtsseiten: statisches Raster (kein Marquee) */
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cards-row .tile { width: auto; }

/* ---------- Editorial-Detailseiten (Artikel & Cases) ---------- */
/* Seiten-Akzent wird per --accent / --accent-ink am <main> gesetzt. */
.article-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 66vh, 640px); padding-top: clamp(120px, 15vw, 168px); padding-bottom: clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.article-hero__bg { position: absolute; inset: 0; z-index: -2; }
.article-hero__bg picture, .article-hero__bg img { width: 100%; height: 100%; }
.article-hero__bg picture { display: block; }
.article-hero__bg img { object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(175deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.52) 52%, rgba(0,0,0,.9) 100%); }
.article-hero .breadcrumb, .article-hero .breadcrumb a { color: rgba(255,255,255,.78); }
.article-hero .breadcrumb a:hover { color: #fff; }
.article-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.1rem, 5.4vw, 4rem); overflow-wrap: break-word; hyphens: auto; }
.article-cat { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; color: #fff; padding: 8px 16px; border-radius: 999px; background: var(--accent, var(--yellow)); margin-bottom: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; color: rgba(255,255,255,.82); }
.article-meta > span + span::before { content: "·"; margin-right: 16px; color: rgba(255,255,255,.5); }

/* Header über dunklem Hero: helle Schrift, bis gescrollt wird (dann solide) */
.dark-hero .site-header:not(.is-scrolled) .brand-logo { background: #fff; }
.dark-hero .site-header:not(.is-scrolled) .nav:not(.is-open) .nav-links a { color: #fff; }
.dark-hero .site-header:not(.is-scrolled) .nav:not(.is-open) .nav-toggle { border-color: #fff; background: rgba(255,255,255,.14); }
.dark-hero .site-header:not(.is-scrolled) .nav:not(.is-open) .nav-toggle span,
.dark-hero .site-header:not(.is-scrolled) .nav:not(.is-open) .nav-toggle span::before,
.dark-hero .site-header:not(.is-scrolled) .nav:not(.is-open) .nav-toggle span::after { background: #fff; }

/* Editorial-Body: Lede, Akzent-Headings, Pull-Quote, Links */
.article-body { padding-block: clamp(52px, 7vw, 96px); }
.prose .lede { font-family: var(--font-sans); font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.5; color: var(--ink); }
.prose h2 { color: var(--ink); border-left: 4px solid var(--accent, var(--yellow)); padding-left: 18px; }
.prose a:not(.back-link):not(.btn) { color: var(--accent-ink, var(--cyan)); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 40px 0; padding: 6px 0 6px 28px; border-left: 5px solid var(--accent, var(--yellow)); }
.prose blockquote p { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.18; letter-spacing: -.01em; color: var(--ink); text-align: left; }
.prose blockquote cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--font-sans); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.article-body .back-link { color: var(--accent-ink, var(--cyan)); }

/* Bild-Break zwischen Textabschnitten (breiter als der Textsatz).
   overflow hidden beschneidet das Parallax-Motiv (Bild ist leicht skaliert). */
.article-figure { margin: clamp(36px, 5vw, 64px) 0 0; max-width: 920px; }
.article-figure__frame, .article-figure__frame picture { display: block; border-radius: 0; overflow: hidden; }
.article-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 0; }
.article-figure figcaption { margin-top: 14px; font-size: .82rem; color: var(--muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; }

/* Einheitlicher CTA-Block (ersetzt die uneinheitlichen Varianten) */
.article-cta { background: var(--ink); color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 104px); }
.article-cta h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.article-cta p { color: rgba(255,255,255,.72); max-width: 520px; margin: 20px auto 30px; }
.article-cta .btn-primary { background: var(--accent, var(--cyan)); }
.article-cta .btn-primary:hover { background: var(--accent-ink, var(--cyan-ink)); }

/* Weiterlesen / verwandte Inhalte */
.related { padding-block: clamp(52px, 7vw, 90px); background: color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.related__head { margin-bottom: 30px; }
.related__head h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
@media (max-width: 620px) { .article-meta { font-size: .72rem; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__lamp--cool { display: none; }
  #vision { display: flex; flex-direction: column; align-items: center; min-height: clamp(640px, 92vh, 900px); }
  .vision__body { max-width: none; align-self: stretch; }
  .vision__billboard { position: static; transform: none; z-index: auto; margin-top: auto; margin-inline: 0; text-align: center; pointer-events: none; }
  .vision__billboard-img { height: auto; width: min(300px, 72vw); margin-inline: auto; }
}
/* Arbeitsweise: vertikale Timeline auf schmalen Screens */
@media (max-width: 760px) {
  .journey__track { left: 10px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; }
  .journey__fill { inset: 0 0 auto 0; width: 100%; height: calc(var(--progress) * 100%); transition: height .35s var(--ease); background: linear-gradient(180deg, var(--yellow), var(--pink) 42%, var(--green) 72%, var(--violet)); }
  .journey__steps { grid-template-columns: 1fr; gap: 34px; }
  .journey__step { padding-left: 48px; padding-right: 0; }
  .journey__node { position: absolute; left: 1px; top: 6px; margin-top: 0; }
  .journey__num { margin-top: 0; font-size: clamp(2.6rem, 12vw, 4rem); }
}
@media (max-width: 720px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(22px); }
  .journey-quote, .section--skyphoto .journey-quote { white-space: normal; overflow-wrap: anywhere; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: flex-start; gap: 0; padding: max(84px, calc(env(safe-area-inset-top) + 72px)) 32px max(32px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; gap: 6px; text-align: center; }
  .nav.is-open .nav-links a { font-size: 1.35rem; }
  .nav.is-open .nav-cta { display: inline-flex; margin-top: 20px; font-size: 1rem; padding: 13px 28px; }
  .nav.is-open .nav-toggle { position: fixed; top: max(16px, env(safe-area-inset-top)); right: var(--gutter); }
  body.nav-open { overflow: hidden; touch-action: none; }
  .hero__lamp--warm { opacity: .55; bottom: 0; height: clamp(380px, 62vh, 560px); }
}
@media (max-width: 430px) {
  .hero { padding-inline: max(16px, var(--gutter)); }
  .hero .display { font-size: clamp(2.2rem, 11vw, 2.95rem); }
  .hero__sub { font-size: clamp(1rem, 4.6vw, 1.18rem); }
}
@media (max-height: 520px) and (max-width: 920px) and (orientation: landscape) {
  .nav.is-open { padding-top: max(70px, calc(env(safe-area-inset-top) + 64px)); }
  .nav.is-open .nav-links { gap: 0; }
  .nav.is-open .nav-links a { font-size: 1.3rem; padding-block: 2px; }
  .nav.is-open .nav-cta { margin-top: 10px; padding-block: 9px; }
}
