/* aban news — landing-ultra/ Styles
 * Vanilla CSS, mobile-first, kein Build.
 * Based on 100-page research patterns.
 *
 * Tokens:
 *   --c-bg #fffbf5 (warm white)        --c-accent #d97706 (amber/coffee)
 *   --c-bg-alt #fef3c7 (light beige)   --c-accent-hi #b45309 (hover)
 *   --c-text #1f2937 (dark gray)       --c-success #059669 (green check)
 *   --c-muted #6b7280 (mid gray)       --c-border #e5e7eb (subtle)
 *   Font: system stack — DSGVO-safe, kein Google Fonts.
 */

:root {
  --c-bg: #fffbf5;
  --c-bg-alt: #fef3c7;
  --c-bg-deep: #fde68a;
  --c-text: #1f2937;
  --c-text-2: #374151;
  --c-muted: #6b7280;
  --c-accent: #d97706;
  --c-accent-hi: #b45309;
  --c-accent-soft: #fed7aa;
  --c-success: #059669;
  --c-border: #e5e7eb;
  --c-card: #ffffff;
  --c-shadow: rgba(31, 41, 55, 0.06);
  --c-shadow-lg: rgba(31, 41, 55, 0.12);

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --w-narrow: 640px;
  --w: 760px;
  --w-wide: 980px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --t-fast: 120ms ease-out;
  --t: 200ms ease-out;
}

@media (prefers-color-scheme: dark) {
  /* aban-news ist warm und hell — kein full dark mode, aber dezent für reduzierte Augen-Helligkeit */
  /* Bewusst aus, weil die Coffee-Marke warm bleibt. Sticky-Header bleibt readable. */
}

/* === Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

a:hover { color: var(--c-accent-hi); }
a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

button {
  font: inherit;
  cursor: pointer;
}

/* === Layout primitives === */
.wrap {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.wrap--narrow { max-width: var(--w-narrow); }
.wrap--wide { max-width: var(--w-wide); }

section { padding: var(--space-7) 0; }

@media (min-width: 768px) {
  section { padding: var(--space-8) 0; }
}

.alt {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.deep {
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, var(--c-bg-deep) 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* === Skip link (a11y) === */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--c-text);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 0; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--c-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.brand:hover { color: var(--c-text); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--space-2) var(--space-1);
}

.nav a:hover { color: var(--c-accent); }

.nav .nav-cta {
  background: var(--c-accent);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r);
  font-weight: 600;
}

.nav .nav-cta:hover { background: var(--c-accent-hi); color: #fff; }

@media (max-width: 560px) {
  .nav { gap: var(--space-2); }
  .nav a:not(.nav-cta) { display: none; }
}

/* === Hero === */
.hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

@media (min-width: 768px) {
  .hero { padding-top: var(--space-9); padding-bottom: var(--space-8); }
}

.eyebrow {
  display: inline-block;
  background: var(--c-bg-alt);
  color: var(--c-accent-hi);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-text);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 700;
  margin-top: 0;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--c-text-2);
  margin: 0 0 var(--space-5);
  max-width: 56ch;
  line-height: 1.55;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }
li:last-child { margin-bottom: 0; }

.promise {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.promise li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  margin: 0;
  color: var(--c-text-2);
}

.promise li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
}

/* === Subscribe form (Hero + inline) === */
.subscribe {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 12px var(--c-shadow);
  margin: var(--space-5) 0 var(--space-3);
}

.subscribe-row {
  display: flex;
  gap: var(--space-2);
}

.subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.subscribe input[type="email"]::placeholder { color: var(--c-muted); }

.subscribe input[type="email"]:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.btn,
.subscribe button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: var(--r);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast);
  min-height: 44px;
  font-family: inherit;
}

.btn:hover,
.subscribe button:hover {
  background: var(--c-accent-hi);
  color: #fff;
}

.btn:active,
.subscribe button:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}
.btn--ghost:hover {
  background: var(--c-accent);
  color: #fff;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
}

.consent {
  margin: var(--space-3) 0 0;
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.consent a { color: var(--c-accent); }

.consent-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-top: var(--space-3);
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--c-accent);
}

.consent-row label {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
}

@media (max-width: 560px) {
  .subscribe-row { flex-direction: column; }
  .subscribe button { width: 100%; }
}

/* === Trust strip (DSGVO under form) === */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}

