/* Lost Revenue Suite – lrs.byte-force.de
   Keine externen Schriften oder Dienste (DSGVO): System-Schriften, alles lokal. */

:root {
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--soft: #f1f5f9;
	--paper: #ffffff;
	--brand: #1e3a8a;
	--brand-2: #2563eb;
	--brand-soft: #eff4ff;
	--accent: #f59e0b;
	--loss: #dc2626;
	--loss-soft: #fef2f2;
	--gain: #047857;
	--gain-soft: #ecfdf5;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-2); }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #172e6e; color: #fff; }
.btn-accent { background: var(--accent); color: #1f1300; }
.btn-accent:hover { background: #e38b06; color: #1f1300; }
.btn-ghost { background: transparent; color: var(--brand); border-color: #c7d4f5; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .76rem; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { color: var(--brand); }
.main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: var(--shadow); }
	.main-nav.open { display: flex; }
	.main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--soft); }
	.main-nav .btn { margin-top: 12px; }
}

/* Sections */
section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--brand); color: #fff; }
.section-dark a { color: #fde68a; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(1200px 500px at 85% -10%, #dbe6ff 0, transparent 60%), linear-gradient(180deg, #f7f9ff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--loss); }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .95rem; }
.checks li::before { content: "✓"; color: var(--gain); font-weight: 800; margin-right: 6px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Dashboard-Mock */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(30, 58, 138, .28), var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: inline-block; }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 18px; }
.mock-title { font-weight: 700; font-size: 1rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.mock-title small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-card b { display: block; font-size: 1.35rem; line-height: 1.2; }
.mock-card span { font-size: .72rem; color: var(--muted); display: block; }
.mock-card.loss { border-left: 4px solid var(--loss); }
.mock-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .82rem; }
.mock-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 7px 4px; border-bottom: 1px solid var(--soft); }
.mock-table .pill { background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 2px 8px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.mock-note { font-size: .74rem; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 520px) { .mock-cards { grid-template-columns: 1fr; } }

/* Cards / Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 920px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 4px; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; }
.card li { margin-bottom: 6px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; }
.leak { border-top: 4px solid var(--loss); }
.leak .big { font-size: 1.9rem; font-weight: 800; color: var(--loss); line-height: 1.1; display: block; margin-bottom: 6px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 30px; }
.toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .95rem var(--font); color: var(--ink-2); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.toggle .save { color: var(--gain); font-weight: 700; margin-left: 4px; }
.toggle button[aria-pressed="true"] .save { color: #bbf7d0; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 920px) { .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 24px 48px -20px rgba(30, 58, 138, .35); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #1f1300; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 2px; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--muted); font-size: .9rem; min-height: 2.8em; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.price-card li { padding: 6px 0 6px 26px; position: relative; font-size: .97rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gain); font-weight: 800; }
[data-interval="year"] .only-month, [data-interval="month"] .only-year { display: none; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

/* Tables */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .97rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--soft); font-weight: 650; }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); }

/* Module detail */
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding: 64px 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module .tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.example { background: var(--soft); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.example h4 { margin: 0 0 10px; font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 920px) { .module { grid-template-columns: 1fr; gap: 24px; } }

/* Callouts */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ff; font-size: 1.1rem; max-width: 620px; margin: 0 auto 26px; }
.notice { border-radius: 12px; padding: 16px 18px; margin: 0 0 22px; border: 1px solid; }
.notice-ok { background: var(--gain-soft); border-color: #a7f3d0; color: #064e3b; }
.notice-err { background: var(--loss-soft); border-color: #fecaca; color: #7f1d1d; }
.notice-info { background: var(--brand-soft); border-color: #c7d4f5; color: #1e3a8a; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }

/* Forms */
.page-head { padding: 56px 0 28px; background: linear-gradient(180deg, #f7f9ff, #fff); }
.page-head p { color: var(--ink-2); font-size: 1.08rem; max-width: 720px; }
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; padding-bottom: 80px; }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { font-weight: 750; font-size: 1.08rem; margin-bottom: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .94rem; }
label.f span.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); outline: 3px solid #bfd3ff; outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.choice:hover { border-color: #b6c6ef; }
.choice input[type=checkbox], .choice input[type=radio] { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand); }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.choice strong { font-weight: 650; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .choice-row { grid-template-columns: 1fr; } }
.legal-check { font-size: .93rem; }
.help { font-size: .86rem; color: var(--muted); font-weight: 400; }
.summary { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.2rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 14px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { border-top: 2px solid var(--ink); padding-top: 10px; font-size: 1.15rem; font-weight: 800; }
.side-info { background: var(--soft); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.side-info h2 { font-size: 1.15rem; }
.side-info ul { padding-left: 1.1em; margin: 0; }
.side-info li { margin-bottom: 8px; }
.review { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.review th, .review td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.review th { width: 38%; color: var(--ink-2); font-weight: 600; }

/* Legal text */
.legal { padding: 20px 0 80px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 8px; }
.legal .table { margin: 10px 0 16px; }

/* Hilfsklassen (keine Inline-Styles wegen Content-Security-Policy) */
.pb-80 { padding-bottom: 80px; }
.pt-20 { padding-top: 20px; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.text-left { text-align: left; }
.text-gain { color: var(--gain); }
.faq-group { font-size: 1.3rem; margin-top: 36px; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: #0b1636; color: #cbd5e1; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.brand-light { color: #fff; }
.brand-light small { color: #94a3b8; }
.footer-brand p { margin: 14px 0 0; }
.footer-contact { color: #94a3b8; }
.footer-action { font-weight: 700; color: #fde68a !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #1e2a4f; color: #94a3b8; font-size: .86rem; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
@media print { .site-header, .site-footer, .btn { display: none !important; } section { padding: 20px 0; } }
.choice input[type=date] { display: block; width: auto; margin-top: 8px; }
