/* Oberberg Media — Flagship-Startseite */
:root {
  --ink: #101014;
  --ink-2: #17171c;
  --paper: #f4f4f0;
  --accent: #a3e635;
  --accent-dim: #84cc16;
  --muted: rgba(244,244,240,0.62);
  --line: rgba(244,244,240,0.12);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
section { position: relative; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  border: 2px solid var(--accent);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(163,230,53,0.28); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(16,16,20,0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; flex: 1; }
.nav-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--accent); color: var(--ink);
  border-radius: 10px; font-size: 13px; font-weight: 900;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--paper); background: rgba(244,244,240,0.06); }

/* --- Hero --- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px clamp(20px, 4vw, 48px) 90px;
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 540px; height: 540px; top: -120px; left: -80px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  animation: float1 18s ease-in-out infinite;
}
.orb-2 {
  width: 460px; height: 460px; bottom: -140px; right: -60px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  opacity: 0.32;
  animation: float2 22s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(70px,50px) scale(1.12); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px,-40px) scale(1.1); }
}
.hero-glow {
  position: absolute; width: 460px; height: 460px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(163,230,53,0.16), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%; top: 40%;
  transition: left .3s ease, top .3s ease;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000, transparent 75%);
  opacity: 0.5;
}
.hero-inner { max-width: 900px; }
.hero-title {
  font-size: clamp(40px, 6.6vw, 86px);
  margin: 18px 0 22px;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--muted); max-width: 620px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero-note {
  font-size: 15px; color: var(--muted);
  padding: 14px 18px; border-left: 3px solid var(--accent);
  background: rgba(244,244,240,0.04); border-radius: 0 12px 12px 0;
  max-width: 540px;
}
.hero-note strong { color: var(--paper); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); font-size: 18px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }

/* --- Reveals --- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal].is-in { opacity: 1; transform: translate(0,0); }

/* --- Generic section --- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-dark { background: var(--ink-2); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); margin-top: 12px; }

/* --- Problem band --- */
.band { padding: clamp(70px, 9vw, 120px) 0; background: var(--ink-2); }
.band-title {
  font-size: clamp(26px, 3.4vw, 44px);
  max-width: 880px; margin: 14px 0 44px;
}
.problem-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.problem-item {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(244,244,240,0.02);
}
.problem-num { color: var(--accent); font-weight: 900; font-size: 14px; letter-spacing: 0.1em; }
.problem-item p { margin-top: 10px; color: var(--muted); }

/* --- Cards --- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card {
  padding: 30px; border-radius: var(--radius);
  background: var(--ink); border: 1px solid var(--line);
  transition: transform .22s ease, border-color .22s ease;
}
.section-dark .card { background: var(--ink); }
.card:hover { transform: translateY(-5px); border-color: rgba(163,230,53,0.4); }
.card h3 { font-size: 21px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }

/* --- Pricing --- */
.price-lead {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin: 8px 0 18px;
}
.setup-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin-bottom: 50px;
}
.month-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.price-card {
  position: relative;
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--ink); border: 1px solid var(--line);
  transition: transform .22s ease;
}
.section-dark .price-card { background: var(--ink-2); border-color: rgba(244,244,240,0.14); }
.price-card:hover { transform: translateY(-5px); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(163,230,53,0.12);
}
.badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--accent); color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 20px; }
.price { font-size: 40px; font-weight: 800; margin: 10px 0 2px; }
.price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.price-card li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--muted);
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent); font-weight: 900;
}
.price-foot {
  margin-top: 36px; max-width: 600px;
  color: var(--muted); font-size: 15px;
}

/* --- Steps --- */
.steps { list-style: none; display: grid; gap: 16px; max-width: 800px; }
.step {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-2);
}
.step-num {
  flex-shrink: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent); color: var(--ink);
  font-size: 20px; font-weight: 900;
}
.step h3 { font-size: 20px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 15px; }

/* --- CTA --- */
.section-cta { background: var(--accent); color: var(--ink); }
.section-cta .eyebrow { color: var(--ink); opacity: 0.65; }
.cta-wrap { max-width: 720px; text-align: center; margin-inline: auto; }
.section-cta h2 { font-size: clamp(30px, 4.4vw, 56px); margin: 12px 0 18px; }
.cta-text { color: rgba(16,16,20,0.72); font-size: 17px; margin-bottom: 28px; }
.section-cta .btn {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  font-size: 18px;
}
.section-cta .btn:hover { box-shadow: 0 16px 40px rgba(16,16,20,0.3); }

/* --- Footer --- */
.footer { background: #0b0b0e; padding: 40px 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer-nav a:hover { color: var(--accent); }
.footer-meta { color: rgba(244,244,240,0.4); font-size: 13px; width: 100%; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .problem-grid, .cards, .month-grid, .setup-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .orb, .scroll-hint { animation: none; }
}
