:root {
	/* Playful pastel palette */
	--bg: #f8f7f3;
	--surface: #ffffff;
	--card: #ffffff;
	--text: #374151;
	--muted: #6b7280;
	--primary: #6ec1e4; /* sky pastel */
	--primary-700: #3ba9d4;
	--accent: #f8a5a5; /* coral */
	--highlight: #f9d56e; /* soft yellow */
	--success: #22c55e;
	--danger: #ef4444;
	--shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

* { box-sizing: border-box; }
html {
	min-height: 100%;
	overflow-x: hidden;
}
html, body { height: 100%; }

body {
	position: relative;
	margin: 0;
	font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background:
		radial-gradient(24px 24px at 12% 18%, rgba(255,182,193,0.35) 0, rgba(255,182,193,0.35) 6px, transparent 7px) no-repeat,
		radial-gradient(20px 20px at 86% 26%, rgba(110,193,228,0.35) 0, rgba(110,193,228,0.35) 5px, transparent 6px) no-repeat,
		radial-gradient(18px 18px at 28% 76%, rgba(249,213,110,0.35) 0, rgba(249,213,110,0.35) 4px, transparent 5px) no-repeat,
		radial-gradient(16px 16px at 72% 82%, rgba(174,236,187,0.35) 0, rgba(174,236,187,0.35) 4px, transparent 5px) no-repeat,
		radial-gradient(14px 14px at 40% 32%, rgba(110,193,228,0.30) 0, rgba(110,193,228,0.30) 4px, transparent 5px) no-repeat,
		radial-gradient(12px 12px at 64% 18%, rgba(255,182,193,0.30) 0, rgba(255,182,193,0.30) 3px, transparent 4px) no-repeat,
		radial-gradient(10px 10px at 10% 60%, rgba(249,213,110,0.30) 0, rgba(249,213,110,0.30) 3px, transparent 4px) no-repeat,
		radial-gradient(12px 12px at 88% 74%, rgba(174,236,187,0.30) 0, rgba(174,236,187,0.30) 3px, transparent 4px) no-repeat,
		radial-gradient(1200px 600px at 20% -10%, #fefcf6 0%, transparent 60%),
		radial-gradient(900px 500px at 100% 0%, #f6fbff 0%, transparent 60%),
		var(--bg);
	line-height: 1.6;
	-webkit-tap-highlight-color: rgba(110, 193, 228, 0.2);
}

/* Deko: in main, volle Inhaltshöhe – liegt unter Sektionen, darüber sichtbar */
main {
	position: relative;
	z-index: 1;
}
main .page-decor {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	min-height: 100%;
	pointer-events: none;
	z-index: 0;
	overflow: visible;
}
.site-header,
.site-footer {
	position: relative;
	z-index: 1;
}

.deco {
	display: block;
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--s, 40px);
	height: var(--s, 40px);
	opacity: 0.58;
	transform: translate(-50%, -50%) rotate(var(--r, 0deg));
	box-shadow: 0 4px 12px rgba(31, 41, 55, 0.1);
}
.deco-tri {
	clip-path: polygon(12% 0%, 100% 38%, 0% 100%);
}
.deco-hex {
	clip-path: polygon(26% 8%, 74% 8%, 94% 50%, 74% 92%, 26% 92%, 6% 50%);
}
.deco-sq {
	border-radius: 22%;
}
.deco-blue {
	background: linear-gradient(145deg, #9dd5f2, var(--primary-700));
}
.deco-yellow {
	background: linear-gradient(145deg, #fde68a, var(--highlight));
}
.deco-accent {
	background: linear-gradient(145deg, #fbc4c4, #f472b6);
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
	padding-left: max(16px, env(safe-area-inset-left));
	padding-right: max(16px, env(safe-area-inset-right));
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	padding-top: env(safe-area-inset-top);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(130%) blur(8px);
	border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	position: relative;
	gap: 10px;
	min-width: 0;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	font-family: Quicksand, Nunito, system-ui;
	font-size: clamp(0.8rem, 2.8vw + 0.35rem, 1rem);
	line-height: 1.2;
}
.brand span {
	flex: 1;
	min-width: 0;
	white-space: normal;
	line-height: 1.25;
	hyphens: auto;
}
.logo { width: 32px; height: 32px; color: var(--primary); }

.nav-toggle {
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(0,0,0,0.12);
	padding: 8px 10px;
	border-radius: 8px;
}
.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	color: var(--text);
	text-decoration: none;
	opacity: 0.9;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 0;
}
.nav-list a:hover { color: var(--primary-700); }
.nav-list a.btn-primary:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; text-decoration: none; font-weight: 700; transition: 0.2s ease; border: 1px solid transparent; font-family: Quicksand, Nunito, system-ui; }
.btn-small { padding: 8px 12px; border-radius: 10px; }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-700)); color: #fff; box-shadow: var(--shadow); }
.btn-pink { background: linear-gradient(180deg, #f8a5a5, #f472b6); color: #fff; box-shadow: var(--shadow); border-color: transparent; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-pink:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: rgba(0,0,0,0.14); color: var(--text); }
.btn-ghost:hover { border-color: rgba(0,0,0,0.28); }

/* Hero */
.hero { padding: 56px 0 28px; position: relative; z-index: 1; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-text h1 {
	font-size: clamp(1.65rem, 5vw + 0.75rem, 2.875rem);
	line-height: 1.15;
	margin: 10px 0 10px;
	font-family: Quicksand, Nunito, system-ui;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #2b2b2b;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.hero-text h1 .script {
	font-family: Quicksand, Nunito, system-ui;
	font-weight: 700;
	display: inline-block;
	font-size: clamp(1.85rem, 6vw + 0.85rem, 3rem);
	line-height: 1.1;
}
.lead { color: var(--muted); font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem); margin: 0 0 16px; }
.price-hero { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; flex-wrap: wrap; }
.price-new { color: var(--accent); font-weight: 800; font-size: 32px; }
.price-vat { margin: 0 0 16px; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.btn-inline { padding: 10px 14px; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }

/* Hero showcase: wie Referenz – PC rechts hinten, Handy links vorne, luftige Überlappung */
.hero-media { position: relative; }
.hero-showcase {
	position: relative;
	padding: 16px 12px 0;
	width: 100%;
	overflow: visible;
}
.hero-devices {
	position: relative;
	width: min(100%, 560px);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 20px 8px 36px;
	overflow: visible;
	border-radius: 20px;
	background: linear-gradient(165deg, rgba(255, 236, 220, 0.55) 0%, rgba(255, 248, 240, 0.4) 100%);
}
.hero-showcase-caption {
	margin: 48px 0 0;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
	padding-top: 0;
}
.device {
	position: relative;
	background: linear-gradient(165deg, #f3f4f6 0%, #e5e7eb 100%);
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow:
		0 4px 6px rgba(15, 23, 42, 0.06),
		0 18px 40px rgba(15, 23, 42, 0.1),
		0 2px 0 rgba(255, 255, 255, 0.6) inset;
	overflow: visible;
}
.device.desktop {
	width: 82%;
	max-width: 460px;
	margin-left: auto;
	margin-right: 0;
	border-radius: 14px 14px 4px 4px;
	padding: 0;
	z-index: 1;
}
.device.phone {
	position: absolute;
	left: 0;
	bottom: 14px;
	width: 33%;
	max-width: 172px;
	min-width: 118px;
	border-radius: 22px;
	padding: 5px;
	background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
	border: 1px solid rgba(0, 0, 0, 0.35);
	box-shadow:
		0 4px 8px rgba(15, 23, 42, 0.12),
		0 16px 36px rgba(15, 23, 42, 0.35),
		0 2px 0 rgba(255, 255, 255, 0.12) inset;
	z-index: 2;
	overflow: hidden;
}
.device-bar {
	height: 8px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 14px 14px 0 0;
}
.device.phone .device-bar {
	height: 10px;
	border-radius: 18px 18px 0 0;
	background: rgba(0, 0, 0, 0.35);
}
.device-screen {
	overflow: hidden;
	background: #0f172a;
	line-height: 0;
}
.device.desktop .device-screen {
	border-radius: 0;
	border: 2px solid #1f2937;
	border-top: none;
}
.device.desktop .device-screen img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: top center;
}
.device.phone .device-screen {
	border-radius: 0 0 16px 16px;
	border: 2px solid #111827;
	border-top: none;
}
.device.phone .device-screen img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: top center;
}
.device-base {
	height: 10px;
	width: 32%;
	min-width: 72px;
	margin: 0 auto;
	background: linear-gradient(180deg, #d1d5db, #9ca3af);
	border-radius: 0 0 4px 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Sections */
.section { padding: 56px 0; position: relative; z-index: 1; }
.section > .container { position: relative; z-index: 1; }
/* Einheitliche Fläche für „normale“ Abschnitte (sonst wirkt der Body-Verlauf pro Höhe unterschiedlich) */
.section:not(.alt) {
	background: var(--bg);
}
/* Abwechselnd: leicht kühleres Blau-Weiß – klar von var(--bg) getrennt */
.section.alt {
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.97), rgba(255, 255, 255, 0.98));
}
.section h2 { font-size: clamp(1.35rem, 2.5vw + 0.75rem, 1.75rem); margin: 0 0 10px; word-wrap: break-word; }
.section-lead { color: var(--muted); margin: 0 0 24px; }
.section-lead a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.section-lead a:hover { text-decoration-thickness: 2px; }

/* sehr dezente Punkte – ergänzen die geometrische Deko, überlagern nicht */
.section::after {
	content: "";
	position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background:
		radial-gradient(6px 6px at 12% 20%, rgba(110,193,228,0.14) 0 2px, transparent 3px) no-repeat,
		radial-gradient(5px 5px at 78% 55%, rgba(255,182,193,0.12) 0 2px, transparent 3px) no-repeat,
		radial-gradient(5px 5px at 44% 78%, rgba(249,213,110,0.12) 0 2px, transparent 3px) no-repeat;
	opacity: 0.85;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; list-style: none; padding: 0; margin: 24px 0 0; }
.features li { background: var(--card); border: 1px solid rgba(0,0,0,0.08); border-top: 4px solid rgba(0,0,0,0.08); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.features li:nth-child(1) { border-top-color: var(--primary); }
.features li:nth-child(2) { border-top-color: var(--accent); }
.features li:nth-child(3) { border-top-color: var(--highlight); }
.features li:nth-child(4) { border-top-color: #a7f3d0; /* soft green tint to match success */ }
.features li:nth-child(5) { border-top-color: #c4b5fd; }
.features li:nth-child(6) { border-top-color: #67e8f9; }
.features h3 { margin: 0 0 6px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); }

/* Live-Beispiel: Übersicht (nicht wie Feature-Karten – tabellenartige Zeilen) */
.example-customize-intro {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}
.example-customize {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 48rem;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: var(--surface);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.example-customize li {
	display: grid;
	grid-template-columns: minmax(120px, 200px) 1fr;
	gap: 12px 28px;
	padding: 16px 20px;
	align-items: start;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.example-customize li:last-child {
	border-bottom: none;
}
.example-customize li:nth-child(odd) {
	background: rgba(110, 193, 228, 0.06);
}
.example-customize li:nth-child(even) {
	background: rgba(248, 165, 165, 0.05);
}
.example-customize-title {
	font-family: Quicksand, Nunito, system-ui;
	font-weight: 700;
	font-size: 15px;
	color: var(--primary-700);
	letter-spacing: 0.02em;
}
.example-customize-desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}

#beispiel .example-customize {
	margin-bottom: 0;
}

.prose-blocks { max-width: 720px; }
.prose-blocks p { margin: 0 0 1em; color: var(--text); line-height: 1.65; }
.prose-blocks p:last-child { margin-bottom: 0; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.testimonial {
	margin: 0;
	background: var(--card);
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--shadow);
	border-top: 4px solid var(--primary);
}
.testimonial p { margin: 0 0 12px; font-size: 15px; color: var(--text); line-height: 1.55; }
.testimonial footer { font-size: 14px; color: var(--muted); }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--text); }
.testimonial-meta { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); font-size: 13px; }

/* Pricing */
.pricing-wrap { display: grid; justify-content: center; }
.pricing-card { width: 100%; max-width: 560px; background: var(--card); border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); text-align: center; }
.price { display: flex; align-items: baseline; gap: 14px; justify-content: center; margin: 10px 0 10px; }
.price-includes { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; color: var(--muted); }
.price-includes li::before { content: "✓"; color: var(--success); margin-right: 8px; }
.small { font-size: 13px; color: var(--muted); }

/* Footer confetti */
.site-footer::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%; height: 100%; left: 0; top: 0; pointer-events: none;
	background:
		radial-gradient(9px 9px at 6% 40%, rgba(249,213,110,0.22) 0 3px, transparent 4px) no-repeat,
		radial-gradient(9px 9px at 84% 58%, rgba(110,193,228,0.22) 0 3px, transparent 4px) no-repeat,
		radial-gradient(8px 8px at 54% 20%, rgba(255,182,193,0.22) 0 2px, transparent 3px) no-repeat;
}
.site-footer { position: relative; }
.site-footer .container { position: relative; z-index: 1; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; padding: 14px 16px; margin: 10px 0; box-shadow: var(--shadow); }
.faq summary {
	cursor: pointer;
	font-weight: 600;
	min-height: 44px;
	display: flex;
	align-items: center;
	padding: 4px 0;
}
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact { text-align: center; }
.contact-person { margin: 0 0 16px; font-weight: 700; font-size: 17px; color: var(--text); }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.contact-reveal { flex: 0 1 auto; max-width: 100%; text-align: center; }
.contact-reveal > summary {
	list-style: none;
	cursor: pointer;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.contact-reveal > summary::-webkit-details-marker { display: none; }
.contact-reveal-summary .btn { pointer-events: none; max-width: 100%; word-break: break-word; }
.contact-reveal-body {
	margin-top: 12px;
	padding: 0 6px;
	font-size: 15px;
}
.contact-reveal-body a {
	font-weight: 700;
	color: var(--primary-700);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.contact-reveal--wa .contact-reveal-body a { color: #db2777; }
.contact-reveal--wa .contact-reveal-body a:hover { color: #be185d; }

/* Order form */
.form { background: var(--card); border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 12px 12px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.14); background: #fff; color: var(--text); font: inherit; }
.field.full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; }

@media (max-width: 780px) {
	.form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }
.footer-simple { text-align: center; padding: 20px 0 24px; }
.footer-line { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.footer-line + .footer-line { margin-top: 6px; }
.footer-heart { color: var(--accent); font-size: 1.1em; line-height: 1; }
.footer-line > a:not(.btn) { color: var(--muted); text-decoration: underline; }
.footer-line > a:not(.btn):hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero { padding: 44px 0 24px; }
	.hero-media { max-width: 560px; margin-left: auto; margin-right: auto; }
	.hero-showcase { padding-bottom: 0; }
	.hero-showcase-caption { margin-top: 44px; }
	.testimonials-grid { grid-template-columns: 1fr; }
	.section { padding: 44px 0; }
}

@media (max-width: 780px) {
	.nav-toggle { display: inline-flex; }
	.nav-list {
		position: absolute;
		right: 0;
		top: calc(100% + 6px);
		z-index: 50;
		background: var(--surface);
		border: 1px solid rgba(0,0,0,0.08);
		border-radius: 12px;
		padding: 8px 12px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		min-width: min(260px, calc(100vw - 32px));
		max-height: min(70vh, 420px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: var(--shadow);
	}
	.nav-list.show { display: flex; }
	.nav-list .btn-small { justify-content: center; width: 100%; }
	.features { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.example-customize li {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 14px 16px;
	}
}

@media (max-width: 520px) {
	.cta-group .btn {
		flex: 1 1 100%;
		min-width: 100%;
		justify-content: center;
	}
	.price-new { font-size: clamp(1.5rem, 4vw + 0.75rem, 1.75rem); }
	.hero-devices {
		width: 100%;
		padding: 16px 6px 40px;
	}
	.device.desktop {
		width: 70%;
		max-width: none;
	}
	.device.phone {
		left: 0;
		width: min(132px, 30vw);
		min-width: 0;
		max-width: 132px;
		bottom: 10px;
	}
	.hero-showcase-caption { font-size: 13px; padding: 0 8px; margin-top: 36px; }
}



