/* ============================================================
   FB Pro GmbH — public site. Light, editorial, technical.
   Deliberately NOT the dark-glow SaaS template.
   All selectors scoped under .mkt.
   ============================================================ */
.mkt {
    --brand: #9e2b2b;
    --brand2: #822323;
    --brand-ink: #7c2020;
    --brand-tint: #f7ece9;
    --brand-line: #e7cdc8;
    --bg: #ffffff;
    --bg2: #f7f5f2;
    --ink: #1b1917;
    --ink2: #524d49;
    --ink3: #8a837d;
    --line: #e8e3dc;
    --line2: #d9d2c9;
    --dark: #1a1715;

    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-font, "Segoe UI", system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
.mkt * { box-sizing: border-box; }
.mkt ::selection { background: #f0d3cf; color: var(--brand-ink); }
.mkt a { color: inherit; text-decoration: none; }
.mkt-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.mkt-mono { font-family: var(--f-font-mono, monospace); }
.mkt-eyebrow { font-family: var(--f-font-mono, monospace); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.mkt h1, .mkt h2, .mkt h3 { margin: 0; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
.mkt-u { color: var(--brand); }

/* ── Buttons ───────────────────────────────────────────── */
.mkt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.94rem; padding: 0.72rem 1.3rem; border: 1px solid transparent; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; white-space: nowrap; border-radius: 2px; }
.mkt-btn svg { width: 17px; height: 17px; }
.mkt-btn--primary { background: var(--brand); color: #fff; }
.mkt-btn--primary:hover { background: var(--brand2); color: #fff; }
.mkt-btn--outline { background: transparent; color: var(--ink); border-color: var(--line2); }
.mkt-btn--outline:hover { border-color: var(--ink); }
.mkt-btn--text { background: transparent; color: var(--ink); padding-left: 0.3rem; padding-right: 0.3rem; }
.mkt-btn--text:hover { color: var(--brand); }
.mkt-btn--lg { padding: 0.85rem 1.6rem; font-size: 1rem; }
.mkt-btn--sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; }

/* ── Header ────────────────────────────────────────────── */
.mkt-topbar { background: var(--dark); color: #cbbfb9; font-size: 0.78rem; }
.mkt-topbar-inner { max-width: 1160px; margin: 0 auto; padding: 0.4rem 1.5rem; display: flex; gap: 1.5rem; align-items: center; }
.mkt-topbar a { color: #cbbfb9; }
.mkt-topbar a:hover { color: #fff; }
.mkt-topbar .sp { margin-left: auto; }
.mkt-topbar b { color: #fff; font-weight: 600; }

.mkt-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.mkt-header-inner { display: flex; align-items: center; gap: 1.25rem; height: 66px; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.mkt-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.mkt-brand img { width: 34px; height: 34px; border-radius: 8px; }
.mkt-brand b { color: var(--brand); font-weight: 700; }
.mkt-nav { display: flex; gap: 0.1rem; margin-left: 1.25rem; }
.mkt-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink2); padding: 0.5rem 0.8rem; transition: color 0.15s ease; }
.mkt-nav a:hover { color: var(--brand); }
.mkt-header-cta { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.mkt-header-cta .mkt-link { font-size: 0.92rem; font-weight: 600; color: var(--ink2); }
.mkt-header-cta .mkt-link:hover { color: var(--brand); }
.mkt-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; border-radius: 2px; }
.mkt-burger svg { width: 22px; height: 22px; }
.mkt-mobile { display: none; }

/* logged-in header bits */
.mkt-acct { display: inline-flex; align-items: center; gap: 0.5rem; }
.mkt-acct-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt-logout { margin: 0; display: inline-flex; }
.mkt-logout button { background: #fff; border: 1px solid var(--line2); color: var(--ink2); font-family: inherit; font-size: 0.88rem; font-weight: 600; padding: 0.5rem 0.9rem; cursor: pointer; border-radius: 2px; }
.mkt-logout button:hover { border-color: var(--ink); color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────── */
.mkt-hero { border-bottom: 1px solid var(--line); }
.mkt-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; padding: 4.5rem 0 4rem; }
.mkt-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; margin: 1.2rem 0 0; }
.mkt-hero .sub { color: var(--ink2); font-size: 1.1rem; line-height: 1.6; max-width: 46ch; margin: 1.5rem 0 2rem; }
.mkt-hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.mkt-hero-meta { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 2rem; flex-wrap: wrap; }
.mkt-hero-meta .m .k { font-family: var(--f-font-mono, monospace); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.mkt-hero-meta .m .l { font-size: 0.82rem; color: var(--ink3); margin-top: 0.15rem; }

/* Hero report card (flat, not glowy) */
.mkt-report { background: #fff; border: 1px solid var(--line2); border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(40,20,18,0.25); overflow: hidden; }
.mkt-report-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--bg2); }
.mkt-report-bar .t { font-weight: 600; font-size: 0.9rem; }
.mkt-report-bar .stamp { margin-left: auto; font-family: var(--f-font-mono, monospace); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); border: 1px solid var(--brand-line); background: var(--brand-tint); padding: 0.2rem 0.5rem; border-radius: 2px; }
.mkt-report-meta { display: flex; gap: 1.2rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--ink3); flex-wrap: wrap; }
.mkt-report-meta b { color: var(--ink2); font-weight: 600; }
.mkt-report-prog { padding: 1rem 1.1rem 0.4rem; }
.mkt-report-prog .row { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 0.45rem; }
.mkt-report-prog .row b { font-family: var(--f-font-mono, monospace); }
.mkt-report-track { height: 6px; background: #eee7e0; border-radius: 0; overflow: hidden; }
.mkt-report-fill { height: 100%; background: var(--brand); width: 0; transition: width 1.2s cubic-bezier(0.2,0.8,0.2,1); }
.mkt-report.in .mkt-report-fill { width: 100%; }
.mkt-report-rules { padding: 0.6rem 1.1rem 1.1rem; display: flex; flex-direction: column; }
.mkt-report-rule { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--ink2); }
.mkt-report-rule:last-child { border-bottom: 0; }
.mkt-report-rule .nm { font-family: var(--f-font-mono, monospace); font-size: 0.8rem; flex: 1; }
.mkt-report-rule .ck { width: 18px; height: 18px; color: var(--brand); flex: none; }
.mkt-report-rule .ck svg { width: 18px; height: 18px; }
.mkt-report-foot { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--ink3); background: var(--bg2); }

/* ── Certification band ────────────────────────────────── */
.mkt-cert { border-bottom: 1px solid var(--line); background: var(--bg2); }
.mkt-cert-inner { padding: 1.5rem 0; display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.mkt-cert-label { font-family: var(--f-font-mono, monospace); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); }
.mkt-cert-item { font-weight: 600; font-size: 0.95rem; color: var(--ink2); display: inline-flex; align-items: center; gap: 0.5rem; }
.mkt-cert-item::before { content: ""; width: 8px; height: 8px; background: var(--brand); display: inline-block; }

/* ── Section scaffolding ───────────────────────────────── */
.mkt-section { padding: 5.5rem 0; border-bottom: 1px solid var(--line); }
.mkt-section.alt { background: var(--bg2); }
.mkt-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.mkt-sec-num { font-family: var(--f-font-mono, monospace); font-size: 0.78rem; font-weight: 600; color: var(--brand); letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.mkt-h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; max-width: 20ch; }
.mkt-sec-intro { color: var(--ink2); font-size: 1.05rem; line-height: 1.6; max-width: 44ch; }

/* ── Systems grid ──────────────────────────────────────── */
.mkt-sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.mkt-sys-item { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 0.85rem; }
.mkt-sys-item .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--brand); background: var(--brand-tint); border-radius: 3px; }
.mkt-sys-item .ic svg { width: 20px; height: 20px; }
.mkt-sys-item .nm { font-weight: 650; font-size: 0.96rem; }
.mkt-sys-item .ds { font-size: 0.8rem; color: var(--ink3); }
.mkt-sys-item:nth-child(3n) { border-right: 0; }

/* ── Process ───────────────────────────────────────────── */
.mkt-proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.mkt-proc-step { padding: 0 1.5rem 0 0; border-top: 2px solid var(--ink); padding-top: 1.1rem; margin-right: 1.5rem; }
.mkt-proc-step:last-child { margin-right: 0; }
.mkt-proc-step .n { font-family: var(--f-font-mono, monospace); font-size: 0.78rem; color: var(--brand); font-weight: 700; }
.mkt-proc-step h3 { font-size: 1.15rem; font-weight: 700; margin: 0.6rem 0 0.5rem; }
.mkt-proc-step p { color: var(--ink2); font-size: 0.9rem; line-height: 1.55; }

/* ── Feature rows ──────────────────────────────────────── */
.mkt-feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.mkt-feat-item { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.mkt-feat-item:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--line); }
.mkt-feat-item:nth-child(even) { padding-left: 2rem; }
.mkt-feat-item .hd { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.mkt-feat-item .hd .ic { width: 22px; height: 22px; color: var(--brand); }
.mkt-feat-item h3 { font-size: 1.1rem; font-weight: 700; }
.mkt-feat-item p { color: var(--ink2); font-size: 0.92rem; line-height: 1.6; }

/* ── Split (compliance) ────────────────────────────────── */
.mkt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.mkt-quote { border-left: 3px solid var(--brand); padding: 0.4rem 0 0.4rem 1.5rem; }
.mkt-quote p { font-size: 1.3rem; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.mkt-checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.mkt-checklist li { display: flex; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink2); }
.mkt-checklist li:last-child { border-bottom: 0; }
.mkt-checklist svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 1px; }
.mkt-checklist b { color: var(--ink); }

/* ── FAQ accordion (matches FB Pro brick bars) ─────────── */
.mkt-faq { display: flex; flex-direction: column; gap: 0.5rem; max-width: 880px; }
.mkt-faq details { border-radius: 2px; overflow: hidden; }
.mkt-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--brand); color: #fff; font-weight: 600; font-size: 1rem; transition: background 0.15s ease; }
.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary:hover { background: var(--brand2); }
.mkt-faq summary .chev { margin-left: auto; flex: none; width: 18px; height: 18px; transition: transform 0.2s ease; }
.mkt-faq details[open] summary .chev { transform: rotate(180deg); }
.mkt-faq .ans { padding: 1.1rem 1.25rem 1.3rem; border: 1px solid var(--line); border-top: 0; color: var(--ink2); font-size: 0.96rem; line-height: 1.65; background: #fff; }

/* ── Pricing / contract ────────────────────────────────── */
.mkt-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mkt-plan { border: 1px solid var(--line2); border-radius: 4px; padding: 1.75rem; background: #fff; display: flex; flex-direction: column; }
.mkt-plan.feat { border-color: var(--brand); border-width: 1.5px; }
.mkt-plan .tag { font-family: var(--f-font-mono, monospace); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.mkt-plan h3 { font-size: 1.25rem; font-weight: 700; margin: 0.4rem 0 0.2rem; }
.mkt-plan .cap { font-size: 0.85rem; color: var(--ink3); }
.mkt-plan .amt { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 1.1rem 0 0.1rem; }
.mkt-plan .amt small { font-size: 0.82rem; font-weight: 500; color: var(--ink3); }
.mkt-plan .per { font-size: 0.8rem; color: var(--ink3); margin-bottom: 1.3rem; }
.mkt-plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mkt-plan li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink2); padding: 0.4rem 0; }
.mkt-plan li svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 2px; }
.mkt-plan .mkt-btn { margin-top: auto; }

