@import url("../fonts/fonts.css");

/* ============ TOKENS ============ */
:root {
  --bg: #0a0e1a;
  --bg-2: #0c1120;
  --surface: #111727;
  --surface-2: #151d31;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f4fa;
  --text-dim: #9aa6bd;
  --accent: #4ea8ff;
  --accent-deep: #2d7fe0;
  --accent-soft: rgba(78, 168, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.container.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #02101f;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.grad {
  background: linear-gradient(105deg, #6fbcff, #4ea8ff 45%, #2d7fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #02101f;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px -6px rgba(78, 168, 255, 0.6);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}
.brand-text em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links .nav-cta {
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 9px 18px;
  border-radius: 10px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.nav-links .nav-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 22px 18px;
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.96);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 13px 4px;
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu a:last-child {
  border-bottom: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 70px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  max-width: 130%;
  height: 560px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(78, 168, 255, 0.28),
    transparent 70%
  );
  filter: blur(20px);
  z-index: -2;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    70% 60% at 50% 30%,
    #000 40%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-inner {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 8.5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.lede {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: clamp(1.02rem, 3.2vw, 1.2rem);
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #02101f;
  box-shadow: 0 14px 34px -14px rgba(78, 168, 255, 0.75);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(78, 168, 255, 0.9);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.trust-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dim);
}
.trust-strip .dot {
  color: var(--accent);
}

/* ============ SECTIONS ============ */
.section {
  padding: 70px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 5.4vw, 2.5rem);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(78, 168, 255, 0.25);
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* ============ ÜBER UNS ============ */
.prose {
  font-size: 1.08rem;
  color: var(--text-dim);
  text-align: center;
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.usp {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 28px;
}
.usp li {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.usp li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

/* ============ REFERENZ ============ */
.reference-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.reference-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 100% 0%,
    rgba(78, 168, 255, 0.1),
    transparent 60%
  );
  pointer-events: none;
}
.reference-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.reference-body p {
  color: var(--text-dim);
  margin-bottom: 18px;
}
.reference-link {
  color: var(--accent);
  font-weight: 700;
  font-family: "Sora", sans-serif;
  transition: color 0.2s var(--ease);
}
.reference-link:hover {
  color: #82c2ff;
}

/* ============ KONTAKT ============ */
.contact-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 26px 28px;
  max-width: 520px;
  margin: 0 auto;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-label {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-value {
  font-weight: 600;
  font-size: 1rem;
  word-break: break-word;
  text-align: right;
}
a.contact-row:hover .contact-value {
  color: var(--accent);
}
.contact-btn {
  width: 100%;
  margin-top: 22px;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-copy {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ============ LEGAL PAGES ============ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px 80px;
}
.legal .back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 600;
}
.legal h1 {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  margin-bottom: 24px;
}
.legal h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  margin: 32px 0 10px;
}
.legal p,
.legal address {
  color: var(--text-dim);
  font-style: normal;
  margin-bottom: 8px;
}
.legal a {
  color: var(--accent);
}
.legal .muted a {
  font-weight: 600;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    padding: 100px 0 90px;
  }
  .section {
    padding: 96px 0;
  }
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============ A11Y / MOTION ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
