@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/*--------------------------------------------------------------
# Variablen
--------------------------------------------------------------*/

:root {
	/* Farben */
	--color-yellow: #fab841;
	--color-white: #fef9fb;
	--color-black: #363636;
	--color-purple: #ae92c4;
	--color-green: #7b915d;

	--color-background: var(--color-white);
	--color-text: var(--color-black);
	--color-primary: var(--color-purple);
	--color-secondary: var(--color-green);
	--color-accent: var(--color-yellow);

	/* Schrift */
	--font-primary: "Figtree", sans-serif;

	--font-size-footer: 0.875rem;
	--font-size-body: 1.125rem;
	--font-size-h4: clamp(1.375rem, 2vw, 1.5rem);
	--font-size-h3: clamp(1.625rem, 3vw, 1.875rem);
	--font-size-h2: clamp(2rem, 4vw, 2.375rem);
	--font-size-h1: clamp(2.5rem, 6vw, 3rem);

	/* Zeilenhöhen */
	--line-height-body: 1.65;
	--line-height-heading: 1.12;

	/* Layout */
	--content-width: 75rem;
	--text-width: 45rem;
	--page-padding: clamp(1rem, 4vw, 3rem);

	/* Abstände */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;
}

/*--------------------------------------------------------------
# Grundgestaltung
--------------------------------------------------------------*/

html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-primary);
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-background);
	font-size: var(--font-size-body);
	font-weight: 400;
	line-height: var(--line-height-body);
}

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

a {
	color: var(--color-primary);
}

a:focus-visible {
	outline: 0.1875rem solid var(--color-black);
	outline-offset: 0.25rem;
}

/*--------------------------------------------------------------
# Typografie
--------------------------------------------------------------*/

h1,
h2,
h3,
h4 {
	margin-block: 0 0.6em;
	color: var(--color-text);
	font-family: var(--font-primary);
	font-weight: 600;
	line-height: var(--line-height-heading);
	text-wrap: balance;
}

h1 {
	font-size: var(--font-size-h1);
}

h2 {
	font-size: var(--font-size-h2);
}

h3 {
	font-size: var(--font-size-h3);
}

h4 {
	font-size: var(--font-size-h4);
}

p {
	margin-block: 0 1.25em;
}

/*--------------------------------------------------------------
# Seitenstruktur
--------------------------------------------------------------*/

.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	padding:
		clamp(0.5rem, 1.5vw, 1rem)
		var(--page-padding);
}

.site-header__logo {
	display: block;
	width: clamp(2.5rem, 4vw, 3.5rem);
	color: inherit;
	text-decoration: none;
}

.site-header__logo img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/*--------------------------------------------------------------
# Coming-soon-Seite
--------------------------------------------------------------*/

body.home {
	background-color: var(--color-yellow);
}

.coming-soon-page {
	flex: 1;
	padding:
		clamp(0.5rem, 2vw, 1.5rem)
		var(--page-padding)
		clamp(3rem, 8vw, 7rem);
}

.coming-soon-hero {
	width: min(100%, var(--content-width));
	margin-inline: auto;
}

.coming-soon-hero__animation {
	display: block;
	width: 100%;
	height: auto;
	background-color: var(--color-yellow);
}

.coming-soon-title {
	margin:
		clamp(1rem, 3vw, 2rem)
		0
		0;
	color: var(--color-black);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
}

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

.site-footer {
	font-size: var(--font-size-footer);
	line-height: 1.5;
}

/*--------------------------------------------------------------
# Kleine Bildschirme
--------------------------------------------------------------*/

@media (max-width: 37.5rem) {
	.site-header {
		padding-block: 0.5rem;
	}

	.site-header__logo {
		width: 2.5rem;
	}

	.coming-soon-page {
		padding-top: 0.5rem;
	}

	.coming-soon-title {
		font-size: clamp(2.25rem, 12vw, 3rem);
	}
}