.trust li::before {
  content: "•";
  color: var(--c-accent);
  font-weight: 700;
}

.trust li:first-child::before { display: none; }

/* === Identity counter === */
.identity-count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--c-text-2);
  margin-bottom: var(--space-4);
}

.identity-count strong {
  color: var(--c-accent-hi);
  font-weight: 700;
}

.identity-count .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
}

/* === Preview-Box (Sample-Issue) === */
.preview {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 12px var(--c-shadow);
  margin: var(--space-5) 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .preview { padding: var(--space-6); }
}

.preview-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  word-break: break-word;
}

.preview-meta strong {
  color: var(--c-text);
  font-weight: 600;
}

.preview h3 {
  font-size: 1.5rem;
  margin: var(--space-4) 0 var(--space-3);
}

.preview h3:first-child { margin-top: 0; }

.preview h4 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: 1rem;
  color: var(--c-accent-hi);
  letter-spacing: 0;
}

.preview h4:first-child { margin-top: 0; }

.preview p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.preview pre {
  background: var(--c-bg-alt);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
  overflow-x: auto;
  margin: var(--space-3) 0;
}

.preview pre code { background: none; padding: 0; }

.preview .signoff {
  margin-top: var(--space-5);
  font-style: italic;
  color: var(--c-muted);
  text-align: right;
}

/* === Card === */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: 0 1px 6px var(--c-shadow);
}

.card:last-child { margin-bottom: 0; }

.card h3 { margin-top: 0; }

.card--feature {
  border-color: var(--c-accent-soft);
  background: linear-gradient(180deg, var(--c-card) 0%, var(--c-bg) 100%);
}

.card--highlight {
  border: 2px solid var(--c-accent);
  background: linear-gradient(135deg, var(--c-card) 0%, var(--c-bg-alt) 100%);
  box-shadow: 0 4px 24px rgba(217, 119, 6, 0.12);
}

.card--legal {
  background: var(--c-bg);
  border-color: var(--c-border);
}

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
}

/* === Founder block === */
.founder {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

@media (min-width: 640px) {
  .founder { flex-direction: row; }
}

.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--c-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  border: 3px solid var(--c-card);
  box-shadow: 0 2px 8px var(--c-shadow);
  /* TODO: Real headshot einsetzen — <img src="assets/aban.jpg" alt="Aban"> */
}

.founder-text p:last-child { margin-bottom: 0; }
.founder-text .name { font-weight: 700; color: var(--c-text); }

/* === Anti-Hype manifest list === */
.anti {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  gap: var(--space-2);
}

.anti li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  margin: 0;
  font-size: 0.9375rem;
}

.anti li::before {
  content: "✗";
  color: #dc2626;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.anti li strong { color: var(--c-text); }

/* === Price card === */
.price-card {
  text-align: center;
  padding: var(--space-6);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin: var(--space-3) 0 var(--space-2);
  letter-spacing: -0.03em;
}

.price-card .price small {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-muted);
  margin-top: var(--space-2);
  letter-spacing: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  text-align: left;
}

.feature-list li {
  padding: var(--space-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--c-border);
  margin: 0;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: "✓";
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.slot-counter {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--c-muted);
  margin-top: var(--space-4);
}

.slot-counter strong {
  color: var(--c-accent-hi);
  font-weight: 700;
}

/* === Table (Rate Card) === */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0;
  font-size: 0.9375rem;
  background: var(--c-card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 1px 4px var(--c-shadow);
  display: table;
}

.tbl th,
.tbl td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--c-border);
}

.tbl th {
  background: var(--c-bg-alt);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--c-bg); }

.tbl td strong { color: var(--c-accent-hi); }

@media (max-width: 560px) {
  .tbl { font-size: 0.875rem; }
  .tbl th, .tbl td { padding: var(--space-3) var(--space-3); }
}

/* === Quotes / Testimonials (placeholder) === */
.quote {
  background: var(--c-card);
  border-left: 4px solid var(--c-accent);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--r) var(--r) 0;
  margin: var(--space-4) 0;
  font-style: italic;
  color: var(--c-text-2);
}

.quote .author {
  font-style: normal;
  display: block;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--c-muted);
  font-weight: 600;
}

/* === FAQ === */
.faq {
  margin: var(--space-4) 0;
}

.faq details {
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-4) 0;
}

.faq details:last-child { border-bottom: none; }

