/* ==========================================================================
   Hero (Aufbau nach Vorlage Blitzschutz Kunisch, übertragen auf Doster)
   Runde 3 (Feedback Felix 07.11.2026): kein Frost mehr. Beim Öffnen ein
   kurzer Start: Teamfoto zieht auf, Überschrift baut sich Buchstabe für
   Buchstabe auf, die drei Schlüsselwörter leuchten, dann Text, Buttons und
   die Liquid-Glass-Kästen. Marke: Jost/Poppins, eckig, Doster-Blau.
   ========================================================================== */
.hero--k {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #11161b;
  color: #fff;
  isolation: isolate;
}
.hk__media { position: absolute; inset: 0 0 -8% 0; z-index: -3; will-change: transform; }
.hk__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block;
  opacity: 0; transform: scale(1.1); filter: brightness(.6);
  transition: opacity 1.1s ease, transform 2.6s cubic-bezier(.16, 1, .3, 1), filter 1.8s ease;
}
.hero--k.is-ready .hk__media img { opacity: 1; transform: scale(1.02); filter: brightness(1); }
.hk__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 17, 22, .92) 0%, rgba(12, 17, 22, .78) 30%, rgba(12, 17, 22, .32) 58%, rgba(12, 17, 22, .08) 80%),
    linear-gradient(0deg, rgba(12, 17, 22, .85) 0%, rgba(12, 17, 22, .2) 34%, rgba(12, 17, 22, 0) 55%),
    linear-gradient(180deg, rgba(12, 17, 22, .65) 0%, rgba(12, 17, 22, 0) 22%);
}

/* feine Linie am linken Rand mit wanderndem Lichtpunkt */
.hk__rail { position: absolute; left: 22px; top: 22%; height: 26%; width: 1px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.hk__rail i { position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: linear-gradient(180deg, transparent, var(--c-cyan), transparent); animation: rail 3.2s ease-in-out infinite; }
@keyframes rail { to { top: 100%; } }

.hk__content { position: relative; width: 100%; margin-bottom: auto; padding-top: clamp(140px, 20vh, 210px); }
.hk__eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .9);
  font-family: var(--f-head); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.hk__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--c-cyan); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.16, 1, .3, 1) .1s; }
.hero--k.is-in .hk__eyebrow::before { transform: scaleX(1); }

/* ---------- Überschrift: leichter Grundton, kräftige Schlüsselwörter ---------- */
.hk__title {
  max-width: 13.5em;
  margin: 0 0 26px;
  color: #fff;
  font-family: var(--f-head);
  font-size: clamp(50px, 4.7vw, 78px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-transform: none;
}
.hk__w { display: inline-block; white-space: nowrap; }
.hk__ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em) rotate(4deg);
  filter: blur(10px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
  transition-delay: calc(var(--i) * 18ms);
}
.hero--k.is-in .hk__ch { opacity: 1; transform: none; filter: blur(0); }

