/* ==========================================================================
   InfoRapid KnowledgeBase Builder – Modernes Landingpage-Design
   ========================================================================== */

/* Lokal gehostete Schriftart Inter (variable Font, Gewichte 400-800).
   Kein Abruf von Google-Servern — DSGVO-konform. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #0b1020;
	--bg-soft: #111831;
	--bg-card: rgba(255, 255, 255, 0.04);
	--border: rgba(255, 255, 255, 0.1);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text: #e8ecf8;
	--text-muted: #9aa6c4;
	--accent: #6c8cff;
	--accent-2: #9d6cff;
	--accent-3: #38d9c9;
	--cta: #ff7a45;
	--cta-hover: #ff8f61;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	--maxw: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	color: #8fa8ff;
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Hintergrund-Glows
   -------------------------------------------------------------------------- */

.bg-glow {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(900px 500px at 15% -5%, rgba(108, 140, 255, 0.22), transparent 60%),
		radial-gradient(800px 500px at 90% 10%, rgba(157, 108, 255, 0.16), transparent 60%),
		radial-gradient(700px 600px at 50% 110%, rgba(56, 217, 201, 0.10), transparent 60%);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(11, 16, 32, 0.75);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: var(--text);
	white-space: nowrap;
}

.nav-brand img {
	width: 28px;
	height: 28px;
	border-radius: 6px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
}

.nav-links a {
	color: var(--text-muted);
	font-size: 14.5px;
	font-weight: 500;
	transition: color 0.15s ease;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-cta {
	display: inline-block;
	white-space: nowrap;
	background: var(--cta);
	color: #fff !important;
	padding: 9px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
	background: var(--cta-hover);
	transform: translateY(-1px);
}

.nav-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--text-muted) !important;
}

.nav-lang img {
	height: 16px;
	width: auto;
	border-radius: 2px;
	opacity: 0.85;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	color: var(--text);
	font-size: 20px;
	line-height: 1;
	padding: 6px 12px;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	padding: 40px 0 60px;
	text-align: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text-muted);
	margin-bottom: 28px;
}

.hero-badge .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-3);
	box-shadow: 0 0 10px var(--accent-3);
}

.hero h1 {
	margin: 0 auto;
	max-width: 17ch;
	font-size: clamp(34px, 6vw, 64px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	background: linear-gradient(120deg, #ffffff 30%, #aab8ff 70%, #c9a6ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p.sub {
	max-width: 640px;
	margin: 24px auto 0;
	font-size: clamp(16px, 2.2vw, 19px);
	color: var(--text-muted);
}

.hero-actions {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
	background: linear-gradient(120deg, var(--cta), #ff5f7e);
	color: #fff !important;
	box-shadow: 0 10px 30px rgba(255, 122, 69, 0.35);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 40px rgba(255, 122, 69, 0.5);
}

.btn-secondary {
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	color: var(--text) !important;
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-2px);
}

.hero-note {
	margin-top: 18px;
	font-size: 13.5px;
	color: var(--text-muted);
}

/* Video-Bühne */

.hero-media {
	margin: 64px auto 0;
	max-width: 1024px;
	position: relative;
}

.hero-media::before {
	content: "";
	position: absolute;
	inset: -40px -60px;
	background: radial-gradient(closest-side, rgba(108, 140, 255, 0.25), transparent 75%);
	z-index: -1;
}

.hero-media video,
.hero-media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius);
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow);
}

.video-caption {
	margin-top: 16px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Stats-Leiste
   -------------------------------------------------------------------------- */

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 70px auto 0;
}

.stat {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px 16px;
	text-align: center;
}

.stat .num {
	display: block;
	font-size: 26px;
	font-weight: 800;
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stat .lbl {
	font-size: 13.5px;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */

section {
	padding: 50px 0 0;
}

section:first-of-type {
	padding-top: 0;
}

.section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 50px;
}

.section-head .eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-3);
	margin-bottom: 12px;
}

.section-head h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.section-head p {
	margin: 16px auto 0;
	color: var(--text-muted);
	font-size: 16.5px;
}

/* --------------------------------------------------------------------------
   Feature-Karten
   -------------------------------------------------------------------------- */

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.feature {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature:hover {
	transform: translateY(-4px);
	border-color: rgba(108, 140, 255, 0.45);
	background: rgba(108, 140, 255, 0.06);
}

.feature .icon {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(108, 140, 255, 0.2), rgba(157, 108, 255, 0.2));
	border: 1px solid rgba(108, 140, 255, 0.35);
	margin-bottom: 18px;
}

.feature .icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--accent);
}

.feature h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.feature p {
	margin: 0;
	font-size: 15px;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Demo-Galerie
   -------------------------------------------------------------------------- */

.demos-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.demo-card {
	display: block;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--text) !important;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.demo-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 217, 201, 0.5);
}

.demo-card .thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1a2240;
}

.demo-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.demo-card:hover .thumb img {
	transform: scale(1.06);
}

.demo-card .label {
	padding: 14px 16px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
}

.demo-card .label span {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--accent-3);
	margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Plattformen / Downloads
   -------------------------------------------------------------------------- */

.platforms-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.platform {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 16px 22px;
	color: var(--text) !important;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.platform:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	background: rgba(255, 255, 255, 0.07);
}

.platform img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.platform .name {
	font-weight: 700;
	font-size: 15px;
}

