﻿/* ============================================================
   Marcus'Mood – Marketing Theme: Antik
   Quelle: src/index.css [data-theme='antik'] — Brand-Konsistenz
   Backups: _theme-scholarly.css / _theme-teal.css
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Oberflächen — Pergament */
  --brand-bg:    oklch(0.955 0.025 97);   /* #F4F1DE */
  --brand-card:  oklch(0.968 0.018 93);   /* helles Pergament */
  --brand-card2: oklch(0.935 0.025 92);   /* wärmeres Pergament */
  --brand-phone: oklch(0.920 0.020 93);

  /* Primär — Navy */
  --primary:           oklch(0.22 0.04 253);  /* #1B263B */
  --primary-container: oklch(0.30 0.06 253);
  --on-primary:        oklch(0.955 0.025 97); /* Cream */
  --inverse-primary:   oklch(0.72 0.04 253);

  /* Sekundär — Braun */
  --secondary:           oklch(0.255 0.065 55); /* #332306 */
  --secondary-container: oklch(0.48 0.07 60);
  --on-secondary:        oklch(0.955 0.025 97);

  /* Text — WCAG AA auf Pergament */
  --text-primary:   oklch(0.22 0.04 253);  /* Navy  ~14:1 */
  --text-secondary: oklch(0.38 0.04 80);   /* Braun  ~7.5:1 */
  --text-muted:     oklch(0.50 0.03 85);   /* Gedämpft ~5.0:1 */

  /* Borders */
  --border-subtle: oklch(0.83 0.025 90);
  --border-medium: oklch(0.72 0.030 88);

  /* Akzent — Navy-getönt */
  --accent-surface:      oklch(0.22 0.04 253 / 0.07);
  --accent-border:       oklch(0.22 0.04 253 / 0.20);
  --accent-border-solid: oklch(0.22 0.04 253);

  /* Warm — Braun-getönt */
  --warm-surface: oklch(0.255 0.065 55 / 0.10);
  --warm-border:  oklch(0.255 0.065 55 / 0.25);

  /* Teal — Brand-Kontinuität, dunklere Variante für helle Bgs */
  --teal:              oklch(0.40 0.12 180); /* ~5.0:1 auf Pergament */
  --teal-light:        oklch(0.40 0.12 180);
  --teal-dark:         oklch(0.28 0.10 180);
  --teal-surface:      oklch(0.40 0.12 180 / 0.08);
  --teal-border:       oklch(0.40 0.12 180 / 0.25);
  --teal-border-solid: oklch(0.40 0.12 180);
  --teal-accent:       oklch(0.40 0.12 180 / 0.15);

  /* Interaktiv — Blau als Klick-Signal (≈ #0060c1, ~5.3:1 auf Pergament) */
  --interactive:         oklch(0.50 0.17 255);
  --interactive-hover:   oklch(0.42 0.16 255);
  --interactive-surface: oklch(0.50 0.17 255 / 0.08);
  --interactive-border:  oklch(0.50 0.17 255 / 0.30);

  /* Feedback */
  --error:         oklch(0.55 0.22 25);
  --error-surface: oklch(0.94 0.04 25);
  --success:       oklch(0.50 0.15 150);

  /* Border Radius — 4-tier scale */
  --radius-sm: 0.375rem;  /* buttons, inputs, FAQ */
  --radius-md: 0.75rem;   /* cards, phone-frame, fact boxes */
  --radius-lg: 1rem;      /* section containers, lightbox */
  --radius-xl: 1.5rem;    /* modals / overlays */
}