.hk__kw { position: relative; display: inline-block; font-weight: 600; color: #fff; white-space: nowrap; }
.hk__kw .hk__ch { color: #fff; }
/* nach dem Aufbau läuft einmal ein kaltes Leuchten durch die Buchstaben */
.hero--k.is-lit .hk__kw .hk__ch { animation: hk-glow 1.5s cubic-bezier(.3, .6, .3, 1) both; animation-delay: calc(var(--k) * 40ms); }
@keyframes hk-glow {
  0%   { color: #fff; text-shadow: none; }
  35%  { color: #e9f8ff; text-shadow: 0 0 18px rgba(0, 174, 237, .9), 0 0 2px #fff; }
  100% { color: var(--c-cyan); text-shadow: 0 0 22px rgba(0, 174, 237, .28); }
}
/* feine Linie zieht unter jedem Schlüsselwort ein */
.hk__kw::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: -.04em; height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), rgba(0, 174, 237, 0));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.hero--k.is-lit .hk__kw::after { transform: scaleX(1); }
.hero--k.is-lit .hk__kw:nth-of-type(2)::after { transition-delay: .18s; }
.hero--k.is-lit .hk__kw:nth-of-type(3)::after { transition-delay: .36s; }

.hk__lead { max-width: 540px; margin: 0 0 34px; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.65; }

/* ---------- Buttons: beide transparent aus Glas ---------- */
.hk__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hk__btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px;
  color: #fff;
  font-family: var(--f-head); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .5);
  transition: border-color .35s, background-color .35s, box-shadow .45s, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.hk__btn::before { /* Lichtkante, die beim Überfahren durchläuft */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); transition: left .8s cubic-bezier(.16, 1, .3, 1);
}
.hk__btn:hover::before { left: 120%; }
.hk__btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); }
.hk__btn span { transition: transform .35s; }
.hk__btn:hover span { transform: translateX(4px); }
.hk__btn--primary {
  border-color: rgba(0, 174, 237, .7);
  background: linear-gradient(180deg, rgba(0, 174, 237, .32), rgba(0, 174, 237, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 0 rgba(0, 174, 237, 0), 0 14px 36px -14px rgba(0, 174, 237, .7);
}
.hk__btn--primary:hover { border-color: var(--c-cyan); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 26px -4px rgba(0, 174, 237, .55), 0 14px 36px -14px rgba(0, 174, 237, .8); }

/* ---------- Liquid-Glass-Kästen ---------- */
.hk__bar { position: relative; width: 100%; padding-bottom: 40px; }
.hk__dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.hk__dock li {
  --mx: 20%; --my: 0%;
  position: relative; overflow: hidden;
  padding: 24px 26px 26px;
  background:
    radial-gradient(120% 140% at var(--mx) var(--my), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .09) 100%),
    rgba(14, 24, 34, .22);
  -webkit-backdrop-filter: blur(14px) saturate(1.9) brightness(1.08); backdrop-filter: blur(14px) saturate(1.9) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 1px 0 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(255, 255, 255, .1),
    inset 0 0 22px rgba(255, 255, 255, .06),
    0 18px 40px -18px rgba(0, 0, 0, .6);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.hk__dock li::before { /* Glaskante: oben hell, unten leicht */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .04) 60%, rgba(0, 174, 237, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hk__dock li:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 1px 0 0 rgba(255, 255, 255, .22), inset 0 0 28px rgba(255, 255, 255, .1), 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 30px -10px rgba(0, 174, 237, .45); }
.hk__dock b { position: relative; display: block; margin-bottom: 6px; font-family: var(--f-head); font-size: 21px; font-weight: 600; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hk__dock span { position: relative; display: block; color: rgba(255, 255, 255, .8); font-size: 13.5px; line-height: 1.5; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }

/* ---------- Einblenden nach dem Start ---------- */
.hk__eyebrow, .hk__lead, .hk__btns, .hk__dock li { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.hero--k.is-in .hk__eyebrow { opacity: 1; transform: none; }
.hero--k.is-in .hk__lead { opacity: 1; transform: none; transition-delay: .75s; }
.hero--k.is-in .hk__btns { opacity: 1; transform: none; transition-delay: .9s; }
.hero--k.is-in .hk__dock li { opacity: 1; transform: none; }
.hero--k.is-in .hk__dock li:nth-child(1) { transition-delay: 1.05s; }
.hero--k.is-in .hk__dock li:nth-child(2) { transition-delay: 1.15s; }
.hero--k.is-in .hk__dock li:nth-child(3) { transition-delay: 1.25s; }
.hero--k.is-in .hk__dock li:nth-child(4) { transition-delay: 1.35s; }
.hero--k.is-done .hk__dock li { transition-delay: 0s; }
.hero--k.is-done .hk__dock li:hover { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  .hk__media img, .hk__ch, .hk__eyebrow, .hk__lead, .hk__btns, .hk__dock li { transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  .hk__kw .hk__ch { color: var(--c-cyan) !important; animation: none !important; }
  .hk__kw::after { transform: scaleX(1) !important; transition: none !important; }
  .hk__rail i { display: none; }
}
@media (max-width: 1024px) {
  .hk__dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk__media img { object-position: 35% 60%; }
}


/* ==========================================================================
   Runde 4 (Feedback Felix): Foto 2 als Vollbild ohne Block links,
   Kästen und Buttons als Apple-Liquid-Glass (starker Weichzeichner,
   helle Glaskanten, Lichtreflex, abgerundet wie bei Apple).
   ========================================================================== */
.hk__media img { object-position: 50% 68%; }
.hero--k .hk__shade { background:
    linear-gradient(90deg, rgba(10, 15, 20, .86) 0%, rgba(10, 15, 20, .7) 28%, rgba(10, 15, 20, .32) 55%, rgba(10, 15, 20, .05) 85%),
    linear-gradient(0deg, var(--ku-bg, #141a20) 0%, rgba(20, 26, 32, .55) 6%, rgba(20, 26, 32, .12) 22%, rgba(20, 26, 32, 0) 36%),
    linear-gradient(180deg, rgba(10, 15, 20, .6) 0%, rgba(10, 15, 20, 0) 22%); }
.hk__title, .hk__lead, .hk__eyebrow { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }

/* --- Glas: gemeinsame Grundlage --- */
.hk__dock li, .hk__btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(1.9) brightness(1.1);
  backdrop-filter: blur(28px) saturate(1.9) brightness(1.1);
  border: 0;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .65),      /* helle Oberkante */
    inset 0 -1px 1px rgba(255, 255, 255, .18),     /* leichte Unterkante */
    inset 0 0 0 1px rgba(255, 255, 255, .14),      /* feiner Rand rundum */
    inset 0 0 24px rgba(255, 255, 255, .05),
    0 10px 36px -8px rgba(0, 0, 0, .45);
}
.hk__dock li { border-radius: 24px; padding: 24px 26px 26px; }
.hk__btn { border-radius: 999px; padding: 0 30px; }

/* Lichtreflex: weicher Glanz oben links, folgt bei den Kästen der Maus */
.hk__dock li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 0; -webkit-mask: none; mask: none;
  background:
    radial-gradient(80% 60% at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 38%);
  transition: opacity .4s;
}
/* Kantenlicht: dünner heller Rand, oben links stärker als unten rechts */
.hk__dock li::after, .hk__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .12) 30%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hk__dock li:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 30px rgba(255, 255, 255, .08), 0 18px 44px -10px rgba(0, 0, 0, .55);
}
.hk__dock b { text-shadow: none; }
.hk__dock span { color: rgba(255, 255, 255, .82); text-shadow: none; }

/* Buttons: Hauptbutton mit blauem Glas, zweiter klar */
.hk__btn--primary {
  background: linear-gradient(180deg, rgba(0, 174, 237, .42) 0%, rgba(0, 174, 237, .16) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 -1px 1px rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(120, 215, 255, .3), 0 12px 34px -10px rgba(0, 174, 237, .6);
}
.hk__btn--primary:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(150, 225, 255, .45), 0 0 30px -4px rgba(0, 174, 237, .6), 0 14px 38px -10px rgba(0, 174, 237, .75); }
.hk__btn--glass:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); }
.hk__btn::before { border-radius: inherit; }

