/* ------------------------------------------------------------------
   tierarzt-notdienst.qualzuchtpraevention.com
   Farbwelt aus den Bildern: Nachtschwarz, kaltes Klinikblau und ein
   einziger warmweißer Lichtschein.
   Typografie: Grotesk mit sehr enger Laufweite in den großen Zeilen,
   die Uhrzeiten als eigenes Schriftmotiv.
   Layout: Protokoll einer Nacht — Uhrzeit links, ein Satz rechts.
   Effekt: die Zeilen hellen beim Erscheinen kurz auf, wie ein Licht,
   das angeht, und fallen dann in die Dämmerung zurück.
   ------------------------------------------------------------------ */

*
{
	box-sizing: border-box;
}

:root
{
	--schwarz: #0a0d12;
	--schwarz2: #10151d;
	--blau: #1d3348;
	--blau2: #35617f;
	--kalt: #8fb4cd;
	--warm: #f4e3c4;
	--warm2: #c9a06a;
	--text: #cbd6e0;

	--bahn: 68rem;
	--sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body
{
	margin: 0;
	background: var(--schwarz);
	color: var(--text);
	font: 400 clamp(1.02rem, .98rem + .3vw, 1.15rem)/1.75 var(--sans);
}

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

a
{
	color: inherit;
}

.bahn
{
	max-width: var(--bahn);
	margin: 0 auto;
	padding: 0 clamp(1.3rem, 5vw, 3.6rem);
}

section
{
	padding: clamp(3rem, 8vw, 5.8rem) 0;
}

/* --- Titel über dem Bild ------------------------------------------ */

.kopf
{
	position: relative;
}

.kopf__bild img
{
	width: 100%;
	max-height: 76vh;
	object-fit: cover;
}

.kopf__bild
{
	margin: 0;
}

.kopf__text
{
	padding: clamp(2.4rem, 6vw, 4.4rem) 0 clamp(2rem, 5vw, 3.4rem);
}

.kopf__marke
{
	margin: 0 0 clamp(1.2rem, 3vw, 2rem);
	font-size: .74rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--warm2);
}

h1
{
	margin: 0;
	max-width: 17ch;
	font-weight: 700;
	font-size: clamp(2.1rem, .9rem + 5.4vw, 4.8rem);
	line-height: .98;
	letter-spacing: -.035em;
}

h1 span
{
	color: var(--warm);
}

.kopf__unter
{
	max-width: 38rem;
	margin: clamp(1.6rem, 3.5vw, 2.4rem) 0 0;
	color: #9fb0c0;
}

figcaption
{
	max-width: var(--bahn);
	margin: 0 auto;
	padding: .8rem clamp(1.3rem, 5vw, 3.6rem) 0;
	font-size: .84rem;
	line-height: 1.55;
	color: #8394a4;
}

/* --- Abschnitte ---------------------------------------------------- */

h2
{
	margin: 0 0 1.2rem;
	max-width: 18ch;
	font-weight: 700;
	font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.5rem);
	line-height: 1.08;
	letter-spacing: -.025em;
	color: #edf3f8;
}

p
{
	max-width: 37rem;
}

.blaugrund
{
	background: var(--blau);
}

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

.gross
{
	max-width: 24ch;
	margin: 0;
	font-weight: 700;
	font-size: clamp(1.5rem, 1.1rem + 2.1vw, 2.7rem);
	line-height: 1.16;
	letter-spacing: -.03em;
	color: var(--warm);
}

/* --- Das Protokoll ------------------------------------------------- */

.protokoll
{
	list-style: none;
	margin: clamp(1.8rem, 4vw, 2.8rem) 0 0;
	padding: 0;
}

.protokoll li
{
	display: grid;
	grid-template-columns: 1fr;
	gap: .3rem 2rem;
	padding: 1.05rem 0;
	border-top: 1px solid rgba(143, 180, 205, .2);
	color: #93a5b6;
	transition: color .9s ease, border-color .9s ease;
}

@media (min-width: 40rem)
{
	.protokoll li
	{
		grid-template-columns: 7.5rem 1fr;
		align-items: baseline;
	}
}

.protokoll li > b
{
	min-width: 0;
	font-weight: 400;
	font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
	letter-spacing: -.03em;
	color: var(--kalt);
	transition: color .9s ease;
}

.protokoll li > span
{
	min-width: 0;
	max-width: 34rem;
	line-height: 1.62;
}

/* Der Lichtschein: kurz hell, dann zurück in die Dämmerung */
.protokoll li.an
{
	animation: licht 2.4s ease-out both;
}

.protokoll li.an > b
{
	animation: lichtzahl 2.4s ease-out both;
}

