/* KI Agent im Crazy-Shop-Look: weicher, zarter, mehr Tiefe. Wird nach nexus.css geladen. */
:root {
  --az-ink: #f6ead2; --az-dim: #a79d8c; --az-red: #ff4a2a; --az-red2: #ff7a59; --az-amber: #ffb347; --az-green: #25d08a;
  --az-glass: linear-gradient(160deg, rgba(34, 46, 43, .62), rgba(12, 17, 16, .6));
  --az-line: rgba(255, 233, 196, .11);
  --az-soft: 0 2.2rem 4rem -1.6rem rgba(0, 0, 0, .85), 0 .4rem 1.2rem -.4rem rgba(0, 0, 0, .5);
}

/* Hintergrund: Petrol-Grün oben, warmes Schwarz unten, weiche Lichtflecken */
body {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(37, 208, 138, .14), transparent 70%) fixed,
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(255, 74, 42, .12), transparent 70%) fixed,
    linear-gradient(180deg, #0c2926 0%, #081716 28%, #050808 70%) fixed,
    #050808;
}
::selection { background: rgba(255, 122, 89, .35); color: #fff; }

/* Header: Glas, weicher Verlauf statt harter Linie */
header.sticky { border-bottom: 1px solid var(--az-line) !important; background: linear-gradient(180deg, rgba(8, 22, 20, .72), rgba(5, 8, 8, .5)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1rem 2rem -1.4rem rgba(0, 0, 0, .8); }

/* Karten: weiches Glas, große Rundung, Tiefe */
.hud-border {
  border: 1px solid var(--az-line) !important; border-radius: 1.6rem !important; background: var(--az-glass) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .35), var(--az-soft) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
}
.brackets::before, .brackets::after { opacity: 0; }
.rounded-xl, .rounded-lg { border-radius: 1.1rem !important; }
.nx-step, .nx-field { border-radius: .9rem; }

/* 3D-Neigung: wird per Skript gesetzt (data-tilt) */
[data-tilt] { transform: perspective(1100px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0); transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; will-change: transform; }
[data-tilt].tilting { transition: transform .12s linear, box-shadow .4s, border-color .4s; border-color: rgba(255, 122, 89, .4) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 2.6rem 4.4rem -1.4rem rgba(255, 74, 42, .28), var(--az-soft) !important; }
.glow-card::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 150, 100, .16), transparent 62%); }

/* Buttons: weiche Pillen mit Tiefe */
a.bg-red-600, button.bg-red-600, .btn-primary {
  background: linear-gradient(180deg, #ff6a3d, #e8341c) !important; border-radius: 999px !important; color: #fff;
  box-shadow: 0 .9rem 1.8rem -.7rem rgba(255, 74, 42, .65), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .18) !important;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .3s;
}
a.bg-red-600:hover, button.bg-red-600:hover, .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08);
  box-shadow: 0 1.3rem 2.4rem -.8rem rgba(255, 74, 42, .85), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .18) !important; }
a.bg-red-600:active, button.bg-red-600:active, .btn-primary:active { transform: translateY(0) scale(.97); }
.btn-primary[aria-disabled="true"] { filter: saturate(.4); box-shadow: none !important; }

/* Eingabefelder */
input[type="text"], input[type="email"], select, textarea { border-radius: .9rem; background: rgba(5, 10, 10, .55); border: 1px solid var(--az-line); }
input:focus, select:focus, textarea:focus { border-color: rgba(255, 122, 89, .8); box-shadow: 0 0 0 4px rgba(255, 74, 42, .16); }

/* Überschriften-Akzent: Creme, Orange, Bernstein */
.nx-glow em { background: linear-gradient(100deg, #ffe9c4 0%, #ff7a59 48%, #ffb347 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 90, 50, .4)); }
#finale .nx-glow em { text-shadow: 0 0 34px rgba(255, 110, 60, .9), 0 2px 24px rgba(5, 8, 8, .9); }

/* Kleine Details */
.nx-faq { border-radius: 1.1rem; transition: background .3s; }
.nx-faq summary::after { color: var(--az-amber); }
.nx-logo { background: radial-gradient(circle at 35% 30%, #fff4d8, #ff7a59 45%, #ff4a2a 80%); border-color: #ff7a59; box-shadow: 0 0 20px rgba(255, 90, 50, .7); }
.text-emerald-400 { color: var(--az-green) !important; }
.nx-sat.on b { background: var(--az-red); border-color: var(--az-red); box-shadow: 0 0 26px rgba(255, 90, 50, .8); }
.nx-step.done { border-color: rgba(37, 208, 138, .4); }
.nx-step.done > span { color: var(--az-green); }
#cs-player { border-radius: 1.4rem !important; }
.nx-crazy { filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .65)) drop-shadow(0 0 28px rgba(255, 90, 50, .4)); }
.nx-logo-stage::before { background: radial-gradient(circle, rgba(255, 90, 50, .5), transparent 65%); }

@media (hover: none) { [data-tilt] { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { [data-tilt] { transform: none !important; transition: none; } }

/* Lange deutsche Wörter in Überschriften passen am Handy in eine Zeile, statt die Seite zu verbreitern */
@media (max-width: 639px) { main h1.text-4xl { font-size: clamp(1.5rem, 7.2vw, 2.25rem); line-height: 1.15; hyphens: auto; overflow-wrap: break-word; } }
