@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
}

:root {
	--accent: #f07b2e;
	--accent-soft: #ff914d;
	--accent-ink: #b4531a;
	--accent-tint: color-mix(in srgb, #f07b2e 8%, #ffffff);
	--navy: #1e2a36;
	--ink: #26313d;
	--muted: #5c6b7a;
	--mist: #f4f7fa;
	--line: #dce4eb;
	--card: #ffffff;
	--shadow-card: 0 1px 2px rgb(30 42 54 / 0.04), 0 8px 24px -12px rgb(30 42 54 / 0.12);
	--shadow-pop: 0 2px 6px rgb(30 42 54 / 0.08), 0 24px 48px -16px rgb(30 42 54 / 0.28);
	--radius-control: 10px;
	--radius-card: 16px;
	--radius-phone: 28px;
	--section-space: 96px;
	color-scheme: light;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--card);
	color: var(--muted);
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: 'ss01';
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--navy);
	font-weight: 800;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.75rem, 1.6rem + 4vw, 4.5rem);
	line-height: 1.05;
}

h2 {
	font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
	line-height: 1.1;
}

h3 {
	font-size: 1.25rem;
	line-height: 1.3;
}

p {
	margin: 0;
	max-width: 62ch;
}

a {
	color: var(--accent-ink);
	text-decoration: none;
	text-underline-offset: 3px;
}

a:hover {
	text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.section {
	padding-block: var(--section-space);
}

.section-mist {
	background: var(--mist);
}

.section-head {
	display: grid;
	gap: 16px;
	margin-bottom: 48px;
}

.icon {
	flex: none;
	width: 24px;
	height: 24px;
}

.accent {
	color: var(--accent);
}

/* Buttons and pills */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-control);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition:
		background-color 150ms,
		border-color 150ms;
}

.btn:hover {
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary {
	background: var(--accent);
	color: var(--navy);
}

.btn-primary:hover {
	background: var(--accent-soft);
}

.btn-secondary {
	background: var(--card);
	border-color: var(--line);
	color: var(--navy);
}

.btn-secondary:hover {
	border-color: #c5d0da;
}

.pill {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgb(240 123 46 / 0.1);
	color: var(--accent-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgb(255 255 255 / 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 72px;
}

.site-nav {
	display: none;
	gap: 32px;
	margin-inline: auto;
}

.site-nav a,
.back-link {
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.back-link {
	display: none;
}

/* Hero */

.hero {
	padding-block: 48px 80px;
}

.hero .container {
	display: grid;
	gap: 56px;
	align-items: center;
}

.hero-text {
	display: grid;
	gap: 24px;
}

.hero-lead {
	font-size: 19px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-visual {
	position: relative;
	padding-bottom: 32px;
}

.hero-screen {
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-pop);
	overflow: hidden;
	background: var(--card);
}

.hero-phone {
	position: absolute;
	bottom: 0;
	left: -24px;
	width: 30%;
	border: 6px solid var(--navy);
	border-radius: var(--radius-phone);
	box-shadow: var(--shadow-pop);
	overflow: hidden;
	background: var(--navy);
}

/* Funktionen */

.bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.tile {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--card);
	overflow: hidden;
	transition:
		transform 200ms,
		box-shadow 200ms;
}

.tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-pop);
}

.tile-text {
	display: grid;
	gap: 8px;
	padding: 28px 28px 0;
}

.tile-plain .tile-text {
	padding-bottom: 28px;
}

.tile-image {
	width: calc(100% - 28px);
	height: 260px;
	margin-top: auto;
	margin-left: 28px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	border-top-left-radius: 12px;
	object-fit: cover;
}

.pos-left-top {
	object-position: left top;
}

.pos-center {
	object-position: center;
}

.pos-placement {
	object-position: 40% 70%;
}

.pos-invitation {
	object-position: center 20%;
}

.pos-checkin {
	object-position: center 78%;
}

.tile-accent {
	background: var(--accent-tint);
}

.tile-accent .tile-text {
	gap: 16px;
	align-content: start;
}

.tile-icon {
	width: 40px;
	height: 40px;
	color: var(--accent-ink);
}

.more {
	margin-top: 64px;
}

.more h3 {
	margin-bottom: 24px;
}

.more ul {
	display: grid;
	gap: 24px 40px;
}

.more li {
	display: flex;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.more li .icon {
	margin-top: 3px;
	color: var(--accent-ink);
}

.more h4 {
	margin: 0 0 4px;
	color: var(--navy);
	font-size: 17px;
	font-weight: 700;
}

/* Ablauf */

.steps {
	position: relative;
	display: grid;
	gap: 40px 32px;
}

.step {
	display: grid;
	gap: 12px;
	align-content: start;
}

.step-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.step-number {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--accent);
	border-radius: 999px;
	background: var(--card);
	color: var(--accent-ink);
	font-weight: 800;
}

.step-head .icon {
	position: relative;
	z-index: 1;
	box-sizing: content-box;
	padding-inline: 8px;
	background: var(--card);
	color: var(--muted);
}

/* Testphase */

.trial .container {
	display: grid;
	gap: 48px;
	align-items: start;
}

.trial-text {
	display: grid;
	gap: 20px;
}

.trial-icon {
	width: 32px;
	height: 32px;
	color: var(--accent-ink);
}

.contact-card {
	display: grid;
	gap: 16px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--card);
	box-shadow: var(--shadow-card);
}

