/* Marketing-Seite: seitenspezifische Regeln AUF dem gemeinsamen Design-System
   (design-system.css muss vorher geladen sein). Tokens, Buttons, Reveal, Toasts usw.
   kommen von dort und werden hier nicht neu definiert.

   Klassen, die main.js benutzt und deshalb bleiben muessen: .bento-card, .expanded,
   .bento-expand, .demo-hint, .toggle-opt, .active, .pricing-grid[hidden]. */

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 800;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color var(--dur-fast); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  /* Ein einzelner Akzent-Schein hinter dem Hero, sonst nirgends: haelt die Seite ruhig */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 70% 5%, var(--accent-soft), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1; margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17.5px; color: var(--text-dim); max-width: 44ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stilisierte 9:16-Darstellung: kein Foto, kein Fake-Screenshot. Zeigt den echten
   Untertitel-Stil (Pill-Badges) und deutet Reframe per Eckmarken an. */
.hero-visual {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 30% 15%, var(--accent-soft), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    linear-gradient(175deg, #171a22, var(--bg) 70%);
  box-shadow: var(--shadow-lg);
}
.hero-visual::after {
  /* langsamer Scan-Balken: "wird gerade analysiert" */
  content: ""; position: absolute; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, transparent, var(--accent-soft), transparent);
  animation: scan 5s var(--ease-out) infinite; opacity: .7;
}
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
.hero-visual .crop-marks span {
  position: absolute; width: 24px; height: 24px;
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  border-style: solid; border-width: 0;
}
.hero-visual .crop-marks .tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; border-radius: 4px 0 0 0; }
.hero-visual .crop-marks .tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 4px 0 0; }
.hero-visual .crop-marks .bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 4px; }
.hero-visual .crop-marks .br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 4px 0; }
.hero-visual .glyph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); color: var(--accent); opacity: .9; }
.hero-visual .caption-demo { position: absolute; left: 16px; right: 16px; bottom: 22px; display: flex; justify-content: center; gap: 6px; }
.hero-visual .caption-demo span {
  background: #000; color: var(--text);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  padding: 6px 11px; border-radius: 7px;
  animation: pop .5s var(--ease-out) both;
}
.hero-visual .caption-demo span:nth-child(2) { animation-delay: .12s; }
.hero-visual .caption-demo span:nth-child(3) { animation-delay: .24s; }
.hero-visual .caption-demo span.hi { background: var(--accent); color: var(--accent-ink); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Sektionen ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin: 0 0 12px; }
.section-head p { color: var(--text-dim); font-size: 16px; max-width: 60ch; }

