/* DynamicGrid — Landingpage
   Farbwelt und Typografie übernommen aus dem AdminLTE-Interface
   (static/dg/dg.css, templates/*.htpl): Akzent "lime" #01ff70,
   Dunkelton #1f2d3d / #343a40, Schrift Raleway. */

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway.ttf') format('truetype-variations'),
	     url('../fonts/Raleway.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--lime: #01ff70;
	--lime-dark: #00d75e;
	--lime-soft: rgba(1, 255, 112, .12);
	--navy: #1f2d3d;
	--navy-2: #343a40;
	--ink: #212529;
	--muted: #6c757d;
	--line: #dee2e6;
	--bg: #ffffff;
	--bg-alt: #f4f6f9;
	--radius: .5rem;
	--shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
	--shadow-lg: 0 .5rem 1.5rem rgba(31, 45, 61, .14);
	--wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 .75rem;
	line-height: 1.25;
	font-weight: 700;
	color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--lime-dark); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

img { max-width: 100%; height: auto; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }

.eyebrow {
	display: inline-block;
	margin-bottom: .75rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lime-dark);
}

/* ---------- Skip-Link ---------- */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: .75rem 1.25rem;
	background: var(--navy);
	color: #fff;
}
.skip-link:focus { left: 0; }

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

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.nav__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 4.25rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--navy);
	white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(31, 45, 61, .22);
}
.brand span b { color: var(--lime-dark); font-weight: 700; }

.nav__links {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin-left: auto;
	list-style: none;
	padding: 0;
}

.nav__links a {
	display: inline-block;
	padding: .5rem .85rem;
	border-radius: var(--radius);
	color: var(--navy);
	font-weight: 600;
	font-size: .95rem;
}
.nav__links a:hover { background: var(--bg-alt); color: var(--navy); text-decoration: none; }

.nav__toggle {
	display: none;
	margin-left: auto;
	padding: .5rem .75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .7rem 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--navy);
	box-shadow: 0 4px 14px rgba(1, 255, 112, .35);
}
.btn--primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--navy); }

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--outline {
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

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

.hero {
	position: relative;
	overflow: hidden;
	padding: 5.5rem 0 5rem;
	background: linear-gradient(160deg, #1f2d3d 0%, #263545 55%, #16212d 100%);
	color: #fff;
}

.hero::after {
	content: '';
	position: absolute;
	top: -18%;
	right: -12%;
	width: 46rem;
	height: 46rem;
	background: radial-gradient(circle, rgba(1, 255, 112, .22) 0%, rgba(1, 255, 112, 0) 62%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 3.5rem;
	align-items: center;
}

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }

.hero__lead {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, .82);
	max-width: 34rem;
	margin-bottom: 2rem;
}

.hero .eyebrow { color: var(--lime); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__facts div strong {
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--lime);
	line-height: 1.2;
}
.hero__facts div span { font-size: .9rem; color: rgba(255, 255, 255, .68); }

.hero__art { display: flex; justify-content: center; }

.hero__plug {
	position: relative;
	width: min(320px, 78%);
	filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, .45));
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
	.hero__plug { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Preisband ---------- */

.priceband {
	position: relative;
	z-index: 1;
	margin: 3.5rem auto 0;
	padding: 1.5rem 1.75rem;
	max-width: var(--wrap);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius);
}

.priceband__label {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem;
	margin-bottom: .9rem;
	font-size: .82rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

.bars {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 76px;
}
.bars i {
	flex: 1;
	background: rgba(255, 255, 255, .18);
	border-radius: 2px 2px 0 0;
}
.bars i.is-cheap { background: var(--lime); }
.bars i.is-mid   { background: rgba(1, 255, 112, .45); }

.priceband__hint { margin: .9rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.priceband__hint b { color: var(--lime); font-weight: 600; }

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

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.5rem;
}

.card {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--lime);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { margin-bottom: 0; color: var(--muted); }

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	background: var(--lime-soft);
	border-radius: var(--radius);
	color: var(--lime-dark);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Ablauf ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 2rem;
	counter-reset: step;
}

.step { position: relative; padding-top: 3.5rem; }
.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	background: var(--navy);
	color: var(--lime);
	border-radius: 50%;
	font-weight: 700;
}
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- Split ---------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
	position: relative;
	padding: .45rem 0 .45rem 2rem;
	color: var(--muted);
}
.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px var(--lime-soft);
}
.checklist li b { color: var(--ink); font-weight: 700; }