/* ── CTA ───────────────────────────────────────────────── */
.mkt-ctaband { background: var(--dark); color: #fff; padding: 4.5rem 0; }
.mkt-ctaband h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.mkt-ctaband p { color: #b7aca6; font-size: 1.05rem; margin: 1rem 0 2rem; max-width: 46ch; line-height: 1.6; }
.mkt-ctaband .mkt-btn--outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.mkt-ctaband .mkt-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ── Footer ────────────────────────────────────────────── */
.mkt-footer { background: var(--dark); color: #b7aca6; padding: 4rem 0 2rem; }
.mkt-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.mkt-foot-brand .mkt-brand { color: #fff; margin-bottom: 0.9rem; }
.mkt-foot-brand .mkt-brand b { color: #e3a59e; }
.mkt-foot-brand p { color: #948a85; font-size: 0.88rem; line-height: 1.6; max-width: 32ch; }
.mkt-foot-col h4 { font-family: var(--f-font-mono, monospace); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #7d736e; margin: 0 0 1rem; font-weight: 600; }
.mkt-foot-col a { display: block; color: #b7aca6; font-size: 0.9rem; padding: 0.3rem 0; }
.mkt-foot-col a:hover { color: #fff; }
.mkt-foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: #7d736e; font-size: 0.83rem; }

/* ── Reveal ────────────────────────────────────────────── */
.mkt-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.mkt-reveal.in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1000px) {
    .mkt-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .mkt-hero-visual { max-width: 480px; }
    .mkt-sys { grid-template-columns: repeat(2, 1fr); }
    .mkt-sys-item:nth-child(3n) { border-right: 1px solid var(--line); }
    .mkt-sys-item:nth-child(2n) { border-right: 0; }
    .mkt-proc { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
    .mkt-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .mkt-plans { grid-template-columns: 1fr; }
    .mkt-foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
    .mkt-topbar { display: none; }
    .mkt-nav, .mkt-header-cta .mkt-link, .mkt-header-cta .mkt-btn, .mkt-acct, .mkt-logout { display: none; }
    .mkt-burger { display: flex; }
    .mkt-mobile { display: none; flex-direction: column; padding: 0.75rem 1.5rem 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
    .mkt-mobile.open { display: flex; }
    .mkt-mobile a { padding: 0.7rem 0.4rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
    .mkt-mobile .mkt-btn { margin-top: 0.75rem; }
    .mkt-mobile form { margin: 0.5rem 0 0; }
    .mkt-mobile .mkt-logout button { width: 100%; }
    .mkt-section { padding: 3.5rem 0; }
    .mkt-sys, .mkt-feat, .mkt-proc { grid-template-columns: 1fr; }
    .mkt-sys-item, .mkt-feat-item { border-right: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
    .mkt-feat-item:nth-child(odd) { border-right: 0; }
    .mkt-foot-grid { grid-template-columns: 1fr; }
}
/* Audit-Hinweis-Box auf der Home-Seite */
.mkt-audit-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--brand-tint);
    border: 1px solid var(--brand-line);
    border-radius: 0.5rem;
    padding: 0.85rem 1.1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--ink2);
    line-height: 1.5;
}
.mkt-audit-note svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--brand); }

/* Compliance-Balken im Admin-Audit-Tab */
.audit-bar-wrap {
    height: 6px;
    border-radius: 3px;
    background: var(--f-surface-2, #e8e3dc);
    overflow: hidden;
    margin-bottom: 0.2rem;
}
.audit-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}
.audit-bar--ok   { background: var(--f-success-fg, #2e7d32); }
.audit-bar--warn { background: #e6a817; }
.audit-bar--bad  { background: var(--f-danger-fg, #c62828); }

@media (prefers-reduced-motion: reduce) { .mkt-reveal { opacity: 1; transform: none; } .mkt-report-fill { transition: none; } .audit-bar { transition: none; } }