.faq summary {
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--space-6);
  color: var(--c-text);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-accent);
  transition: transform var(--t);
  line-height: 1;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details > *:not(summary) { margin-top: var(--space-3); }

/* === Sticky mobile CTA === */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(255, 251, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 16px var(--c-shadow);
  display: none;
}

.mobile-cta .btn { width: 100%; }

@media (max-width: 720px) {
  .mobile-cta { display: block; }
  body.mobile-cta-on { padding-bottom: 80px; }
}

/* === Footer === */
.site-footer {
  margin-top: var(--space-9);
  padding: var(--space-7) 0 var(--space-5);
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 0.9375rem;
}

.foot-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-5);
}

@media (min-width: 640px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}

.foot-grid h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin: 0 0 var(--space-3);
}

.foot-grid a {
  display: block;
  padding: var(--space-1) 0;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.foot-grid a:hover { color: var(--c-accent); }

.foot-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-4);
  text-align: center;
  font-size: 0.8125rem;
}

/* === Legal pages === */
.legal {
  padding: var(--space-7) 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal h1 { font-size: 2rem; margin-bottom: var(--space-6); }
.legal h2 {
  font-size: 1.375rem;
  margin: var(--space-6) 0 var(--space-3);
}
.legal h3 {
  font-size: 1.0625rem;
  margin: var(--space-5) 0 var(--space-2);
}
.legal p, .legal ul, .legal table { margin-bottom: var(--space-4); }
.legal ul { padding-left: 1.5rem; }
.legal table { font-size: 0.875rem; }

/* === Utilities === */
.muted { color: var(--c-muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--c-bg-alt);
  padding: 0.125em 0.4em;
  border-radius: 4px;
}

pre {
  font-family: var(--font-mono);
  background: var(--c-bg-alt);
  padding: var(--space-4);
  border-radius: var(--r);
  overflow-x: auto;
  line-height: 1.5;
  font-size: 0.875rem;
}

pre code { background: none; padding: 0; }

/* === Print === */
@media print {
  .site-header, .mobile-cta, .subscribe { display: none; }
  body { color: #000; background: #fff; }
}

/* ============================================================
 * VISUAL UPGRADE 2026-05-27
 * Hero-Grid + SVG-Visual + Newsletter-Mockup + Features-Bar +
 * Social-Proof + Animations
 * Additive — alle bestehenden Styles bleiben unverändert.
 * ============================================================ */

/* === Hero 2-spaltig === */
.hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-7);
  }
}

.hero-content { min-width: 0; }

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  order: -1; /* Mobile: Visual über Text */
}

@media (min-width: 900px) {
  .hero-visual { order: 0; }
}

.hero-visual > svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (max-width: 899px) {
  .hero-visual > svg { max-width: 260px; }
}

/* === Newsletter-Mockup (Inbox-Card) === */
.mockup {
  width: 100%;
  max-width: 360px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px var(--c-shadow-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  will-change: transform;
}

.mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(217, 119, 6, 0.18);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fff7e6 0%, #fef3c7 100%);
  border-bottom: 1px solid var(--c-border);
}

.mockup-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-dot--r { background: #ef4444; }
.mockup-dot--y { background: #f59e0b; }
.mockup-dot--g { background: #10b981; }

.mockup-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--c-text-2);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-body {
  padding: var(--space-4);
  font-size: 0.875rem;
  line-height: 1.55;
}

.mockup-from {
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-bottom: 4px;
}

.mockup-from strong { color: var(--c-text); }

.mockup-subj {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-text);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--c-border);
  line-height: 1.3;
}

.mockup-text {
  color: var(--c-text-2);
  margin-bottom: var(--space-3);
}

.mockup-text--small {
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.mockup-section {
  font-weight: 700;
  color: var(--c-accent-hi);
  font-size: 0.8125rem;
  margin-top: var(--space-3);
  margin-bottom: 4px;
}

.mockup-link {
  color: var(--c-accent);
  font-weight: 600;
}

.mockup-signoff {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--c-border);
  font-style: italic;
  color: var(--c-muted);
  text-align: right;
  font-size: 0.8125rem;
}

/* === Features-Bar (4-up "Was du JEDE Ausgabe bekommst") === */
.features-bar {
  padding: var(--space-5) 0;
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}

.features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: var(--space-2) 0;
}

.features strong {
  font-size: 1.0625rem;
  color: var(--c-text);
  font-weight: 700;
}

