/*
Theme Name: KIDZ — KI für Deine Zukunft
Theme URI: https://example.com
Author: Marcel
Description: Dunkles, modernes One-Page-Theme für KIDZ — KI-Kurse für Kinder, Jugendliche und junge Erwachsene. Inkl. Anmeldeformular und KI-Chatbot (n8n-Webhooks).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kidz
*/

/* ============================================================
   KIDZ — KI für Deine Zukunft
   Design: Dark, futuristisch, Violett→Cyan-Gradient, Glass-UI
   ============================================================ */

:root {
  --bg: #07090f;
  --bg-alt: #0b0e18;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e8eaf2;
  --text-dim: #9aa1b5;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --gradient: linear-gradient(120deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-soft: linear-gradient(120deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.18));
  --radius: 18px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 58, 237, 0.55); color: #fff; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.muted { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(6, 182, 212, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(124, 58, 237, 0.6);
}
.btn--outline:hover { background: rgba(124, 58, 237, 0.15); transform: translateY(-2px); }
.btn--small { padding: 9px 20px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--panel-border); background: rgba(7, 9, 15, 0.85); }
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none !important; }
.nav__logo-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__logo-sub { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.18em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: #fff; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, var(--bg) 82%);
  z-index: 1;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.35);
  font-size: 0.9rem;
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 0.85rem; color: var(--text-dim); }
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(124, 58, 237, 0.09), transparent),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(6, 182, 212, 0.07), transparent),
    var(--bg-alt);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.section__kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.section__lead { color: var(--text-dim); max-width: 640px; margin-bottom: 54px; font-size: 1.1rem; }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: var(--shadow-glow);
}
.card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Kurse ---------- */
.courses { align-items: stretch; }
.course {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.course:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, 0.5); box-shadow: 0 0 40px rgba(6, 182, 212, 0.2); }
.course--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--gradient) border-box;
  box-shadow: var(--shadow-glow);
}
.course__flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.course__age {
  display: inline-block;
  align-self: flex-start;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.course__name { font-size: 1.7rem; margin-bottom: 6px; }
.course__name span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.course__motto { color: var(--text-dim); font-style: italic; font-size: 0.95rem; margin-bottom: 22px; }
.course__list { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.course__list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 0.96rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.course__list li:last-child { border-bottom: none; }
.course__list li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.course__note { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px; }
.course .btn { align-self: stretch; text-align: center; }

/* ---------- Methode / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  margin-bottom: 48px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
}
.step__num {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.principles span {
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}
.about__avatar {
  width: 260px; height: 260px;
  border-radius: 32px;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.about__avatar {
  background:
    radial-gradient(circle at 30% 25%, rgba(124,58,237,0.35), transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(6,182,212,0.3), transparent 60%),
    var(--bg-alt);
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  color: var(--text);
}
.about__text p { color: var(--text-dim); margin-bottom: 18px; }
.about__facts { list-style: none; margin-top: 10px; }
.about__facts li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
}
.about__facts li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq details[open] { border-color: rgba(124, 58, 237, 0.5); }
.faq summary {
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--cyan);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Formular ---------- */
.form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  backdrop-filter: blur(10px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form__field label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.form__field input,
.form__field select,
.form__field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__field select option { background: var(--bg-alt); color: var(--text); }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}
.form__field textarea { resize: vertical; }
.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 26px;
  cursor: pointer;
}
.form__consent input { margin-top: 4px; accent-color: var(--violet); width: 17px; height: 17px; flex-shrink: 0; }
.form__status { margin-top: 16px; font-size: 0.95rem; min-height: 1.4em; }
.form__status.is-ok { color: #34d399; }
.form__status.is-err { color: #f87171; }

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--panel-border);
  background: var(--bg-alt);
}
.footer__inner { display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; }
.footer__brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 420px; margin-top: 8px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--text-dim); font-size: 0.92rem; text-decoration: none !important; }
.footer__links a:hover { color: #fff; }
.footer__note { color: rgba(255, 255, 255, 0.35); font-size: 0.82rem; }

/* ---------- Chatbot ---------- */
.chat { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.chat__toggle {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
  transition: transform 0.2s ease;
  position: relative;
}
.chat__toggle:hover { transform: scale(1.08); }
.chat__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.6);
  animation: chatPulse 2.4s ease-out infinite;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}
.chat__panel[hidden] { display: none; }
.chat__panel {
  position: absolute;
  bottom: 78px; right: 0;
  width: min(380px, calc(100vw - 40px));
  height: 520px;
  max-height: calc(100vh - 140px);
  background: rgba(11, 14, 24, 0.97);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  animation: chatIn 0.3s ease;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--panel-border);
  background: var(--gradient-soft);
}
.chat__avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.chat__header strong { display: block; font-family: var(--font-head); }
.chat__status { font-size: 0.75rem; color: var(--text-dim); }
.chat__close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.chat__close:hover { color: #fff; }
.chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat__msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.chat__msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--panel-border);
  border-bottom-left-radius: 4px;
}
.chat__msg--user {
  align-self: flex-end;
  background: var(--gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat__typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.chat__typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing 1.2s infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__suggestions {
  display: flex;
  gap: 8px;
  padding: 0 18px 12px;
  flex-wrap: wrap;
}
.chat__suggestions button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
}
.chat__suggestions button:hover { border-color: var(--violet); color: #fff; }
.chat__input {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--panel-border);
}
.chat__input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--text);
  font-size: 0.93rem;
}
.chat__input input:focus { outline: none; border-color: var(--violet); }
.chat__input button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.chat__input button:hover { transform: scale(1.08); }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { padding: 150px 0 90px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 34px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 14px; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .placeholder {
  background: rgba(236, 72, 153, 0.12);
  border: 1px dashed rgba(236, 72, 153, 0.5);
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--pink);
  font-style: normal;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about__portrait { display: flex; justify-content: center; }
  .about__facts { text-align: left; max-width: 480px; margin: 10px auto 0; }
  .course--featured { transform: none; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 30px 22px; }
  .nav__links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--panel-border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav__links a:not(.btn) { padding: 13px 4px; font-size: 1.05rem; }
  .nav__links .btn { margin-top: 12px; text-align: center; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__burger { display: block; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
