/* JiNi – Webseite
   Farben: Midnight Violet #22162B · Dark Amethyst #451F55 · Dusty Grape #724E91
           Blush Rose #E54F6D · Saffron #F8C630 */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JiNi Mono"; src: url("../fonts/AnonymousPro-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --midnight: #22162B;
  --midnight-deep: #1B1123;
  --amethyst: #451F55;
  --grape: #724E91;
  --rose: #E54F6D;
  --saffron: #F8C630;
  --card: #2E1D3A;
  --text: #F3ECF8;
  --text-2: #D9CBE6;
  --text-3: #BFA9D2;
  --line: rgba(201, 179, 219, 0.14);
  --line-2: rgba(201, 179, 219, 0.35);
  --radius: 24px;
  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --mono: "JiNi Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--midnight); color: var(--text); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--saffron); text-decoration: none; }
a:hover { color: #FFE08A; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--midnight); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 64px; }
.section-last { padding-bottom: 104px; }
.kicker { font-family: var(--mono); font-size: 14px; color: var(--saffron); margin-bottom: 10px; }
.sub { color: var(--text-2); font-size: 17px; margin-top: 14px; max-width: 620px; }
.lead { color: var(--text-2); font-size: 19px; margin-top: 24px; max-width: 540px; }
.muted { color: var(--text-3); font-size: 14px; }
.narrow { max-width: 760px; }
h2 { font-size: clamp(32px, 4vw, 44px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-rose { background: var(--rose); color: var(--midnight); box-shadow: 0 10px 30px rgba(229, 79, 109, .3); }
.btn-rose:hover { color: var(--midnight); box-shadow: 0 14px 36px rgba(229, 79, 109, .45); }
.btn-saffron { background: var(--saffron); color: var(--midnight); }
.btn-saffron:hover { color: var(--midnight); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-2); }
.btn-dark { background: var(--midnight); color: var(--text); }
.btn-dark:hover { color: var(--text); }
.btn-disabled { opacity: .55; cursor: default; transform: none !important; background: rgba(201,179,219,.15); color: var(--text-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(34, 22, 43, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.logo { font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.02em; }
.logo span { color: var(--rose); }
.logo:hover { color: var(--text); }
.logo-sm { font-size: 16px; }
.logo small { font-family: "Inter", sans-serif; font-weight: 400; color: var(--text-3); font-size: 14px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--text-2); padding: 10px 0; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; background-image: radial-gradient(rgba(201, 179, 219, .12) 1px, transparent 1px); background-size: 28px 28px; }
.orb { position: absolute; border-radius: 50%; filter: blur(24px); pointer-events: none; animation: drift 14s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(229, 79, 109, .35), transparent 65%); }
.orb-2 { width: 620px; height: 620px; right: -220px; bottom: -280px; background: radial-gradient(circle, rgba(114, 78, 145, .6), transparent 65%); animation-duration: 18s; animation-direction: reverse; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.pill { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--saffron); background: rgba(248, 198, 48, .1); border: 1px solid rgba(248, 198, 48, .3); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); animation: pulse 1.6s ease-in-out infinite; }
.shine { background: linear-gradient(90deg, var(--rose), var(--saffron), var(--rose)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }

/* Karussell */
.hero-car { flex: 1 1 520px; min-width: 0; }
.car-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(69, 31, 85, .75); border: 1px solid rgba(201, 179, 219, .16); }
.seg-btn { font: inherit; font-size: 14px; padding: 10px 18px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: #E6DAF0; cursor: pointer; transition: background .25s, color .25s; }
.seg-btn.is-active { background: var(--saffron); color: var(--midnight); font-weight: 600; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn .i-play { display: none; }
.icon-btn.is-paused .i-play { display: block; }
.icon-btn.is-paused .i-pause { display: none; }
.car-stage { position: relative; height: 420px; margin-top: 20px; perspective: 1400px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateX(60px) scale(.96); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.slide.is-prev { transform: translateX(-60px) scale(.96); }
.slide.is-current { opacity: 1; transform: none; pointer-events: auto; }
.slide-shot { position: absolute; inset: 24px 0 64px 36px; border-radius: var(--radius); overflow: hidden; background: var(--amethyst); border: 1px solid rgba(201, 179, 219, .2); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); transform: rotateY(-9deg) rotateX(3deg); }
.slide-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.slide-shot-empty { height: 100%; display: grid; place-items: center; }
.slide-chip { position: absolute; left: 0; bottom: 0; display: flex; gap: 16px; align-items: center; background: var(--text); color: var(--midnight); padding: 14px 18px 14px 14px; border-radius: 22px; box-shadow: 0 24px 48px rgba(0, 0, 0, .4); max-width: min(440px, 100%); }
.slide-chip img, .slide-chip .icon-tile { flex: none; }
.slide-chip-text { min-width: 0; }
.slide-chip strong { display: block; font-family: var(--display); font-size: 20px; }
.slide-chip span { display: block; font-size: 14px; color: #4A3358; line-height: 1.4; }
.round-link { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--midnight); color: var(--saffron); display: grid; place-items: center; transition: transform .2s; }
.round-link:hover { transform: translateX(3px); color: var(--saffron); }
.slide-badge { position: absolute; right: 16px; top: 0; }
.float { animation: float 5s ease-in-out infinite; }
.car-dots { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.car-dot { background: none; border: 0; padding: 8px 0; text-align: left; color: var(--text-3); cursor: pointer; min-height: 44px; font: inherit; }
.car-dot.is-current { color: var(--text); }
.car-bar { display: block; height: 3px; border-radius: 3px; background: rgba(201, 179, 219, .22); overflow: hidden; }
.car-bar span { display: block; height: 100%; width: 0; background: var(--saffron); }
.car-dot.is-done .car-bar span { width: 100%; }
.car-label { display: block; margin-top: 10px; font-size: 13px; font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Laufband */
.marquee { overflow: hidden; background: var(--amethyst); border-block: 1px solid rgba(201, 179, 219, .16); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; color: var(--text); white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 18px; }
.marquee-item:hover { color: var(--saffron); }
.marquee-item .icon-tile { border-radius: 9px; }
.star { color: var(--rose); margin-left: 24px; }

/* Tools */
.section-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; padding: 10px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; background: transparent; color: #E6DAF0; border: 1px solid var(--line-2); transition: background .2s, color .2s; }
.chip span { opacity: .7; margin-left: 4px; }
.chip.is-active { background: var(--text); color: var(--midnight); border-color: var(--text); font-weight: 600; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.tool-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(201, 179, 219, .3); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.tool-card.is-new { border-color: rgba(248, 198, 48, .55); box-shadow: 0 0 0 4px rgba(248, 198, 48, .08); }
.tool-card[hidden] { display: none; }
.tool-card-head { display: flex; gap: 16px; align-items: center; }
.tool-card-head > div { min-width: 0; flex: 1; }
.tool-card h3 { font-size: 24px; }
.tool-card h3 a { color: var(--text); }
.tool-card .meta { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.tool-card .tagline { font-weight: 600; color: var(--saffron); }
.tool-card .text { color: var(--text-2); font-size: 15px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(114, 78, 145, .35); color: #E6DAF0; }
.more { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; padding: 10px 0; }
.more svg { transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
.more-row { display: flex; justify-content: center; margin-top: 36px; }
.badge-new { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--saffron); color: var(--midnight); padding: 5px 10px; border-radius: 999px; }
.icon-tile { display: grid; place-items: center; border-radius: 18px; background: linear-gradient(160deg, var(--grape), var(--amethyst)); color: #fff; font-family: var(--display); font-weight: 700; flex: none; }

/* Über */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.principle { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.principle h3 { font-size: 22px; margin-top: 18px; }
.principle p { color: var(--text-2); margin-top: 10px; }

/* Kontakt */
.cta-band { border-radius: 32px; padding: clamp(32px, 5vw, 56px); background: var(--rose); color: var(--midnight); display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 40px); }
.cta-band p { margin-top: 14px; font-size: 17px; max-width: 620px; }
.cta-col { flex-direction: column; align-items: flex-start; justify-content: center; }
.cta-col p { margin-top: 0; }

/* Detailseite */
.detail { padding-top: 32px; }
.crumbs { font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.detail-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 40px; }
.detail-text { flex: 1 1 440px; min-width: 0; }
.detail-icon-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.detail-icon-row .pill { margin: 0; }
.detail h1 { font-size: clamp(42px, 5vw, 58px); margin-top: 24px; }
.detail-tagline { margin-top: 12px; font-size: 24px; color: var(--rose); font-family: var(--display); font-weight: 700; line-height: 1.3; }
.prose { margin-top: 20px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.detail-shot { flex: 1 1 520px; min-width: 0; }
.detail-shot img { width: 100%; display: block; border-radius: 22px; border: 1px solid rgba(201, 179, 219, .16); box-shadow: 0 40px 80px rgba(0, 0, 0, .4); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.feature { padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.feature-num { width: 40px; height: 40px; border-radius: 12px; background: rgba(229, 79, 109, .16); color: var(--rose); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; }
.feature h3 { font-size: 20px; margin-top: 18px; }
.feature p { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.spec-card { padding: 40px; border-radius: 28px; background: var(--amethyst); }
.spec-card h2, .download-grid .cta-band h2 { font-size: 32px; }
.spec-card dl { display: grid; grid-template-columns: 150px 1fr; row-gap: 14px; margin: 24px 0 0; font-size: 15px; }
.spec-card dt { color: #C9B3DB; }
.spec-card dd { margin: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 28px; }
.mini-card { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); transition: transform .2s, border-color .2s; }
.mini-card:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(201, 179, 219, .3); }
.mini-card > span:not(.badge-new) { flex: 1; min-width: 0; }
.mini-card strong { display: block; font-family: var(--display); font-size: 18px; }
.mini-card small { display: block; color: var(--text-3); font-size: 14px; }
.legal h1, .notfound h1 { font-size: clamp(36px, 5vw, 52px); }
.legal .prose { max-width: 760px; margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-3); padding: 10px 0; }
.footer-links a:hover { color: var(--text); }

/* Animationen */
@keyframes drift { 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes shine { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 700px) {
  .nav .btn { display: none; }
  .nav-links { gap: 4px 18px; }
  .hero-grid { padding-block: 56px 48px; gap: 40px; }
  .car-stage { height: 320px; }
  .slide-shot { inset: 16px 0 70px 12px; }
  .car-label { font-size: 11px; }
  .spec-card dl { grid-template-columns: 1fr; row-gap: 4px; }
  .spec-card dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