.features li > span:not(.feat-icon) {
  font-size: 0.875rem;
  color: var(--c-muted);
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-bg-alt);
  color: var(--c-accent-hi);
  margin-bottom: 4px;
}

.feat-icon svg { display: block; }

/* === Social-Proof 3-Card === */
@media (min-width: 720px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.social-proof .sp-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-bg-alt) 0%, var(--c-accent-soft) 100%);
  color: var(--c-accent-hi);
  margin-bottom: var(--space-2);
}

.sp-card h3 { margin: 0 0 var(--space-2); font-size: 1.0625rem; }
.sp-card p { font-size: 0.9375rem; }
.sp-card .sp-meta { color: var(--c-muted); font-size: 0.8125rem; margin-top: auto; padding-top: var(--space-2); }
.sp-card .sp-meta a { color: var(--c-accent); }

/* === Animations === */

/* Fade-in-up base for reveal sections */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease-out, transform 480ms ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero headline: subtle fade-in (instant for first paint with no JS) */
.hero-headline {
  animation: heroFadeIn 600ms ease-out 80ms backwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulse on subscribe button (very subtle, alle 4s) */
.btn-pulse {
  position: relative;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.45);
  animation: btnPulse 4s ease-out infinite;
  pointer-events: none;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.45); }
  20%      { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
}

/* Steam drift on hero SVG */
.hero-steam {
  animation: steamDrift 5.5s ease-in-out infinite;
  transform-origin: 140px 100px;
  transform-box: fill-box;
}

@keyframes steamDrift {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 0.85; transform: translateY(-6px); }
}

/* Reduced-motion: kill ALL extra animations */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-headline { animation: none !important; }
  .btn-pulse::after { animation: none !important; display: none; }
  .hero-steam { animation: none !important; transform: none !important; }
  .mockup { transition: none !important; }
  .mockup:hover { transform: none !important; }
}

/* === preview.html full-article styling === */
.preview--full {
  background: var(--c-card);
}

.preview--full h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: var(--space-4) 0 var(--space-4);
  color: var(--c-text);
}

.preview--full h3 {
  font-size: 1.25rem;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-5);
}

.preview--full h3:first-of-type { border-top: none; padding-top: 0; }

.preview--full h4 {
  font-size: 1.0625rem;
  color: var(--c-accent-hi);
  margin: var(--space-5) 0 var(--space-2);
  letter-spacing: -0.01em;
}

/* === Mobile polish === */
@media (max-width: 720px) {
  .hero { padding-top: var(--space-5); }
  .hero-headline { font-size: clamp(1.625rem, 7vw, 2.25rem); }
  .features-bar { padding: var(--space-4) 0; }
  .feat-icon { width: 36px; height: 36px; }
  .social-proof .sp-card { padding: var(--space-4); }
  /* Sticky form already exists via .mobile-cta — kein zusätzliches sticky form, würde überlappen */
}

/* Touch targets: min 48px tap area in nav/buttons */
@media (hover: none) and (pointer: coarse) {
  .nav a, .foot-grid a { min-height: 44px; display: flex; align-items: center; }
  .nav a.nav-cta { display: inline-flex; }
}

/* ============================================================
   ADDITIONAL VISUALS (v2)
   ============================================================ */

/* === Body Background Dot-Pattern (subtle, brand-color, 0.04 opacity) === */
body {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23d97706' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: 0 0;
}

/* === Wave Dividers === */
.wave-divider {
  line-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 50px;
  display: block;
}

.wave-divider--flip svg {
  transform: scaleY(-1);
}

/* === "So funktioniert's" — 3-Step Flow === */
.how-grid {
  margin-top: var(--space-6);
}

.how-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px var(--c-shadow-lg);
}

.how-svg {
  width: 100%;
  max-width: 250px;
  margin-bottom: var(--space-3);
}

.how-svg svg {
  width: 100%;
  height: auto;
}

.how-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
  color: var(--c-accent-hi);
}

.how-card p {
  font-size: 0.9375rem;
  color: var(--c-text-2);
  margin: 0;
}

/* === Stats Badges Bar === */
.stats-bar {
  padding: var(--space-5) 0;
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: transform var(--t), box-shadow var(--t);
}

.stat-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px var(--c-shadow);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-bg-alt);
  color: var(--c-accent-hi);
  flex-shrink: 0;
}

.stat-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.1;
}

.stat-badge > span:not(.stat-icon) {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.3;
}

