/* ------------------------------------------------------------------
   zuchttier-aus-dem-ausland.zuchtprogramm.com
   Farbwelt aus den Bildern: dunkles Waldgrün als Grundfläche, Ocker
   als einziger warmer Ton, gebrochenes Weiß für die Schrift.
   Typografie: Serif, die ganze Seite auf eine Mittelachse gesetzt —
   Varianz kommt aus der Ausrichtung, nicht aus einer neuen Schrift.
   Layout: zentrierte Achse mit atmenden Bildbreiten (voll, schmal,
   sehr schmal) — der Blick verengt sich.
   Effekt: drei Felder füllen sich der Reihe nach; das letzte bleibt
   leer und bleibt es auch.
   ------------------------------------------------------------------ */

*
{
	box-sizing: border-box;
}

:root
{
	--wald: #1e2b1e;
	--wald2: #162016;
	--wald3: #35462f;
	--ocker: #c9a24a;
	--ocker2: #8d7238;
	--hell: #ece5d5;

	--sats: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, serif;
}

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

body
{
	margin: 0;
	background: var(--wald);
	color: var(--hell);
	font: 400 clamp(1.04rem, 1rem + .32vw, 1.18rem)/1.85 var(--sats);
	text-align: center;
}

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

a
{
	color: inherit;
}

.achse
{
	max-width: 36rem;
	margin: 0 auto;
	padding: 0 clamp(1.3rem, 5vw, 2.4rem);
}

section
{
	padding: clamp(2.8rem, 7vw, 5rem) 0;
}

/* --- Titel ---------------------------------------------------------- */

.kopf
{
	padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 5vw, 3rem);
}

.kopf__marke
{
	margin: 0 0 clamp(1.4rem, 4vw, 2.2rem);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .7rem;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--ocker);
}

h1
{
	margin: 0 auto;
	max-width: 17ch;
	font-weight: 400;
	font-size: clamp(1.8rem, 1rem + 3.7vw, 3.2rem);
	line-height: 1.2;
}

h1 em
{
	display: block;
	font-style: italic;
	color: var(--ocker);
}

.kopf__unter
{
	margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
}

/* --- Bilder in atmenden Breiten -------------------------------------- */

figure
{
	margin: 0;
}

.bild--voll img
{
	width: 100%;
}

.bild--halb img
{
	width: min(100%, 34rem);
}

.bild--schmal img
{
	width: min(100%, 21rem);
}

figcaption
{
	max-width: 34rem;
	margin: .9rem auto 0;
	padding: 0 clamp(1.3rem, 5vw, 2.4rem);
	font-size: .85rem;
	font-style: italic;
	line-height: 1.65;
	color: #b6b39c;
}

/* --- Text ------------------------------------------------------------ */

h2
{
	margin: 0 auto 1.2rem;
	max-width: 20ch;
	font-weight: 400;
	font-size: clamp(1.4rem, 1.05rem + 1.6vw, 2.15rem);
	line-height: 1.22;
}

p
{
	margin: 0 auto 1.3rem;
}

p:last-child
{
	margin-bottom: 0;
}

.gesetz
{
	margin: clamp(1.4rem, 3.5vw, 2rem) auto;
	padding: 1.2rem 1.3rem;
	border-top: 1px solid var(--ocker2);
	border-bottom: 1px solid var(--ocker2);
	background: rgba(236, 229, 213, .05);
}

.gesetz b
{
	display: block;
	margin-bottom: .5rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .68rem;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ocker);
}

.gesetz p
{
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
}

.trenner
{
	width: 3.4rem;
	height: 1px;
	margin: clamp(2rem, 5vw, 3rem) auto;
	background: var(--ocker2);
	border: 0;
}

.dunkler
{
	background: var(--wald2);
}

.gross
{
	max-width: 22ch;
	font-size: clamp(1.35rem, 1rem + 1.9vw, 2.2rem);
	font-style: italic;
	line-height: 1.3;
	color: var(--ocker);
}

/* --- Die drei Felder -------------------------------------------------- */

.felder
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
	gap: .9rem;
	margin: clamp(1.8rem, 4vw, 2.6rem) 0 0;
	list-style: none;
	padding: 0;
	text-align: left;
}

.feld
{
	min-width: 0;
	padding: 1rem 1.1rem 1.2rem;
	border: 1px solid var(--wald3);
	background: rgba(236, 229, 213, .04);
	opacity: .25;
	transition: opacity .7s ease;
}

.felder.da .feld,
.kein-js .feld
{
	opacity: 1;
}

.felder.da .feld:nth-child(2)
{
	transition-delay: .35s;
}

.felder.da .feld:nth-child(3)
{
	transition-delay: .7s;
}

.feld b
{
	display: block;
	margin-bottom: .35rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .68rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ocker);
}

.feld span
{
	font-size: .96rem;
	line-height: 1.55;
}

.feld--leer
{
	border-style: dashed;
	border-color: var(--ocker2);
	background: none;
	color: #8f9686;
}

.felder.da .feld--leer
{
	opacity: .75;
}

