/* ==========================================================================
   Create and You – Interimsseite
   Eigene Styles auf Basis von Bootstrap 5.3
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften (lokal gehostet, kein Google-Fonts-CDN → DSGVO)
   -------------------------------------------------------------------------- */

/* Fraunces – Variable Font (wght 100–900, opsz 9–144, SOFT 0–100, WONK 0–1) */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;

	font-display: swap;
	src: url("../fonts/fraunces-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: "Fraunces";
	font-style: normal;
	font-weight: 100 900;

	font-display: swap;
	src: url("../fonts/fraunces-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;
}

/* Outfit – Variable Font (wght 100–900) */
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;

	font-display: swap;
	src: url("../fonts/outfit-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: "Outfit";
	font-style: normal;
	font-weight: 100 900;

	font-display: swap;
	src: url("../fonts/outfit-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;
}

/* --------------------------------------------------------------------------
   Design-Tokens – überschreiben die Bootstrap-CSS-Variablen
   -------------------------------------------------------------------------- */

:root {
	/* Markenfarben (aus Figma) */
	--cay-purple: #8869a7;
	--cay-purple-dark: #6d5288;
	--cay-cream: #f3eeea;

	/* Abstände aus dem Design */
	--cay-space-section: clamp(3rem, 7.9vw, 7.5rem); /* 120px */
	--cay-space-block: clamp(2rem, 4vw, 3.75rem); /* 60px */
	--cay-space-text: 0.75rem; /* 12px */

	/* Bootstrap-Overrides */
	--bs-body-font-family: "Outfit", system-ui, -apple-system, "Segoe UI",
		sans-serif;
	--bs-body-font-size: clamp(1.125rem, 1.05rem + 0.31vw, 1.25rem); /* 18 → 20px */
	--bs-body-font-weight: 500;
	--bs-body-line-height: 1.5; /* 30px */
	--bs-body-color: var(--cay-purple);
	--bs-body-color-rgb: 136, 105, 167;
	--bs-emphasis-color: var(--cay-purple);
	--bs-heading-color: var(--cay-purple);
	--bs-link-color: var(--cay-purple);
	--bs-link-color-rgb: 136, 105, 167;
	--bs-link-hover-color: var(--cay-purple-dark);
	--bs-link-hover-color-rgb: 109, 82, 136;
	--bs-border-color: rgba(136, 105, 167, 0.25);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

body {
	display: flex;
	overflow-wrap: break-word;
	min-height: 100vh;

	flex-direction: column;
}

main {
	flex: 1 0 auto;
}

/* Fokus-Sichtbarkeit an die Markenfarbe angleichen */
:focus-visible {
	outline-offset: 3px;
	outline: 2px solid var(--cay-purple);
}

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

h1,
h2,
h3,
h4,
.display-font {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-optical-sizing: auto;
	/* Figma: Fraunces Black mit SOFT 0 / WONK 1 */
	font-variation-settings: "SOFT" 0, "WONK" 1;
	font-weight: 900;
	letter-spacing: -0.0167em; /* -1px bei 60px */

	color: var(--cay-purple);
}

h1 {
	margin-bottom: 0;

	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); /* 36px → 60px */
	line-height: 1.1333; /* 68/60 */
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); /* 24px → 32px */
	line-height: 1.25;
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); /* 20px → 24px */
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Layout-Bausteine
   -------------------------------------------------------------------------- */

/* Vertikaler Stack mit den beiden Abständen aus dem Design */
.stack-block {
	display: flex;

	gap: var(--cay-space-block);
	flex-direction: column;
}

.stack-text {
	display: flex;

	gap: var(--cay-space-text);
	flex-direction: column;
}

/* Inhaltsbreite laut Figma: max. 720px */
.content-width {
	max-width: 720px;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Kopfbereich mit Logo
   -------------------------------------------------------------------------- */

.site-header {
	padding-block: clamp(2.5rem, 6.6vw, 6.25rem); /* 100px */

	text-align: center;

	background-color: #fff;
}

.site-header__logo {
	display: inline-block;
	width: min(350px, 65vw);
	height: auto;
}

/* Kleineres Logo auf den Unterseiten */
.site-header--compact {
	padding-block: clamp(2rem, 4vw, 3.75rem);
}

.site-header--compact .site-header__logo {
	width: min(180px, 45vw);
}

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

.section-cream {
	padding-block: var(--cay-space-section);
	padding-inline: clamp(1.25rem, 4vw, 3.75rem); /* 60px */

	background-color: var(--cay-cream);
}

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */

.legal {
	text-align: left;
}

.legal h2 {
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
}

.legal h2:first-of-type {
	margin-top: 0;
}

.legal h3 {
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
}

.legal p,
.legal ul {
	margin-bottom: 1rem;
}

.legal ul {
	padding-left: 1.25rem;
}

.legal li + li {
	margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Fußbereich
   -------------------------------------------------------------------------- */

.site-footer {
	padding-block: clamp(2.5rem, 4vw, 3.75rem); /* 60px */

	background-color: #fff;
}

.site-footer__nav {
	display: flex;

	gap: 2.5rem; /* 40px */
	flex-wrap: wrap;
	justify-content: center;

	font-size: 1rem; /* 16px */
	font-weight: 400;
	line-height: 1.5; /* 24px */
	text-align: center;
}

.site-footer__nav a[aria-current="page"] {
	font-weight: 600;
}