.platform .hint {
	font-size: 12.5px;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.price-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 34px 30px;
	position: relative;
}

.price-card.featured {
	background: linear-gradient(160deg, rgba(108, 140, 255, 0.12), rgba(157, 108, 255, 0.08));
	border: 1px solid rgba(108, 140, 255, 0.55);
	box-shadow: 0 24px 70px rgba(108, 140, 255, 0.18);
}

.price-card .plan-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 999px;
	white-space: nowrap;
}

.price-card h3 {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
}

.price-card .price {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 10px 0 2px;
}

.price-card .price small {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-muted);
}

.price-card .desc {
	font-size: 14.5px;
	color: var(--text-muted);
	margin-bottom: 20px;
}

.price-card ul {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex: 1;
}

.price-card li {
	padding: 7px 0 7px 30px;
	font-size: 14.5px;
	position: relative;
	color: var(--text);
}

.price-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(56, 217, 201, 0.15) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2338d9c9" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat;
}

.price-card .btn {
	justify-content: center;
	width: 100%;
	padding: 13px 20px;
	font-size: 15px;
}

/* --------------------------------------------------------------------------
   News / Changelog
   -------------------------------------------------------------------------- */

.news-list {
	max-width: 760px;
	margin: 0 auto;
	border-left: 2px solid rgba(108, 140, 255, 0.35);
	padding-left: 30px;
}

.news-item {
	position: relative;
	padding-bottom: 28px;
}

.news-item::before {
	content: "";
	position: absolute;
	left: -37px;
	top: 7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(108, 140, 255, 0.2);
}

.news-item .date {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-3);
}

.news-item h3 {
	margin: 4px 0 4px;
	font-size: 17px;
	font-weight: 700;
}

.news-item p {
	margin: 0;
	font-size: 15px;
	color: var(--text-muted);
}

.news-more {
	text-align: center;
	margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Über-Abschnitt
   -------------------------------------------------------------------------- */

.about-box {
	max-width: 880px;
	margin: 0 auto;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 44px 48px;
}

.about-box h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 3.5vw, 32px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.about-box p {
	margin: 0 0 16px;
	color: var(--text-muted);
	font-size: 16px;
}

.about-box p:last-child {
	margin-bottom: 0;
}

.about-box strong {
	color: var(--text);
}

/* --------------------------------------------------------------------------
   Aufklappbares News-Archiv
   -------------------------------------------------------------------------- */

.news-archive {
	max-width: 760px;
	margin: 6px auto 34px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	overflow: hidden;
}

.news-archive summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 22px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 12px;
	transition: color 0.15s ease, background 0.15s ease;
	user-select: none;
}

.news-archive summary::-webkit-details-marker {
	display: none;
}

.news-archive summary:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.news-archive summary .chevron {
	display: inline-block;
	color: var(--accent);
	transition: transform 0.2s ease;
}

.news-archive[open] summary .chevron {
	transform: rotate(90deg);
}

.news-archive[open] summary {
	border-bottom: 1px solid var(--border);
	color: var(--text);
}

.news-archive .archive-list {
	margin: 0;
	padding: 26px 26px 8px 56px;
	border-left: none;
	max-height: 480px;
	overflow-y: auto;
	position: relative;
}

.news-archive .archive-list .news-item {
	border-left: 2px solid rgba(108, 140, 255, 0.3);
	padding-left: 24px;
	padding-bottom: 22px;
	margin-left: -26px;
}

.news-archive .archive-list .news-item::before {
	left: -7px;
	width: 10px;
	height: 10px;
	top: 5px;
}

.news-archive .archive-list .news-item p {
	margin-top: 3px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------------- */

.cta-banner {
	margin-top: 45px;
	background: linear-gradient(120deg, rgba(108, 140, 255, 0.16), rgba(157, 108, 255, 0.14));
	border: 1px solid rgba(108, 140, 255, 0.4);
	border-radius: 24px;
	padding: 64px 40px;
	text-align: center;
}

.cta-banner h2 {
	margin: 0;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.cta-banner p {
	max-width: 560px;
	margin: 16px auto 32px;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
	margin-top: 50px;
	border-top: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	padding: 56px 0 40px;
	font-size: 14px;
	color: var(--text-muted);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.footer-grid h4 {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
}

.footer-grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-grid li {
	padding: 4px 0;
}

.footer-grid a {
	color: var(--text-muted);
}

.footer-grid a:hover {
	color: var(--text);
}

.footer-bottom {
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Scroll-Reveal-Animationen
   -------------------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.demos-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.platforms-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 860px) {
	.nav-links {
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(11, 16, 32, 0.97);
		border-bottom: 1px solid var(--border);
		display: none;
		padding: 10px 24px 18px;
	}
	.nav-links.open {
		display: flex;
	}
	.nav-links a {
		padding: 12px 4px;
		font-size: 16px;
	}
	.nav-cta {
		text-align: center;
		margin-top: 8px;
	}
	.nav-toggle {
		display: block;
	}
	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin: 0 auto;
	}
	.stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (max-width: 640px) {
	section {
		padding: 35px 0 0;
	}
	section:first-of-type {
		padding-top: 0;
	}
	.hero {
		padding: 30px 0 40px;
	}
	.features-grid {
		grid-template-columns: 1fr;
	}
	.demos-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.platforms-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cta-banner {
		padding: 44px 24px;
	}
	.about-box {
		padding: 30px 24px;
	}
}