.stat-badge strong + span {
  display: block;
  margin-top: 2px;
}

/* === Sample-Issue Grid (Mini-Phone-Mockups) === */
.sample-grid {
  margin-top: var(--space-6);
}

.sample-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-text);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.sample-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--c-shadow-lg);
  border-color: var(--c-accent-soft);
  color: var(--c-text);
}

.sample-phone {
  width: 100%;
  max-width: 220px;
  margin-bottom: var(--space-3);
}

.sample-phone svg {
  width: 100%;
  height: auto;
}

/* SVG-internal text classes for sample-phone mockups (saves ~6 KB per SVG) */
.phone-svg text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.phone-svg .ph-brand   { font-size: 10px; font-weight: 700; fill: #d97706; }
.phone-svg .ph-meta    { font-size: 8px;  fill: #6b7280; }
.phone-svg .ph-title   { font-size: 9px;  font-weight: 700; fill: #1f2937; }
.phone-svg .ph-body    { font-size: 7px;  fill: #374151; }
.phone-svg .ph-section { font-size: 8px;  font-weight: 700; fill: #d97706; }
.phone-svg .ph-link    { font-size: 7px;  fill: #d97706; }

.sample-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 220px;
  font-size: 0.875rem;
  padding-top: var(--space-2);
  border-top: 1px solid var(--c-border);
}

.sample-day {
  font-weight: 700;
  color: var(--c-accent-hi);
}

.sample-time {
  color: var(--c-muted);
}

/* === Testimonials === */
.testi-grid {
  margin-top: var(--space-6);
}

.testi-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.testi-stars {
  line-height: 0;
}

.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-text-2);
  margin: 0;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--c-border);
}

.testi-avatar {
  flex-shrink: 0;
  line-height: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-text);
}

.testi-role {
  font-size: 0.8125rem;
  color: var(--c-muted);
}

/* === Comparison Table === */
.compare {
  margin-top: var(--space-6);
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--c-border);
}

.compare-table thead th {
  background: var(--c-bg-alt);
  font-weight: 700;
  color: var(--c-text);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.compare-table th.compare-us {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-hi) 100%);
  color: #fffbf5;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--c-text-2);
  width: 28%;
}

.compare-table td.compare-us {
  background: rgba(254, 215, 170, 0.25);
  font-weight: 600;
  color: var(--c-text);
}

.compare-table td.compare-other {
  color: var(--c-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-check,
.cmp-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: var(--space-2);
  vertical-align: middle;
}

.cmp-check {
  background: var(--c-success);
  color: #ffffff;
}

.cmp-x {
  background: #e5e7eb;
  color: #6b7280;
}

/* === Hero-Steam Animation Enhancement === */
@keyframes steam-rise {
  0%   { transform: translateY(0) scaleX(1); opacity: 0.7; }
  50%  { transform: translateY(-10px) scaleX(1.05); opacity: 0.4; }
  100% { transform: translateY(-20px) scaleX(0.9); opacity: 0; }
}

/* Stagger steam paths so they don't all fade in unison */
.hero-steam path:nth-child(1) { animation: steam-rise 3.2s infinite ease-out; }
.hero-steam path:nth-child(2) { animation: steam-rise 3.2s infinite ease-out 0.6s; }
.hero-steam path:nth-child(3) { animation: steam-rise 3.2s infinite ease-out 1.2s; }

/* Reduced-motion: kill steam-rise too */
@media (prefers-reduced-motion: reduce) {
  .hero-steam path { animation: none !important; opacity: 0.7 !important; transform: none !important; }
  .how-card:hover,
  .stat-badge:hover,
  .sample-card:hover { transform: none !important; }
}

/* === Mobile polish for new components === */
@media (max-width: 720px) {
  .how-svg { max-width: 200px; }
  .sample-phone { max-width: 180px; }
  .compare-table th,
  .compare-table td { padding: var(--space-2) var(--space-3); font-size: 0.875rem; }
  .compare-table thead th { font-size: 0.75rem; }
  .stat-badge { padding: var(--space-3); gap: var(--space-2); }
  .stat-icon { width: 32px; height: 32px; }
  .stat-icon svg { width: 18px; height: 18px; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .compare-table th,
  .compare-table td { padding: var(--space-2); }
}


/* ============================================================
   MAXIMALIST SPRINT — Footer-Mega, Related-Pages, Breadcrumb,
   Tool-Mockups, Stylized Founder, Illustrations
   ============================================================ */

/* === Breadcrumb (top of inner pages) === */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--c-muted);
  padding: var(--space-3) 0 0;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
.breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--c-accent); text-decoration: underline; }
.breadcrumb span[aria-current="page"] {
  color: var(--c-text);
  font-weight: 600;
}
.breadcrumb > span[aria-hidden="true"] {
  margin: 0 var(--space-2);
  color: var(--c-border);
}

