/* NEXIENS · nexiens.com
   Palette laut store/BRANDING-NEXIENS-NOTIZ.md.
   Schrift: System-Stack, damit die Seite ohne eine einzige fremde Anfrage laedt. */

:root {
	--graphit: #0f1113;
	--graphit-hoch: #171a1d;
	--graphit-tief: #0a0c0d;
	--linie: #2a2f34;
	--linie-hell: #3a4046;
	/* Rand von Eingabefeldern. Eigener Wert, weil WCAG 1.4.11 fuer
	   Bedienelemente 3:1 verlangt: gegen --graphit-hoch sind das 3,24:1,
	   gegen die Fuellung --graphit-tief 3,63:1. --linie-hell kaeme nur auf
	   1,67:1 und traegt deshalb nur Trennlinien, die rein schmueckend sind. */
	--linie-feld: #656b70;
	--bone: #f7f6f3;
	--stein: #d7d3cc;
	--gedaempft: #a8a5a0;
	--teal: #00bfae;
	--teal-hell: #3fd6c8;
	--salbei: #a6b59a;
	--rot: #ff9d94;

	--schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, "Noto Sans", sans-serif;

	--mass: 42rem;
	--rand: clamp(1.25rem, 5vw, 2.5rem);
}

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

html {
	-webkit-text-size-adjust: 100%;
	/* Sicherheitsnetz: nichts soll die Seite waagerecht schiebbar machen. */
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--graphit);
	color: var(--stein);
	font-family: var(--schrift);
	font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* ---------------------------------------------------------------- Grundlagen */

h1,
h2,
h3,
h4 {
	color: var(--bone);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

a {
	color: var(--teal);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--teal-hell);
}

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
	border-radius: 2px;
}

strong,
b {
	color: var(--bone);
	font-weight: 600;
}

hr {
	border: 0;
	border-top: 1px solid var(--linie);
	margin: 3rem 0;
}

code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--graphit-hoch);
	border: 1px solid var(--linie);
	border-radius: 4px;
	padding: 0.1em 0.35em;
}

.nur-vorlesen {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sprung {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--teal);
	color: var(--graphit);
	padding: 0.75rem 1.25rem;
	font-weight: 600;
	z-index: 10;
	border-radius: 0 0 6px 0;
}

.sprung:focus {
	left: 0;
	color: var(--graphit);
}

/* -------------------------------------------------------------------- Kopf */

.kopf {
	padding: 1.75rem var(--rand) 0;
	max-width: calc(var(--mass) + 2 * var(--rand));
	width: 100%;
	margin: 0 auto;
}

.kopf-marke {
	color: var(--bone);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.22em;
	display: inline-block;
}

.kopf-marke:hover {
	color: var(--teal);
}

/* --------------------------------------------------------------- Startseite */

main {
	flex: 1 0 auto;
	width: 100%;
}

.startseite main {
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 var(--rand);
}

.held {
	padding: clamp(4rem, 14vh, 8rem) 0 clamp(3rem, 8vh, 4.5rem);
	text-align: center;
}

/* Punktraster und Teal-Schimmer aus der Graphic Language, sehr leise.
   Bewusst OHNE position:relative am .held: so haengt der Kasten am
   Anfangsblock, ist genau so breit wie das Fenster und schiebt die Seite
   nicht ueber den rechten Rand hinaus. */
.held::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: min(46rem, 90vh);
	background-image:
		radial-gradient(circle at 50% 0%, rgba(0, 191, 174, 0.14), transparent 62%),
		radial-gradient(rgba(215, 211, 204, 0.09) 1px, transparent 1px);
	background-size: 100% 100%, 26px 26px;
	pointer-events: none;
	z-index: -1;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}

.augenbraue {
	margin: 0 0 1.75rem;
	color: var(--salbei);
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
}

.wortmarke {
	margin: 0;
	font-size: clamp(2.5rem, 11vw, 4.5rem);
	letter-spacing: 0.14em;
	font-weight: 600;
	color: var(--bone);
	/* Das Sperren schiebt optisch nach links, das hier gleicht es aus. */
	text-indent: 0.14em;
}

.claim {
	margin: 1.25rem 0 0;
	color: var(--teal);
	font-size: clamp(1rem, 0.9rem + 0.45vw, 1.1875rem);
	letter-spacing: 0.02em;
}

.dreisatz {
	margin: 2.75rem auto 0;
	max-width: 36rem;
	text-align: left;
	display: grid;
	gap: 1.15rem;
}

.dreisatz p {
	margin: 0;
	color: var(--stein);
}

.dreisatz p:first-child {
	color: var(--bone);
	font-size: 1.125em;
}

/* ------------------------------------------------------------- Warteliste */

.warteliste-block {
	background: var(--graphit-hoch);
	border: 1px solid var(--linie);
	border-radius: 14px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	margin: 0 0 clamp(3rem, 8vh, 4.5rem);
}

.warteliste-block h2 {
	margin: 0;
	font-size: 1.375rem;
}

.vorspann {
	margin: 0.6rem 0 1.75rem;
	color: var(--gedaempft);
}

.warteliste {
	display: grid;
	gap: 1rem;
}

.feld {
	display: grid;
	gap: 0.5rem;
}

.feld label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--bone);
}

input[type="email"],
input[type="text"] {
	width: 100%;
	font: inherit;
	color: var(--bone);
	background: var(--graphit-tief);
	border: 1px solid var(--linie-feld);
	border-radius: 8px;
	padding: 0.8rem 0.9rem;
	min-height: 3rem;
}

