/* ============================================================
   nytic.ch – Kontakt (locker, ein bisschen verspielt)
   ============================================================ */
.kt-body {
  --g: #90BE20;
  --g-soft: rgba(144, 190, 32, .14);
  --ink: #fff;
  --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --mono: ui-monospace, 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  background: #0d0d0d;
  margin-bottom: 0;
  overflow-x: hidden;
  transition: background .6s var(--ease);
}
.kt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); position: relative; z-index: 1; }
.kt-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--g); margin: 0 0 .8rem; }
.kt-mono { font-family: var(--mono); font-size: .72rem; color: rgba(255, 255, 255, .4); }
.kt-h2 { font-family: 'Thasadith', sans-serif; font-weight: 700; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin: 0 0 .3rem; }

/* ---------- Hero ---------- */
.kt-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 104px 0 64px; overflow: hidden;
  background: radial-gradient(60% 60% at 75% 45%, rgba(144, 190, 32, .14), transparent 70%), radial-gradient(40% 50% at 5% 95%, rgba(56, 189, 248, .08), transparent 70%), #0d0d0d; }
.kt-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(144, 190, 32, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(144, 190, 32, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 75%); }
.kt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.kt-title { font-family: 'Thasadith', sans-serif; font-weight: 700; color: #fff; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .98; letter-spacing: -.02em; margin: 0 0 1rem; }
.kt-title span { background: linear-gradient(100deg, #90BE20, #d9f99d 50%, #90BE20); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ktShine 6s linear infinite; }
@keyframes ktShine { to { background-position: -200% 0; } }
.kt-typer { font-family: var(--mono); font-size: clamp(.95rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, .78); margin: 0 0 1.3rem; min-height: 1.6em; }
@media (max-width: 1200px) { .kt-typer { min-height: 3.2em; } }
.kt-typer b { color: var(--g); font-weight: 700; }
.kt-prompt { color: var(--g); margin-right: .35rem; }
.kt-caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--g); animation: ktBlink 1s steps(1) infinite; }
@keyframes ktBlink { 50% { opacity: 0; } }
.kt-lead { color: var(--muted); font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.75; max-width: 36rem; margin: 0 0 1.6rem; }

.kt-actions { display: grid; gap: .6rem; max-width: 30rem; }
.kt-action, .kt-action--split > a {
  display: flex; align-items: center; gap: .9rem; padding: .75rem .95rem; border-radius: 16px; text-decoration: none !important; color: #fff !important;
}
.kt-action { background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.kt-action:hover { transform: translateX(6px); border-color: rgba(144, 190, 32, .55); background: var(--g-soft); }
.kt-action--split { padding: 0; gap: 0; }
.kt-action--split > a { flex: 1; min-width: 0; }
.kt-action small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); }
.kt-action strong { display: block; font-size: 1.02rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-action-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--g-soft); border: 1px solid rgba(144, 190, 32, .35); }
.kt-action-ico svg, .kt-copy svg, .kt-vcard svg { width: 19px; height: 19px; fill: none; stroke: var(--g); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kt-copy { flex: 0 0 auto; margin-right: .6rem; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.kt-copy:hover { border-color: var(--g); background: var(--g-soft); }
.kt-copy svg { stroke: rgba(255, 255, 255, .8); width: 16px; height: 16px; }

.kt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.2rem; font-size: .85rem; }
.kt-status { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: rgba(255, 255, 255, .8); }
.kt-status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a6; }
.kt-status.is-open i { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ktPing 2s infinite; }
.kt-status.is-closed i { background: #fbbf24; }
@keyframes ktPing { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.kt-vcard { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .7) !important; text-decoration: none !important; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.kt-vcard:hover { color: #fff !important; border-color: var(--g); }
.kt-vcard svg { width: 15px; height: 15px; }

/* ---------- Bühne mit Portrait ---------- */
.kt-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: center; }
.kt-pcb { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kt-traces path { fill: none; stroke: rgba(144, 190, 32, .3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: ktDraw 2.4s var(--ease) .3s forwards; }
.kt-traces path:nth-child(2) { animation-delay: .5s; } .kt-traces path:nth-child(3) { animation-delay: .7s; } .kt-traces path:nth-child(4) { animation-delay: .9s; } .kt-traces path:nth-child(5) { animation-delay: 1.1s; }
@keyframes ktDraw { to { stroke-dashoffset: 0; } }
.kt-pads circle { fill: #0d0d0d; stroke: var(--g); stroke-width: 2.5; }
.kt-pulses circle { fill: #d9f99d; filter: drop-shadow(0 0 6px #90BE20); }
.kt-ring { fill: none; stroke: rgba(144, 190, 32, .35); stroke-width: 1.5; transform-origin: 300px 300px; }
.kt-ring--a { stroke-dasharray: 4 10; animation: ktSpin 40s linear infinite; }
.kt-ring--b { stroke-dasharray: 60 18 6 18; stroke: rgba(144, 190, 32, .22); animation: ktSpin 70s linear infinite reverse; }
@keyframes ktSpin { to { transform: rotate(360deg); } }
.kt-portrait { position: absolute; left: 12%; bottom: 0; width: 76%; translate: var(--px, 0px) var(--py, 0px); transition: translate .4s var(--ease); }
.kt-portrait::before { content: ''; position: absolute; left: 50%; top: 22%; width: 82%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(144, 190, 32, .35), rgba(144, 190, 32, 0) 70%); z-index: -1; }
.kt-portrait img { display: block; width: 100%; height: auto; }
/* Unterer Auslauf und Schatten ohne filter/mask direkt auf dem Bild (die machen es unscharf) */
.kt-portrait::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: -1px; height: 22%; background: linear-gradient(rgba(13, 13, 13, 0), var(--kt-fade, #0d0d0d) 92%); pointer-events: none; }
.kt-blueprint .kt-portrait { --kt-fade: #0b2340; }
.kt-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(13, 13, 13, .78); border: 1px solid rgba(144, 190, 32, .45); backdrop-filter: blur(6px); box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  animation: ktFloat 5s ease-in-out infinite, ktIn .6s var(--ease) both; animation-delay: calc(var(--d) * -1.1s), calc(var(--d) * 120ms + 900ms);
  transform: translate3d(calc(var(--px, 0) * -.6), calc(var(--py, 0) * -.6), 0);
}
.kt-chip b { color: var(--g); font-family: var(--mono); }
.kt-chip--1 { left: 0; top: 22%; } .kt-chip--2 { left: 4%; top: 64%; } .kt-chip--3 { right: 2%; top: 12%; } .kt-chip--4 { right: -2%; top: 46%; } .kt-chip--5 { right: 10%; bottom: 14%; }
@keyframes ktFloat { 50% { translate: 0 -8px; } }
@keyframes ktIn { from { opacity: 0; scale: .8; } }

/* ---------- Abschnitte ---------- */
.kt-section { padding: clamp(3rem, 7vw, 6rem) 0; background: rgb(18, 18, 18); }
.kt-section--map { background: #0d0d0d; padding-top: 0; }
.kt-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.2rem; align-items: start; }
.kt-solo { max-width: 880px; }
.kt-log-lead { color: var(--muted); line-height: 1.75; margin: .4rem 0 0; max-width: 40rem; }
.kt-two--map { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; }
.kt-card { position: relative; border-radius: 22px; padding: clamp(1.3rem, 2.5vw, 2rem); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); color: var(--muted); }
.kt-sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px dashed rgba(255, 255, 255, .14); padding-bottom: .6rem; margin-bottom: 1rem; }
.kt-sheet-head .kt-eyebrow { margin: 0; }
.kt-sub { margin: 0 0 1.1rem; color: rgba(255, 255, 255, .55); }
.kt-specs { margin: 0 0 1.2rem; display: grid; gap: .1rem; }
.kt-specs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.kt-specs dt { font-family: var(--mono); font-size: .76rem; font-weight: 400; color: var(--g); text-transform: uppercase; letter-spacing: .06em; padding-top: .15rem; }
.kt-specs dd { margin: 0; color: #fff; font-size: .95rem; }
.kt-specs dd a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .3); }
.kt-specs--small div { grid-template-columns: 6.5rem 1fr; }
.kt-note { margin: 0; font-size: .92rem; line-height: 1.7; padding: .9rem 1rem; border-radius: 14px; background: var(--g-soft); border-left: 3px solid var(--g); color: rgba(255, 255, 255, .8); }

/* Werdegang als Leitungsweg: das Signal läuft beim Scrollen von Station zu Station */
.kt-path { --x: 22px; position: relative; margin-top: 1.2rem; }
.kt-path-track { position: absolute; left: calc(var(--x) - 1px); top: 22px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.kt-path-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(#ffd166, #d9b48a 14%, #3ee0ff 28%, #6aa8ff 40%, #90BE20 52%, #ff8a3d 64%, #ff5a4a 76%, #dfe46a 88%, #ff5fa2);
  clip-path: inset(0 0 calc((1 - var(--p, 0)) * 100%) 0); box-shadow: 0 0 10px rgba(144, 190, 32, .45); }
.kt-path-head { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 0 16px 4px rgba(144, 190, 32, .7); opacity: calc(var(--p, 0) * 40); }
.kt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; position: relative; }
.kt-phase { padding-left: calc(var(--x) * 2 + .9rem); margin: .5rem 0 -.25rem; font: 700 .64rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .36); }
.kt-phase:first-child { margin-top: 0; }
.kt-step { position: relative; display: grid; grid-template-columns: calc(var(--x) * 2) minmax(0, 1fr); gap: .9rem; align-items: start; }
.kt-step-node { position: relative; z-index: 1; width: calc(var(--x) * 2); height: calc(var(--x) * 2); border-radius: 14px; display: grid; place-items: center;
  background: #0f110d; border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .35); transition: color .5s, border-color .5s, background .5s, box-shadow .5s, transform .5s var(--ease); }
.kt-step-node svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kt-step.is-on .kt-step-node { color: var(--c); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 13%, #0f110d);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 10%, transparent), 0 0 24px -4px var(--c); }
.kt-step-card { display: block; padding: .75rem .95rem .8rem; border-radius: 14px; text-decoration: none !important; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .07); opacity: .5; transition: opacity .5s, border-color .4s, transform .4s var(--ease), background .4s; }
.kt-step.is-on .kt-step-card { opacity: 1; }
.kt-step:hover .kt-step-card { transform: translateX(4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.kt-step:hover .kt-step-node { transform: scale(1.06); }
.kt-step-when { display: inline-block; margin-bottom: .35rem; padding: .15rem .55rem; border-radius: 999px; font: 700 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.kt-step-card b { display: block; color: #fff; font-size: .98rem; font-weight: 700; line-height: 1.3; }
.kt-step-card p { margin: .2rem 0 0; color: rgba(255, 255, 255, .58); font-size: .84rem; line-height: 1.5; }
.kt-step--next .kt-step-node { border-style: dashed; border-color: rgba(144, 190, 32, .6); color: var(--g); }
.kt-step--next.is-on .kt-step-node { animation: ktNext 2.2s ease-in-out infinite; }
@keyframes ktNext { 50% { box-shadow: 0 0 0 7px rgba(144, 190, 32, .1), 0 0 26px -4px #90BE20; } }
.kt-step--next .kt-step-card { background: transparent; border: 1.5px dashed rgba(144, 190, 32, .5); }
.kt-step--next .kt-step-card:hover { background: var(--g-soft); }
.kt-step--next .kt-step-card b { color: var(--g); }

.kt-addr { color: #fff; font-size: 1.05rem; line-height: 1.6; margin: .2rem 0 1rem; }
.kt-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.2rem; border-radius: 999px; background: var(--g); color: #0d1203 !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 10px 28px -10px var(--g); transition: transform .2s; }
.kt-btn:hover { transform: translateY(-2px); }
.kt-map { padding: 0; overflow: hidden; min-height: 380px; }
.kt-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9) hue-rotate(180deg); }
.kt-crosshair { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 2px solid var(--g); border-radius: 50%; pointer-events: none; animation: ktRadar 2.4s ease-out infinite; }
@keyframes ktRadar { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Einblenden ---------- */
.kt-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.kt-js [data-reveal].is-in { opacity: 1; transform: none; }
.kt-js .kt-steps > li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.kt-js .is-in .kt-steps > li { opacity: 1; transform: none; }

.kt-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1060; transform: translate(-50%, 20px); padding: .6rem 1rem; border-radius: 12px; background: #fff; color: #111; font-size: .85rem; font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.kt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsiv ---------- */
@media (max-width: 991.98px) {
  .kt-hero { min-height: 0; padding: 96px 0 48px; }
  .kt-hero-grid, .kt-two, .kt-two--map { grid-template-columns: 1fr; }
  .kt-stage { order: -1; max-width: 420px; }
  .kt-map { min-height: 300px; }
}
@media (max-width: 560px) {
  .kt-chip { font-size: .7rem; padding: .3rem .55rem; }
  .kt-chip--4 { right: 0; }
  .kt-specs div, .kt-specs--small div { grid-template-columns: 1fr; gap: .1rem; }
  .kt-path { --x: 19px; }
  .kt-step { gap: .7rem; }
  .kt-phase { padding-left: calc(var(--x) * 2 + .7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .kt-body *, .kt-body *::before, .kt-body *::after { animation: none !important; transition: none !important; }
  .kt-traces path { stroke-dashoffset: 0; }
  .kt-js [data-reveal], .kt-js .kt-steps > li { opacity: 1; transform: none; }
}
