/* =========================================================
   SHANOVA — Public Website
   www.shanova.win
   Design: modern, hochwertig, minimalistisch
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Flächen */
  --bg:            #090C12;
  --bg-elev:       #0E121A;
  --surface:       #121822;
  --surface-2:     #161D28;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);

  /* Text */
  --text:          #E9ECF2;
  --text-soft:     #B6BDCA;
  --text-muted:    #8A93A3;

  /* Marke (aus dem Shanova-Logo abgeleitet) */
  --gold:          #C9A66B;
  --gold-light:    #E6D2A8;
  --gold-deep:     #A8854D;
  --silver:        #C3C9D4;
  --grad-gold:     linear-gradient(135deg, #EDDCB6 0%, #C9A66B 45%, #A8854D 100%);
  --grad-metal:    linear-gradient(135deg, #EDDCB6 0%, #C9A66B 38%, #C3C9D4 62%, #A8854D 100%);

  /* Status */
  --ok:            #3FB950;
  --warn:          #D29922;
  --err:           #F85149;

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Layout */
  --wrap: 1180px;
  --pad: 24px;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;

  /* Effekte */
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ---------- 2. Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.7vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
p  { margin: 0 0 1em; color: var(--text-soft); }

::selection { background: rgba(201, 166, 107, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout-Helfer ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-elev); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lede { font-size: 1.075rem; color: var(--text-soft); max-width: 62ch; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Goldener Text-Verlauf für Akzentwörter */
.gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad-gold);
  color: #17120A;
  font-weight: 700;
}
.btn--primary:hover { filter: brightness(1.07); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--quiet { color: var(--text-soft); padding-inline: 4px; }
.btn--quiet:hover { color: var(--gold-light); }

.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(9, 12, 18, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(9, 12, 18, 0.94); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 30px; height: auto; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -340px; right: -180px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.16) 0%, rgba(201, 166, 107, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 28%, #000 5%, rgba(0,0,0,.55) 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 28%, #000 5%, rgba(0,0,0,.55) 45%, transparent 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.14rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.855rem; color: var(--text-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

.hero-visual { display: grid; place-items: center; position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.14) 0%, transparent 70%);
}
.hero-visual img {
  position: relative;
  width: min(360px, 78%);
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.55));
}

/* ---------- 7. Kennzahlen-Leiste ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--bg-elev); padding: 26px 24px; }
.stat dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.stat dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 8. Karten / Features ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(201, 166, 107, 0.4); background: var(--surface-2); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.945rem; }

.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(201, 166, 107, 0.3);
  background: rgba(201, 166, 107, 0.09);
  color: var(--gold-light);
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }

/* ---------- 9. Split-Abschnitt ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 0.96rem; }
.check-list svg { flex: none; width: 19px; height: 19px; margin-top: 2px; color: var(--gold); }

/* ---------- 10. Architektur-Diagramm ---------- */
.arch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.arch-flow { display: grid; gap: 0; }
.arch-node {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-elev);
}
.arch-node strong { font-size: 0.95rem; font-weight: 640; }
.arch-node span { font-size: 0.84rem; color: var(--text-muted); margin-left: auto; font-family: var(--font-mono); }
.arch-node.is-core { border-color: rgba(201, 166, 107, 0.45); background: rgba(201, 166, 107, 0.07); }

.arch-arrow {
  height: 26px;
  display: grid; place-items: center;
  color: var(--text-muted);
}
.arch-arrow::before {
  content: ""; width: 1px; height: 100%;
  background: linear-gradient(var(--line-strong), var(--line-strong));
}

.arch-out {
  margin-top: 26px; padding-top: 26px;
  border-top: 1px dashed var(--line-strong);
  display: grid; gap: 10px;
}
.arch-out-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.855rem;
}
.arch-out-row code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
  color: var(--gold-light);
}
.arch-out-row em { color: var(--text-muted); font-style: normal; }
.arch-out-row .path { color: var(--text-muted); }

/* ---------- 11. Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.93rem; }

/* ---------- 12. Kontakt / CTA ---------- */
.cta {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 120% at 82% 20%, rgba(201, 166, 107, 0.14), transparent 62%),
    var(--surface);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { margin-bottom: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list dt, .contact-list .k {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.contact-list .v { font-size: 0.98rem; color: var(--text); }
.contact-list a:hover { color: var(--gold-light); }

/* ---------- 13. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 56px 0 32px;
  margin-top: 8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand img { width: 120px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 34ch; margin: 0; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 0.92rem; color: var(--text-soft); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  font-size: 0.85rem; color: var(--text-muted);
}
.footer-bottom nav { margin-left: auto; display: flex; gap: 20px; }

/* ---------- 14. Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal-wrap { max-width: 800px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 40px; }
.legal h2 {
  font-size: 1.35rem;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h3 { margin-top: 28px; font-size: 1.02rem; }
.legal p, .legal li { color: var(--text-soft); font-size: 0.965rem; }
.legal ul { padding-left: 20px; display: grid; gap: 7px; margin-bottom: 1em; }
.legal address { font-style: normal; color: var(--text-soft); line-height: 1.8; }
.legal a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

.note {
  border: 1px solid rgba(210, 153, 34, 0.35);
  background: rgba(210, 153, 34, 0.07);
  border-radius: 11px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 24px 0;
}
.note strong { color: #E8C877; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(250px, 58%); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 760px) {
  :root { --pad: 18px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--pad) 22px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
    z-index: 55;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 12px; font-size: 1rem; }

  .header-actions .btn--ghost { display: none; }

  .hero-meta { gap: 8px 16px; font-size: 0.8rem; }
  .arch-out-row { font-size: 0.78rem; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom nav { margin-left: 0; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

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