/* === Footer Mega Menu === */
.footer-mega {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-5);
}
@media (min-width: 640px) {
  .footer-mega { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .footer-mega { grid-template-columns: repeat(4, 1fr); }
}
.footer-mega > div {
  display: flex;
  flex-direction: column;
}
.footer-mega strong {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin: 0 0 var(--space-3);
}
.footer-mega a {
  display: block;
  padding: var(--space-1) 0;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.footer-mega a:hover { color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-4);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

/* === Related Pages block (vor Footer) === */
.related-pages {
  max-width: var(--w-wide);
  margin: var(--space-9) auto var(--space-6);
  padding: 0 var(--space-4);
}
.related-pages h3 {
  text-align: center;
  font-size: 1.25rem;
  margin: 0 0 var(--space-5);
  color: var(--c-text);
}
.related-cards {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .related-cards { grid-template-columns: repeat(3, 1fr); }
}
.related-cards a {
  display: block;
  padding: var(--space-4);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-text);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.related-cards a:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent);
  box-shadow: 0 4px 12px var(--c-shadow-lg);
}
.related-cards strong {
  display: block;
  font-size: 1rem;
  color: var(--c-text);
  margin-bottom: var(--space-2);
}
.related-cards strong::after {
  content: " →";
  color: var(--c-accent);
}
.related-cards span {
  display: block;
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.4;
}

/* === Tool Mockups (6er Grid) === */
.tools-section {
  padding: var(--space-7) 0;
}
.tools-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 640px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}
.tool-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent-soft);
  box-shadow: 0 4px 12px var(--c-shadow-lg);
}
.tool-mockup {
  background: var(--c-bg-alt);
  border-radius: var(--r);
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.tool-mockup svg { width: 100%; height: auto; max-height: 160px; }
.tool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.tool-name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-text);
}
.tool-pricing {
  font-size: 0.75rem;
  color: var(--c-muted);
  background: var(--c-bg-alt);
  padding: 2px 8px;
  border-radius: 999px;
}
.tool-use {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-text-2);
  margin: 0;
}
.tool-link {
  font-size: 0.8125rem;
  color: var(--c-accent);
  text-decoration: none;
  margin-top: auto;
  font-weight: 600;
}
.tool-link:hover { text-decoration: underline; }

/* === Stylized Founder Portrait === */
.founder-portrait {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--c-card);
  box-shadow: 0 4px 12px var(--c-shadow-lg);
  overflow: hidden;
  padding: 0;
}
.founder-portrait svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 640px) {
  .founder-portrait { width: 160px; height: 160px; }
}

/* === Inline illustration helper === */
.illu {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}
.illu svg {
  width: 100%;
  height: auto;
  display: block;
}
.illu--center { display: flex; justify-content: center; margin: var(--space-4) auto; }
.illu--lg { max-width: 200px; }
.illu--md { max-width: 140px; }
.illu--sm { max-width: 80px; }
.illu--inline {
  width: 32px;
  height: 32px;
  margin-right: var(--space-2);
}

/* Mobile polish */
@media (max-width: 380px) {
  .footer-mega { gap: var(--space-4); }
  .tool-mockup { min-height: 110px; }
  .related-pages { margin-top: var(--space-7); }
  .founder-portrait { width: 120px; height: 120px; }
}

/* ============================================================
   TOP-POLISH — added 2026-05-27
   Loading-states, micro-interactions, real-time counters,
   scroll-progress, focus polish, dark+contrast prefs.
   ============================================================ */

/* --- Scroll Progress Indicator (top of page) --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-hi) 100%);
  z-index: 200;
  transition: width 80ms linear;
  pointer-events: none;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* --- Hero coffee entrance (fade-up + scale, 600ms) --- */