/* ohne Weichzeichner-Unterstützung: etwas dichter, damit es lesbar bleibt */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hk__dock li, .hk__btn--glass { background: rgba(30, 40, 50, .72); }
}
@media (prefers-reduced-transparency: reduce) {
  .hk__dock li, .hk__btn--glass { background: rgba(30, 40, 50, .9); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ==========================================================================
   Runde 5 (Feedback Felix): keine Unterstriche, keine Hover-Effekte an
   Buttons und Kästen, einheitlicher Eckenradius (--r), ruhigeres Foto mit
   sauberem Overlay, fette Schlüsselwörter in der Subline.
   ========================================================================== */
.hk__kw::after { display: none; }

/* ruhigeres Foto, sauberes Overlay in Doster-Dunkelblau */
.hk__media img { filter: saturate(.8) contrast(.95) brightness(.95); }
.hero--k.is-ready .hk__media img { filter: saturate(.8) contrast(.95) brightness(.95); }
.hero--k .hk__shade { background:
    linear-gradient(90deg, rgba(9, 14, 20, .9) 0%, rgba(9, 14, 20, .78) 30%, rgba(9, 14, 20, .42) 56%, rgba(9, 14, 20, .12) 82%, rgba(9, 14, 20, .05) 100%),
    radial-gradient(120% 90% at 85% 40%, rgba(0, 0, 0, 0) 40%, rgba(9, 14, 20, .35) 100%),
    linear-gradient(0deg, var(--ku-bg, #141a20) 0%, rgba(20, 26, 32, .55) 6%, rgba(20, 26, 32, .12) 22%, rgba(20, 26, 32, 0) 36%),
    linear-gradient(180deg, rgba(9, 14, 20, .55) 0%, rgba(9, 14, 20, 0) 22%); }
.hero--k .hk__shade::after { /* ganz leichter Doster-Blau-Schleier für ein einheitliches Bild */
  content: ""; position: absolute; inset: 0; background: rgba(0, 120, 170, .08); mix-blend-mode: soft-light; }

/* Subline: etwas breiter, wichtige Wörter fett */
.hk__lead { max-width: 600px; font-size: 17px; line-height: 1.7; }
.hk__lead strong { font-weight: 600; color: #fff; }

/* einheitlicher Radius */
.hk__dock li, .hk__btn, .hk__btn::after, .hk__dock li::before, .hk__dock li::after { border-radius: var(--r, 14px); }

/* keine Hover-Effekte an Buttons und Kästen */
.hk__btn::before { display: none; }
.hk__btn:hover, .hk__btn:hover span,
.hk__dock li:hover, .hero--k.is-in .hk__dock li:hover, .hero--k.is-done .hk__dock li:hover { transform: none; }
.hk__btn--glass:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 100%); }
.hk__btn--primary:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 -1px 1px rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(120, 215, 255, .3), 0 12px 34px -10px rgba(0, 174, 237, .6); }
.hk__dock li:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .65), inset 0 -1px 1px rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 24px rgba(255, 255, 255, .05), 0 10px 36px -8px rgba(0, 0, 0, .45); }
.hk__dock li::before { background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 42%); }

