/* Gelb-Ebene (12.10., «zuwenig spiel mit dem gelb»): nach style.css laden. Nur Variablen, keine Hexwerte. */

/* Kopf: Kontakt-CTA als gelber Knopf */
.hdr nav a.cta { background: var(--yellow); color: var(--ink); padding: 11px 16px; border: 0; border-radius: 4px; }

/* Gelbfeld-Hero (Leistungen, Deal-Analysen, Kontakt): Foto beginnt unter dem Kopf */
.sp.gy { background: var(--yellow); color: var(--ink); }
.gy .hdr { color: var(--ink); }
.gy .hdr img { filter: brightness(0); }
.gy .hdr nav a.cta { background: var(--ink); color: var(--white); }
/* 19.10.: Bild klebte an Nav/Knopf (fix top:82px < Kopfhöhe 91, bei 768 px Kopf 121 = Bild über Nav).
   Raster statt fester Zahl: Kopf eigene Zeile, Bild darunter mit Abstand, egal wie hoch der Kopf wird. */
@media (min-width: 701px) {
  .sp { display: grid; grid-template-columns: 54% 46%; grid-template-rows: auto 1fr; }
  .sp .hdr { grid-column: 1 / -1; }
  .sp .spi { position: relative; inset: auto; width: auto; grid-column: 2; grid-row: 2; margin-top: clamp(16px, 2vw, 28px); }
  .sp .spw { grid-column: 1 / -1; grid-row: 2; }
}
.gy .spi::after { display: none; }
.gy .kick::before { background: var(--ink); }
.gy .cta { border-bottom-color: var(--ink); }
.gy .vorspann .vor + .vor { color: var(--ink); }

/* Gelbe Abschnitte: Rubrik-Strich in Tinte */
.y .rub::before { background: var(--ink); }

/* Markierung je Fläche: Tinte = gelbe Schrift, Weiss = Leuchtstift, Gelb = Tinten-Strich */
.k .mk, .sp .mk { color: var(--yellow); }
.w .mk { background-size: 100% .36em; background-position: 0 86%; }
.y .mk, .gy .mk { color: inherit; background-image: linear-gradient(var(--ink), var(--ink)); }

/* Drei Momente: grosse gelbe Ziffern statt Strich */
.mod .cols { counter-reset: n; }
.mod .no { width: auto; height: auto; background: none; color: var(--yellow); font-size: clamp(56px, 5vw, 80px); line-height: 1; }
.mod .no::before { counter-increment: n; content: counter(n, decimal-leading-zero); }

/* Zitate: grosses gelbes Anführungszeichen */
.hal blockquote::before { content: "«" / ""; display: block; font-family: var(--serif); color: var(--yellow); font-size: clamp(120px, 11vw, 180px); line-height: .7; margin-bottom: .05em; }


/* Rechtsseiten und 404: Gelbfeld statt Tinte */
.pl.gy { background: var(--yellow); color: var(--ink); }
.pl.gy .vor { color: var(--ink); }

/* Logos grösser (12.10., «icons der referenzen grösser») */
.lg { --s: 1.5; }
.key .ov .brands { max-width: 900px; }
/* Logos immer auf einer Reihe (12.10., 15:55, «mach die logos auf eine reihe»), bündig links und rechts (14.10.) */
@media (max-width: 700px) { .lg { --s: .72; gap: 20px; } }

/* Haltung auf Home: Hierarchie statt gleich grosser Grautexte (12.10.) */
.hal .ab .txt { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.38; }
.hal .mini { color: var(--ink); margin-top: var(--gap-m); border-top: 1px solid var(--line-ink); }
.hal .mini li { padding: 16px 0; border-bottom: 1px solid var(--line-ink); color: var(--muted); }
.hal .mini b { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--gro); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; line-height: 1.4; }

/* Auszeichnung in Titeln kursiv (12.10., «mal kursiv versuchen») */
h1 .mk, h2 .mk { font-style: italic; }

/* Buttons rund (12.10., «damit es etwas mehr human wirkt») */
.btn, .hdr nav a.cta { border-radius: 999px; }
.hdr nav a.cta { padding: 11px 20px; }

