/* ---------- Startseite: Kinetic ---------- */
.lab-home { background: var(--ink); color: var(--paper); }

/* Hero mit Aurora */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 8rem clamp(1rem, 4vw, 3rem) 5rem; overflow: hidden; isolation: isolate;
}
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(80px) saturate(140%); }
.aurora i { position: absolute; width: 45vmax; height: 45vmax; border-radius: 50%; opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--violet); left: 5%; top: 10%; }
.aurora i:nth-child(2) { background: var(--pink); right: 0; top: 0; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { background: var(--cyan); left: 30%; bottom: -10%; animation-duration: 26s; opacity: .35; }
.aurora i:nth-child(4) { background: var(--lime); right: 15%; bottom: 10%; width: 22vmax; height: 22vmax; opacity: .25; animation-duration: 15s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, -6vh) scale(1.15); }
  100% { transform: translate(-8vw, 8vh) scale(.9); }
}
.hero::before { /* Raster-Linien */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgb(255 255 255 / .09), transparent 60%);
}
.eyebrow {
  font-family: var(--wp--preset--font-family--mono); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  display: inline-flex; align-self: flex-start; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .05); margin: 0 0 2rem;
}
.hero-title {
  margin: 0; font-size: clamp(3.4rem, 13vw, 12.5rem); line-height: .86; letter-spacing: -.055em; font-weight: 800;
  max-width: 11ch;
}
.k-word { display: inline-block; white-space: nowrap; }
.k-char {
  display: inline-block; opacity: 0; translate: 0 .5em; rotate: 8deg; font-variation-settings: "wght" 200;
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), rotate .9s var(--ease-out), font-variation-settings .9s var(--ease-out), color .3s;
  transition-delay: calc(var(--i) * 35ms);
}
.kinetic.is-in .k-char { opacity: 1; translate: 0 0; rotate: 0deg; font-variation-settings: "wght" 800; }
.kinetic.is-in .k-char:hover { font-variation-settings: "wght" 200; color: var(--lime); transition-delay: 0s; transition-duration: .25s; }
.hero-sub { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); opacity: .8; margin: 2.2rem 0; }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--wp--preset--font-family--mono); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
}
.scroll-hint span { width: 1px; height: 48px; background: linear-gradient(var(--paper), transparent); animation: hint 2s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 0; transform-origin: bottom; } }

/* Laufband */
.marquee { background: var(--lime); color: var(--ink); rotate: -2deg; margin: -1.5rem -2rem 0; padding: 1.1rem 0; overflow: hidden; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 28s linear infinite; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: -.02em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Abschnittstitel */
.sec-title { font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.04em; font-weight: 800; margin: 0 0 3rem; }
.sec-title em { font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-style: italic; color: rgb(244 239 228 / .55); letter-spacing: -.02em; }

/* Bento */
.bento-sec { padding: 9rem 0 6rem; }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto);
  grid-template-areas: "big big stat border" "big big orbit glass" "brutal brutal orbit glass"; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "stat border" "orbit glass" "brutal brutal"; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-template-areas: "big" "stat" "border" "orbit" "glass" "brutal"; } }
