/* ============================================================
   margheritaAI — Branchen-Landingpages (SEO)
   Baut auf styles.css (Tokens + Basis-Komponenten) auf.
   Eigenständige, voll statische Seiten — kein React/JS nötig.
   ============================================================ */

/* --- Breadcrumb ------------------------------------------------ */
.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 0 0;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--violet); }
.crumb span { color: var(--ink); }

/* --- Landing-Hero (Split: Text + Bild) ------------------------- */
.lhero { padding: 56px 0 96px; position: relative; overflow: hidden; }
.lhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(236,72,153,0.10), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(124,58,237,0.10), transparent 60%);
  pointer-events: none;
}
.lhero > * { position: relative; z-index: 1; }
.lhero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .lhero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lhero { padding: 32px 0 64px; }
}
.lhero h1.display { text-align: left; }
.lhero-sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  margin: 28px 0 0;
  max-width: 46ch;
}
.lhero .hero-cta { justify-content: flex-start; }
.lhero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.lhero-meta span::before { content: "✦ "; color: var(--mint-deep); }

/* Hero visual: gestapelte Vorlagen-Karten mit Ink-Border + Hard-Shadow */
.lhero-visual { position: relative; }
.lhero-visual .shot {
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 3 / 4;
}
.lhero-visual .shot img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.lhero-visual .shot--back {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  top: 18%; right: -6%;
  transform: rotate(6deg);
  box-shadow: 6px 6px 0 var(--ink);
  z-index: -1;
}
@media (max-width: 540px) { .lhero-visual .shot--back { display: none; } }

/* --- Benefit-Karten ------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,23,42,0.06);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit-glyph {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--gradient-hero);
  color: #fff;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.benefit p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* --- Vorlagen-Galerie ----------------------------------------- */
.tpl-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .tpl-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tpl-gallery { grid-template-columns: 1fr; } }
.tpl-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tpl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpl-card .frame { aspect-ratio: 3 / 4; background: var(--bg-3); overflow: hidden; }
.tpl-card .frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.tpl-card:hover .frame img { transform: scale(1.04); }
.tpl-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; font-size: 14px;
}
.tpl-card .meta .kind {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet);
}

/* --- Workflow-Schritte ---------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 4px; }
.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* --- FAQ (pure CSS via <details>) ------------------------------ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(15,23,42,0.1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 24px;
  color: var(--violet);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0; padding: 0 0 24px;
  font-size: 16px; line-height: 1.6; color: var(--muted);
  max-width: 70ch;
}

/* --- Großer CTA-Block ------------------------------------------ */
.cta-band {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) { .cta-band { padding: 48px 24px; } }
.cta-band h2 { color: #fff; margin: 0 auto; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 18px; margin: 18px auto 32px; max-width: 52ch; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: transparent; }
.cta-band .btn:hover { background: #fff; }

/* Anchor-Offset für die Sticky-Nav */
[id] { scroll-margin-top: 88px; }
