/* ═══════════════════════════════════════════════════════════════
   Digital Marketing OS: Produktpage
   Design-Tokens aus dem App-Theme (siehe docs/BRIEFING_Produktpage.md)
   ═══════════════════════════════════════════════════════════════ */

/* Inter self-hosted (DSGVO), variable Font, latin subset */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
}

:root {
  --bg: #080C0D;
  --bg-footer: #05080A;
  --panel: #0C1213;
  --panel-2: #10181A;
  --text: #EAF0ED;
  --text-soft: #B9C7C2;
  --muted: #94A6A0;
  --dim: #5F6E69;
  --mint: #31D6A3;
  --mint-hover: #41E0AD;
  --mint-ink: #06231A;
  --error: #E88A80;
  --amber: #E2AB52;
  --line: rgba(255, 255, 255, .075);
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--mint); }
a:hover { color: var(--mint-hover); }
::selection { background: rgba(49, 214, 163, .25); }
input::placeholder, textarea::placeholder { color: var(--dim); }

@keyframes glowBreath {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.06); }
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(49, 214, 163, .55); }
  70% { box-shadow: 0 0 0 8px rgba(49, 214, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 214, 163, 0); }
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { max-width: 1160px; margin: 0 auto; padding: clamp(80px, 11vh, 130px) 24px 0; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mint);
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 48px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}

/* sanftes Einblenden beim Scrollen (js/main.js setzt .is-visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .badge-dot { animation: none !important; }
}

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 12, 13, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.btn-primary {
  display: inline-block;
  background: var(--mint); color: var(--mint-ink) !important;
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 8px; white-space: nowrap;
}
.btn-primary:hover { background: var(--mint-hover); color: var(--mint-ink); }
.btn-primary.btn-sm { font-size: 13px; padding: 10px 16px; }
.btn-primary.btn-glow { box-shadow: 0 10px 30px rgba(49, 214, 163, .22); }

.btn-ghost {
  display: inline-block;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .34); color: var(--text); }

/* ───────────────────────── ① Hero (Variante Split) ───────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 75% at 80% 0%, rgba(49, 214, 163, .10), transparent 55%), var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hero-grid {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(72px, 10vh, 120px) 24px clamp(64px, 9vh, 110px);
  display: grid; grid-template-columns: minmax(340px, 1.05fr) minmax(320px, 1fr);
  gap: 56px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em;
  color: var(--mint); background: rgba(49, 214, 163, .12);
  border: 1px solid rgba(49, 214, 163, .25); border-radius: 100px;
  padding: 7px 14px; margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: dotPulse 2.4s infinite; }
.hero h1 {
  margin: 0; font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.06; letter-spacing: -.03em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-sub {
  margin: 24px 0 0; font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6; color: var(--muted); max-width: 56ch;
}
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-visual { position: relative; min-width: 0; }
.hero-glow {
  position: absolute; inset: -8% -12%;
  background: radial-gradient(60% 60% at 50% 45%, rgba(49, 214, 163, .16), transparent 70%);
  animation: glowBreath 5.5s ease-in-out infinite; pointer-events: none;
}
.browser-frame {
  position: relative; background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07); background: var(--panel-2);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser-bar span {
  margin-left: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--dim);
}
.browser-body {
  aspect-ratio: 16 / 10.5;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .028) 0 12px, transparent 12px 24px), var(--panel);
  display: grid; place-items: center;
}
.browser-body span {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  text-align: center; padding: 0 20px;
}
.browser-body img { display: block; width: 100%; height: auto; }
.browser-shot { display: block; width: 100%; height: auto; }

/* ───────────────────────── ② Problem → Lösung ───────────────────────── */
.duo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px;
}
.card-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--dim); margin-bottom: 14px;
}
.card-label.mint { color: var(--mint); }
.card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.card-mint { background: rgba(49, 214, 163, .06); border-color: rgba(49, 214, 163, .28); }
.card-mint p { color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: 6px 10px;
}
.flow-line {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--mono); font-size: 11px; color: var(--mint);
}
.dot-square { width: 8px; height: 8px; background: var(--mint); border-radius: 2px; flex: none; }