/* ── Base ────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: 'Epilogue', 'Inter', system-ui, sans-serif;
  background: var(--brand-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Newsreader', 'Georgia', serif;
  line-height: 1.15;
}

a { text-decoration: none; }
a.underline { text-decoration: underline; }
ul { list-style: none; }

/* Tastatur-Fokus — sichtbarer Ring für alle interaktiven Elemente */
:focus-visible {
  outline: 2px solid var(--interactive);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Utilities ───────────────────────────────────────────── */
.container-site {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Components ──────────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Epilogue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}
.section-label.no-rule {
  border-bottom: none;
  padding-bottom: 0;
}
/* flex-divider: h-px sibling is the line — suppress own border */
.section-divider .section-label {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
/* wissen-modal: tighter margin (mb-2 = 0.5rem) */
.wissen-modal-card .section-label { margin-bottom: 0.5rem; }
/* section-label-row: label inline next to icon — no bottom margin */
.section-label-row .section-label { margin-bottom: 0; }

.card {
  background: var(--brand-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 1px var(--accent-border), 0 4px 24px oklch(0.22 0.04 253 / 0.08);
  transform: translateY(-2px);
}

.teal-callout {
  background: var(--teal-surface);
  border: 1px solid var(--teal-border);
}
.teal-step-num {
  background: var(--teal-surface);
  color: var(--teal);
  border: 1px solid var(--teal-border-solid);
}

.nav-link {
  font-size: 0.875rem;
  font-family: 'Epilogue', sans-serif;
  color: var(--interactive);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--interactive-hover); }
.nav-link.nav-active { color: var(--primary); font-weight: 600; }

.mobile-menu-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--interactive);
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: var(--interactive-hover); }

.usp-stat { text-align: center; padding: 0.5rem; }
.usp-stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Newsreader', serif;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.usp-stat-title { font-weight: 700; margin-bottom: 0.375rem; }
.usp-stat-desc { font-size: 0.875rem; color: var(--text-secondary); }

.phone-frame {
  width: 168px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: var(--brand-phone);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 60px oklch(0.22 0.04 253 / 0.12);
  transition: transform 0.3s;
  cursor: pointer;
}
.phone-frame:hover { transform: translateY(-6px); }
.phone-frame-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.phone-label { margin-top: 0.75rem; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); }
.phone-desc { font-size: 0.75rem; color: var(--text-secondary); text-align: center; max-width: 168px; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: oklch(0.22 0.04 253 / 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(6px);
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-height: 85vh;
  max-width: calc(100vw - 200px);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px oklch(0 0 0 / 0.40);
  object-fit: contain;
  cursor: zoom-out;
}
.lb-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  border: 1px solid var(--interactive);
  background: var(--interactive-surface);
  color: var(--interactive);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}
.lb-arrow:hover {
  background: var(--interactive);
  color: oklch(0.955 0.025 97);
  border-color: var(--interactive);
  transform: scale(1.08);
}
.lb-arrow svg { width: 1.75rem; height: 1.75rem; }

@media (max-width: 600px) {
  .phone-frame { width: 137px; }
  .phone-desc { max-width: 137px; }
}

/* Steps */
.step-card {
  background: var(--brand-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover { border-color: var(--primary-container); transform: translateY(-2px); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--primary);
  color: var(--on-primary);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--teal-surface);
  border: 1px solid var(--teal-border-solid);
  color: var(--teal);
  flex-shrink: 0;
  font-size: 0.65rem;
}
.check-item { display: flex; align-items: center; gap: 0.875rem; color: var(--text-secondary); }

.footer-link { color: var(--interactive); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { opacity: 0.75; }

/* ── Language Flyout ──────────────────────────────────── */
.lang-flyout-wrap {
  position: relative;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-subtle);
}
.lang-flyout-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  border-radius: 0.3rem;
  transition: color 0.15s;
  white-space: nowrap;
}
.lang-flyout-trigger:hover { color: var(--text-primary); }
.lang-flyout-trigger .lang-chevron {
  transition: transform 0.2s;
  opacity: 0.6;
}
.lang-flyout-wrap:hover .lang-chevron,
.lang-flyout-wrap:focus-within .lang-chevron { transform: rotate(-180deg); }

.lang-flyout {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 11rem;
  list-style: none;
  padding: 0.375rem;
  background: var(--brand-card);
  border: 1px solid var(--border-medium);
  border-radius: 0.625rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}