/* ==========================================================================
   Runde 6 (Feedback Felix): Foto deutlich zurücknehmen, damit Headline und
   Subline klar lesbar sind; ganz dezente Schneeflocken im Hintergrund.
   ========================================================================== */
.hk__media img, .hero--k.is-ready .hk__media img { filter: saturate(.55) contrast(.9) brightness(.7) blur(1.5px); }
.hero--k .hk__shade { background:
    linear-gradient(90deg, rgba(9, 14, 20, .96) 0%, rgba(9, 14, 20, .92) 30%, rgba(9, 14, 20, .74) 52%, rgba(9, 14, 20, .5) 74%, rgba(9, 14, 20, .38) 100%),
    radial-gradient(90% 80% at 80% 45%, rgba(0, 0, 0, 0) 30%, rgba(9, 14, 20, .45) 100%),
    linear-gradient(0deg, var(--ku-bg, #141a20) 0%, rgba(20, 26, 32, .6) 8%, rgba(20, 26, 32, 0) 32%),
    linear-gradient(180deg, rgba(9, 14, 20, .6) 0%, rgba(9, 14, 20, 0) 22%); }
.hero--k .hk__shade::after { background: rgba(0, 110, 160, .14); }
.hk__snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2s ease .6s; }
.hero--k.is-ready .hk__snow { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hk__snow { display: none; } }

/* ==========================================================================
   Runde 7: Linie links weg, Zeile über der Headline als Glas-Kapsel mit
   Schneeflocke und Schreibmaschine, Hero etwas heller, Abstände enger.
   ========================================================================== */
.hk__rail { display: none; }

/* Inhalt und Kästen gemeinsam mittig, statt Lücke dazwischen */
.hero--k { justify-content: center; padding-top: 96px; }
.hk__content { margin-bottom: 0; padding-top: 0; }
.hk__bar { margin-top: clamp(44px, 7vh, 76px); padding-bottom: 0; }
.hk__title { margin-bottom: 22px; }
.hk__lead { margin-bottom: 30px; }

/* etwas heller */
.hk__media img, .hero--k.is-ready .hk__media img { filter: saturate(.62) contrast(.92) brightness(.82) blur(1.2px); }
.hero--k .hk__shade { background:
    linear-gradient(90deg, rgba(9, 14, 20, .92) 0%, rgba(9, 14, 20, .86) 30%, rgba(9, 14, 20, .62) 52%, rgba(9, 14, 20, .36) 74%, rgba(9, 14, 20, .24) 100%),
    radial-gradient(90% 80% at 80% 45%, rgba(0, 0, 0, 0) 35%, rgba(9, 14, 20, .35) 100%),
    linear-gradient(0deg, var(--ku-bg, #141a20) 0%, rgba(20, 26, 32, .55) 7%, rgba(20, 26, 32, 0) 28%),
    linear-gradient(180deg, rgba(9, 14, 20, .55) 0%, rgba(9, 14, 20, 0) 20%); }

/* Zeile über der Headline */
.hk__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px; padding: 9px 16px 9px 12px;
  border-radius: var(--r, 14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: 12.5px; letter-spacing: .16em; text-shadow: none;
}
.hk__eyebrow::before { display: none; }
.hk__flake { display: inline-flex; color: var(--c-cyan); filter: drop-shadow(0 0 6px rgba(0, 174, 237, .7)); transform: rotate(-90deg) scale(.6); opacity: 0; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1), opacity .6s ease; }
.hero--k.is-in .hk__flake { transform: none; opacity: 1; }
.hero--k.is-typed .hk__flake svg { animation: hk-flake 12s linear infinite; }
@keyframes hk-flake { to { transform: rotate(360deg); } }
.hk__type { white-space: nowrap; }
.hk__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: -6px; background: var(--c-cyan); animation: hk-caret .9s steps(1) infinite; transition: opacity .5s; }
.hero--k.is-typed .hk__caret { opacity: 0; animation: none; }
@keyframes hk-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hk__caret { display: none; } .hk__flake { transform: none; opacity: 1; } }

