/* ============================================================
   Andromeda — main stylesheet
   palette: deep void, blue glass panels, ion cyan, starlight gold
   type: Unbounded (display) · Space Grotesk (body) · Space Mono (telemetry)
   ============================================================ */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-700-latin.woff2") format("woff2");
}

:root {
  --void: #05070d;
  --panel: rgba(15, 20, 38, 0.74);
  --panel-edge: rgba(146, 160, 220, 0.16);
  --ink: #e9ecf8;
  --muted: #9aa4c4;
  --faint: #6b7494;
  --cyan: #74d7ff;
  --radius: 16px;
  --font-display: "Unbounded", "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(116, 215, 255, 0.28); color: #ffffff; }

/* hidden scrollbar: page still scrolls normally, just without the bar */
html { scrollbar-width: none; -ms-overflow-style: none; }
body { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

a { color: inherit; }

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

main:focus { outline: none; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px;
  background: var(--void);
  border: 1px solid var(--cyan);
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

/* ---------- background: nebula + stars + vignette ---------- */

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.nebula-wrap { position: absolute; inset: -25%; will-change: transform; }

.nebula {
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 44% at 16% 18%, rgba(64, 88, 196, 0.34), transparent 70%),
    radial-gradient(46% 40% at 84% 72%, rgba(104, 64, 190, 0.22), transparent 70%),
    radial-gradient(36% 34% at 62% 16%, rgba(64, 170, 215, 0.12), transparent 72%),
    radial-gradient(30% 26% at 26% 82%, rgba(255, 166, 84, 0.07), transparent 70%);
  animation: nebula-drift 160s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
  from { transform: translate3d(-1.5%, -1%, 0) rotate(-1deg); }
  to   { transform: translate3d(2%, 1.5%, 0) rotate(1.2deg); }
}

.milkyway {
  position: absolute; left: -20%; right: -20%; top: 26%; height: 34vh;
  transform: rotate(-22deg);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(158, 178, 255, 0.04) 40%,
    rgba(214, 228, 255, 0.06) 50%,
    rgba(158, 178, 255, 0.04) 60%,
    transparent 100%);
}

#stars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 38%, transparent 55%, rgba(2, 3, 8, 0.55) 100%);
}

/* ---------- header ---------- */

#siteHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 28px;
  background: rgba(6, 8, 15, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(146, 160, 220, 0.12);
  transition: background 0.3s ease;
}

#siteHeader.scrolled { background: rgba(6, 8, 15, 0.8); }

.logo {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: 0.14em;
  text-decoration: none; color: var(--ink);
}

#siteHeader nav { display: flex; gap: 26px; }

#siteHeader nav a {
  font-size: 14px; text-decoration: none; color: var(--muted);
  transition: color 0.2s ease;
}

#siteHeader nav a:hover { color: var(--ink); }

/* ---------- language switch ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.lang-switch button {
  appearance: none;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--faint);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { color: var(--cyan); }

/* ---------- mobile nav toggle (hidden above 820px) ---------- */

.nav-toggle {
  appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin: 0; padding: 0;
  border: 1px solid rgba(146, 160, 220, 0.18);
  border-radius: 10px;
  background: rgba(146, 160, 220, 0.06);
  cursor: pointer;
  position: relative;
  flex: none;
}

.nt-bar {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nt-bar:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.nt-bar:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }

#siteHeader.nav-open .nt-bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
#siteHeader.nav-open .nt-bar:nth-child(2) { opacity: 0; }
#siteHeader.nav-open .nt-bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- buttons: console-style 3D ---------- */

.btn {
  --btn-top: #4c5468;
  --btn-bot: #262b37;
  --btn-edge: #10141d;
  appearance: none;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  padding: 14px 28px;
  border: 1px solid var(--btn-edge);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bot) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    0 3px 0 var(--btn-edge),
    0 10px 22px -8px rgba(0, 0, 0, 0.75);
  transform: translateY(0);
  transition: transform 0.09s ease, box-shadow 0.09s ease, filter 0.25s ease;
}

.btn:hover { filter: brightness(1.12); }

.btn:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 var(--btn-edge),
    0 4px 10px -6px rgba(0, 0, 0, 0.7);
}

.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  --btn-top: #566079;
  --btn-bot: #2d3242;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    0 3px 0 var(--btn-edge),
    0 10px 22px -8px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(116, 215, 255, 0.22),
    0 0 26px -6px rgba(116, 215, 255, 0.4);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    0 3px 0 var(--btn-edge),
    0 10px 22px -8px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(116, 215, 255, 0.34),
    0 0 32px -4px rgba(116, 215, 255, 0.55);
}

.btn-primary:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 var(--btn-edge),
    0 4px 10px -6px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(116, 215, 255, 0.22),
    0 0 18px -6px rgba(116, 215, 255, 0.35);
}

/* ---------- layout primitives ---------- */

main { position: relative; z-index: 2; }

.section { padding: clamp(72px, 10vw, 116px) 24px; }

.panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px);
  background: linear-gradient(180deg, rgba(19, 25, 46, 0.66), var(--panel));
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 70px -35px rgba(0, 0, 0, 0.85);
}

.panel-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 40px); text-align: center; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--ink);
}

.lede {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 16.5px;
}

h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0 0 14px; }

/* ---------- hero ---------- */