@keyframes licht
{
	0% { color: #93a5b6; border-color: rgba(143, 180, 205, .2); }
	18% { color: #f2ecdf; border-color: rgba(244, 227, 196, .8); }
	100% { color: #93a5b6; border-color: rgba(143, 180, 205, .2); }
}

@keyframes lichtzahl
{
	0% { color: var(--kalt); }
	18% { color: var(--warm); }
	100% { color: var(--kalt); }
}

.hinweis
{
	max-width: 34rem;
	margin: clamp(1.4rem, 3vw, 2rem) 0 0;
	font-size: .86rem;
	line-height: 1.7;
	color: #7d8fa0;
}

/* --- Bild neben Text ----------------------------------------------- */

.paar__raster
{
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.6rem, 4vw, 3.2rem);
	align-items: center;
}

@media (min-width: 54rem)
{
	.paar__raster
	{
		grid-template-columns: 1fr 1.05fr;
	}

	.paar--bildlinks figure
	{
		order: -1;
	}
}

.paar figure
{
	margin: 0;
	min-width: 0;
}

.paar figcaption
{
	max-width: none;
	margin: 0;
	padding: .65rem 0 0;
}

/* --- Zwei Spalten: Zufall / Vorgeschichte -------------------------- */

.zwei
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
	gap: clamp(1.4rem, 4vw, 3rem);
	margin: clamp(1.8rem, 4vw, 2.6rem) 0 0;
}

.zwei > div
{
	min-width: 0;
	padding: 1.4rem 1.5rem;
	background: rgba(143, 180, 205, .07);
	border-left: 2px solid var(--blau2);
}

.zwei h3
{
	margin: 0 0 .7rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #edf3f8;
}

.zwei p
{
	margin: 0;
	font-size: .97rem;
	line-height: 1.68;
}

.zwei--warm > div
{
	border-left-color: var(--warm2);
}

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

.zeus__raster
{
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.6rem, 4vw, 3rem);
	align-items: start;
}

@media (min-width: 52rem)
{
	.zeus__raster
	{
		grid-template-columns: 1fr auto;
	}
}

.zeus__siegel
{
	margin: 0;
	min-width: 0;
	max-width: 14rem;
}

.zeus__siegel img
{
	width: 100%;
	padding: 1rem;
	background: #e9eef2;
}

.zeus__siegel figcaption
{
	max-width: none;
	margin: 0;
	padding: .6rem 0 0;
	font-size: .78rem;
}

.knopf
{
	display: inline-block;
	margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
	padding: .95rem 2rem;
	background: var(--warm);
	color: #17202b;
	font-size: .97rem;
	font-weight: 700;
	letter-spacing: -.01em;
	text-decoration: none;
}

.knopf:hover,
.knopf:focus
{
	background: #fff;
}

/* --- Querlinks: Raster mit kalten Linien ---------------------------- */

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

.themenliste
{
	list-style: none;
	margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
	gap: 0 clamp(1.4rem, 4vw, 3rem);
}

.themenliste li
{
	min-width: 0;
	display: block;
	border-bottom: 1px solid rgba(143, 180, 205, .22);
}

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

.themenliste a
{
	display: block;
	padding: .78rem 0;
	font-size: .93rem;
	line-height: 1.5;
	text-decoration: none;
	color: #b5c4d2;
}

.themenliste a:hover,
.themenliste a:focus
{
	color: var(--warm);
}

/* --- Fuß: zwei weit auseinanderliegende Spalten --------------------- */

.fuss
{
	background: var(--blau);
	padding: clamp(2.4rem, 6vw, 3.8rem) 0 clamp(3rem, 7vw, 4.6rem);
	font-size: .85rem;
	line-height: 1.75;
	color: #a9c0d2;
}

.fuss__raster
{
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.6rem, 5vw, 4rem);
}

@media (min-width: 52rem)
{
	.fuss__raster
	{
		grid-template-columns: 1fr 1fr;
	}

	.fuss__rechts
	{
		text-align: right;
	}
}

.fuss__raster > div
{
	min-width: 0;
}

.fuss b
{
	display: block;
	font-weight: 700;
	color: #e4eef6;
}

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

@media (prefers-reduced-motion: reduce)
{
	.protokoll li.an,
	.protokoll li.an > b
	{
		animation: none;
	}
}

/* --- Weitergeben: eingerückter Kasten mit warmer Kante -------------- */

.weiter
{
	padding-top: 0;
}

.weiter__kasten
{
	max-width: 44rem;
	margin-left: auto;
	margin-right: 0;
	padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.8rem);
	background: rgba(143, 180, 205, .07);
	border-left: 3px solid var(--warm2);
}

.weiter__satz
{
	margin: 0;
	color: #b5c4d2;
}

.weiter__reihe
{
	display: flex;
	flex-wrap: wrap;
	max-width: none;
	gap: .55rem 1.5rem;
	margin: 1.3rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(143, 180, 205, .22);
}

.weiter__el
{
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .15rem 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: .82rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--kalt);
	text-decoration: none;
	cursor: pointer;
}

.weiter__el[hidden]
{
	display: none;
}

.weiter__sym
{
	flex: none;
	color: var(--warm2);
}

.weiter__el:hover,
.weiter__el:focus-visible
{
	color: var(--warm);
}

.weiter__el:hover .weiter__sym,
.weiter__el:focus-visible .weiter__sym
{
	color: var(--warm);
}

.weiter__el:focus-visible
{
	outline: 1px solid var(--warm2);
	outline-offset: .3rem;
}

/* --- Leiste: rechts, tiefer als die Mitte, schmale Lichtspur -------- */

.leiste
{
	display: none;
}

@media (min-width: 86rem)
{
	.leiste
	{
		position: fixed;
		right: 1.2rem;
		top: 58%;
		z-index: 5;
		display: flex;
		flex-direction: column;
		gap: .15rem;
		padding: .5rem .3rem;
		background: var(--schwarz2);
		border-top: 1px solid var(--warm2);
	}

	.leiste__el
	{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.3rem;
		height: 2.3rem;
		border: 0;
		background: none;
		color: #7d8fa0;
		cursor: pointer;
		transition: color .3s ease;
	}

	.leiste__el[hidden]
	{
		display: none;
	}

	.leiste__el:hover,
	.leiste__el:focus-visible,
	.leiste__el.ist-kopiert
	{
		color: var(--warm);
	}

	.leiste__el:focus-visible
	{
		outline: 1px solid var(--warm2);
		outline-offset: -.2rem;
	}
}