.panel {
	padding: 2rem;
	background: var(--navy);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	color: rgba(255, 255, 255, .78);
}
.panel h3 { color: #fff; }
.panel dl { margin: 0; }
.panel dt {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-size: .95rem;
}
.panel dt:last-of-type { border-bottom: 0; }
.panel dt b { color: var(--lime); font-weight: 700; white-space: nowrap; }

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

.cta {
	padding: 4rem 0;
	background: linear-gradient(120deg, #1f2d3d 0%, #2c3e50 100%);
	color: #fff;
	text-align: center;
}
.cta h2 { color: #fff; }
.cta p { max-width: 42rem; margin: 0 auto 2rem; color: rgba(255, 255, 255, .78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

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

.footer {
	padding: 3rem 0 2rem;
	background: var(--navy-2);
	color: rgba(255, 255, 255, .68);
	font-size: .92rem;
}
.footer a { color: var(--lime); }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer h4 {
	margin-bottom: .9rem;
	color: #fff;
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .2rem 0; }
.footer .brand { color: #fff; margin-bottom: .9rem; }
.footer .brand:hover { color: #fff; }

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem;
	padding-top: 1.5rem;
	font-size: .85rem;
}

/* ---------- Rechtstexte ---------- */

.legal-hero {
	padding: 3.5rem 0 3rem;
	background: linear-gradient(160deg, #1f2d3d 0%, #263545 100%);
	color: #fff;
}
.legal-hero h1 { color: #fff; margin-bottom: .35rem; }
.legal-hero p { margin: 0; color: rgba(255, 255, 255, .7); }

.legal {
	max-width: 820px;
	padding-top: 3rem;
	padding-bottom: 4rem;
}
.legal h2 {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 1.35rem;
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 {
	margin-top: 1.75rem;
	font-size: 1.05rem;
	color: var(--lime-dark);
}
.legal p, .legal li { color: #3f4b58; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }

/* Begriffsbestimmungen: Begriff fett vorangestellt */
.terms { list-style: none; padding-left: 0 !important; }
.terms > li {
	margin-bottom: 1.25rem;
	padding-left: 1rem;
	border-left: 2px solid var(--line);
}
.terms > li > b {
	display: block;
	margin-bottom: .2rem;
	color: var(--navy);
}
.terms > li > b + br { display: none; }
/* verschachtelte Aufzählungen behalten das normale Listenbild */
.terms ul { margin: .75rem 0; }

.legal__card {
	margin-bottom: 2rem;
	padding: 1.75rem;
	background: var(--bg-alt);
	border-left: 3px solid var(--lime);
	border-radius: var(--radius);
}
.legal__card p:last-child { margin-bottom: 0; }
.legal__card strong { color: var(--navy); }

.legal__note {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: .85rem;
	color: var(--muted);
}

.toc {
	margin-bottom: 2.5rem;
	padding: 1.5rem 1.75rem;
	background: var(--bg-alt);
	border-radius: var(--radius);
}
.toc h2 {
	margin: 0 0 .75rem;
	padding: 0;
	border: 0;
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.toc ol {
	margin: 0;
	padding-left: 1.25rem;
	columns: 2;
	column-gap: 2rem;
	font-size: .93rem;
}
.toc li { margin-bottom: .3rem; break-inside: avoid; }

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

@media (max-width: 900px) {
	.hero__grid, .split { grid-template-columns: 1fr; }
	.hero__art { order: -1; }
	.hero__plug { width: min(220px, 55%); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.toc ol { columns: 1; }
}

@media (max-width: 640px) {
	.section { padding: 3.5rem 0; }
	.hero { padding: 3.5rem 0; }
	.nav__toggle { display: block; }
	.nav__links {
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin: 0 0 1rem;
		gap: 0;
	}
	.nav__links.is-open { display: flex; }
	.nav__inner { flex-wrap: wrap; }
	.nav__links a { padding: .7rem .25rem; border-bottom: 1px solid var(--line); }
	/* Kennzahlen nebeneinander wird bei ~390 px zu eng -> untereinander */
	.hero__facts {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.hero__facts div {
		display: flex;
		align-items: baseline;
		gap: .75rem;
	}
	.hero__facts div strong { font-size: 1.35rem; min-width: 4.5rem; }
	.footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