.tile {
  position: relative; overflow: hidden; border-radius: 28px; padding: 1.8rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: #15151d; border: 1px solid rgb(255 255 255 / .08); transition: transform .5s var(--ease-out), opacity .8s, translate .8s var(--ease-out);
  opacity: 0; translate: 0 40px; will-change: transform;
}
.tile.is-in { opacity: 1; translate: 0 0; }
.bento > .tile:nth-child(2) { transition-delay: 0s, .08s, .08s; } .bento > .tile:nth-child(3) { transition-delay: 0s, .16s, .16s; }
.bento > .tile:nth-child(4) { transition-delay: 0s, .24s, .24s; } .bento > .tile:nth-child(5) { transition-delay: 0s, .32s, .32s; }
.bento > .tile:nth-child(6) { transition-delay: 0s, .4s, .4s; }
.tile::after { /* Glanzlicht folgt der Maus */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--px, 50%) var(--py, 50%), rgb(255 255 255 / .12), transparent 50%);
}
.tile:hover::after { opacity: 1; }
.tile h3 { margin: 0 0 .4rem; font-size: 1.6rem; letter-spacing: -.03em; }
.tile p { margin: 0; opacity: .7; }
.t-big { grid-area: big; background: linear-gradient(160deg, #1d1b33, #121218); }
.aa { font-size: clamp(8rem, 18vw, 17rem); line-height: .8; font-weight: 200; letter-spacing: -.06em; margin-bottom: auto;
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: breathe 4s ease-in-out infinite alternate; }
@keyframes breathe { from { font-variation-settings: "wght" 200; } to { font-variation-settings: "wght" 800; } }
.t-stat { grid-area: stat; background: var(--lime); color: var(--ink); }
.t-stat p { opacity: .75; }
.stat { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: auto; }
.t-border { grid-area: border; border: 0; background: #15151d; }
.t-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 0;
  background: conic-gradient(from var(--angle), transparent 60%, var(--pink), var(--violet), var(--cyan), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 4s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.t-orbit { grid-area: orbit; align-items: center; text-align: center; }
.orbit { position: relative; width: 190px; height: 190px; margin: auto; }
.orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .18); animation: spin2 9s linear infinite; }
.orbit i::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.orbit i:nth-child(2) { inset: 30px; animation-duration: 6s; animation-direction: reverse; }
.orbit i:nth-child(2)::after { background: var(--pink); box-shadow: 0 0 20px var(--pink); }
.orbit i:nth-child(3) { inset: 60px; animation-duration: 3.5s; }
.orbit i:nth-child(3)::after { background: var(--lime); box-shadow: 0 0 20px var(--lime); }
.orbit b { position: absolute; inset: 82px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 40px rgb(255 255 255 / .6); }
@keyframes spin2 { to { rotate: 360deg; } }
.t-glass { grid-area: glass; background: #101018; }
.blob-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 30% 30%, var(--pink), transparent 40%), radial-gradient(circle at 70% 60%, var(--violet), transparent 45%), radial-gradient(circle at 40% 85%, var(--cyan), transparent 35%);
  animation: blobmove 10s ease-in-out infinite alternate; }
@keyframes blobmove { to { transform: rotate(40deg) scale(1.3); } }
.t-glass > *:not(.blob-bg) { position: relative; z-index: 1; }
.t-glass h3 { margin-top: auto; }
.t-glass h3, .t-glass p { background: rgb(255 255 255 / .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: .5rem .8rem; border-radius: 14px; border: 1px solid rgb(255 255 255 / .2); align-self: flex-start; }
.t-glass p { margin-top: .4rem; opacity: 1; }
.t-brutal { grid-area: brutal; background: #ff4fa3; color: var(--ink); border-radius: 0; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--lime); font-family: var(--wp--preset--font-family--mono); }
.t-brutal h3 { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; }
.t-brutal p { opacity: 1; }
.t-border > * , .t-stat > *, .t-big > *, .t-orbit > *, .t-brutal > * { position: relative; z-index: 1; }

/* Text, der sich beim Scrollen füllt */
.fill-sec { padding: 6rem 0 10rem; }
.scrollfill { font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; margin: 0; max-width: 22ch; }
.scrollfill .w { opacity: .12; transition: opacity .2s; }
@supports (animation-timeline: view()) {
  .scrollfill .w { animation: wfill linear both; animation-timeline: view(); animation-range: entry 90% cover 40%; transition: none; }
  @keyframes wfill { to { opacity: 1; } }
}

/* Horizontaler Scroll */
.hscroll { height: 420vh; position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-label { width: var(--wrap); margin: 0 auto 2rem; display: flex; align-items: center; gap: 1.2rem; font-family: var(--wp--preset--font-family--mono); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; opacity: .7; }
.hscroll-bar { flex: 1; height: 2px; background: rgb(255 255 255 / .12); position: relative; }
.hscroll-bar i { position: absolute; inset: 0; background: var(--lime); transform-origin: left; scale: var(--p, 0) 1; }
.hscroll-track { display: flex; gap: 2rem; padding-inline: max(1rem, (100vw - 1320px) / 2); width: max-content; will-change: transform; }
.panel { width: min(78vw, 640px); height: min(62vh, 520px); border-radius: 32px; padding: 2.5rem; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; flex-shrink: 0; }
.panel .num { position: absolute; top: 1.5rem; right: 2rem; font-size: clamp(6rem, 14vw, 12rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; opacity: .25; }
.panel h3 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.05em; line-height: .9; }
.panel p { margin: .8rem 0 0; font-size: 1.15rem; opacity: .8; }
.p1 { background: linear-gradient(135deg, var(--violet), #2a1a7a); }
.p2 { background: var(--lime); color: var(--ink); }
.p3 { background: radial-gradient(circle at 20% 20%, var(--cyan), transparent 50%), radial-gradient(circle at 80% 80%, var(--pink), transparent 50%), #1b1b2b; }
.p4 { background: var(--paper); color: var(--ink); border-radius: 0; border: 4px solid var(--ink); box-shadow: inset 0 0 0 10px var(--pink); font-family: var(--wp--preset--font-family--mono); }
.p4 h3 { font-family: var(--wp--preset--font-family--display); text-transform: uppercase; }
.p5 { background: #efe8d8; color: #1a1a1a; }
.p5 h3 { font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }

/* Stil-Karten */
.styles-sec { padding: 8rem 0; }
.style-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .style-cards { grid-template-columns: 1fr; } }
.style-card { position: relative; min-height: 420px; padding: 2rem; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .5s var(--ease-out), opacity 1s, translate 1s var(--ease-out); }
.style-card span { font-family: var(--wp--preset--font-family--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.style-card strong { margin-top: auto; font-size: clamp(3rem, 5vw, 4.5rem); line-height: .9; letter-spacing: -.05em; }
.style-card em { font-style: normal; opacity: .75; margin-top: .6rem; }
.style-card::after { content: "→"; position: absolute; right: 2rem; bottom: 2rem; font-size: 2rem; transition: translate .4s var(--ease-out); }
.style-card:hover::after { translate: 8px 0; }
.sc-brutal { background: #ffe14d; color: var(--ink); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); font-family: var(--wp--preset--font-family--mono); }
.sc-brutal strong { font-family: var(--wp--preset--font-family--display); text-transform: uppercase; font-weight: 800; }
.sc-glass { border-radius: 28px; color: #fff; background: radial-gradient(circle at 20% 15%, var(--cyan), transparent 45%), radial-gradient(circle at 85% 70%, var(--violet), transparent 50%), radial-gradient(circle at 40% 100%, var(--pink), transparent 40%), #15152a; }
.sc-glass strong, .sc-glass em { position: relative; }
.sc-glass::before { content: ""; position: absolute; inset: 35% 1.2rem 1.2rem; border-radius: 20px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sc-glass strong { padding-left: 1rem; } .sc-glass em { padding: 0 0 1rem 1rem; }
.sc-edit { background: #efe8d8; color: #1a1a1a; border-radius: 4px; }
.sc-edit strong { font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-style: italic; font-size: clamp(3.4rem, 6vw, 5.5rem); letter-spacing: -.03em; }

/* Schluss-CTA */
.cta-sec { text-align: center; padding: 10rem 1.5rem; position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 50% 100%, color-mix(in srgb, var(--violet) 50%, transparent), transparent 100%); }
.cta-sec .wp-block-buttons { justify-content: center; }
.cta-sec p { max-width: 32rem; margin: 1.5rem auto 2.5rem; opacity: .75; font-size: 1.15rem; }
.cta-title { font-size: clamp(3rem, 11vw, 10rem); letter-spacing: -.055em; line-height: .9; margin: 0; font-weight: 800; }
