/* Public marketing pages (home + /beispiele gallery). Loaded alongside app.css,
   reusing its palette (--rose-*, --cream, --gold, --ink) and component classes
   (.topbar, .logo, .btn). Only the marketing-specific layout lives here. */

.site-main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---- top navigation ---- */
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { font-family: var(--sans); font-size: 14px; color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--rose-2); }
.site-nav a.nav-cta { color: var(--rose-2); font-weight: 500; }
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav .nav-hide-sm { display: none; }
  /* app.css hides the wordmark on phones (for the dashboard bar); on the public
     marketing pages we keep the brand visible and let the bar wrap if needed. */
  .topbar { flex-wrap: wrap; row-gap: 6px; }
  .topbar .logo:not([data-i18n]) { display: block; font-size: 20px; }
  .topbar .who { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---- hero ---- */
.site-hero { text-align: center; padding: 54px 0 40px; }
.site-hero .hero-mark { width: 46px; height: 44px; margin: 0 auto 16px; color: var(--gold); }
.site-hero .hero-mark svg path { fill: currentColor; }
.site-hero h1 {
  font-family: var(--serif); font-weight: 500; color: var(--rose-2);
  font-size: clamp(32px, 6vw, 52px); line-height: 1.1; letter-spacing: 0.01em;
}
.site-hero .lede {
  font-family: var(--serif); font-size: clamp(17px, 2.4vw, 21px); color: var(--ink);
  max-width: 640px; margin: 18px auto 0; line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn { width: auto; padding: 13px 26px; font-size: 15px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }

/* ---- generic section ---- */
.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section > h2 {
  font-family: var(--serif); font-weight: 500; color: var(--rose-3);
  font-size: clamp(24px, 3.6vw, 34px); text-align: center; margin-bottom: 6px;
}
.section > .section-sub { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 30px; line-height: 1.6; }

/* ---- occasion / feature grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }
.occasion {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.occasion:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(90,50,60,0.10); border-color: var(--gold-soft); }
.occasion .ic { font-size: 32px; line-height: 1; }
.occasion h3 { font-family: var(--serif); font-size: 22px; color: var(--rose-2); margin: 12px 0 8px; }
.occasion p { font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.occasion .more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--rose-2); font-weight: 500; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step .num {
  width: 42px; height: 42px; border-radius: 999px; margin: 0 auto 12px;
  display: grid; place-items: center; background: var(--rose-2); color: #fff;
  font-family: var(--serif); font-size: 20px;
}
.step h3 { font-family: var(--serif); font-size: 20px; color: var(--rose-3); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink); line-height: 1.6; }

/* ---- CTA band ---- */
.cta-band {
  text-align: center; background: linear-gradient(150deg, var(--rose-1), var(--rose-3));
  color: #fbeee4; border-radius: 22px; padding: 44px 26px; margin: 44px 0;
}
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 32px); color: #fff; }
.cta-band p { max-width: 560px; margin: 12px auto 24px; line-height: 1.6; color: #f1d9cc; }
.cta-band .btn { width: auto; padding: 13px 28px; background: #fbeee4; color: var(--rose-3); font-size: 15px; }
.cta-band .btn:hover { background: #fff; }

/* ---- gallery ---- */
.gallery-group { padding-top: 34px; }
.gallery-group > h2 {
  font-family: var(--serif); font-weight: 500; color: var(--rose-3);
  font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 4px; scroll-margin-top: 80px;
}
.gallery-group > p.group-sub { color: var(--ink-soft); margin-bottom: 22px; line-height: 1.6; max-width: 680px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr; } }

.ex-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ex-frame { position: relative; height: 420px; background: var(--cream-2); overflow: hidden; }
.ex-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.ex-frame .ex-frame-link { position: absolute; inset: 0; z-index: 2; display: block; }
.ex-frame .ex-open-hint {
  position: absolute; right: 12px; top: 12px; z-index: 3; background: rgba(255,255,255,0.92);
  color: var(--rose-2); font-size: 12.5px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.ex-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.ex-badge { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em; }
.ex-body h3 { font-family: var(--serif); font-size: 21px; color: var(--rose-2); }
.ex-body p { font-size: 14px; color: var(--ink); line-height: 1.55; }
.ex-body .btn { width: auto; align-self: flex-start; margin-top: 6px; padding: 10px 20px; font-size: 14px; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 18px; color: var(--rose-3); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink); line-height: 1.65; font-size: 15px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 20px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--rose-2); }
.site-footer .foot-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

/* Per-group "try it yourself" CTA under each Beispielkarten gallery group,
   and the no-signup try band on the landing page. */
.group-try { margin-top: 22px; text-align: center; }
.group-try .btn { width: auto; padding: 12px 24px; font-size: 15px; }
.try-band { text-align: center; }
.try-band .try-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.try-band .btn { width: auto; padding: 12px 24px; font-size: 15px; }
.try-band .try-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft, #7a6a66); }

/* Legal pages (Impressum / Datenschutz): a readable single column. */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 22px 60px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--rose-2); margin-bottom: 10px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--rose-2); margin: 30px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--rose-2); }
.legal .legal-meta { font-size: 13px; color: var(--ink-soft); }