.lang-flyout-wrap:hover .lang-flyout,
.lang-flyout-wrap:focus-within .lang-flyout {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-flyout-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
  cursor: default;
}
a.lang-flyout-item { cursor: pointer; }
a.lang-flyout-item:hover {
  background: var(--brand-card2);
  color: var(--text-primary);
}
.lang-flyout-item.active {
  color: var(--primary);
  font-weight: 700;
}
.lang-flyout-item .lang-check { opacity: 0; }
.lang-flyout-item.active .lang-check { opacity: 1; color: var(--teal); }

/* Mobile language pills */
.lang-mobile-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--interactive);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.lang-mobile-pill:hover { background: var(--brand-card2); color: var(--text-primary); }
.lang-mobile-pill.active { color: var(--primary); background: var(--accent-surface); cursor: default; }

/* Legacy — kept for any residual references */
.lang-active { color: var(--primary); }
.lang-divider { color: var(--text-muted); font-weight: 400; }
.lang-link { color: var(--interactive); transition: color 0.2s; text-decoration: none; }
.lang-link:hover { color: var(--interactive-hover); }

.hero-title {
  font-family: 'Newsreader', 'Georgia', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--warm-surface);
  border: 1px solid var(--warm-border);
  color: var(--secondary);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.testimonial-card {
  background: var(--brand-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--primary-container); }
.testimonial-author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* Sticky Mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem;
  background: color-mix(in oklch, var(--brand-bg) 96%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--on-primary);
  background: var(--interactive);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.2s;
}
.sticky-cta-btn:hover { opacity: 0.88; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* Feature-Tab-Panels: alle im DOM, CSS steuert Sichtbarkeit (SEO-optimal) */
.sfeat-panel,
.mcfeat-panel,
.wfeat-panel,
.vf-panel          { display: none; }
.sfeat-panel.active,
.mcfeat-panel.active,
.wfeat-panel.active,
.vf-panel.active   { display: block; }

/* FAQ */
.faq-item {
  background: var(--brand-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--primary-container); }
.faq-summary {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--interactive-surface); border: 1px solid var(--interactive-border);
  font-size: 1.2rem; font-weight: 500; line-height: 0; color: var(--interactive);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.faq-item[open] .faq-summary::after { content: '−'; background: var(--teal-surface); border-color: var(--teal-border); color: var(--teal-light); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-secondary); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  height: 2.75rem;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: var(--accent-surface); border-color: var(--primary); }

.glow-top {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, oklch(0.22 0.04 253 / 0.04) 0%, transparent 70%);
}
.glow-center {
  background: radial-gradient(ellipse 70% 80% at 50% 50%, oklch(0.255 0.065 55 / 0.06) 0%, transparent 70%);
}
.gradient-usp {
  background: linear-gradient(135deg, var(--accent-surface) 0%, var(--warm-surface) 100%);
}
.gradient-teal {
  background: linear-gradient(135deg, var(--teal-surface) 0%, oklch(0.40 0.12 180 / 0.03) 100%);
}

.hero-card {
  background: linear-gradient(145deg, var(--accent-surface) 0%, var(--brand-card) 60%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.hero-card:hover {
  border-color: var(--primary-container);
  box-shadow: 0 0 30px var(--accent-surface), 0 8px 32px oklch(0.22 0.04 253 / 0.08);
  transform: translateY(-3px);
}
.hero-card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--warm-surface) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-number { color: var(--primary); font-family: 'Newsreader', serif; font-weight: 700; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 66%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 66%);
}
.privacy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.10;
  object-position: right center;
  mask-image: linear-gradient(to left, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.page-header-glow {
  background: radial-gradient(ellipse 80% 60% at 60% 0%, oklch(0.22 0.04 253 / 0.04) 0%, transparent 70%);
}

.nav-bg {
  background: color-mix(in oklch, var(--brand-bg) 94%, transparent);
  backdrop-filter: blur(12px);
}
.mobile-menu-bg {
  background: color-mix(in oklch, var(--brand-bg) 99%, transparent);
}
.card-hover {
  background: var(--brand-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.card-hover:hover { border-color: var(--primary-container); }

.input-field {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  background: var(--brand-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-surface); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
  height: 2.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-primary);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
