/* ============================================================
   puntavo — Marketing-Site-Layer
   Baut auf assets/tokens.css (puntavo/move-IT Design-Token) auf.
   Nur Token-Werte, keine neuen Farben ausser color-mix-Ableitungen.
   ============================================================ */

html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { background: var(--c-bg); color: var(--c-text); }

/* ---------- Layout ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 30px; }
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }

/* ---------- Wortmarke ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(155deg, color-mix(in oklab, var(--c-primary) 88%, #fff), var(--c-primary)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.brand-word { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.brand-word .accent { color: var(--c-primary); font-weight: 700; }
.brand--ondark .brand-mark { background: var(--c-shell-accent); color: var(--c-shell-bg-2); }
.brand--ondark .brand-word { color: var(--c-shell-fg-bright); }
.brand--ondark .brand-word .accent { color: var(--c-shell-accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in oklab, var(--c-surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); }
.site-header .container { height: 62px; display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--radius-btn-sm); text-decoration: none; color: var(--c-text-2); font-size: 13.5px; font-weight: 500; transition: background var(--motion-fast), color var(--motion-fast); }
.site-nav a:hover { background: var(--c-surface-3); color: var(--c-text); }
.site-nav a.is-active { color: var(--c-primary); font-weight: 600; }
.header-ctas { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--c-border-strong); background: var(--c-surface); border-radius: var(--radius-btn-sm); color: var(--c-text); place-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; flex: none; height: var(--ctrl-btn-h); padding: 0 20px; border-radius: var(--radius-btn); font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--c-primary-ring); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-hover); }
.btn-secondary { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border-strong); }
.btn-secondary:hover { background: var(--c-surface-3); }
.btn-sm { height: var(--ctrl-btn-h-sm); padding: 0 14px; font-size: 13px; border-radius: var(--radius-btn-sm); }
.btn .arr { transition: transform var(--motion-fast); }
.btn:hover .arr { transform: translateX(3px); }

/* dunkle Fläche */
.on-dark .btn-primary { background: var(--c-shell-accent); color: var(--c-shell-bg-2); }
.on-dark .btn-primary:hover { background: color-mix(in oklab, var(--c-shell-accent) 84%, #fff); }
.on-dark .btn-secondary { background: var(--c-shell-glass); color: var(--c-shell-fg-bright); border-color: var(--c-shell-glass-border-strong); }
.on-dark .btn-secondary:hover { background: var(--c-shell-glass-hover); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-section-label); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-text-3); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--c-primary); }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
.h-display { font-size: 46px; line-height: 1.12; font-weight: 600; }
.h-section { font-size: 30px; line-height: 1.18; font-weight: 600; }
.h-card { font-size: 17px; line-height: 1.3; font-weight: 600; }
.lead { font-size: 16.5px; line-height: 1.6; color: var(--c-text-2); max-width: 640px; text-wrap: pretty; }
.body-2 { font-size: 13.5px; line-height: 1.55; color: var(--c-text-2); text-wrap: pretty; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; max-width: 720px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--c-shell-bg), var(--c-shell-bg-2)); overflow: hidden; }
.hero .h-display { color: var(--c-shell-fg-bright); }
.hero .lead { color: var(--c-shell-fg); }
.hero .eyebrow { color: var(--c-shell-fg-2); }
.hero .eyebrow::before { background: var(--c-shell-accent); }
.hero .hero-trust { color: var(--c-shell-fg); }
.hero .hero-trust svg { color: var(--c-shell-accent); }
.hero .shot-frame { border-color: var(--c-shell-glass-border-strong); box-shadow: var(--shadow-launch); }
.hero-inner { padding: 84px 0 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-inner .lead { max-width: 700px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 6px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 10px; font-size: 13px; color: var(--c-text-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--c-primary); flex: none; }
.hero-shot { margin: 52px auto -2px; width: min(960px, 100%); }

/* Browser-Rahmen für Produkt-Screenshot */
.shot-frame { background: var(--c-surface); border: 1px solid var(--c-border); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-raise); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--c-border); background: var(--c-surface-2); }
.shot-dots { display: flex; gap: 6px; }
.shot-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-border-strong); }
.shot-url { flex: 1; max-width: 320px; margin: 0 auto; height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; background: var(--c-surface-3); font-family: var(--font-mono); font-size: 11.5px; color: var(--c-text-3); }
.shot-frame image-slot { display: block; width: 100%; height: 520px; }
/* Produkt-Screenshot (Platzhalter-Grafik, später durch echtes Bild ersetzbar) */
.shot-img { display: block; width: 100%; height: auto; }
/* Rechtslinks in der schlanken Footer-Leiste der Modulseiten */
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { color: var(--c-primary); }
/* Rechtsseiten (Impressum / Datenschutz) — schlichte Lesetypografie */
.legal { max-width: 760px; }
.legal h2 { font-size: 19px; font-weight: 600; margin: 36px 0 10px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; color: var(--c-text-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--c-primary); }
.legal strong { color: var(--c-text); font-weight: 600; }
.legal .note { font-size: 12.5px; color: var(--c-text-3); margin-top: 28px; }