input[type="email"]::placeholder {
	color: #7d7a76;
}

input[type="email"]:focus-visible {
	border-color: var(--teal);
	outline-offset: 1px;
}

input[type="email"][aria-invalid="true"] {
	border-color: var(--rot);
}

.knopf {
	font: inherit;
	font-weight: 600;
	color: var(--graphit);
	background: var(--teal);
	border: 1px solid var(--teal);
	border-radius: 8px;
	padding: 0.8rem 1.5rem;
	min-height: 3rem;
	cursor: pointer;
	justify-self: start;
	transition: background-color 0.15s ease;
}

.knopf:hover {
	background: var(--teal-hell);
	border-color: var(--teal-hell);
}

/* Waehrend des Absendens und danach. Kein blasses Teal: ein halbdurchsichtiger
   Knopf sieht kaputt aus und seine Beschriftung verliert den Kontrast. */
.knopf[disabled] {
	background: var(--graphit-hoch);
	border-color: var(--linie-hell);
	color: var(--gedaempft);
	cursor: default;
}

.hinweis {
	margin: 0;
	font-size: 0.875rem;
	color: var(--gedaempft);
	line-height: 1.55;
}

.meldung {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.meldung:empty {
	display: none;
}

.meldung.gut {
	color: var(--salbei);
}

.meldung.schlecht {
	color: var(--rot);
}

/* Honigtopf: aus dem Bild geschoben, aber nicht display:none. */
.honigtopf {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ Karten */

.haltung {
	margin: 0;
}

.haltung h2 {
	font-size: 1.125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gedaempft);
	font-weight: 600;
	margin: 0 0 1.5rem;
}

.karten {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.karten li {
	border-top: 2px solid var(--salbei);
	padding-top: 1rem;
}

.karten h3 {
	margin: 0 0 0.4rem;
	font-size: 1rem;
}

.karten p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--gedaempft);
	line-height: 1.6;
}

/* -------------------------------------------------------------- Textseiten */

.text {
	max-width: calc(var(--mass) + 2 * var(--rand));
	margin: 0 auto;
	padding: clamp(2.5rem, 7vh, 4rem) var(--rand) 0;
}

.text h1 {
	font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
	margin: 0 0 1.5rem;
}

.text h2 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--linie);
}

.text h1 + p + h2,
.text h1 + h2 {
	border-top: 0;
	padding-top: 0;
	margin-top: 2rem;
}

.text h3 {
	font-size: 1.0625rem;
	margin: 2rem 0 0.75rem;
}

.text p,
.text li {
	margin: 0 0 1rem;
}

.text ul,
.text ol {
	padding-left: 1.35rem;
	margin: 0 0 1.25rem;
}

.text li::marker {
	color: var(--linie-hell);
}

.text li p {
	margin-bottom: 0.5rem;
}

.text blockquote {
	margin: 1.25rem 0;
	padding: 0.9rem 1.1rem;
	background: var(--graphit-hoch);
	border-left: 3px solid var(--salbei);
	border-radius: 0 8px 8px 0;
	color: var(--gedaempft);
	font-size: 0.9375rem;
}

.text blockquote p:last-child {
	margin-bottom: 0;
}

.tabelle-rolle {
	overflow-x: auto;
	/* tabindex im HTML: sonst kaeme man mit der Tastatur nicht an den
	   rollbaren Bereich heran. */
	margin: 0 0 1.5rem;
	border: 1px solid var(--linie);
	border-radius: 8px;
	-webkit-overflow-scrolling: touch;
}

.text table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9375rem;
	/* So schmal, dass zweispaltige Tabellen auf dem Handy ohne Rollen passen.
	   Breitere rollen in ihrem eigenen Kasten, nie die ganze Seite. */
	min-width: 20rem;
}

.text th,
.text td {
	text-align: left;
	vertical-align: top;
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid var(--linie);
}

.text thead th {
	color: var(--bone);
	background: var(--graphit-hoch);
	font-weight: 600;
	white-space: nowrap;
}

.text tbody tr:last-child td {
	border-bottom: 0;
}

.vorabfassung {
	margin: 3rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--linie);
	font-size: 0.8125rem;
	color: var(--gedaempft);
}

/* ------------------------------------------------------------------- Fuss */

.fuss {
	flex-shrink: 0;
	margin-top: clamp(3rem, 9vh, 5rem);
	padding: 2rem var(--rand) 3rem;
	border-top: 1px solid var(--linie);
	max-width: calc(var(--mass) + 2 * var(--rand));
	width: 100%;
	margin-inline: auto;
	font-size: 0.875rem;
	color: var(--gedaempft);
}

.startseite .fuss {
	max-width: calc(46rem);
}

.fuss-links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
}

.fuss-links [aria-current="page"] {
	color: var(--bone);
	font-weight: 600;
}

.fuss-quellen,
.fuss-firma {
	margin: 0 0 0.75rem;
	line-height: 1.6;
}

.fuss-firma {
	margin-bottom: 0;
	color: #918e8a;
}

/* ---------------------------------------------------------------- Rest */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	body {
		background: #fff;
		color: #000;
		display: block;
	}

	.kopf,
	.sprung,
	.fuss-links {
		display: none;
	}

	h1,
	h2,
	h3,
	strong {
		color: #000;
	}

	a {
		color: #000;
	}

	.text blockquote,
	.text thead th {
		background: #f2f2f2;
		color: #000;
	}

	.text {
		max-width: none;
		padding: 0;
	}
}