/* ==========================================================================
   Runde 8: Schlüsselwörter etwas dünner, mehr Luft, Kästen tiefer,
   Gruppe auf dem Foto weiter nach rechts (weniger Gesichter unter dem Text),
   weicher Übergang in den nächsten Abschnitt.
   ========================================================================== */
.hk__kw { font-weight: 500; }

.hero--k { justify-content: flex-end; padding-top: 0; }
.hk__content { margin-bottom: auto; padding-top: clamp(150px, 21vh, 210px); }
.hk__bar { margin-top: 64px; padding-bottom: clamp(48px, 8vh, 84px); }
.hk__eyebrow { margin-bottom: 28px; }
.hk__title { margin-bottom: 28px; }
.hk__lead { margin-bottom: 38px; }

/* Foto beginnt weiter rechts, läuft unter dem dunklen Verlauf weich aus */
.hk__media { left: 20%; }
.hk__media img { object-position: 50% 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero--k .hk__shade { background:
    linear-gradient(90deg, rgba(9, 14, 20, .9) 0%, rgba(9, 14, 20, .82) 30%, rgba(9, 14, 20, .55) 52%, rgba(9, 14, 20, .28) 74%, rgba(9, 14, 20, .18) 100%),
    radial-gradient(90% 80% at 80% 45%, rgba(0, 0, 0, 0) 35%, rgba(9, 14, 20, .3) 100%),
    linear-gradient(180deg, rgba(9, 14, 20, .55) 0%, rgba(9, 14, 20, 0) 20%); }
.hero--k { background: #0d1318; }

/* langer, weicher Auslauf in den Grund des nächsten Abschnitts */
.hero--k::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, var(--ku-bg, #141a20) 0%, rgba(20, 26, 32, .92) 14%, rgba(20, 26, 32, .6) 40%, rgba(20, 26, 32, .22) 70%, rgba(20, 26, 32, 0) 100%);
}
@media (max-width: 1024px) { .hk__media { left: 0; } .hk__media img { -webkit-mask-image: none; mask-image: none; } }

/* ==========================================================================
   Runde 9: Buttons blenden flüssig ein (Container bewegt sich nicht mehr,
   jeder Button kommt einzeln, zeitgleich mit der Subline), weicherer
   Übergang in den nächsten Abschnitt.
   ========================================================================== */
.hk__btns, .hero--k.is-in .hk__btns { opacity: 1; transform: none; transition: none; }
.hk__btn {
  opacity: 0; transform: translate3d(0, 14px, 0) scale(.98);
  will-change: transform, opacity;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), box-shadow .45s, background-color .35s;
}
.hero--k.is-in .hk__btn { opacity: 1; transform: none; }
.hero--k.is-in .hk__btn--primary { transition-delay: .55s, .55s, 0s, 0s; }
.hero--k.is-in .hk__btn--glass { transition-delay: .65s, .65s, 0s, 0s; }
.hero--k.is-done .hk__btn { will-change: auto; transition-delay: 0s; }

/* unterer Rand: früher und länger in den Grund von „Was wir kühlen“ */
.hero--k::after {
  height: 55%;
  background: linear-gradient(0deg, var(--ku-bg, #141a20) 0%, var(--ku-bg, #141a20) 9%, rgba(20, 26, 32, .88) 24%, rgba(20, 26, 32, .55) 48%, rgba(20, 26, 32, .2) 74%, rgba(20, 26, 32, 0) 100%);
}
@media (prefers-reduced-motion: reduce) { .hk__btn { opacity: 1 !important; transform: none !important; transition: none !important; } }
