/* ================= FONTS (lokal, kein Google) ================= */
@font-face { font-family: "Orbitron"; src: url("fonts/orbitron-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("fonts/orbitron-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/rajdhani-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/rajdhani-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/rajdhani-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/rajdhani-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ================= FARBEN & WERTE =================
   Hier kannst du den Look zentral anpassen.            */
:root {
  --bg: #060608;
  --bg-2: #0d0d12;
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --line: rgba(225, 225, 235, 0.28);      /* weiß-graue Umrandung */
  --line-hover: rgba(235, 225, 255, 0.75);
  --neon: 168, 85, 247;                    /* Neon-Lila (RGB) */
  --glow: 0 0 6px rgba(var(--neon), .35), inset 0 0 6px rgba(var(--neon), .18);
  --glow-strong: 0 0 10px rgba(var(--neon), .7), 0 0 26px rgba(var(--neon), .35), inset 0 0 10px rgba(var(--neon), .3);
  --radius: 999px;
  --radius-card: 18px;
  --head: "Orbitron", system-ui, sans-serif;
  --body: "Rajdhani", system-ui, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--neon), .10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(120, 120, 140, .08), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(var(--neon), .45); }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.topbar, main, .footer { position: relative; z-index: 1; }

/* ================= GHOST / OUTLINE BUTTON ================= */
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .55em 1.15em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-family: var(--body); font-weight: 600; letter-spacing: .04em;
  box-shadow: var(--glow);
  transition: border-color .25s, box-shadow .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.ghost:hover, .ghost:focus-visible {
  border-color: var(--line-hover);
  box-shadow: var(--glow-strong);
  outline: none;
}
.ghost.active {
  border-color: rgba(var(--neon), .95);
  box-shadow: var(--glow-strong);
}
.ghost[aria-disabled="true"] {
  opacity: .45; box-shadow: none; cursor: default; pointer-events: none;
}

/* ================= TOPBAR ================= */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 6, 8, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 225, 235, .08);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); box-shadow: var(--glow); object-fit: cover; }
.brand-name { font-family: var(--head); font-weight: 900; font-size: 1.05rem; letter-spacing: .12em; }
.dot { color: rgb(var(--neon)); text-shadow: 0 0 10px rgba(var(--neon), .8); }

.nav { display: flex; gap: 10px; flex: 1; justify-content: center; }
.nav .ghost { font-size: .95rem; padding: .45em 1em; }

.tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.search { padding: .4em .9em; gap: .5em; cursor: text; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input {
  width: 150px; background: transparent; border: 0; outline: 0;
  color: var(--text); font: 600 .95rem var(--body); letter-spacing: .03em;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.lang { font-family: var(--head); font-size: .75rem; padding: .55em .9em; letter-spacing: .1em; }

/* ================= LAYOUT ================= */
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 48px 24px 80px; }
.view { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
h1, h2, h3 { font-family: var(--head); letter-spacing: .08em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.count { color: var(--muted); font-weight: 600; letter-spacing: .08em; font-size: .95rem; }
.lead { color: var(--muted); margin-bottom: 32px; max-width: 640px; }
.group-title {
  font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .25em; text-transform: uppercase;
  margin: 36px 0 16px; display: flex; align-items: center; gap: 14px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ================= HERO ================= */
.hero { text-align: center; padding: 70px 0 72px; }
.hero-logo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 28px; object-fit: cover;
  border: 1px solid var(--line-hover); box-shadow: var(--glow-strong);
}
.hero h1 { font-size: clamp(1.6rem, 6.4vw, 4.4rem); font-weight: 900; letter-spacing: .1em; line-height: 1.1; }
.hero h1 .dot { text-shadow: 0 0 18px rgba(var(--neon), .9); }
.hero p { color: var(--muted); font-size: 1.25rem; margin-top: 16px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 22px; border-radius: var(--radius-card);
  border: 1px solid var(--line); box-shadow: var(--glow);
  background: rgba(255, 255, 255, .015);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tile:hover { border-color: var(--line-hover); box-shadow: var(--glow-strong); transform: translateY(-3px); }
.tile-icon { width: 30px; height: 30px; stroke: rgb(var(--neon)); fill: none; stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(var(--neon), .7)); }
.tile h3 { font-size: 1rem; font-weight: 700; }
.tile p { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.tile .meta { margin-top: auto; font-size: .85rem; color: rgba(var(--neon), 1); font-weight: 700; letter-spacing: .1em; }

/* ================= TOOL-TIPP ================= */
.tools-title { margin-top: 64px; }
.tool {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 36px; align-items: center;
  padding: 22px; border-radius: var(--radius-card);
  border: 1px solid var(--line); box-shadow: var(--glow);
  background: rgba(255, 255, 255, .015);
  transition: border-color .25s, box-shadow .25s;
}
.tool:hover { border-color: var(--line-hover); box-shadow: var(--glow-strong); }
.tool-video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1px solid rgba(225, 225, 235, .12); background: #000; }
.tool-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tool-label { font: 700 .72rem var(--head); letter-spacing: .2em; text-transform: uppercase; color: rgb(200, 160, 255); text-shadow: 0 0 8px rgba(var(--neon), .7); }
.tool-name { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; letter-spacing: .08em; }
.tool-by { color: var(--muted); margin-top: -6px; }
.tool-desc { color: #cfcfd8; font-size: 1.08rem; max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.tags span { font-size: .85rem; font-weight: 600; color: var(--muted); padding: .2em .8em; border: 1px solid rgba(225, 225, 235, .18); border-radius: var(--radius); }

/* ================= KARTEN ================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.grid.audio { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .015);
  box-shadow: var(--glow);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--line-hover); box-shadow: var(--glow-strong); transform: translateY(-3px); }
.card-img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-bottom: 1px solid rgba(225, 225, 235, .1); filter: saturate(.9); transition: filter .3s; }
.card:hover .card-img { filter: saturate(1.1); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-family: var(--head); font-size: .92rem; font-weight: 700; letter-spacing: .06em; line-height: 1.3; }
.card-sub { color: var(--muted); font-size: .95rem; }
.card .ghost { margin-top: 14px; align-self: flex-start; font-size: .9rem; padding: .4em 1.1em; }
.card .ghost svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 12px; right: 12px;
  font: 700 .7rem var(--head); letter-spacing: .15em;
  padding: .35em .8em; border-radius: var(--radius);
  border: 1px solid rgba(var(--neon), .9); box-shadow: var(--glow-strong);
  background: rgba(6, 6, 8, .65);
}
.badge.soon { border-color: var(--line); box-shadow: none; color: var(--muted); }

/* Audio-Karte: kleine Waveform */
.wave { display: flex; align-items: center; gap: 3px; height: 34px; margin-bottom: 12px; }
.wave i { display: block; width: 3px; border-radius: 3px; background: rgba(var(--neon), .85); box-shadow: 0 0 6px rgba(var(--neon), .6); opacity: .8; transition: background .2s, opacity .2s; }
.player { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.player .wave { flex: 1; margin: 0; cursor: pointer; justify-content: space-between; }
.player .wave i { background: rgba(225, 225, 235, .28); box-shadow: none; opacity: 1; }
.player .wave i.on { background: rgba(var(--neon), 1); box-shadow: 0 0 6px rgba(var(--neon), .7); }
.card.playing .wave i { animation: bounce .9s ease-in-out infinite alternate; }
.card .play { width: 40px; height: 40px; padding: 0; margin: 0; border-radius: 50%; flex-shrink: 0; align-self: center; }
.card .play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.card.playing { border-color: rgba(var(--neon), .95); box-shadow: var(--glow-strong); }
@keyframes bounce { to { transform: scaleY(.35); } }

/* ================= LEER / COMING SOON ================= */
.empty {
  text-align: center; padding: 70px 24px;
  border: 1px dashed var(--line); border-radius: var(--radius-card);
}
.empty h3 { font-size: 1.1rem; margin-bottom: 8px; }
.empty p { color: var(--muted); }
.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--neon)); box-shadow: 0 0 12px rgb(var(--neon)); margin-bottom: 18px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

/* ================= SOCIALS ================= */
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.social { padding: 22px; border-radius: var(--radius-card); justify-content: flex-start; gap: 16px; }
.social svg { width: 28px; height: 28px; fill: currentColor; filter: drop-shadow(0 0 6px rgba(var(--neon), .6)); }
.social b { display: block; font-family: var(--head); font-size: .95rem; letter-spacing: .08em; }
.social small { color: var(--muted); font-size: .95rem; }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid rgba(225, 225, 235, .08); background: rgba(6, 6, 8, .6); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.disclaimer { color: var(--muted); font-size: .88rem; max-width: 820px; line-height: 1.45; }
.footer-links { display: flex; gap: 10px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.link { color: var(--text); font-weight: 600; }
.link:hover { color: rgb(200, 160, 255); text-shadow: 0 0 8px rgba(var(--neon), .7); }

/* ================= MODAL ================= */
.modal {
  margin: auto; max-width: 620px; width: calc(100% - 32px); max-height: 85vh;
  background: rgba(13, 13, 18, .96); color: var(--text);
  border: 1px solid var(--line-hover); border-radius: var(--radius-card);
  box-shadow: var(--glow-strong);
  padding: 34px 30px 30px;
}
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal h2 { font-size: 1.3rem; margin-bottom: 18px; }
.modal h3 { font-size: .85rem; margin: 20px 0 6px; color: rgb(200, 160, 255); }
.modal p { color: #cfcfd8; margin-bottom: 8px; }
.modal-close { position: absolute; top: 14px; right: 14px; padding: .3em .7em; font-size: .9rem; }
.placeholder { color: rgb(200, 160, 255); font-weight: 700; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .topbar-inner { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .tools { margin-left: auto; }
  .nav {
    order: 3; flex: 0 0 100%; justify-content: flex-start;
    overflow-x: auto; padding: 8px 4px; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tool { grid-template-columns: 1fr; gap: 22px; }
  .tool-video { max-width: 520px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-name { font-size: .9rem; }
  .tools { order: 2; flex: 0 0 100%; margin-left: 0; }
  .search { flex: 1; }
  .search input { width: 100%; }
  main { padding: 28px 16px 60px; }
  .tiles { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-links .sep { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero p { font-size: .95rem; letter-spacing: .14em; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: .8rem; }
  .card .ghost { font-size: .82rem; padding: .35em .9em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
