/* ============================================
   SHARED DESIGN SYSTEM
   Verwendet auf allen Seiten der Website
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --bg-card: #1a1a26;
  --bg-elevated: #232333;
  --ink: #f5f5f0;
  --ink-soft: #a8a8b8;
  --ink-dim: #6b6b80;
  --accent: #ffd84d;
  --accent-soft: #fef3c7;
  --accent-deep: #b8860b;
  --indigo: #7c7cf5;
  --rose: #ff6b9d;
  --green: #4ade80;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.15);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
  min-height: 100vh;
}

/* === ATMOSPHERIC BACKGROUND === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--indigo);
  top: -100px; left: -150px;
  animation: float1 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--rose);
  top: 40%; right: -100px;
  animation: float2 25s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(50px, 80px); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 60px); }
}

/* === LAYOUT === */
.wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVIGATION === */
nav.main {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav.main .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--bg);
  font-size: 18px;
  transform: rotate(-6deg);
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(255, 216, 77, 0.3);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 216, 77, 0.1);
  border: 1px solid rgba(255, 216, 77, 0.3);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}
.section-eyebrow.center { justify-content: center; }

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
h1 .ital, h2 .ital {
  font-style: italic;
  color: var(--accent);
}
h1 .stroke {
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
  color: var(--accent);
}
h1 .stroke::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -2%;
  width: 104%;
  height: 8px;
  background: var(--accent);
  opacity: 0.25;
  z-index: -1;
  transform: skewX(-10deg);
}
h1 .underline {
  display: inline-block;
  border-bottom: 4px solid var(--rose);
  padding-bottom: 2px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.5;
}
.lead.center { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 216, 77, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

/* === FORM === */
.optin-form {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.optin-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 18px;
}
.optin-form input::placeholder { color: var(--ink-soft); }
.optin-form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.optin-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 216, 77, 0.4);
}
.trust {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.trust span::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  margin-right: 6px;
}
.trust.center { justify-content: center; }

/* === SECTIONS === */
section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
section.compact { padding: 50px 0; }
section.large { padding: 120px 0; }

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: rgba(255,216,77,0.3);
}

/* === FOOTER === */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  max-width: 300px;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-dim);
  font-size: 13px;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; gap: 30px; }
  section { padding: 50px 0; }
  .optin-form { flex-direction: column; }
  .optin-form button { width: 100%; }
  .lead { font-size: 17px; }
}
@media (max-width: 600px) {
  footer .wrap { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
}