/* ───────────────────────── ③ Vier Schritte ───────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 26px;
}
.step-1 { border-top: 3px solid var(--mint); }
.step-2 { border-top: 3px solid rgba(49, 214, 163, .55); }
.step-3 { border-top: 3px solid rgba(49, 214, 163, .35); }
.step-4 { border-top: 3px solid rgba(49, 214, 163, .2); }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--mint); margin-bottom: 16px; }
.step h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.shots { margin-top: 56px; }
.shots-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--dim); margin-bottom: 18px;
}
.shots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.shots-grid figure {
  margin: 0; background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; overflow: hidden;
}
.shots-grid img {
  display: block; width: 100%; height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.shots-grid figcaption {
  padding: 11px 14px; font-family: var(--mono); font-size: 10.5px; color: var(--dim);
}

/* ───────────────────────── ④ Funktionsbereiche ───────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px; transition: border-color .2s ease;
}
.feature:hover { border-color: rgba(255, 255, 255, .16); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(49, 214, 163, .12);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature h3 { margin: 0 0 9px; font-size: 16.5px; font-weight: 700; }
.feature p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.feature-highlight {
  background: rgba(49, 214, 163, .06);
  border-color: rgba(49, 214, 163, .4); position: relative;
}
.feature-highlight:hover { border-color: rgba(49, 214, 163, .55); }
.feature-highlight .feature-icon { background: rgba(49, 214, 163, .16); }
.feature-highlight p { color: var(--text-soft); }
.feature-tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: var(--mint); background: rgba(49, 214, 163, .14);
  border-radius: 5px; padding: 4px 8px;
}

/* ───────────────────────── ⑤ Prinzipien ───────────────────────── */
.principles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.principle { padding: 32px 28px 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.principle:nth-child(even) { padding: 32px 0 32px 28px; }
.principle h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.principle h3 .para {
  color: var(--mint); font-family: var(--mono); font-size: 13px; margin-right: 12px;
}
.principle p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ───────────────────────── ⑥ Beta ───────────────────────── */
.beta-panel {
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px; padding: clamp(32px, 5vw, 56px);
}
.beta-panel .section-title { margin-bottom: 44px; font-size: clamp(26px, 3vw, 38px); }
.beta-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; }
.beta-col-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--mint); margin-bottom: 16px;
}
.beta-col-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.beta-col-head.muted { color: var(--muted); }
.beta-col-head .ring {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--muted); box-sizing: border-box; flex: none;
}
.beta-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; line-height: 1.55; color: var(--text-soft);
}
.beta-list.muted { color: var(--muted); }
.beta-list li { padding-left: 18px; position: relative; }
.beta-list li::before { content: "—"; position: absolute; left: 0; color: var(--mint); }
.beta-list.muted li::before { color: var(--dim); }
.rules {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
  margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 36px;
}
.rule { font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.rule b {
  font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--mint);
  display: block; margin-bottom: 8px; letter-spacing: .02em;
}
.beta-cta { margin-top: 40px; }

/* ───────────────────────── ⑦ Über ───────────────────────── */
.about-grid {
  display: grid; grid-template-columns: auto minmax(300px, 1fr);
  gap: 44px; align-items: center; max-width: 860px;
}
.about-photo {
  width: clamp(120px, 16vw, 168px); aspect-ratio: 1; border-radius: 16px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 20px), var(--panel);
  border: 1px solid rgba(255, 255, 255, .1);
  display: grid; place-items: center; overflow: hidden;
}
.about-photo span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text {
  margin: 0; font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65; color: var(--text); max-width: 56ch;
}
.btn-linkedin {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16);
}
.btn-linkedin:hover { border-color: var(--mint); color: var(--mint); }

