/* Fiumi, Platzhalter-Website. Alles kommt vom eigenen Server: keine fremden Schriften, keine Skripte, keine Cookies.
   Die Content-Security-Policy (default-src 'self') erlaubt kein Inline-CSS; darum steht alles in dieser Datei. */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("BricolageGrotesque.ttf") format("truetype");
	font-weight: 200 800;
	font-stretch: 75% 100%;
	font-style: normal;
	font-display: swap;
}

:root {
	--grund: #E3EAF4;     /* Perlnebel */
	--schrift: #273943;   /* Kontrast zum Grund etwa 9,9 zu 1 */
	--linie: 39, 57, 67;
	--tempo: 240ms;
	color-scheme: light;
}

* { box-sizing: border-box; }

html {
	background: var(--grund);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	color: var(--schrift);
	font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Das Farbspiel: wenige weiche Flecken in den Tönen der Gefühle (ruhig, aufgewühlt, leicht, sanft), sehr langsam
   treibend. Nur transform wird animiert, das bleibt auf Telefonen flüssig. */
.wasser {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.fleck {
	position: absolute;
	width: 78vmax;
	height: 62vmax;
	border-radius: 50%;
	will-change: transform;
}

.fleck.ruhig {
	left: -26vmax; top: -22vmax;
	background: radial-gradient(closest-side, rgba(39, 158, 172, 0.34), rgba(39, 158, 172, 0));
	animation: treiben-a 61s ease-in-out infinite alternate;
}
.fleck.aufgewuehlt {
	right: -30vmax; top: 6vmax;
	width: 64vmax; height: 52vmax;
	background: radial-gradient(closest-side, rgba(234, 79, 53, 0.22), rgba(234, 79, 53, 0));
	animation: treiben-b 47s ease-in-out infinite alternate;
}
.fleck.leicht {
	left: 4vmax; bottom: -26vmax;
	background: radial-gradient(closest-side, rgba(255, 224, 149, 0.62), rgba(255, 224, 149, 0));
	animation: treiben-c 53s ease-in-out infinite alternate;
}
.fleck.sanft {
	right: -22vmax; bottom: -20vmax;
	width: 70vmax; height: 56vmax;
	background: radial-gradient(closest-side, rgba(173, 143, 202, 0.36), rgba(173, 143, 202, 0));
	animation: treiben-a 71s ease-in-out -23s infinite alternate-reverse;
}
.fleck.tief {
	left: 24vmax; top: 18vmax;
	width: 56vmax; height: 44vmax;
	background: radial-gradient(closest-side, rgba(72, 99, 160, 0.16), rgba(72, 99, 160, 0));
	animation: treiben-b 83s ease-in-out -41s infinite alternate;
}

@keyframes treiben-a {
	0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
	50%  { transform: translate(12vmax, 8vmax) rotate(14deg) scale(1.12); }
	100% { transform: translate(4vmax, 16vmax) rotate(-8deg) scale(0.94); }
}
@keyframes treiben-b {
	0%   { transform: translate(0, 0) rotate(0deg) scale(1.05); }
	50%  { transform: translate(-14vmax, 6vmax) rotate(-12deg) scale(0.92); }
	100% { transform: translate(-6vmax, -10vmax) rotate(10deg) scale(1.14); }
}
@keyframes treiben-c {
	0%   { transform: translate(0, 0) rotate(0deg) scale(0.96); }
	50%  { transform: translate(16vmax, -10vmax) rotate(9deg) scale(1.1); }
	100% { transform: translate(-8vmax, -14vmax) rotate(-14deg) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
	.fleck { animation: none; }
}

/* Die Startseite: alles in der Mitte. */
main.mitte {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4rem 1rem 2rem;
	/* Der Hauch hinter dem Text (.lesefeld::before) ragt seitlich 2rem hinaus; ohne Beschneiden wird die Seite auf
	   Telefonen breiter als der Bildschirm (bei 390 px Breite 406 px) und lässt sich seitlich schieben. */
	overflow-x: clip;
}

/* Ein heller Hauch hinter dem Text hält den Kontrast über 4,5 zu 1, wo ein Fleck gerade darunter liegt. */
.lesefeld {
	position: relative;
	isolation: isolate;
	max-width: 34rem;
	padding: 1.5rem 0;
}
.lesefeld::before {
	content: "";
	position: absolute;
	inset: -3rem -2rem;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(227, 234, 244, 0.78), rgba(227, 234, 244, 0));
}

h1 {
	margin: 0;
	font-size: clamp(4rem, 22vw, 9rem);
	font-weight: 300;
	font-stretch: 100%;
	line-height: 1;
	letter-spacing: -0.03em;
}

.satz {
	margin: 1.25rem 0 0;
	text-wrap: balance;
	font-size: clamp(1.125rem, 4.4vw, 1.375rem);
	font-weight: 400;
}

.kontakt {
	margin: 2.25rem 0 0;
	font-size: 1rem;
}

a {
	color: var(--schrift);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: rgba(var(--linie), 0.5);
	transition: text-decoration-color var(--tempo) ease;
}
a:hover { text-decoration-color: rgba(var(--linie), 1); }
a:focus-visible {
	outline: 2px solid var(--schrift);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Trennlinie: eine Linie mit Transparenzverlauf, nie eine Fläche. */
.linie {
	height: 1px;
	border: 0;
	margin: 0 auto;
	width: min(100% - 2rem, 34rem);
	background: linear-gradient(90deg, rgba(var(--linie), 0), rgba(var(--linie), 0.34), rgba(var(--linie), 0));
}

footer {
	padding: 1.25rem 1rem 1.75rem;
	text-align: center;
	font-size: 1rem;
}
footer nav {
	display: flex;
	justify-content: center;
	gap: 1.75rem;
	padding-top: 1.25rem;
}
footer a { padding: 0.5rem 0.25rem; }  /* Fläche zum Tippen */

/* Impressum und Datenschutz: ruhiger Grund ohne Farbspiel, gut lesbar. */
.text {
	flex: 1;
	width: 100%;
	max-width: 40rem;
	margin: 0 auto;
	padding: 2rem 1rem 3rem;
}
.text .kopf {
	display: inline-block;
	margin-bottom: 2rem;
	font-size: 1.5rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.text h1 {
	font-size: clamp(2rem, 9vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 1.5rem;
}
.text h2 {
	margin: 2.25rem 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}
.text p, .text ul { margin: 0 0 1rem; }
.text ul { padding-left: 1.25rem; }
.text li { margin-bottom: 0.4rem; }
.stand { font-size: 1rem; }

/* Platzhalter fallen auf: Jonas ersetzt sie vor dem Ausrollen. */
.platzhalter {
	font-weight: 600;
	background: rgba(234, 79, 53, 0.14);
	border-radius: 3px;
	padding: 0 0.2em;
}

@media (max-width: 30rem) {
	body { font-size: 1.0625rem; }
	footer nav { gap: 1.25rem; }
}