/* ---------- Karten ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--pad-lg); }

/* Modul-Karten */
.module-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.module-card { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; position: relative; text-decoration: none; color: inherit; transition: transform var(--motion-base) cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow var(--motion-base); overflow: hidden; }
.module-card:nth-child(1), .module-card:nth-child(2) { grid-column: span 3; }
.module-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mod); transform: scaleY(0); transform-origin: top; transition: transform var(--motion-base) cubic-bezier(0.22, 0.61, 0.36, 1); }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raise); }
.module-card:hover::before { transform: scaleY(1); }
.module-card:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--c-primary-ring); }
.mod-chip { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(155deg, color-mix(in oklab, var(--mod) 88%, #fff), var(--mod)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.mod-chip svg { width: 23px; height: 23px; }
.module-card .h-card { display: flex; align-items: baseline; gap: 8px; }
.module-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.module-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--c-text-2); }
.module-feats svg { flex: none; margin-top: 2px; color: var(--mod); }
.module-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-primary); }
.module-card:hover .module-link svg { transform: translateX(3px); }
.module-link svg { transition: transform var(--motion-fast); }

/* ---------- Carrier-Chips ---------- */
.carrier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.carrier-chip { display: flex; align-items: center; justify-content: center; gap: 9px; height: 58px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; color: var(--c-text-2); transition: border-color var(--motion-fast), color var(--motion-fast); }
.carrier-chip:hover { border-color: var(--c-border-strong); color: var(--c-text); }
.carrier-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--s-delivered-fg); flex: none; }
.carrier-chip.is-more { border-style: dashed; color: var(--c-text-3); font-weight: 500; }
.carrier-note { margin-top: 16px; font-size: 12.5px; color: var(--c-text-3); }

/* ---------- Zwei-Spalten-Feature (Automatisierung) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .card { display: flex; flex-direction: column; gap: 12px; }
.duo .mode-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 26px; padding: 0 11px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mode-tag.manual { background: var(--c-primary-soft); color: var(--c-primary); }
.mode-tag.auto { background: var(--s-transit-bg); color: var(--s-transit-fg); }
.proto-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proto-list li { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 12px; color: var(--c-text-2); background: var(--c-surface-3); border: 1px solid var(--c-border); border-radius: 6px; padding: 4px 9px; }

/* ---------- Fakten-Trio (Hosting etc.) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio .card { display: flex; flex-direction: column; gap: 11px; }
.fact-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); }
.fact-ic svg { width: 21px; height: 21px; }

/* ---------- Preismodell-Band ---------- */
.price-band { display: flex; align-items: center; gap: 22px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 22px 28px; margin-top: 18px; }
.price-band .mono { font-size: 13px; color: var(--c-text-2); }
.price-band strong { font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--c-text-2); }
.contact-line svg { color: var(--c-primary); flex: none; }
.contact-line .mono { color: var(--c-text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-border); background: var(--c-surface); padding: 44px 0 36px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-col h4 { margin: 0 0 12px; font-size: var(--fs-section-label); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-text-3); }
.footer-col a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--c-text-2); text-decoration: none; }
.footer-col a:hover { color: var(--c-primary); }
.footer-meta { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--c-border); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--c-text-3); }

/* ---------- Modul-Unterseiten ---------- */
.mod-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.mod-split .shot-frame { border-bottom: 1px solid var(--c-border); border-radius: var(--radius); position: sticky; top: 92px; }
.mod-hero .h-display { font-size: 38px; }
.mod-hero { border-bottom: 1px solid var(--c-border); background: linear-gradient(180deg, color-mix(in oklab, var(--mod) 7%, var(--c-bg)), var(--c-bg)); }
.mod-hero-inner { padding: 64px 0 56px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.mod-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-text-3); text-decoration: none; }
.mod-crumb:hover { color: var(--c-primary); }
.mod-hero-head { display: flex; align-items: center; gap: 16px; }
.feature-rows { display: flex; flex-direction: column; gap: 16px; }
.feature-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: flex-start; }
.feature-row .num { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 13px; font-weight: 600; color: var(--mod); background: color-mix(in oklab, var(--mod) 10%, var(--c-surface)); border: 1px solid color-mix(in oklab, var(--mod) 22%, var(--c-border)); border-radius: var(--radius-sm); height: 36px; display: grid; place-items: center; }
.feature-row h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; }
.pager a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--c-primary); text-decoration: none; }
.pager a:hover svg { transform: translateX(3px); }
.pager a svg { transition: transform var(--motion-fast); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .h-display { font-size: 36px; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 62px; left: 0; right: 0; padding: 10px 20px 16px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-raise); }
  .site-header.nav-open .site-nav a { height: 42px; }
  .mod-split { grid-template-columns: 1fr; gap: 32px; }
  .mod-split .shot-frame { position: static; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module-card, .module-card:nth-child(1), .module-card:nth-child(2) { grid-column: span 1; }
  .carrier-grid { grid-template-columns: repeat(3, 1fr); }
  .trio { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .shot-frame image-slot { height: 360px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .h-display { font-size: 30px; }
  .mod-hero .h-display { font-size: 28px; }
  .hero-inner { padding-top: 56px; }
  .hero-ctas { flex-wrap: wrap; justify-content: center; }
  .module-grid { grid-template-columns: 1fr; }
  .carrier-grid { grid-template-columns: 1fr 1fr; }
  .shot-frame image-slot { height: 240px; }
  .price-band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-meta { flex-direction: column; gap: 6px; }
  .header-demo { display: none; }
  .brand-word { font-size: 19px; }
}
