/* ═══════════════════════════════════════════════════════════
   Scribo — Marketingseite (scribo.at)
   Statische Version. Diese Datei enthält ALLE Stile der Seite.
   Farben/Schriften kommen aus den --cfx-* Variablen unten.
   ═══════════════════════════════════════════════════════════ */

:root {
	color-scheme: light;

	/* Schriften */
	--cfx-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--cfx-font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;

	/* Flächen */
	--cfx-bg: #fafaf9;
	--cfx-panel: #ffffff;
	--cfx-panel-tint: #f6f5f1;
	--cfx-line: #e7e5e0;

	/* Text */
	--cfx-ink: #0b0b0b;
	--cfx-ink-2: #363430;
	--cfx-ink-3: #6e6c66;
	--cfx-ink-4: #a3a09a;
	--cfx-ink-on-dark: #fafaf9;

	/* Akzent */
	--cfx-accent: #0c4393;
	--cfx-accent-hover: #0a3a82;

	/* Erfolg (Preis-Badge) */
	--cfx-success: #0f7a4a;
	--cfx-success-soft: #e6f4ec;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--cfx-bg);
	color: var(--cfx-ink);
	font-family: var(--cfx-font-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.public-main { flex: 1; }

img { max-width: 100%; }

/* ═══════════════ NAV ═══════════════ */
.pub-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	height: 64px;
	background: transparent;
	transition: background 200ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 200ms;
	border-bottom: 1px solid transparent;
}
.pub-nav.scrolled {
	background: rgba(250, 250, 249, 0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom-color: var(--cfx-line);
}
.pub-nav-inner {
	max-width: 1180px;
	margin: 0 auto;
	height: 100%;
	padding: 0 28px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.pub-brand { display: flex; align-items: center; gap: 10px; color: var(--cfx-ink); text-decoration: none; }
.pub-brand-logo { height: 30px; width: auto; display: block; }
.pub-nav-links { display: flex; gap: 22px; margin: 0 auto; }
.pub-nav-links a { font-size: 14px; font-weight: 550; color: var(--cfx-ink-2); text-decoration: none; }
.pub-nav-links a:hover { color: var(--cfx-ink); }
.pub-nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.pub-btn-text { font-size: 14px; font-weight: 600; color: var(--cfx-ink-2); text-decoration: none; }
.pub-btn-text:hover { color: var(--cfx-ink); }
.pub-btn-primary {
	display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 9px;
	background: var(--cfx-accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
	transition: background 140ms;
}
.pub-btn-primary:hover { background: var(--cfx-accent-hover); }
@media (max-width: 900px) {
	.pub-nav-links { display: none; }
	.pub-nav-inner { gap: 14px; }
	.pub-nav-actions { margin-left: auto; }
}

/* ═══════════════ FOOTER ═══════════════ */
.pub-footer { background: var(--cfx-panel); border-top: 1px solid var(--cfx-line); padding: 34px 28px; }
.pub-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pub-footer-brand { display: flex; align-items: center; }
.pub-footer-logo { height: 24px; width: auto; display: block; }
.pub-footer-links { display: flex; gap: 18px; margin: 0 auto; }
.pub-footer-links a { font-size: 13px; color: var(--cfx-ink-3); text-decoration: none; }
.pub-footer-links a:hover { color: var(--cfx-ink); }
.pub-footer-copy { margin: 0; margin-left: auto; font-size: 13px; color: var(--cfx-ink-4); }
@media (max-width: 900px) {
	.pub-footer-inner { flex-direction: column; gap: 14px; }
	.pub-footer-links, .pub-footer-copy { margin: 0; }
}

/* ═══════════════ LANDING ═══════════════ */
.lp {
	--lp-ink: #16181c;
	--lp-ink-2: #565b64;
	--lp-ink-3: #9298a1;
	--lp-line: #eae9e3;
	--lp-line2: #deded7;
	--lp-blue: var(--cfx-accent, #1356d8);
	--lp-blue-soft: #eef3fe;
	background: #fafaf9;
	color: var(--lp-ink);
	font-family: var(--cfx-font-sans, "Inter", system-ui, sans-serif);
}
.lp section { padding-left: 32px; padding-right: 32px; }
.lp h1, .lp h2, .lp h3 { font-family: var(--cfx-font-display, "Inter Tight", sans-serif); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 11px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn-dark { background: var(--lp-ink); color: #fff; }
.btn-dark:hover { background: var(--lp-blue); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--lp-line2); color: var(--lp-ink); }
.btn-ghost:hover { border-color: var(--lp-blue); color: var(--lp-blue); }
.btn-on-dark { background: #fff; color: var(--lp-ink); margin-top: 30px; }
.btn-on-dark:hover { background: var(--lp-blue); color: #fff; }

/* hero */
.hero { text-align: center; max-width: 1180px; margin: 0 auto; padding-top: clamp(40px, 6vw, 68px); }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 31px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid var(--lp-line2); color: var(--lp-ink-2); font-size: 12.5px; font-weight: 550; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-ink); }
.hero h1 { font-weight: 700; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.01; letter-spacing: -.033em; max-width: 850px; margin: 24px auto 0; text-wrap: balance; }
.lead { margin: 22px auto 0; max-width: 540px; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.55; color: var(--lp-ink-2); }
.hcta { display: flex; gap: 13px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cap { margin-top: 14px; font-size: 13px; color: var(--lp-ink-3); }

/* frames */
.browser { border: 1px solid var(--lp-line2); border-radius: 13px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -38px rgba(20,24,34,.4), 0 6px 18px -12px rgba(20,24,34,.16); }
.bbar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: #f3f2ee; border-bottom: 1px solid var(--lp-line); }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d5cd; }
.bbar .addr { margin-left: 12px; font-size: 11.5px; color: var(--lp-ink-3); background: #fff; border: 1px solid var(--lp-line); border-radius: 6px; padding: 2px 12px; }
.browser > img { display: block; width: 100%; }
.callout { position: absolute; background: #fff; border: 1px solid var(--lp-line2); border-radius: 12px; overflow: hidden; box-shadow: 0 28px 56px -22px rgba(20,24,34,.55); }
.callout img { display: block; width: 100%; }
.callout .lab { font-size: 11.5px; font-weight: 600; color: var(--lp-blue); background: var(--lp-blue-soft); padding: 7px 12px; border-bottom: 1px solid #dce7fc; }

.hero-vis-wrap { max-width: 1180px; margin: 0 auto; }
.hero-vis { position: relative; max-width: 1000px; margin: clamp(34px, 5vw, 52px) auto 0; height: 560px; }
.hero-vis .behindL { position: absolute; left: 0; top: 70px; width: 340px; z-index: 1; transform: rotate(-3.5deg); }
.hero-vis .main { position: absolute; left: 140px; right: 140px; top: 18px; z-index: 3; }
.hero-vis .c-ki { right: 30px; bottom: 14px; width: 430px; z-index: 5; }

/* trust */
.trust { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding-top: 56px; }
.trust-lbl { font-size: 12.5px; color: var(--lp-ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip { font-size: 13px; font-weight: 550; color: var(--lp-ink-2); background: #fff; border: 1px solid var(--lp-line2); border-radius: 999px; padding: 6px 14px; transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--lp-blue); color: var(--lp-blue); }

/* workflow row */
.flow { max-width: 1180px; margin: 0 auto; padding-top: clamp(72px, 9vw, 104px); padding-bottom: 24px; scroll-margin-top: 80px; }
.flow-head { text-align: center; margin-bottom: 46px; }
.ey { font-family: var(--cfx-font-display, "Inter Tight", sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-blue); }
.ey-muted { color: var(--lp-ink-3); }
.ey-light { color: #8fa6d8; }
.flow-head h2 { font-weight: 700; font-size: clamp(26px, 3.3vw, 40px); letter-spacing: -.026em; margin-top: 12px; }
.row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step { background: #fff; border: 1px solid var(--lp-line); border-radius: 15px; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; display: flex; flex-direction: column; z-index: 1; }
.step:hover { border-color: var(--lp-blue); transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(19,86,216,.4); }
.step .pic { height: 150px; overflow: hidden; border-bottom: 1px solid var(--lp-line); background: #f3f2ee; }
.step .pic img { width: 100%; display: block; }
.step-body { padding: 16px 18px 20px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--lp-ink); color: #fff; font-family: var(--cfx-font-display, "Inter Tight", sans-serif); font-size: 12.5px; font-weight: 700; transition: background .15s; }
.step:hover .num { background: var(--lp-blue); }
.step h3 { font-weight: 600; font-size: 17px; letter-spacing: -.012em; margin: 12px 0 6px; }
.step p { font-size: 13.5px; line-height: 1.5; color: var(--lp-ink-2); }
.conn { position: absolute; top: 75px; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--lp-line2) 0 6px, transparent 6px 12px); z-index: 0; }

/* feature (light) */
.feat { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; padding-top: clamp(72px, 9vw, 118px); padding-bottom: clamp(72px, 9vw, 118px); }
.feat.rev .copy { order: 2; }
.feat.rev .art { order: 1; }
.feat h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.027em; line-height: 1.05; margin: 14px 0 0; }
.feat p, .spot p { margin-top: 20px; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.62; color: var(--lp-ink-2); max-width: 430px; }
.ticks { margin-top: 24px; display: flex; flex-direction: column; gap: 11px; }
.tick { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--lp-ink); font-weight: 500; }
.tick svg { flex: none; }
.art { position: relative; }
.art .browser { position: relative; z-index: 2; }
.art-callout { width: 300px; }
.art-callout-bl { left: -26px; bottom: -34px; }
.art-callout-br { width: 290px; right: -24px; bottom: -30px; }

/* spotlight (ink) */
.spot { background: var(--lp-ink); color: #fff; overflow: hidden; margin-top: 8px; }
.spot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; padding-top: clamp(72px, 9vw, 118px); padding-bottom: clamp(72px, 9vw, 118px); }
.spot h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.028em; line-height: 1.05; margin-top: 14px; }
.spot p { color: #b9bec8; max-width: 400px; }
.tick-light { color: #e7e9ee; }
.ba { position: relative; }
.ba .browser { position: relative; z-index: 2; }
.ba-menu { position: absolute; z-index: 4; left: -28px; top: -44px; width: 430px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 36px 70px -24px rgba(0,0,0,.7); }
.ba-menu img { display: block; width: 100%; }
.ba-menu .lab { font-size: 11.5px; font-weight: 600; color: #fff; background: var(--lp-blue); padding: 7px 12px; }

/* pricing + faq section shells */
.pricing, .faq { max-width: 1180px; margin: 0 auto; padding-top: clamp(72px, 9vw, 104px); text-align: center; scroll-margin-top: 80px; }
.pricing h2, .faq h2 { font-weight: 700; font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -.02em; margin: 0; }
.section-sub { margin: 12px 0 32px; font-size: 15.5px; color: var(--lp-ink-2); }
.faq h2 { margin-bottom: 28px; }

/* cta */
.cta { max-width: 1180px; margin: 0 auto; text-align: center; padding-top: clamp(72px, 9vw, 118px); padding-bottom: clamp(72px, 9vw, 118px); }
.cta h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.028em; }
.cta p { margin: 16px auto 0; color: var(--lp-ink-2); font-size: 17px; }
.cta-hcta { margin-top: 30px; }

@media (max-width: 880px) {
	.row { grid-template-columns: 1fr 1fr; }
	.conn { display: none; }
	.feat, .spot-grid { grid-template-columns: 1fr; gap: 40px; }
	.feat.rev .copy { order: 1; }
	.feat.rev .art { order: 2; }
	.hero-vis { height: auto; }
	.hero-vis .behindL { display: none; }
	.hero-vis .main { position: static; }
	.hero-vis .c-ki { display: none; }
}

/* ═══════════════ PRICING CARDS ═══════════════ */
.pricing-cards { text-align: left; }
.pricing-toggle {
	display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 30px;
	padding: 4px; background: var(--cfx-panel); border: 1px solid var(--cfx-line); border-radius: 999px;
}
.pricing-toggle .pt-btn {
	display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font: inherit;
	font-size: 13.5px; font-weight: 600; color: var(--cfx-ink-2); padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.pricing-toggle .pt-btn.active { background: var(--cfx-ink); color: #fff; }
.pricing-toggle-badge { font-size: 11px; font-weight: 650; color: var(--cfx-success); background: var(--cfx-success-soft); border-radius: 999px; padding: 2px 8px; }
.pricing-toggle .pt-btn.active .pricing-toggle-badge { background: rgba(230, 244, 236, 0.16); color: #7ed8ab; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; background: var(--cfx-panel); border: 1px solid var(--cfx-line); border-radius: 16px; padding: 28px 26px; text-align: left; }
.plan-active { border: 1.5px solid var(--cfx-accent); box-shadow: 0 24px 56px -28px rgba(12, 67, 147, 0.45); }
.plan-soon { background: var(--cfx-panel-tint); opacity: 0.92; }
.plan-soon-badge { position: absolute; top: -11px; left: 22px; font-size: 11.5px; font-weight: 650; color: #fff; background: var(--cfx-ink); border-radius: 999px; padding: 3px 10px; }
.plan h3 { margin: 0; font-family: var(--cfx-font-display); font-weight: 700; font-size: 19px; }
.plan-sub { margin: 6px 0 18px; font-size: 13.5px; color: var(--cfx-ink-3); }
.plan-price { margin: 0 0 18px; display: flex; flex-direction: column; gap: 4px; }
.plan-price strong { font-family: var(--cfx-font-display); font-weight: 700; font-size: 44px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price-soon { font-size: 26px !important; color: var(--cfx-ink-3); }
.plan-price-sub { font-size: 13px; color: var(--cfx-ink-3); }
.plan-cta {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; border-radius: 10px;
	background: var(--cfx-accent); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background 140ms;
}
.plan-cta:hover { background: var(--cfx-accent-hover); }
.plan-cta-disabled { border: 1px solid var(--cfx-line); background: transparent; color: var(--cfx-ink-4); font: inherit; font-size: 14.5px; font-weight: 600; cursor: not-allowed; }
.plan-cta-disabled:hover { background: transparent; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--cfx-ink-2); }
.plan li svg { flex: 0 0 auto; color: var(--cfx-accent); }
.plan-soon li { color: var(--cfx-ink-4); }
.plan-soon li svg { color: var(--cfx-ink-4); }
.pricing-footnote { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--cfx-ink-3); }
@media (max-width: 720px) {
	.pricing-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ FAQ LIST ═══════════════ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.faq-item { background: var(--cfx-panel); border: 1px solid var(--cfx-line); border-radius: 12px; }
.faq-list button {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; border: 0;
	background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--cfx-ink);
	text-align: left; padding: 18px 20px; cursor: pointer;
}
.faq-list button svg { flex: 0 0 auto; color: var(--cfx-ink-3); transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.faq-item.open button svg { transform: rotate(180deg); }
.faq-list p { margin: 0; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.6; color: var(--cfx-ink-2); }
.faq-item:not(.open) p { display: none; }