.hero-visual {
  animation: heroVisualIn 600ms cubic-bezier(0.16, 1, 0.3, 1) 80ms backwards;
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Mockup shimmer-loading (300ms placeholder before content) --- */
.mockup {
  position: relative;
  overflow: hidden;
  animation: mockupIn 480ms ease-out 380ms backwards;
}
.mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: shimmer 1.1s ease-out 1 forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes mockupIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* --- Subscribe button hover lift + stronger shadow --- */
.subscribe button,
.btn,
button[type="submit"] {
  transition: transform var(--t), box-shadow var(--t), background var(--t-fast);
}
.subscribe button:hover,
.btn:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px var(--c-shadow-lg);
}
.subscribe button:active,
.btn:active,
button[type="submit"]:active {
  transform: translateY(0);
}

/* --- Submit-loading spinner (CSS-only, .is-loading class) --- */
.subscribe button.is-loading {
  color: transparent !important;
  pointer-events: none;
}
.subscribe button.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  animation: btnSpin 700ms linear infinite;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Success micro-check */
.subscribe button.is-success {
  background: var(--c-success) !important;
  color: #fff !important;
}
.subscribe button.is-success::before {
  content: "✓";
  font-weight: 800;
  font-size: 1.1rem;
  margin-right: 6px;
  display: inline-block;
  animation: checkPop 360ms ease-out;
}
@keyframes checkPop {
  from { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.25); opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}

/* --- Mockup 3D-tilt on hover --- */
.mockup {
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 380ms ease-out;
  transform-style: preserve-3d;
}
.mockup:hover {
  transform: perspective(900px) rotateY(-2.5deg) rotateX(2deg) translateY(-3px);
  box-shadow: 0 18px 36px var(--c-shadow-lg);
}

/* --- Brand logo: trigger coffee-steam on hover via class --- */
.brand:hover .hero-steam,
.brand.is-hover .hero-steam { animation-duration: 2s; }

/* --- Email input focus glow --- */
.subscribe input[type="email"] {
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.subscribe input[type="email"]:focus,
.subscribe input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18);
}

/* --- Footer link: underline-from-left animation --- */
.site-footer a,
.footer-mega a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  text-decoration: none;
  transition: background-size 220ms ease-out, color var(--t-fast);
}
.site-footer a:hover,
.footer-mega a:hover {
  background-size: 100% 1px;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer a, .footer-mega a {
    transition: none;
    background-size: 100% 1px;
  }
}

/* --- Card gradient-border on hover --- */
.card,
.how-card,
.tool-card,
.sp-card {
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover,
.how-card:hover,
.tool-card:hover,
.sp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--c-shadow-lg);
  border-color: var(--c-accent-soft);
}

/* --- Animated counter (Hero stat / sub-counter) --- */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--c-accent-hi);
}
.live-counter .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
  animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}

/* --- Last-issue timestamp pill --- */
.last-issue {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  color: var(--c-text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: var(--space-2);
}
.last-issue strong { color: var(--c-accent-hi); }

/* --- Focus-visible distinct (a11y polish) --- */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
.btn:focus-visible,
a.nav-cta:focus-visible {
  outline: 3px solid var(--c-accent-hi);
  outline-offset: 3px;
}

/* --- prefers-color-scheme: dark — subtle dark adjustments --- */
@media (prefers-color-scheme: dark) {
  :root {
    --c-shadow: rgba(0, 0, 0, 0.25);
    --c-shadow-lg: rgba(0, 0, 0, 0.4);
  }
  /* Keep brand warm — only tone shadows + slight bg dim for OLED comfort */
}

/* --- prefers-contrast: more --- */
@media (prefers-contrast: more) {
  :root {
    --c-muted: #4b5563;
    --c-border: #9ca3af;
    --c-text-2: #111827;
  }
  a { text-decoration-thickness: 2px; }
  button, .btn {
    border: 2px solid var(--c-text);
  }
  :focus-visible {
    outline: 4px solid #000;
    outline-offset: 4px;
  }
}

/* --- Reduced-motion overrides for new animations --- */
@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .mockup,
  .mockup::before,
  .subscribe button.is-loading::after,
  .subscribe button.is-success::before,
  .live-counter .dot-live {
    animation: none !important;
  }
  .mockup::before { display: none; }
  .mockup:hover { transform: none !important; box-shadow: none !important; }
  .subscribe button:hover, .btn:hover, button[type="submit"]:hover { transform: none !important; }
  .card:hover, .how-card:hover, .tool-card:hover, .sp-card:hover { transform: none !important; }
}