/* ───────────────────────── ⑧ Kontakt ───────────────────────── */
.section-kontakt { padding-bottom: clamp(90px, 12vh, 140px); }
.kontakt-grid {
  display: grid; grid-template-columns: minmax(340px, 1.2fr) minmax(280px, .8fr);
  gap: 44px; align-items: start;
}
.form-panel {
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; padding: clamp(26px, 4vw, 38px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-top: 18px; }
.form-row .form-field { margin-top: 0; }
.form-field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--text-soft); margin-bottom: 7px;
}
.req { color: var(--mint); }
.opt { color: var(--dim); font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%; box-sizing: border-box;
  background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px; padding: 12px 14px;
  color: var(--text); font-size: 14px; font-family: inherit; outline: none;
}
.form-field textarea { line-height: 1.55; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--mint); box-shadow: 0 0 0 3px rgba(49, 214, 163, .14);
}
.field-error { font-size: 12px; color: var(--error); margin-top: 6px; }
.form-alert {
  background: rgba(232, 138, 128, .1); border: 1px solid rgba(232, 138, 128, .35);
  border-radius: 8px; padding: 13px 15px;
  font-size: 13.5px; line-height: 1.5; color: var(--error); margin-bottom: 22px;
}
.form-alert a { color: var(--error); font-weight: 600; }
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.btn-submit {
  margin-top: 24px; width: 100%;
  background: var(--mint); color: var(--mint-ink);
  border: 0; font-weight: 700; font-size: 15px; font-family: inherit;
  padding: 15px 24px; border-radius: 8px; cursor: pointer;
}
.btn-submit:hover { background: var(--mint-hover); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit:disabled { opacity: .7; cursor: default; }
.form-privacy { margin: 16px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--dim); }
.form-privacy a { color: var(--muted); }

.form-success { text-align: center; padding: 34px 12px; }
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(49, 214, 163, .14);
  display: grid; place-items: center; margin: 0 auto 20px;
}
.form-success h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.form-success p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.kontakt-side { display: flex; flex-direction: column; gap: 16px; }
.kontakt-side-intro { font-size: 14px; line-height: 1.6; color: var(--muted); }
.kontakt-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px; padding: 18px 20px; text-decoration: none;
  transition: border-color .2s ease;
}
.kontakt-card:hover { border-color: rgba(49, 214, 163, .4); }
.kontakt-card-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(49, 214, 163, .12);
  display: grid; place-items: center; flex: none;
}
.kontakt-card-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.kontakt-card-sub {
  display: block; font-family: var(--mono); font-size: 12px;
  color: var(--muted); margin-top: 3px;
}
.kontakt-note {
  font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--dim);
  border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 16px; margin-top: 6px;
}

/* ───────────────────────── ⑨ Footer ───────────────────────── */
.footer { border-top: 1px solid rgba(255, 255, 255, .07); background: var(--bg-footer); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 52px 24px 40px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 36px; flex-wrap: wrap;
}
.footer-logo img { height: 44px; width: auto; display: block; margin-bottom: 14px; }
.footer-claim { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dim); max-width: 38ch; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.footer-col-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--dim);
}
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 40px; padding-top: 22px;
}
.footer-copy { font-size: 12px; color: var(--dim); }
.footer-made {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--dim);
}

/* ───────────────────────── Rechtliches ───────────────────────── */
.legal-nav-inner { max-width: 820px; }
.legal-nav-inner .nav-logo img { height: 36px; }
.legal-back { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.legal-back:hover { color: var(--text); }
.legal-main {
  max-width: 820px; margin: 0 auto;
  padding: clamp(56px, 8vh, 90px) 24px clamp(80px, 10vh, 120px);
}
.legal-main section { scroll-margin-top: 90px; }
.legal-main h1 {
  margin: 0 0 36px; font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 700;
}
.legal-body {
  display: flex; flex-direction: column; gap: 28px;
  font-size: 15px; line-height: 1.7; color: var(--text-soft);
}
.legal-body h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--text); }
.legal-body p { margin: 0; }
.legal-placeholder { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.legal-divider {
  border: 0; border-top: 1px solid rgba(255, 255, 255, .08);
  margin: clamp(56px, 8vh, 80px) 0;
}
.legal-footer-inner {
  max-width: 820px; margin: 0 auto; padding: 26px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.legal-footer-inner a { font-size: 12px; color: var(--muted); text-decoration: none; }
.legal-footer-inner a:hover { color: var(--text); }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links a:not(.btn-primary) { display: none; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 28px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-top: 18px; }
  .form-row .form-field:first-child { margin-top: 0; }
}
