/* Cafe Extrablatt – Pitch-Vorschau ─────────────────────────────────────── */

:root {
  /* 5 Farb-Rollen */
  --bg: #0e0a08;          /* Seite (dark) */
  --bg-alt: #f7f1e8;      /* Cream-Sektion (warmes Papier) */
  --surface: #1a1311;     /* Karten in dark */
  --surface-alt: #ffffff; /* Karten in cream */
  --text: #1a1311;        /* Body in cream */
  --text-inv: #f7f1e8;    /* Body in dark */
  --muted: #8b7d75;       /* Sub-Text */
  --muted-inv: #b8a89e;   /* Sub-Text auf dark */
  --accent: #ef1c25;      /* Extrablatt-Rot */
  --accent-hover: #c8141c;
  --line: rgba(26, 19, 17, 0.08);
  --line-inv: rgba(247, 241, 232, 0.10);
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--text-inv);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* CTA-Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 3rem;
  padding: 0 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(239, 28, 37, 0.55);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost-light {
  background: transparent;
  color: var(--text-inv);
  border: 1px solid rgba(247, 241, 232, 0.25);
}
.btn-ghost-light:hover { background: rgba(247, 241, 232, 0.08); }
.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(26, 19, 17, 0.18);
}
.btn-ghost-dark:hover { background: rgba(26, 19, 17, 0.05); }

.btn-icon { width: 1.1rem; height: 1.1rem; transition: transform .25s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

/* Header */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
header.site-header.is-scrolled {
  background: rgba(14, 10, 8, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-inv);
}

.logo-mark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Hero */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('./img/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,10,8,0.55) 0%, rgba(14,10,8,0.45) 50%, rgba(14,10,8,0.92) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(239, 28, 37, 0.18), transparent 55%);
  z-index: 1;
}
.hero-glow-1 {
  position: absolute;
  width: 520px; height: 520px;
  left: -120px; top: 35%;
  background: radial-gradient(circle, rgba(239, 28, 37, 0.32), transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
@media (min-width: 768px) {
  .hero-headline { letter-spacing: -0.045em; }
}
.hero-headline .accent { color: var(--accent); }

/* Floating-Badge auf Hero-Bild (Desktop only) */
.badge-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--text);
}

/* Trust-Bar */
.trust-card {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  border-radius: 1.25rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -16px rgba(26, 19, 17, 0.18);
}
.trust-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.trust-num.is-accent { color: var(--accent); }

/* Leistungs-Karten */
.svc-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-inv);
  transition: transform .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(239,28,37,0.35); }
.svc-card .svc-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.svc-card .svc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.05); }
.svc-card .svc-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,10,8,0.55) 100%);
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(247, 241, 232, 0.06);
  color: var(--muted-inv);
  border: 1px solid var(--line-inv);
}

/* Story */
.story-img-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(239,28,37,0.22), transparent 65%);
  z-index: -1;
  filter: blur(40px);
}
.facts-list {
  border-top: 1px solid var(--line);
}
.facts-list > li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

/* Stimmen */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line-inv);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, border-color .35s ease;
}
.quote-card:hover { transform: translateY(-4px); border-color: rgba(239,28,37,0.35); }
.quote-mark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: -0.4rem;
}
.quote-author { color: var(--text-inv); font-weight: 600; }
.quote-role { color: var(--muted-inv); font-size: 0.85rem; }

/* CTA-Sektion (Akzent — die EINE auf der Seite) */
.cta-section {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(0,0,0,0.18), transparent 55%);
  pointer-events: none;
}
.cta-section .btn-on-accent {
  background: #ffffff;
  color: var(--accent);
  border: none;
}
.cta-section .btn-on-accent:hover { background: #1a1311; color: #fff; }
.cta-section .btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.cta-section .btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* Footer */
.site-footer { background: #07050410; }

/* Section-Anim Defaults */
.reveal { opacity: 0; transform: translateY(30px); }

/* Typografie-Skalen */
.headline-xl {
  font-size: clamp(2.5rem, 5vw + 1rem, 5.75rem);
  line-height: 1.02;
}
.headline-lg {
  font-size: clamp(2rem, 3.5vw + .5rem, 4rem);
  line-height: 1.05;
}
.headline-md {
  font-size: clamp(1.5rem, 2vw + .5rem, 2.5rem);
  line-height: 1.1;
}

/* Newspaper-Akzent für "Extrablatt"-Vibe */
.newspaper-rule {
  height: 6px;
  background:
    linear-gradient(to bottom,
      var(--accent) 0,
      var(--accent) 2px,
      transparent 2px,
      transparent 3px,
      var(--accent) 3px,
      var(--accent) 4px,
      transparent 4px);
}

/* Mobile Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(14,10,8, 0.97);
  backdrop-filter: blur(16px);
  z-index: 60;
  display: none;
  flex-direction: column;
  padding: 5.5rem 1.5rem 2rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font-size: 1.5rem; font-weight: 600; color: var(--text-inv); padding: 0.6rem 0; }

/* Reduce-Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
