/* CMS Pay – cms-pay.de, Design 2 (ruhig, viel Weißraum, Orange nur als Akzent) */
:root {
  --ink: #1D1D1F;
  --muted: #5E6670;
  --line: #D9DEE3;
  --bg: #FFFFFF;
  --bg-soft: #F3F7FA;
  --dark: #1A2A3A;
  --dark-muted: #A9B6C2;
  --brand: #FFAB41;
  --brand-hover: #FF9D21;
  --brand-text: #B86A00;
  --success: #5DC8A2;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 64px; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Navigation */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.nav-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 16px; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 28px; height: 29px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; }
.nav-links a { color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 980px;
  background: var(--brand); color: var(--dark); font-weight: 700; font-size: 17px;
  transition: background-color .2s ease;
}
.pill:hover { background: var(--brand-hover); text-decoration: none; }
.pill--small { min-height: 32px; padding: 0 16px; font-size: 13px; }
.more { font-size: 19px; font-weight: 500; }

/* Abschnitte */
.section { padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #F5F7FA; }
.center { text-align: center; }
.eyebrow { font-size: 19px; font-weight: 700; color: var(--brand-text); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--brand); }
.h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.lead { margin-top: 18px; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--muted); }
.section--dark .lead { color: var(--dark-muted); }
.center .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 32px; }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; }
.hero-stage {
  margin: 64px auto 0; max-width: 980px; height: clamp(260px, 40vw, 440px);
  border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.hero-stage img { width: clamp(180px, 26vw, 300px); filter: drop-shadow(0 30px 40px rgba(26,42,58,.2)); }
.chips { list-style: none; margin: 28px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.chips li { padding: 8px 14px; border-radius: 980px; background: var(--bg-soft); font-size: 14px; font-weight: 600; }
.trust-line { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Schutz */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { background: #fff; border-radius: var(--radius); padding: 40px; }
.tile--hero {
  grid-column: 1 / -1; background: var(--dark); color: #F5F7FA;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 56px 48px;
}
.tile--hero .kicker { color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.tile--hero .big { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; max-width: 600px; }
.tile--hero .small { color: var(--dark-muted); }
.stat { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-text { margin-top: 12px; font-size: 18px; color: var(--muted); }
.footnote { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* Zahlungsarten */
.methods { list-style: none; margin: 48px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; }
.methods li { padding: 16px 26px; border-radius: 980px; background: var(--bg-soft); font-size: 18px; font-weight: 700; }

/* Sicherheit */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 72px; text-align: left; }
.point-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--brand); color: var(--brand); margin-bottom: 18px;
}
.point-icon svg { width: 24px; height: 24px; }
.point h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.point p { color: var(--dark-muted); }
.section--dark a { color: var(--brand); }

/* Echtes CMS Pay */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; font-size: 18px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--success); color: var(--dark);
  font-size: 13px; font-weight: 900; line-height: 24px; text-align: center;
}
.checks strong { display: block; }
.checks span { color: var(--muted); }

/* Shops */
.shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.shop { background: #fff; border-radius: var(--radius); padding: 48px 40px; display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.shop-domain { font-size: 14px; font-weight: 600; color: var(--muted); }
.shop h3 { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.shop p { font-size: 18px; color: var(--muted); flex: 1; }
.shop .chips { justify-content: flex-start; margin: 0; }
.shop .chips li { background: var(--bg-soft); font-size: 12px; padding: 5px 10px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--brand-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; color: var(--muted); }
.faq-more { margin-top: 32px; }

/* Unterseiten */
.page-head { padding: 80px 0 24px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 56px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.facts > div { background: var(--bg-soft); border-radius: 20px; padding: 22px; }
.facts dt { font-size: 22px; font-weight: 800; }
.facts dd { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* Rechtstexte (Impressum, Datenschutz) */
.legal { max-width: 760px; padding-top: 64px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal ul { margin: 0 0 12px; }

/* Footer */
.site-footer { background: var(--bg-soft); margin-top: 0; padding: 28px 0 36px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink); }
main + .site-footer { margin-top: 96px; }
.home + .site-footer { margin-top: 0; }

/* Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Mobil */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento, .points, .facts { grid-template-columns: 1fr; }
  .split, .shops { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 64px; }
  .tile, .shop { padding: 32px 24px; }
  .tile--hero { padding: 36px 24px; }
}