.felder__unter
{
	margin: 1.1rem auto 0;
	font-size: .9rem;
	color: #b6b39c;
}

/* --- ZEUS ------------------------------------------------------------- */

.knopf
{
	display: inline-block;
	margin-top: clamp(1.6rem, 4vw, 2.4rem);
	padding: .9rem 2.2rem;
	border: 1px solid var(--ocker);
	color: var(--ocker);
	font-size: .95rem;
	letter-spacing: .04em;
	text-decoration: none;
}

.knopf:hover,
.knopf:focus
{
	background: var(--ocker);
	color: var(--wald);
}

.betreuung
{
	margin: clamp(1.8rem, 4vw, 2.4rem) auto 0;
	padding: 1.1rem 1.2rem;
	background: rgba(236, 229, 213, .05);
	font-size: .93rem;
	line-height: 1.72;
}

.betreuung b
{
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .68rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ocker);
}

/* Das Siegel steht auf der Mittelachse, in der schmalsten der drei
   Bildbreiten — der Blick verengt sich bis zuletzt. Das Waldgrün würde die
   schwarzen Linien schlucken, deshalb eine helle Kachel; die Ockerkontur ist
   dieselbe wie am Gesetzeskasten. */

.siegel
{
	margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
	max-width: 24rem;
}

.siegel a
{
	display: block;
	max-width: 12.5rem;
	margin: 0 auto;
	padding: 1rem;
	background: var(--hell);
	border: 1px solid var(--ocker2);
	text-decoration: none;
}

.siegel img
{
	width: 100%;
}

.siegel figcaption
{
	max-width: 24rem;
	padding: 0;
}

/* --- Querlinks: zentriert, ohne Marken -------------------------------- */

.themen:not(:has(a))
{
	display: none;
}

.themenliste
{
	list-style: none;
	margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
	padding: 0;
	max-width: 40rem;
	font-size: .95rem;
}

.themenliste li
{
	padding: .55rem 0;
	line-height: 1.55;
}

.themenliste li[hidden]
{
	display: none;
}

.themenliste a
{
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.themenliste a:hover,
.themenliste a:focus
{
	color: var(--ocker);
	border-bottom-color: var(--ocker2);
}

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

.fuss
{
	background: var(--wald2);
	padding: clamp(2.6rem, 6vw, 3.8rem) 0 clamp(3rem, 7vw, 4.6rem);
	font-size: .86rem;
	line-height: 2.1;
	color: #c6c2ad;
}

.fuss p
{
	max-width: 40rem;
	margin: 0 auto 1.2rem;
}

.fuss i
{
	color: var(--ocker2);
	font-style: italic;
}

.fuss a
{
	color: #c6c2ad;
	text-decoration: none;
	border-bottom: 1px solid var(--ocker2);
}

/* --- Weitertragen: die Wege stehen als Links im Fließtext ------------ */

.weitertragen
{
	padding-top: clamp(2rem, 5vw, 3rem);
}

.weitertragen__satz
{
	max-width: 32rem;
}

.weitertragen__wege
{
	margin-top: clamp(1.2rem, 3vw, 1.7rem);
}

.weitertragen__wege a,
.weitertragen__wege button
{
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--hell);
	font: inherit;
	text-decoration: underline;
	text-decoration-color: var(--ocker2);
	text-underline-offset: .22em;
	cursor: pointer;
}

.weitertragen__wege a:hover,
.weitertragen__wege a:focus,
.weitertragen__wege button:hover,
.weitertragen__wege button:focus
{
	color: var(--ocker);
	text-decoration-color: var(--ocker);
}

/* Der Trennpunkt steht nur zwischen zwei sichtbaren Wegen */
.weitertragen__wege > *:not([hidden]) + *:not([hidden])::before
{
	content: " · ";
	color: var(--ocker2);
	text-decoration: none;
	display: inline-block;
	padding: 0 .12em;
}

.weitertragen__wege svg
{
	vertical-align: -.12em;
	margin-right: .12em;
	color: var(--ocker);
}

/* --- Randzeichen rechts: nur die Symbole, an der Achse vorbei --------- */

.randzeichen
{
	display: none;
}

@media (min-width: 78rem)
{
	.randzeichen
	{
		display: flex;
		flex-direction: column;
		gap: .5rem;
		position: fixed;
		right: 1.5rem;
		top: 50%;
		transform: translateY(-50%);
		z-index: 20;
	}

	.randzeichen a,
	.randzeichen button
	{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.3rem;
		height: 2.3rem;
		padding: 0;
		border: 1px solid var(--ocker2);
		background: var(--wald2);
		color: var(--hell);
		cursor: pointer;
		transition: color .2s ease, border-color .2s ease;
	}

	.randzeichen a:hover,
	.randzeichen a:focus,
	.randzeichen button:hover,
	.randzeichen button:focus
	{
		color: var(--ocker);
		border-color: var(--ocker);
	}

	.randzeichen .kopiert
	{
		color: var(--ocker);
		border-color: var(--ocker);
	}
}

.weitertragen__wege [hidden],
.randzeichen [hidden]
{
	display: none;
}