.contact-line {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
}

.contact-line .icon {
	color: var(--accent-ink);
}

.contact-card .btn {
	justify-self: start;
	margin-top: 8px;
}

/* Footer */

.site-footer {
	padding-block: 48px;
	border-top: 1px solid var(--line);
	background: var(--card);
	font-size: 15px;
}

.site-footer .container {
	display: grid;
	gap: 32px;
}

.footer-brand {
	display: grid;
	gap: 16px;
}

.footer-brand img {
	width: auto;
	height: 28px;
}

.footer-family {
	display: grid;
	gap: 8px;
}

.footer-family li span {
	color: var(--muted);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-content: start;
}

.footer-links a {
	color: var(--ink);
	font-weight: 600;
}

/* Rechtsseiten und 404 */

.legal {
	padding-block: 64px var(--section-space);
}

.legal-content {
	max-width: 72ch;
}

.legal-content p,
.legal-content ul {
	max-width: none;
	margin-top: 12px;
}

.legal-content ul {
	padding-left: 1.25em;
	list-style: disc;
}

.legal-content li + li {
	margin-top: 4px;
}

.legal-content h1 {
	margin-bottom: 16px;
}

.legal-content h2 {
	margin-top: 48px;
	font-size: 1.6rem;
	line-height: 1.2;
}

.legal-content h3 {
	margin-top: 28px;
	font-size: 1.15rem;
}

.legal-content strong {
	color: var(--ink);
}

.legal-content address {
	margin-top: 12px;
	font-style: normal;
}

.legal-content .stand {
	color: var(--muted);
	font-size: 15px;
}

.legal-content .notice {
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius-control);
	background: var(--mist);
}

.table-wrap {
	margin-top: 16px;
	overflow-x: auto;
}

.legal-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.legal-content th,
.legal-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.legal-content th {
	color: var(--navy);
	font-weight: 700;
}

.legal-content code {
	font-size: 0.9em;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.not-found {
	display: grid;
	gap: 24px;
	justify-items: start;
}

/* Breakpoints */

@media (max-width: 639px) {
	.container {
		padding-inline: 20px;
	}

	.hero-phone {
		left: 8px;
		width: 34%;
	}
}

@media (max-width: 479px) {
	.site-header .btn {
		height: 40px;
		padding: 0 14px;
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	:root {
		--section-space: 64px;
	}
}

@media (min-width: 640px) {
	.back-link {
		display: inline;
	}
}

@media (min-width: 768px) {
	.site-nav {
		display: flex;
	}

	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento .tile:first-child,
	.bento .tile:last-child {
		grid-column: 1 / -1;
	}

	.more ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer .container {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding-block: 72px 96px;
	}

	.hero .container {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.bento {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.bento .tile:first-child,
	.bento .tile:last-child {
		grid-column: auto;
	}

	.bento .span-4 {
		grid-column: span 4;
	}

	.bento .span-5 {
		grid-column: span 5;
	}

	.bento .span-7 {
		grid-column: span 7;
	}

	.bento .span-8 {
		grid-column: span 8;
	}

	.steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Line from the first to the last circle: column width is 25% - 24px (gap 32px), circle radius 22px. */
	.steps::before {
		content: '';
		position: absolute;
		top: 22px;
		left: 22px;
		right: calc(25% - 46px);
		height: 1px;
		background: var(--line);
	}

	.trial .container {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 56px;
	}
}

/* Motion */

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

	.tile,
	.btn {
		transition: none;
	}

	.tile:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.reveal {
			animation: reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 40%;
		}

		@keyframes reveal {
			from {
				opacity: 0;
				translate: 0 16px;
			}

			to {
				opacity: 1;
				translate: 0 0;
			}
		}
	}
}
