/* Theater der Entdeckungen – leichtes Theme
   Palette aus dem Logo: Papierton, Tinte, Orange der Sonne, Nachtblau der Sternkarte */

:root {
	--papier: #f6f1e7;
	--papierDunkel: #efe7d7;
	--tinte: #26221c;
	--grau: #57503f;
	--orange: #d96f2b;
	--linkText: #a44e15;
	--nachtblau: #2c3e56;
	--linie: #d9cdb8;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
	margin: 0;
	background: var(--papier);
	color: var(--tinte);
	font-family: Georgia, 'Times New Roman', 'DejaVu Serif', serif;
	line-height: 1.6;
}

/* ---------- Kopf mit Logo ---------- */

.kopf {
	background: var(--nachtblau);
	text-align: center;
	padding: 0;
}

.kopfLogo {
	display: block;
	max-width: 1100px;
	margin: 0 auto;
	height: min(300px, 40vw);
	overflow: hidden;
}

.kopfLogo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	display: block;
}

/* ---------- Navigation ---------- */

.navi {
	text-align: center;
	padding: 14px 10px 16px;
	border-bottom: 1px solid var(--linie);
	background: var(--papier);
}

.naviLink {
	display: inline-block;
	margin: 2px 10px;
	text-decoration: none;
	color: var(--nachtblau);
	font-variant: small-caps;
	letter-spacing: 0.04em;
	font-size: 1.05rem;
	border-bottom: 2px solid transparent;
}

.naviLink:hover { color: var(--orange); }

.naviAktiv {
	color: var(--orange);
	border-bottom-color: var(--orange);
}

/* ---------- Inhalt ---------- */

.inhalt {
	max-width: 780px;
	margin: 0 auto;
	padding: 28px 20px 56px;
}

.seitenTitel {
	text-align: center;
	font-size: 2rem;
	line-height: 1.25;
	margin: 8px 0 24px;
	color: var(--tinte);
}

.seitenText h2 {
	font-size: 1.35rem;
	margin: 1.6em 0 0.4em;
	color: var(--nachtblau);
}

.seitenText h3 {
	font-size: 1.15rem;
	margin: 1.4em 0 0.3em;
	color: var(--nachtblau);
}

.seitenText p { margin: 0.9em 0; }

.seitenText a { color: var(--linkText); }

.seitenText img {
	display: block;
	margin: 1.4em auto;
	max-width: min(100%, 640px);
	height: auto;
	border: 1px solid var(--linie);
	box-shadow: 0 2px 10px rgba(38, 34, 28, 0.14);
	padding: 4px;
	background: #fffdf8;
}

/* Tabellen (Termine) */

.seitenText table {
	border-collapse: collapse;
	margin: 1.2em auto;
	font-size: 1rem;
}

.seitenText th, .seitenText td {
	border: 1px solid var(--linie);
	padding: 6px 14px;
	text-align: left;
}

.seitenText th {
	background: var(--papierDunkel);
	color: var(--nachtblau);
	font-variant: small-caps;
	letter-spacing: 0.03em;
}

.seitenText tr:nth-child(even) td { background: #fbf7ee; }

/* Listen */

.seitenText ul, .seitenText ol { padding-left: 1.4em; }

.seitenText li { margin: 0.35em 0; }

/* Zitat / Hinweisblock */

.seitenText blockquote {
	margin: 1.2em 0;
	padding: 0.6em 1.2em;
	border-left: 4px solid var(--orange);
	background: var(--papierDunkel);
	color: var(--grau);
	font-style: italic;
}

/* Trennlinie wie auf dem alten Tumblr */

.seitenText hr {
	border: none;
	border-top: 1px solid var(--linie);
	margin: 2em auto;
	width: 60%;
}

/* ---------- Startseite: Aktuell + Stücke ---------- */

.srOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.aktuell {
	margin-top: 1.8em;
	padding: 1.2em;
	background: var(--papierDunkel);
	border: 1px solid var(--linie);
	text-align: center;
}

.aktuell h2 {
	margin-top: 0;
	color: var(--nachtblau);
}

.aktuell a { color: var(--linkText); }

.stuecke h2 { color: var(--nachtblau); }

.aktuellBild img {
	display: inline-block;
	margin: 0.6em auto;
	max-width: min(100%, 480px);
	height: auto;
	border: 1px solid var(--linie);
	box-shadow: 0 2px 10px rgba(38, 34, 28, 0.14);
	padding: 4px;
	background: #fffdf8;
}

.aktuellMehr {
	font-variant: small-caps;
	letter-spacing: 0.03em;
}

.stuecke {
	margin-top: 2em;
}

.stueckeListe {
	list-style: none;
	padding: 0;
	margin: 0.6em 0 0;
	columns: 2;
	column-gap: 2em;
}

.stueckeListe li {
	margin: 0.3em 0;
	break-inside: avoid;
}

.stueckeListe a {
	text-decoration: none;
	color: var(--nachtblau);
}

.stueckeListe a::before {
	content: "★ ";
	color: var(--orange);
}

.stueckeListe a:hover {
	color: var(--orange);
}

@media (max-width: 640px) {
	.stueckeListe { columns: 1; }
}

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

.fuss {
	border-top: 3px solid var(--nachtblau);
	background: var(--papierDunkel);
	text-align: center;
	padding: 18px 14px 22px;
}

.fussZeile {
	margin: 0;
	font-size: 0.92rem;
	color: var(--grau);
}

.fuss a { color: var(--nachtblau); }
.fuss a:hover { color: var(--orange); }

/* ---------- Mobil ---------- */

@media (max-width: 640px) {
	html { font-size: 16px; }
	.naviLink { margin: 2px 7px; font-size: 1rem; }
	.inhalt { padding: 20px 14px 44px; }
	.seitenTitel { font-size: 1.5rem; }
}