.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.5vw, 96px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin: 0 0 26px;
  text-shadow: 0 0 70px rgba(116, 215, 255, 0.22);
}

.hero-sub {
  max-width: 52ch;
  margin: 0 0 26px;
  font-size: clamp(16.5px, 2vw, 18.5px);
  font-weight: 300;
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- services rows ---------- */

.rows { margin-top: 34px; }

.row { padding: 22px 0; }

.row + .row { border-top: 1px solid rgba(146, 160, 220, 0.12); }

.row p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- process steps ---------- */

.steps { list-style: none; margin: 34px 0 0; padding: 0; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 22px;
  padding: 20px 0;
}

.step + .step { border-top: 1px solid rgba(146, 160, 220, 0.12); }

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  padding-top: 4px;
  letter-spacing: 0.1em;
}

.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, rgba(19, 25, 46, 0.6), rgba(10, 13, 26, 0.78));
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 60px -30px rgba(0, 0, 0, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier:hover { border-color: rgba(146, 160, 220, 0.3); }

.tier.featured {
  border-color: rgba(116, 215, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 60px -30px rgba(0, 0, 0, 0.85),
    0 0 34px -10px rgba(116, 215, 255, 0.35);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.tier-desc { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.price {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 4px;
  font-size: 34px; font-weight: 600; letter-spacing: -0.01em;
}

.price .from { font-size: 13px; font-weight: 400; color: var(--faint); }

.delivery {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 0 0 22px;
}

.features { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }

.features li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 7px 0;
  font-size: 14.5px;
  color: #c4cce6;
  line-height: 1.5;
}

.tick { color: var(--cyan); font-size: 11px; line-height: 1.9; flex: none; }

.tiers-note {
  max-width: 1100px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--faint);
}

.tiers-link {
  margin: 10px auto 0;
  text-align: center;
  font-size: 14.5px;
}

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

/* ---------- hosting add-on ---------- */

.hosting {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 22px clamp(24px, 4vw, 34px);
  text-align: center;
  background: linear-gradient(180deg, rgba(19, 25, 46, 0.5), rgba(12, 16, 30, 0.35));
  border: 1px dashed var(--panel-edge);
  border-radius: var(--radius);
}

.hosting-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}

.hosting p + p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact { text-align: center; }

.contact-box {
  max-width: 620px;
  margin: 34px auto 0;
  padding: 24px 28px;
  text-align: left;
  background: rgba(9, 12, 24, 0.45);
  border: 1px solid rgba(146, 160, 220, 0.14);
  border-radius: 12px;
}

.contact-org {
  margin: 0 0 18px;
  font-style: normal;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.contact-org strong { color: var(--ink); font-weight: 500; }

.contact-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-people li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  color: var(--muted);
}

.contact-people strong { color: var(--ink); font-weight: 500; }

.contact-people a {
  color: var(--cyan);
  text-decoration: none;
  word-break: break-word;
}

.contact-people a:hover { text-decoration: underline; }

/* ---------- legal pages ---------- */

.legal { padding: clamp(110px, 14vw, 150px) 24px clamp(60px, 8vw, 90px); }

.legal-panel { max-width: 820px; text-align: left; }

.legal-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
}

.legal-panel h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 34px 0 10px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

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

.legal-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
  border-left: 2px solid rgba(116, 215, 255, 0.3);
  padding-left: 14px;
  margin: 0 0 26px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}

html[lang="de"] [data-lang-only="en"] { display: none; }

/* ---------- footer ---------- */

footer {
  position: relative; z-index: 2;
  text-align: center;
  padding: 46px 24px 54px;
  border-top: 1px solid rgba(146, 160, 220, 0.1);
  background: linear-gradient(180deg, transparent, rgba(4, 6, 12, 0.7));
}

.coords {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin: 0 0 8px;
}

.copy { font-size: 13.5px; color: var(--faint); margin: 0; }

.footer-links {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover { color: var(--ink); border-bottom-color: rgba(146, 160, 220, 0.4); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in { opacity: 1; transform: none; }

.tiers .tier:nth-child(2) { transition-delay: 0.08s; }
.tiers .tier:nth-child(3) { transition-delay: 0.16s; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 540px; }
  .tier.featured { order: -1; }
}

@media (max-width: 820px) {
  #siteHeader { justify-content: flex-start; gap: 12px; padding: 10px 18px; }
  .lang-switch { margin-left: auto; }
  .nav-toggle { display: inline-flex; }

  #siteHeader nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 14px 16px;
    background: #06080f;
    border-bottom: 1px solid rgba(146, 160, 220, 0.14);
    box-shadow: 0 28px 44px -22px rgba(0, 0, 0, 0.85);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }

  #siteHeader.nav-open nav {
    opacity: 1; visibility: visible;
    transform: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  #siteHeader nav a {
    padding: 13px 14px;
    font-size: 15.5px;
    border-radius: 9px;
  }

  #siteHeader nav a:hover { background: rgba(146, 160, 220, 0.08); color: var(--ink); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .step { grid-template-columns: 1fr; gap: 4px; }
  .step-num { padding-top: 0; }
  .logo { font-size: 13.5px; letter-spacing: 0.1em; }
  .contact-box { padding: 20px; }
  .contact-people { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nebula { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover, .btn:active { transition: none; }
  .nt-bar, #siteHeader nav { transition: none; }
}
