/*
 * Marlen – In Flow: Platzhalterseite bis zum Launch.
 *
 * Statisch, ohne externe Ressourcen: Schriften und Bilder liegen unter
 * assets/. Farben und Schriften entsprechen dem WordPress-Theme
 * "marleninflow" (sass/abstracts/variables).
 */

/* Schriften
--------------------------------------------- */
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/cormorant-garamond-medium.woff2) format("woff2");
}

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

/* Variablen
--------------------------------------------- */
:root {
	--green: #577e76;
	--green-dark: #3f5f58;
	--green-darker: #2f4741;
	--petrol: #2f8a7a;
	--leaf: #4a8a3f;
	--ochre: #94750f;
	--mint: #c1f7d7;
	--mint-light: #e6fbf0;
	--sand: #ecd077;
	--text: #3f5f58;
	--text-muted: #5c7873;
	--bg-light: #f4f7f6;
	--white: #fefefe;

	--font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-heading: "Cormorant Garamond", garamond, georgia, "Times New Roman", serif;

	--container: 1120px;
	--gutter: 40px;
	--radius: 20px;
	--shadow: 0 1px 2px rgba(47, 71, 65, 0.06), 0 4px 16px rgba(47, 71, 65, 0.08);
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-main);
	font-size: 1.1875rem; /* 19px wie im Theme */
	line-height: 1.7;
}

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

a {
	color: var(--green-dark);
	text-decoration-line: underline;
	text-decoration-color: var(--sand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease), text-underline-offset 0.35s var(--ease);
}

a:hover,
a:focus {
	color: var(--green-darker);
	text-decoration-color: var(--green);
	text-underline-offset: 0.32em;
}

a:focus-visible {
	outline: 3px solid var(--mint);
	outline-offset: 3px;
	border-radius: 4px;
}

p,
ul,
ol {
	margin: 0 0 1.2em;
}

/* Überschriften h1–h4
--------------------------------------------- */
h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
	color: var(--green);
}

h1 {
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
	text-align: center;
}

/* Zierstrich unter h1 und h2 im Mint-Sand-Verlauf, wie im Theme. */
h1::after,
h2::after {
	content: "";
	display: block;
	width: 120px;
	max-width: 60%;
	height: 2px;
	margin: 0.45em auto 0;
	background: linear-gradient(to right, transparent 0, var(--mint) 20%, var(--sand) 80%, transparent 100%);
}

h2 {
	font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
	text-align: center;
}

h3 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
	color: var(--petrol);
}

/* Cormorant läuft deutlich kleiner als Inter; unter 1.5rem stünde die h4
   kleiner da als der Fließtext. */
h4 {
	font-size: 1.5rem;
	color: var(--green-dark);
}

/* Layout
--------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--narrow {
	max-width: calc(760px + 2 * var(--gutter));
}

@media (max-width: 600px) {
	:root {
		--gutter: 20px;
	}

	body {
		font-size: 1.0625rem;
	}
}

.skip-link {
	position: absolute;
	left: -999em;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 10;
	padding: 8px 16px;
	background: var(--white);
	box-shadow: var(--shadow);
}

/* Kopf
--------------------------------------------- */
.site-header {
	padding: 22px 0 18px;
	text-align: center;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.brand__logo {
	height: 110px;
	width: auto;
}

.brand__wordmark {
	height: 72px;
	width: auto;
}

.site-header__claim {
	margin: 8px 0 0;
	color: var(--green);
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
}

@media (max-width: 600px) {
	.brand__logo {
		height: 76px;
	}

	.brand__wordmark {
		height: 52px;
	}
}

/* Bildband mit Launch-Hinweis
--------------------------------------------- */
.hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(320px, 52vh, 520px);
	padding: 48px var(--gutter);
	background: var(--bg-light) url(../img/ostsee.jpg) center / cover no-repeat;
}

@media (max-width: 800px) {
	.hero {
		background-image: url(../img/ostsee-768.jpg);
	}
}

/* Weiche Wellenkanten oben und unten statt einer harten Bildkante. */
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 28px;
	background: var(--white);
}

.hero::before {
	top: -1px;
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.hero::after {
	bottom: -1px;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero__box {
	position: relative;
	z-index: 1;
	max-width: 560px;
	padding: 32px 40px;
	border-radius: var(--radius);
	background: rgba(254, 254, 254, 0.88);
	box-shadow: var(--shadow);
	text-align: center;
}

.hero__kicker {
	margin: 0 0 0.4em;
	color: var(--text-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__title {
	margin: 0 0 0.3em;
	font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
}

.hero__title::after {
	content: none;
}

.hero__date {
	margin: 0;
	color: var(--green-dark);
	font-size: 1.25rem;
}

.hero__date time {
	font-weight: 600;
}

.hero__countdown {
	margin: 0.5em 0 0;
	color: var(--text-muted);
	font-size: 0.9375rem;
}

.hero__countdown:empty {
	display: none;
}

@media (max-width: 600px) {
	.hero__box {
		padding: 24px 22px;
	}
}

/* Inhalt
--------------------------------------------- */
.section {
	padding: 64px 0;
}

.section--mint {
	background: var(--mint-light);
}

.lead {
	font-size: 1.25rem;
	text-align: center;
}

/* Drei kurze Punkte, worum es geht. */
.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 25px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.facts__item {
	padding: 26px 24px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

.facts__item h3 {
	margin-bottom: 0.3em;
}

.facts__item:nth-child(2) h3 {
	color: var(--leaf);
}

.facts__item:nth-child(3) h3 {
	color: var(--ochre);
}

.facts__item p {
	margin: 0;
}

/* Kontakt
--------------------------------------------- */
.contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.button {
	display: inline-block;
	padding: 0.8em 1.8em;
	border-radius: 50px;
	background: var(--green-dark);
	color: var(--white);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.button:visited {
	color: var(--white);
}

.button:hover,
.button:focus {
	background: var(--green-darker);
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -8px rgba(47, 71, 65, 0.45);
}

.button--soft {
	background: var(--mint-light);
	color: var(--green-dark);
}

.button--soft:visited {
	color: var(--green-dark);
}

.button--soft:hover,
.button--soft:focus {
	background: #bcecd6;
	color: var(--green-darker);
}

.section--mint .button--soft {
	background: var(--white);
}

.address {
	margin: 24px 0 0;
	color: var(--text-muted);
	font-style: normal;
	text-align: center;
}

/* Fuß
--------------------------------------------- */
.site-footer {
	padding: 32px 0 40px;
	background: linear-gradient(135deg, #bcecd6 0%, #cdefa0 100%);
	color: var(--green-darker);
	font-size: 0.9375rem;
}

.site-footer .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
}

.site-footer p {
	margin: 0;
}

.site-footer nav ul {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: var(--green-darker);
}

@media (max-width: 600px) {
	.site-footer .container {
		flex-direction: column;
		text-align: center;
	}
}

/* Rechtstexte
--------------------------------------------- */
.legal {
	padding: 24px 0 64px;
}

.legal h1 {
	margin-bottom: 1em;
}

.legal h2 {
	margin-top: 1.6em;
	text-align: left;
}

.legal h2::after {
	margin-left: 0;
}

.legal h3 {
	margin-top: 1.4em;
}

.placeholder-note {
	padding: 18px 22px;
	border-left: 4px solid var(--sand);
	border-radius: 0 12px 12px 0;
	background: #fdf8e3;
}

.back-link {
	margin-top: 2em;
}
