/*
  VOICE   Selbstbewusst, verspielt, technisch ehrlich – wie der Client selbst.
  IDEA    Die Verpackung einer Desktop-App: der Esel als Titelheld, darunter das echte Programmfenster.
  PICTURE Maskottchen + 3D-Schriftzug vorn, darunter der Client-Screenshot, schräg ins Licht gestellt.
  COLOUR  Nachtviolett #070417 als Fläche, Donkload-Violett #9b30ff als Träger, Download-Grün #45d61d als Akzent.
  TYPE    Montserrat Black Italic (Logo, Titel) + DM Sans (Text) – dieselben Schriften wie im Programm.
*/
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans.woff") format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Italic.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #070417; --bg2: #0d0826; --panel: #120b30; --line: #2b2160;
  --ink: #f1ecff; --dim: #b3a9d9; --violet: #9b30ff; --violet2: #6d1fe0; --green: #45d61d; --amber: #ffb347;
  --r: 14px; --max: 1180px;
  --ui: "DM Sans", "Segoe UI", system-ui, sans-serif; --logo: "Montserrat", "Segoe UI Black", sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--ui); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: #cfa8ff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(4vw, 18px); }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; margin: 0 0 .5em; }
h2 { font: italic 900 clamp(30px, 4.2vw, 46px)/1.05 var(--logo); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 60ch; }
.band { padding: clamp(56px, 8vw, 110px) 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* 3D-Schriftzug – gleiche Technik wie im Programm: Extrusion unten, Verlauf als Ebene darüber */
.logo3d { font: italic 900 1em/1 var(--logo); letter-spacing: -.02em; display: inline-flex; white-space: nowrap; }
.logo3d span { position: relative; display: inline-block; }
.logo3d span::before { content: attr(data-x); position: absolute; inset: 0; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; pointer-events: none; }
.logo3d .a { color: #3a3358; text-shadow: 0 .012em 0 #8e86ad, 0 .024em 0 #6e6690, 0 .036em 0 #4f4772, 0 .048em 0 #362e56, 0 .06em 0 #221a3c, 0 .12em .18em rgba(0,0,0,.6); }
.logo3d .a::before { background-image: linear-gradient(180deg, #fff 0%, #ece8f8 45%, #b9b0d6 100%); }
.logo3d .b { color: #2a0b66; text-shadow: 0 .012em 0 #5314b8, 0 .024em 0 #430f97, 0 .036em 0 #330b75, 0 .048em 0 #240853, 0 .06em 0 #14052f, 0 .12em .18em rgba(0,0,0,.6); }
.logo3d .b::before { background-image: linear-gradient(180deg, #ecd2ff 0%, #c27cff 35%, #9d45ff 70%, #c995ff 100%); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .7em 1.3em; border-radius: 12px; font: 700 17px var(--ui);
  text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: #1a1144; }
.btn--go { border: 0; color: #08120a; background: linear-gradient(180deg, #7cf04a, #3fbf17); box-shadow: 0 10px 30px rgba(69, 214, 29, .35), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--go:hover { background: linear-gradient(180deg, #8ff55f, #45d61d); box-shadow: 0 14px 36px rgba(69, 214, 29, .45); }
.btn small { font-weight: 500; opacity: .75; font-size: .8em; white-space: nowrap; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7, 4, 23, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(155, 48, 255, .18); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 26px; }
.nav__brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav__links a { color: var(--dim); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.nav__links a:hover { color: var(--ink); background: rgba(155, 48, 255, .14); }
.lang { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.lang button { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--dim); font: 700 14px var(--ui); padding: 8px 10px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.lang button svg { width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.lang button[aria-pressed="true"] { background: linear-gradient(180deg, #7b35ff, #5317d8); color: #fff; }
@media (max-width: 860px) { .nav__links { display: none; } .nav .wrap { justify-content: space-between; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 0;
  background: radial-gradient(60% 70% at 78% 30%, rgba(155, 48, 255, .45), transparent 70%), radial-gradient(50% 60% at 10% 80%, rgba(109, 31, 224, .35), transparent 70%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero__name { font-size: clamp(56px, 8.2vw, 116px); margin: 0 0 .12em; }
.hero__tag { font: italic 800 clamp(20px, 2.4vw, 30px)/1.2 var(--logo); color: #c995ff; margin-bottom: .7em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-size: 15px; list-style: none; padding: 0; margin: 0; }
.hero__facts li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .45em; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px;
  box-shadow: 0 0 0 2px rgba(178, 107, 255, .7), 0 30px 80px rgba(109, 31, 224, .55), 0 0 120px rgba(155, 48, 255, .35); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.hero__shot { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 70px); perspective: 1600px; }
.hero__shot img { width: 100%; border-radius: 16px; border: 1px solid rgba(178, 107, 255, .45); transform: rotateX(8deg); transform-origin: 50% 0;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 320px; justify-self: center; } .hero__copy { text-align: center; } .hero__cta, .hero__facts { justify-content: center; } }

/* Funktionen */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 34px; }
.feat { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.feat__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(155, 48, 255, .18); color: #d6b3ff; }
.feat__ico svg { width: 26px; height: 26px; }
.feat p { color: var(--dim); font-size: 15.5px; margin: 0; }

/* Screenshots */
.shots { background: var(--bg2); border-block: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.tabs button { min-height: 44px; padding: 8px 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); font: 700 15px var(--ui); cursor: pointer; }
.tabs button[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(180deg, #7b35ff, #5317d8); }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid rgba(178, 107, 255, .35); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #05030f; }
.shot__cap { color: var(--dim); font-size: 15px; margin-top: 14px; }

/* Download */
.dl__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-top: 30px; }
.dlcard { position: relative; border-radius: 18px; padding: 26px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 14px; align-content: start; }
.dlcard--main { border-color: rgba(69, 214, 29, .55); background: linear-gradient(180deg, rgba(69, 214, 29, .1), var(--panel) 45%); }
.dlcard__badge { position: absolute; top: -12px; right: 18px; background: var(--green); color: #08120a; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.dlcard h3 { font: italic 900 26px/1.1 var(--logo); margin: 0; }
.dlcard .meta { color: var(--dim); font-size: 14.5px; margin: 0; }
.hash { font: 12.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #9f95c9; overflow-wrap: anywhere; background: #07041a; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.hash b { color: var(--dim); font-family: var(--ui); font-weight: 700; display: block; font-size: 12px; margin-bottom: 2px; }
.portable { color: var(--dim); font-size: 15px; }
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px 24px; margin-top: 28px; padding: 20px 22px; border-radius: var(--r); border: 1px dashed var(--line); color: var(--dim); font-size: 15px; }
.req b { color: var(--ink); display: block; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 179, 71, .09); border: 1px solid rgba(255, 179, 71, .35); color: #ffd9a6; font-size: 15.5px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 28px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 18px 16px; color: var(--dim); }
.faq .a ol { margin: 0; padding-left: 1.2em; }

/* Changelog */
.log { border-left: 3px solid var(--violet); padding: 4px 0 4px 22px; max-width: 860px; margin-top: 24px; }
.log h3 { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.log h3 time { color: var(--dim); font-weight: 500; font-size: 15px; }
.log ul { color: var(--dim); margin: 0; padding-left: 1.1em; columns: 2 300px; column-gap: 32px; }
.log li { break-inside: avoid; margin-bottom: 4px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #05030f; padding: 40px 0; color: var(--dim); font-size: 14.5px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--dim); }
.foot .credits { grid-column: 1 / -1; font-size: 13px; opacity: .8; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { max-width: 820px; padding-block: 50px 80px; }
.legal h1 { font: italic 900 clamp(34px, 5vw, 52px)/1.05 var(--logo); }
.legal h2 { font: 800 22px/1.3 var(--ui); margin-top: 1.6em; }
.legal p, .legal li { color: var(--dim); }
.fill { background: rgba(255, 179, 71, .15); color: #ffd9a6; border: 1px dashed rgba(255, 179, 71, .6); border-radius: 6px; padding: 0 6px; }

.nav__links a.gh { display: inline-flex; align-items: center; gap: 6px; }

/* Social-Media-Knöpfe in 3D: Extrusion per Schatten, Glanz oben, drückt sich beim Klicken ein */
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.soc3d {
  --lift: 6px;
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 18px 0 12px; border-radius: 14px;
  color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  background: linear-gradient(180deg, #b26bff 0%, var(--violet) 45%, var(--violet2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -2px 0 rgba(40, 0, 90, .35),
    0 var(--lift) 0 #3b1580,
    0 calc(var(--lift) + 8px) 18px -4px rgba(109, 31, 224, .55);
  transform: translateY(calc(var(--lift) * -1));
  transition: transform .14s cubic-bezier(.22, .61, .36, 1), box-shadow .14s cubic-bezier(.22, .61, .36, 1), filter .2s;
}
.soc3d::after { /* Glanzkante */
  content: ""; position: absolute; inset: 2px 2px 50% 2px; border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); pointer-events: none;
}
.soc3d svg {
  width: 26px; height: 26px; padding: 4px; border-radius: 9px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(15, 5, 40, .35); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45);
}
.foot .soc3d, .soc3d:hover { color: #fff; }
.soc3d:hover { --lift: 8px; filter: brightness(1.08); }
.soc3d:active { --lift: 1px; }
.soc3d:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .soc3d { transition: none; } }