/* ---------- Feature-Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; background: var(--panel);
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  transition: border-color var(--dur-fast), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.bento-card:hover, .bento-card:focus-visible { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow); outline: none; }
.bento-card:focus-visible { box-shadow: var(--shadow), 0 0 0 2px var(--accent); }
.bento-card.wide { grid-column: span 4; }
.bento-card.narrow { grid-column: span 2; }
.bento-card.half { grid-column: span 3; }
.bento-card.accent { background: linear-gradient(155deg, var(--accent-soft), var(--panel) 60%); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.icon-badge {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.bento-card h3 { font-size: 18px; }
.bento-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.demo-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: 4px; }

/* Inline-Aufklappen (main.js) */
.bento-card.expanded { grid-column: 1 / -1; }
.bento-expand { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.bento-card.expanded .bento-expand { margin-top: 6px; }
.bento-expand-video { width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.bento-expand-video video { width: 100%; height: 100%; object-fit: cover; }
.bento-expand-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(160deg, var(--panel-2), var(--bg) 75%); color: var(--text-faint); }
.bento-expand-placeholder p { font-size: 12.5px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-raised); position: relative;
}
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Demo ---------- */
.demo-shell { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); display: grid; grid-template-columns: 1fr 1fr; }
.demo-media { position: relative; aspect-ratio: 16/10; }
.demo-placeholder { width: 100%; height: 100%; background: radial-gradient(80% 100% at 20% 0%, var(--accent-soft), transparent 60%), linear-gradient(160deg, var(--panel-2), var(--bg) 75%); }
.demo-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.demo-play .circle { width: 64px; height: 64px; border-radius: 50%; background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.demo-copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.demo-copy h3 { font-size: 22px; }
.demo-copy p { color: var(--text-dim); font-size: 15px; }

/* ---------- Zielgruppe ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; background: var(--bg-raised); }
.audience-card h3 { font-size: 19px; margin: 0 0 10px; }
.audience-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ---------- Preis-Umschalter ---------- */
.price-toggle { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px; margin-bottom: 32px; }
.toggle-opt { padding: 9px 18px; border-radius: var(--radius-pill); border: none; background: none; color: var(--text-dim); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.toggle-opt.active { background: var(--accent); color: var(--accent-ink); }

/* ---------- Preise ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
/* [hidden] verliert sonst gegen die Klassenregel (bekanntes Spezifitaets-Muster) */
.pricing-grid[hidden] { display: none; }
.pricing-grid.payg-3col { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.overage-note { color: var(--text-faint); font-size: 12.5px; margin: 0 0 14px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; background: var(--panel); display: flex; flex-direction: column; transition: border-color var(--dur-fast), transform var(--dur) var(--ease-out); }
.price-card:hover { border-color: var(--border-strong); }
.price-card.featured { background: var(--bg-raised); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -24px var(--accent-glow); transform: translateY(-6px); }
.price-card.anchor { background: linear-gradient(165deg, var(--accent-soft), var(--panel) 45%); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.price-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: var(--radius-pill); align-self: flex-start; margin-bottom: 14px; }
.price-card h3 { font-size: 18px; margin: 0 0 4px; }
.price-card .tagline { color: var(--text-faint); font-size: 13px; margin: 0 0 20px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.price-amount .num { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.price-amount .note { color: var(--text-faint); font-size: 13.5px; }
.price-features { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-dim); }
.price-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--ok); }
.price-card .btn { width: 100%; }
.payg-footnote { margin: 20px 0 0; font-size: 13.5px; color: var(--text-faint); max-width: 60ch; line-height: 1.6; }

/* ---------- Sponsoring ---------- */
.sponsor-band { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raised); padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.sponsor-band h3 { font-size: 24px; margin: 0 0 12px; }
.sponsor-band p { color: var(--text-dim); font-size: 15px; margin: 0 0 20px; max-width: 50ch; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-dim); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 12px; }
.status-chip .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.sponsor-visual { border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sponsor-visual .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-faint); }
.sponsor-visual .row b { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex-shrink: 0; margin-left: 16px; transition: transform var(--dur) var(--ease-out); }
.faq-list details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-list p { color: var(--text-dim); font-size: 14.5px; margin: 12px 0 0; max-width: 65ch; line-height: 1.6; }

/* ---------- Schluss-CTA ---------- */
.cta-band { border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--panel), var(--bg-raised)); border: 1px solid var(--border); padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; margin: 0 0 8px; max-width: 22ch; }
.cta-band p { color: var(--text-dim); font-size: 15px; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-col p { color: var(--text-faint); font-size: 13.5px; line-height: 1.6; max-width: 40ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border-soft); padding-top: 24px; }
.footer-bottom span { color: var(--text-faint); font-size: 13px; }

/* ---------- Rechtsseiten (Impressum, Datenschutz, AGB) ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; }
.legal h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.legal h2 { font-size: 18px; margin: 36px 0 12px; }
.legal p { color: var(--text-dim); margin: 0 0 14px; line-height: 1.65; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }
.legal table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 13.5px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; vertical-align: top; color: var(--text-dim); }
.legal th { background: var(--panel); color: var(--text); font-weight: 600; }
.legal .note { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; color: var(--text); }
.legal .back { display: inline-block; margin-top: 24px; font-family: var(--font-display); font-weight: 700; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: 100%; max-width: 420px; margin: 0 auto 8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide, .bento-card.narrow, .bento-card.half { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .demo-shell { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid.payg-3col { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .sponsor-band { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  .pricing-grid, .pricing-grid.payg-3col { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide, .bento-card.narrow, .bento-card.half { grid-column: span 1; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .nav-actions .btn-ghost { display: none; }
}