/* Home «So arbeiten wir»: Titel und Freisteller im gelben Kreis links, Schritte rechts (12.10., 15:45) */
.abl.fr h2 { grid-column: 1/7; grid-row: 1; }
.abl.fr .frei { grid-column: 1/7; grid-row: 2/4; align-self: end; justify-self: start; position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: var(--gap-l) 0 0; border-radius: 50%; background: var(--yellow); overflow: clip; }
.abl.fr .frei img { position: absolute; left: 50%; bottom: -3%; width: 98%; /* 19.10.: «etwas grösser und nach oben im Kreis», Kopf 21 % → 10 % der Kreishöhe */ height: auto; transform: translateX(-50%); }
.abl.fr ol { grid-column: 8/13; grid-row: 1/3; margin-top: 0; }
.abl.fr .lk { grid-column: 8/13; grid-row: 3; justify-self: start; align-self: start; margin-top: 32px; }
.abl.fr li { grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; }
.abl.fr .nr { grid-column: 1; font-size: clamp(56px, 4.4vw, 72px); }
.abl.fr .c { grid-column: 2; }
@media (max-width: 960px) {
  .abl.fr h2, .abl.fr ol, .abl.fr .lk { grid-column: 1/-1; grid-row: auto; }
  .abl.fr ol { order: 1; margin-top: var(--gap-l); }
  .abl.fr .lk { order: 2; }
  .abl.fr .frei { grid-column: 1/-1; grid-row: auto; order: 9; margin-top: var(--gap-l); width: min(84%, 460px); justify-self: center; }
}
@media (max-width: 700px) {
  .abl.fr li { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; }
}

/* Haltung auf Home als Gelbfeld (12.10., 15:45, «das ist langweilig gestaltet») */
.hal.y blockquote::before { color: var(--ink); }
.hal.y .mini li, .hal.y cite small, .hal.y .pic .cap { color: var(--ink); }
.hal.y .pic img { filter: grayscale(1) contrast(1.08); }

/* Schritte auf Leistungen und Deal-Analysen als Karten, Gelb und Tinte im Wechsel (12.10., 15:45, «das ist langweilig») */
.abl:not(.fr) ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.abl:not(.fr) li { display: flex; flex-direction: column; padding: 32px 32px 40px; border: 0; background: var(--ink); color: var(--white); min-height: 340px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.abl:not(.fr) li:nth-child(odd) { background: var(--yellow); color: var(--ink); }
.abl:not(.fr) li:last-child { border-bottom: 0; }
.abl:not(.fr) .nr { font-size: clamp(110px, 10vw, 168px); line-height: .8; color: var(--yellow); background: none; padding: 0 0 40px; }
.abl:not(.fr) li:nth-child(odd) .nr { color: var(--ink); }
.abl:not(.fr) .meta { color: inherit; opacity: .72; }
.abl:not(.fr) .c .cta { color: inherit; border-bottom-color: currentColor; }
@media (max-width: 960px) {
  .abl:not(.fr) ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .abl:not(.fr) ol { grid-template-columns: 1fr; gap: 12px; }
  .abl:not(.fr) li { min-height: 0; padding: 28px 24px 32px; }
  .abl:not(.fr) .nr { font-size: 96px; padding-bottom: 28px; }
}

/* Bewegung (12.10., 15:50, «sehr dynamische Effekte»): reines CSS, scrollgesteuert, ohne JavaScript. Bei «weniger Bewegung» aus. */
.abl:not(.fr) li:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -24px var(--ink); }
.btn, .cta { transition: transform .25s, background-color .25s, color .25s; }
.btn:hover { transform: translateY(-2px) scale(1.03); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes auf { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
  @keyframes rein { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
  @keyframes hoch { from { transform: translate(-50%, 30%); } to { transform: translate(-50%, 0); } }
  @keyframes zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
  @keyframes strich { from { background-size: 0 .36em; } }
  @keyframes zahl { from { opacity: 0; transform: translateY(60%) scale(.7); } to { opacity: 1; transform: none; } }
  .hero h1, .hero h1 + * { animation: auf 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 + * { animation-delay: .25s; }
  .hero img { animation: zoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
  @supports (animation-timeline: view()) {
    .sec h2, .sec .rub, .abl li, .mod .cols > *, .hal blockquote, .hal .pic, .lg i, .sch h2, .dia p {
      animation: auf linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
    .abl li:nth-child(3n+2), .mod .cols > :nth-child(2) { animation-range: entry 8% cover 34%; }
    .abl li:nth-child(3n), .mod .cols > :nth-child(3) { animation-range: entry 16% cover 40%; }
    .abl:not(.fr) .nr { animation: zahl linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .abl.fr .frei { animation: rein linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .abl.fr .frei img { animation: hoch linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    .w .mk { animation: strich linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .key img, .key video, .sp .spi img, .hal .pic img { animation: zoom linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}

/* Variante Startseite: Freisteller-Hero, Kopf über der Fläche (12.10., 15:55, «Variante mit freigestelltem Hero») */
.fh { background: var(--white); color: var(--ink); }
.fh .hdr { color: var(--ink); }
.fh .hdr img { filter: brightness(0); }
.fh .hdr nav a.cta { background: var(--ink); color: var(--white); }
.fhw { padding-top: 96px; padding-bottom: 40px; }
.fhf { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 44vw, 640px); padding: 64px clamp(28px, 4vw, 64px); background: var(--yellow); }
.fht { position: relative; z-index: 2; width: min(640px, 54%); }
.fh h1 { font-size: clamp(50px, 5.9vw, 86px); margin: 28px 0 0; }
.fhi { position: absolute; right: 0; bottom: 0; z-index: 1; width: min(58%, 760px); height: auto; }
.fh .kick::before { background: var(--ink); }
.fh .cta { border-bottom-color: var(--ink); }
.fh .vorspann .vor + .vor { color: var(--ink); }
.fh .mk { color: inherit; background-image: linear-gradient(var(--ink), var(--ink)); }
/* Grün: Petrol-Fläche, helle Schrift, Gelb als Auszeichnung */
.fh.gn .fhf { background: var(--petrol); color: var(--white); }
.fh.gn .kick::before { background: var(--yellow); }
.fh.gn .vorspann .vor + .vor { color: var(--soft-on-ink); }
.fh.gn .cta { color: var(--white); border-bottom-color: var(--yellow); }
.fh.gn .mk { color: var(--yellow); background-image: none; }
@media (max-width: 700px) {
  .fhw { padding: 96px 0 0; }
  .fhf { display: flow-root; min-height: 0; padding: 0 24px 48px; }
  .fhi { position: relative; display: block; width: 100%; margin: -64px auto 8px; }
  .fht { width: 100%; }
  .fh h1 { font-size: 48px; }
}

/* Haltung Home neu (12.10., 16:00, «langweilig gestaltet» · «bild passt nicht zum text»): Zitat breit, Podiumsfoto breit, Bio daneben, Logos als eine Reihe darunter */
.hn .hq { grid-column: 1/11; margin: 0; }
.hn .pic { grid-column: 1/8; grid-row: 2; margin: var(--gap-l) 0 0; }
.hn .pic img { aspect-ratio: 3/2; object-position: 50% 40%; }
.hn .ab { grid-column: 9/13; grid-row: 2; margin-top: var(--gap-l); padding-top: 0; border-top: 0; }
.hn .ab .mini { margin-top: 32px; }
.hn .brands { margin-top: var(--gap-m); padding-top: var(--gap-s); border-top: 1px solid var(--line-ink); }
@media (max-width: 960px) { .hn .hq, .hn .pic, .hn .ab { grid-column: 1/-1; grid-row: auto; } }

/* Mehr Bewegung (12.10., 16:00, «baue mehr bewegungseffekt ein»): weiter reines CSS, bei «weniger Bewegung» aus */
.pic img, .bild img { transition: scale .6s cubic-bezier(.2,.7,.2,1); }
.pic:hover img { scale: 1.04; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes balken { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes para { to { translate: 0 22%; } }
  @keyframes weg { to { opacity: 0; translate: 0 -80px; } }
  @keyframes oeffnen { from { clip-path: inset(10% 12% round 32px); } to { clip-path: inset(0 round 0); } }
  @keyframes blende { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
  @keyframes links { from { opacity: 0; translate: -48px 0; } to { opacity: 1; translate: 0 0; } }
  @supports (animation-timeline: scroll()) {
    /* Lesefortschritt als gelber Strich oben */
    body::after { content: ""; position: fixed; inset: 0 0 auto; z-index: 100; height: 4px; background: var(--yellow); transform-origin: 0 50%; animation: balken linear both; animation-timeline: scroll(root); }
    /* Hero: Foto bleibt zurück, Text gleitet weg */
    .hero .bg { animation: zoom 2.4s cubic-bezier(.2,.7,.2,1) both, para linear both; animation-timeline: auto, view(); animation-range: normal, exit; }
    .h8t { animation: weg linear both; animation-timeline: view(); animation-range: exit 10% exit 70%; }
    /* Keynote-Foto öffnet sich vom Rahmen zur vollen Fläche */
    .key .bild { animation: oeffnen linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    /* Haltung: Foto blendet von oben auf, Anführungszeichen dreht herein, Liste von links */
    .hn .pic { animation: blende linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .hn .hq { view-timeline: --zitat; }
    .hn .hq::before { animation: rein linear both; animation-timeline: --zitat; animation-range: entry 0% cover 30%; }
    .hn .mini li { animation: links linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .hn .mini li:nth-child(2) { animation-range: entry 8% cover 36%; }
    .hn .mini li:nth-child(3) { animation-range: entry 16% cover 42%; }
    .hn .mini li:nth-child(4) { animation-range: entry 24% cover 48%; }
    /* Logos nacheinander, Rubrik-Strich wächst */
    .lg .lc:nth-child(2) i { animation-range: entry 6% cover 32%; }
    .lg .lc:nth-child(3) i { animation-range: entry 12% cover 36%; }
    .lg .lc:nth-child(4) i { animation-range: entry 18% cover 40%; }
    .lg .lc:nth-child(5) i { animation-range: entry 24% cover 44%; }
    .rub { view-timeline: --rub; }
    .rub::before { transform-origin: 0 50%; animation: balken linear both; animation-timeline: --rub; animation-range: entry 20% cover 40%; }
    /* Drei Momente: Ziffern springen auf */
    .mod .no { animation: zahl linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  }
}

/* Kontakt: Video-Platz + Formular «Gespräch anfragen» (Alessandro 16.10., gebaut 19.10.) */
.kon .vid { position: relative; aspect-ratio: 16/9; overflow: hidden; margin: 8px 0 32px; background: var(--ink); }
.kon .vid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; }
.kon .vid .cap { position: absolute; left: 20px; bottom: 16px; color: var(--white); }
.kon .vid .ph { background: var(--ph-bg-ink); }
.anf { margin-top: var(--gap-m); }
.anf fieldset { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.anf legend { padding: 0; margin-bottom: 14px; }
.anf .wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.anf .wahl label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-ink); border-radius: 999px; padding: 9px 18px; font-size: 17px; line-height: 1.3; cursor: pointer; }
.anf .wahl label:has(:checked) { background: var(--yellow); border-color: var(--ink); }
.anf .wahl input { accent-color: var(--ink); margin: 0; }
.anf .fz { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.anf .fz label { display: flex; flex-direction: column; gap: 6px; }
.anf .voll { grid-column: 1/-1; }
.anf .lab small { font-size: inherit; color: var(--muted); margin-left: 6px; }
.anf input:not([type=radio]), .anf textarea { font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0; width: 100%; }
.anf textarea { border: 1px solid var(--line-ink); padding: 12px; resize: vertical; }
.anf input:focus-visible, .anf textarea:focus-visible, .anf .wahl label:has(:focus-visible), .anf button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.anf .hin { font-size: 15px; color: var(--muted); margin: 28px 0 0; max-width: 62ch; }
.anf .fst:not(:empty) { margin-top: 20px; padding: 14px 18px; background: var(--yellow); font-size: 17px; }
button.btn { border: 0; cursor: pointer; }
.kon .neben { margin-top: var(--gap-m); }
@media (max-width: 700px) { .anf .fz { grid-template-columns: 1fr; } }

/* Cookie-Banner, Google Consent Mode v2 (19.10.): beide Knöpfe gleich gewichtet */
.cb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); color: var(--white); padding: 20px 0; border-top: 2px solid var(--yellow); }
.cb[hidden] { display: none; }
.cb .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.cb p { font-size: 17px; line-height: 1.45; max-width: 70ch; }
.cb .cbb { display: flex; gap: 12px; }
.cb .btn { background: var(--white); color: var(--ink); padding: 14px 26px; }
.kon .vid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%2314120F'/%3E%3C/svg%3E") center / 34px no-repeat; }
/* Kopf nie anschneiden (Andreas 19.10.: «man muss ihn sehen»). Filme sind 16:9 mit wenig Kopfraum: oben verankern, Zoom wächst von oben, Beschnitt nur unten */
/* Hero: Film beginnt unter der Kopfzeile und blendet weich ein, so liegt der Kopf frei statt unter Logo/Menü */
.h8 > .bg { top: 56px; height: calc(100% - 56px); object-position: 32% 0; transform-origin: 32% 0; -webkit-mask: linear-gradient(#0000, #000 64px); mask: linear-gradient(#0000, #000 64px); }
.key .bild video { object-position: 50% 0; transform-origin: 50% 0; }
@media (max-width: 700px) { .h8 > .bg { top: 136px; height: calc(100% - 136px); object-position: 30% 0; transform-origin: 30% 0; } }
