/* medmix – Gestaltung. Eine Schrift (Rubik), Markenorange, viel Weißraum. */

@font-face {
	font-family: "Rubik";
	src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/rubik-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--orange: #ff6611;
	--orange-text: #bc4800;
	--ink: #1c1c18;
	--text: #2a2a26;
	--soft: #3a3934;
	--muted: #5e5c55;
	--paper: #f5f4f1;
	--line: #e6e4df;
	--img: #e9e7e2;
	--radius: 8px;
	--gutter: 24px;
	--font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Grundlagen */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
}

/* Footer immer bis ganz unten, auch auf kurzen Seiten. Was Google am Ende der Seite anhängt
   (Leiste „Datenschutz und Cookies“), steht dann direkt darunter statt nach einem weißen Streifen. */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

body > * {
	flex-shrink: 0;
}

body > .site-main {
	flex-grow: 1;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

/* WordPress setzt bei Lazy-Bildern mit sizes="auto" einen Platzhalter von 3000 × 1500 px.
   Ohne diese Regel sind Karten bis zum Laden 1500 px hoch statt im Seitenverhältnis. */
img:is([sizes="auto" i], [sizes^="auto," i]) {
	contain-intrinsic-size: auto none;
}

a {
	color: inherit;
	text-decoration: none;
}

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

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

button {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
	font-weight: 700;
}

/* Lange deutsche Wörter in Titeln und Listen umbrechen statt die Seite zu verbreitern. */
h1,
h2,
h3,
h4,
.card-body,
.lead-title,
.most-read a,
.crumbs {
	overflow-wrap: anywhere;
	hyphens: auto;
}

.entry {
	position: relative; /* Bezugsrahmen für Einbettungen, die WordPress bis zum Laden absolut positioniert */
	overflow-wrap: break-word;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 16px;
	color: #fff;
}

.wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* Kleine Bausteine */

.kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--orange-text);
}

.meta {
	font-size: 14px;
	color: var(--muted);
}

.badge {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid #b5b2aa;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--soft);
	background: #fff;
}

.more {
	font-size: 14px;
	font-weight: 500;
	color: var(--orange-text);
	white-space: nowrap;
}

.blocktitle {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.blocktitle h2 {
	margin: 0;
	font-size: 20px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.blocktitle .rule {
	flex: 1;
	height: 3px;
	background: var(--orange);
}

.btn-dark,
.btn-outline {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.btn-dark {
	background: var(--ink);
	color: #fff;
	border: 0;
}

.btn-dark:hover {
	color: #fff;
	background: #000;
}

.btn-outline {
	height: 48px;
	padding: 0 24px;
	background: #fff;
	border: 2px solid var(--ink);
}

.btn-outline:hover {
	background: var(--ink);
	color: #fff;
}

.link-btn {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chips a {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--paper);
	font-size: 15px;
	font-weight: 500;
}

.chips a:hover {
	background: var(--orange);
	color: var(--ink);
}

.thumb-empty {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--img);
	border-radius: var(--radius);
}

/* Kopf */

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.brand-title {
	margin: 0;
	line-height: 0;
}

.brand {
	display: block;
	line-height: 0;
}

/* So groß wie auf der bisherigen Seite: rund 290 px breit am Desktop. */
.logo {
	display: block;
	width: auto;
	height: 70px;
}

.header-inner .ad {
	margin: 0;
}

/* Hauptmenü */

.mainnav {
	position: relative;
	z-index: 20;
	background: var(--orange);
}

.mainnav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 28px;
}

.mainnav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mainnav .menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.mainnav .menu > li > a {
	display: block;
	padding: 14px 0 11px;
	border-bottom: 3px solid transparent;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
}

.mainnav .menu > li > a:hover,
.mainnav .menu > .current-menu-item > a,
.mainnav .menu > .current-menu-ancestor > a,
.mainnav .menu > .current-category-ancestor > a {
	border-bottom-color: var(--ink);
	color: var(--ink);
}

.sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 32px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.sub-toggle svg {
	transition: transform 0.15s;
}

.mainnav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 280px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--orange);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 12px 28px rgba(28, 28, 24, 0.12);
}

.mainnav .sub-menu a {
	display: block;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 500;
}

.mainnav .sub-menu a:hover {
	background: var(--paper);
}

@media (hover: hover) and (min-width: 1000px) {
	.mainnav .menu > li:hover > .sub-menu {
		display: block;
	}
}

.mainnav .menu > li.is-open > .sub-menu,
.mainnav .menu > li:focus-within > .sub-menu {
	display: block;
}

.mainnav li.is-open > .sub-toggle svg {
	transform: rotate(180deg);
}

.mainnav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
}

.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: var(--radius);
	background: #fff;
	cursor: pointer;
}

.nav-toggle {
	display: none;
}

.search-panel {
	padding: 16px 0;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 640px;
}

.search-form input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #b5b2aa;
	border-radius: var(--radius);
	font: inherit;
	background: #fff;
}

.search-form button {
	height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

/* Werbung */

.ad {
	margin: 0 auto;
	text-align: center;
}

.ad-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.ad-superbanner {
	width: 728px;
	max-width: 100%;
}

.ad-superbanner ins {
	min-height: 90px;
}

.ad-mobile {
	display: none;
	max-width: 320px;
	padding-top: 20px;
}

.ad-mobile ins {
	min-height: 100px;
}

.ad-sidebar ins {
	min-height: 600px;
}

.ad-home_between {
	max-width: 728px;
	padding-top: 56px;
}

.ad-home_between ins {
	min-height: 90px;
}

.ad-article_faq,
.ad-post {
	margin: 12px 0 32px;
}

.ad-post img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

.ad-placeholder .ad-box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	padding: 12px;
	border: 1px dashed #b5b2aa;
	border-radius: var(--radius);
	background: #fafaf8;
	font-size: 13px;
	color: var(--muted);
}

.ad-sidebar.ad-placeholder .ad-box {
	min-height: 600px;
}

.ad-mobile.ad-placeholder .ad-box {
	min-height: 100px;
}

/* Teaser */

.card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.card-media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--img);
}

.card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.3s;
}

.card:hover .card-media img {
	transform: scale(1.03);
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.card-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.card-excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--soft);
}

.card-row {
	flex-direction: row;
	gap: 20px;
	align-items: flex-start;
}

.card-row .card-media {
	flex: 0 0 260px;
}

.card-row .card-title {
	font-size: 21px;
}

.card-plain .card-title {
	font-size: 22px;
	line-height: 1.25;
}

.card-grid .kicker,
.card-grid .meta {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card-grid .card-title {
	height: 52px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Raster */

.block {
	padding-top: 56px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
	padding-top: 56px;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.sidebar-sticky {
	position: sticky;
	top: 24px;
}

/* Startseite */

.lead {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-top: 40px;
}

.lead-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.lead-media {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--img);
}

.lead-media img,
.lead-media .thumb-empty {
	display: block;
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

.lead-title {
	max-width: 900px;
	margin: 0;
	font-size: 44px;
	line-height: 1.12;
}

.lead-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 40px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.lead-pair .card-title {
	font-size: 26px;
}

.latest {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	min-width: 0;
}

.latest-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

.most-read .blocktitle,
.trending .blocktitle {
	margin-bottom: 16px;
}

.most-read ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rank;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.most-read li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	counter-increment: rank;
}

.most-read li::before {
	content: counter(rank);
	flex: 0 0 24px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--orange-text);
}

.most-read a {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-decoration-color: var(--orange-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.dossier {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 40px;
	border-radius: 12px;
	background: var(--paper);
}

.dossier-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.dossier-head > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 640px;
}

.dossier-head h2 {
	margin: 0;
	font-size: 32px;
}

.dossier-head p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--soft);
}

.newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px;
	border-radius: 12px;
	background: var(--orange);
}

.newsletter h2 {
	margin: 0 0 8px;
	font-size: 28px;
}

.newsletter p {
	margin: 0;
	max-width: 520px;
	font-size: 17px;
}

.nl-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 1 460px;
}

.nl-form label {
	font-size: 14px;
	font-weight: 600;
}

.nl-row {
	display: flex;
	gap: 10px;
}

.nl-row input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
}

.nl-row button {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.newsletter-side {
	flex-direction: column;
	align-items: stretch;
	padding: 24px;
}

.newsletter-side h2 {
	font-size: 20px;
}

.newsletter-side .nl-form {
	flex-basis: auto;
	gap: 10px;
}

/* In der Seitenleiste kommt die Zustimmung vor den Knopf. */
.newsletter-side .nl-row {
	display: contents;
}

.newsletter-side .nl-row input,
.newsletter-side .nl-row button {
	flex: none;
}

.newsletter-side .nl-row button {
	order: 2;
}

/* Zustimmung zum Newsletter */

.nl-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 44px;
	padding-top: 4px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	cursor: pointer;
}

.nl-form .nl-consent {
	font-size: 13px;
	font-weight: 400;
}

.nl-consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--ink);
}

.nl-consent a {
	text-decoration: underline;
}

/* Newsletter unter dem Artikel */

.newsletter-article {
	margin-top: 8px;
	padding: 28px;
	gap: 20px 32px;
	background: var(--paper);
	border-top: 4px solid var(--orange);
}

.newsletter-article > div {
	flex: 1 1 260px;
}

.newsletter-article h2 {
	font-size: 22px;
}

.newsletter-article p {
	font-size: 16px;
	color: var(--soft);
}

.newsletter-article .nl-form {
	flex: 1 1 340px;
}

.newsletter-article .nl-row input {
	border: 1px solid #b5b2aa;
}

.newsletter-article .nl-consent a {
	color: var(--orange-text);
}

.partner {
	padding-bottom: 56px;
	border-bottom: 1px solid var(--line);
}

.card-badge .badge {
	margin-bottom: 2px;
}

/* Rubrik-Spalten: gleich breit, feine graue Trennlinien, durchgehende feine orange Linie unter den Titeln */

.cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 57px;
}

.cats > section {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.cats > section + section::before {
	content: "";
	position: absolute;
	left: -29px;
	top: 0;
	bottom: 0;
	border-left: 1px solid var(--line);
}

.cats .blocktitle {
	position: relative;
	gap: 12px;
	margin: 0;
	padding-bottom: 12px;
}

.cats .blocktitle .rule {
	display: none;
}

.cats .blocktitle h2 {
	font-size: 17px;
	letter-spacing: 0.03em;
}

.cats .blocktitle .more {
	margin-left: auto;
}

.cats .blocktitle::after {
	content: "";
	position: absolute;
	left: -29px;
	right: -29px;
	bottom: 0;
	height: 1px;
	background: var(--orange);
}

.cats > section:first-child .blocktitle::after {
	left: 0;
}

.cats > section:last-child .blocktitle::after {
	right: 0;
}

.kiosk {
	padding-bottom: 16px;
}

.kiosk-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.kiosk-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	font-weight: 500;
}

.kiosk-item img,
.kiosk-item .thumb-empty {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(28, 28, 24, 0.08), 0 6px 18px rgba(28, 28, 24, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kiosk-item:hover img {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(28, 28, 24, 0.1), 0 12px 28px rgba(28, 28, 24, 0.16);
}

.kiosk-item small {
	margin-top: -4px;
	font-size: 13px;
	font-weight: 400;
	color: var(--muted);
}

/* Kiosk-Seite: aktuelle Ausgabe groß */

.kiosk-latest {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.kiosk-latest-cover img,
.kiosk-latest-cover .thumb-empty {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 2px 4px rgba(28, 28, 24, 0.1), 0 18px 40px rgba(28, 28, 24, 0.18);
}

.kiosk-latest-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 560px;
}

.kiosk-latest-text h2,
.kiosk-latest-text p {
	margin: 0;
}

.kiosk-latest-text h2 {
	font-size: 32px;
	line-height: 1.15;
}

.kiosk-latest-text .btn-dark {
	margin-top: 8px;
}

.heft-ausgabe {
	margin: 0;
	font-size: 17px;
	color: var(--muted);
}

/* Heft: Flipbook */

.heft-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding: 24px 0 20px;
}

.heft-head h1 {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
}

.heft-text {
	max-width: 760px;
	margin: 32px auto 0;
	font-size: 17px;
	color: var(--soft);
}

.flipbook {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	background: var(--paper);
	border-radius: var(--radius);
	user-select: none;
	-webkit-user-select: none;
}

.flipbook-stage {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.flipbook-cover {
	display: flex;
	justify-content: center;
}

.flipbook-cover img,
.flipbook-cover .thumb-empty {
	display: block;
	width: auto;
	max-width: min(100%, 480px);
	max-height: calc(100vh - 140px);
	aspect-ratio: auto;
	box-shadow: 0 10px 30px rgba(28, 28, 24, 0.2);
}

.flipbook-cover .thumb-empty {
	width: 360px;
	height: 480px;
	background: var(--img);
}

.flipbook:not(.is-ready) .flipbook-book {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
}

.flipbook.is-ready .flipbook-cover {
	display: none;
}

.flipbook-page {
	background: #fff;
	overflow: hidden;
}

.flipbook-page img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	pointer-events: none;
}

.flipbook-bar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.flipbook-bar[hidden] {
	display: none;
}

.flipbook-bar button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.flipbook-bar button:hover:not(:disabled) {
	border-color: var(--ink);
}

.flipbook-bar button:disabled {
	opacity: 0.4;
	cursor: default;
}

.flipbook-full {
	margin-left: 8px;
}

.flipbook-full .fs-off,
.flipbook.is-full .flipbook-full .fs-on {
	display: none;
}

.flipbook.is-full .flipbook-full .fs-off {
	display: inline;
}

.flipbook-count {
	min-width: 140px;
	text-align: center;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	color: var(--soft);
}

.flipbook-status {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

.flipbook-status:empty {
	display: none;
}

.flipbook-missing {
	padding: 24px;
	background: var(--paper);
	border-radius: var(--radius);
}

/* Vollbild (echt oder, am iPhone, über die ganze Seite) */

.flipbook.is-full,
.flipbook:fullscreen {
	justify-content: center;
	padding: 12px;
	background: #26251f;
	border-radius: 0;
}

.flipbook.is-full .flipbook-count {
	color: #e6e4df;
}

html.flipbook-open,
html.flipbook-open body {
	overflow: hidden;
}

html.flipbook-open .flipbook.is-full {
	position: fixed;
	inset: 0;
	z-index: 100000;
	margin: 0;
}

/* Artikel */

.breadcrumbs {
	padding-top: 24px;
	font-size: 14px;
	color: var(--muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "›";
	margin-right: 8px;
}

.article-layout {
	padding-top: 28px;
}

.article {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 780px;
	min-width: 0;
}

.article-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.article-head h1 {
	margin: 0;
	font-size: 44px;
	line-height: 1.12;
}

.article-lead {
	margin: 0;
	font-size: 20px;
	line-height: 1.55;
	color: var(--soft);
}

.reading-time {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.affiliate-note {
	margin: 0;
	padding: 10px 14px;
	border-left: 3px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}

.article-image {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.article-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
}

.article-image figcaption,
.entry figcaption {
	font-size: 13px;
	color: var(--muted);
}

.facts {
	padding: 24px 28px;
	border: 2px solid var(--orange);
	border-radius: 12px;
	background: var(--paper);
}

.facts h2 {
	margin: 0 0 10px;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.facts p,
.facts ul {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

.facts ul {
	padding-left: 20px;
}

.facts li + li {
	margin-top: 6px;
}

.toc {
	padding: 18px 24px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.toc summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.toc summary::-webkit-details-marker {
	display: none;
}

.toc summary::after {
	content: "▾";
	color: var(--orange-text);
	transition: transform 0.15s;
}

.toc:not([open]) summary::after {
	transform: rotate(-90deg);
}

.toc ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 14px 0 0;
	padding-left: 20px;
	line-height: 1.4;
}

.toc a:hover {
	text-decoration: underline;
}

/* Fließtext */

.entry {
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
}

.entry > :first-child {
	margin-top: 0;
}

.entry p,
.entry ul,
.entry ol,
.entry table,
.entry figure {
	margin: 0 0 20px;
}

.entry h2 {
	margin: 40px 0 16px;
	font-size: 28px;
	line-height: 1.25;
	color: var(--ink);
}

.entry h3 {
	margin: 32px 0 12px;
	font-size: 22px;
	line-height: 1.3;
	color: var(--ink);
}

.entry h4 {
	margin: 24px 0 8px;
	font-size: 19px;
}

.entry a {
	color: var(--orange-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry li + li {
	margin-top: 6px;
}

.entry blockquote {
	margin: 8px 0 28px;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--orange);
	font-size: 22px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--ink);
}

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

.entry img {
	border-radius: var(--radius);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.entry th,
.entry td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry th {
	background: var(--paper);
}

.entry .wp-block-table,
.entry .table-scroll {
	overflow-x: auto;
	margin: 0 0 20px;
}

.entry .table-scroll table {
	margin: 0;
}

/* Fett gesetzte Zwischenüberschriften (häufig aus kopierten Texten) nicht noch fetter. */
.entry :is(h2, h3, h4, h5, h6) :is(strong, b) {
	font-weight: inherit;
}

/* Knöpfe aus dem Block-Editor: Schrift lesbar auf dem dunklen Knopf. */
.entry .wp-block-button__link {
	color: #fff;
	background: var(--ink);
	text-decoration: none;
}

.entry .wp-block-button__link:hover {
	background: var(--orange-text);
}

/* Eingebettete Inhalte nie breiter als der Text. */
.entry iframe,
.entry embed,
.entry object,
.entry video {
	max-width: 100%;
}

/* Bilder aus dem alten Editor: WordPress schreibt die Bildbreite fest in die Bildunterschrift. */
.entry .wp-caption {
	max-width: 100%;
}

.entry .wp-caption img {
	display: block;
}

.entry .wp-caption-text,
.entry figure > figcaption {
	margin-top: 8px;
}

.entry img.aligncenter,
.entry .wp-caption.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.entry .alignleft {
	float: left;
	max-width: 50%;
	margin: 6px 24px 16px 0;
}

.entry .alignright {
	float: right;
	max-width: 50%;
	margin: 6px 0 16px 24px;
}

.entry::after {
	content: "";
	display: table;
	clear: both;
}

/* Mehrseitige Beiträge */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	font-size: 15px;
}

.page-links span:first-child {
	font-weight: 600;
}

.page-links a,
.page-links > .post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.page-links .current {
	border-color: var(--ink);
	font-weight: 600;
}

.faq {
	margin: 8px 0 20px;
}

.faq h3 {
	margin: 0;
	padding: 18px 0 8px;
	border-top: 1px solid var(--line);
	font-size: 19px;
}

/* Fuß des Artikels */

.article-foot {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.byline-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.byline-person > div {
	display: flex;
	flex-direction: column;
}

.byline-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.byline-name {
	font-size: 15px;
}

.byline-name a {
	font-weight: 600;
}

.byline-field {
	font-size: 13px;
	color: var(--muted);
}

.disclaimer {
	margin: 0;
	padding: 16px 20px;
	border-radius: 10px;
	background: var(--paper);
	font-size: 14px;
	line-height: 1.55;
	color: var(--soft);
}

.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.share-label {
	margin-right: 6px;
	font-size: 14px;
	font-weight: 600;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 14px;
	cursor: pointer;
}

.share-btn:hover {
	border-color: var(--ink);
}

.related {
	padding-top: 24px;
}

.related .card-plain .card-title {
	font-size: 17px;
}

.dossier-link {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding: 20px 24px;
	border-radius: 12px;
	background: var(--paper);
}

.dossier-link > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 20px;
}

/* Archive, Suche, Seiten */

.archive-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding-top: 24px;
}

.archive-head h1 {
	margin: 0;
	font-size: 40px;
}

.archive-sub,
.archive-desc {
	margin: 0;
	max-width: 760px;
	font-size: 17px;
	color: var(--soft);
}

.archive-desc p {
	margin: 0 0 10px;
}

.archive-head .chips {
	padding-top: 8px;
}

.archive-head .search-form {
	width: 100%;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-weight: 500;
}

.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.page-narrow {
	max-width: 828px;
	padding-top: 40px;
	padding-bottom: 72px;
}

.page-narrow h1 {
	margin: 8px 0 24px;
	font-size: 40px;
}

.page-narrow > .breadcrumbs {
	padding-top: 0;
	margin-bottom: 16px;
}

/* Seiten mit eigener Vorlage: Kontakt, Inhaltsverzeichnis */

.page-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 0 40px;
}

.page-head h1 {
	margin: 0;
	font-size: 44px;
	line-height: 1.15;
}

.page-intro {
	max-width: 760px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--text);
}

.page-intro p {
	margin: 0 0 12px;
}

.page-intro > :last-child,
.page-head .meta {
	margin: 0;
}

.toc-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 760px);
	gap: 48px;
	align-items: start;
}

.toc-layout.no-toc {
	grid-template-columns: minmax(0, 760px);
}

.page-toc {
	position: sticky;
	top: 24px;
}

.page-toc ol {
	display: flex;
	flex-direction: column;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.page-toc a {
	display: block;
	padding: 8px 0 8px 14px;
	border-left: 2px solid var(--line);
	font-size: 15px;
	line-height: 1.4;
}

.page-toc a:hover {
	border-left-color: var(--orange);
	color: var(--orange-text);
}

.toc-layout .entry h2 {
	scroll-margin-top: 24px;
}

.toc-layout .entry > h2:first-child {
	margin-top: 0;
}

.contact-ways {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.contact-way {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.contact-way h2 {
	margin: 0;
	font-size: 20px;
}

.contact-way p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--soft);
}

.contact-go {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	font-size: 16px;
}

a.contact-go,
.contact-go a {
	font-weight: 600;
	color: var(--orange-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.contact-main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 64px;
	padding-top: 48px;
	scroll-margin-top: 24px;
}

.contact-note {
	flex: 1 1 280px;
}

.contact-note h2 {
	margin: 0 0 12px;
	font-size: 28px;
}

.contact-note p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--soft);
}

.contact-panel {
	flex: 999 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	border-radius: 12px;
	background: var(--paper);
}

.contact-form p {
	margin: 0;
}

.fld-row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.fld-row .fld {
	flex: 1 1 220px;
}

.fld {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fld label {
	font-size: 14px;
	font-weight: 600;
}

.fld label span,
.fld-hint {
	font-weight: 400;
	font-size: 13px;
	color: var(--muted);
}

.fld input,
.fld select,
.fld textarea {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #b5b2aa;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}

.fld textarea {
	height: auto;
	min-height: 160px;
	padding: 12px 14px;
	resize: vertical;
}

.fld input[type="file"] {
	height: auto;
	padding: 12px;
	border-style: dashed;
	font-size: 15px;
}

.fld [aria-invalid="true"] {
	border-color: #b3261e;
	box-shadow: 0 0 0 1px #b3261e;
}

.form-error {
	padding: 12px 16px;
	border-left: 4px solid #b3261e;
	border-radius: var(--radius);
	background: #fff;
	color: #8c1d18;
	font-weight: 500;
}

.form-privacy {
	font-size: 13px;
	line-height: 1.5;
	color: var(--soft);
}

.form-privacy a {
	color: var(--orange-text);
	text-decoration: underline;
}

.contact-form .btn-dark {
	align-self: flex-start;
	height: 48px;
	padding: 0 26px;
	font-size: 16px;
}

/* Feld für Bots, für Menschen unsichtbar */
.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-done {
	gap: 10px;
	border-top: 4px solid var(--orange);
}

.contact-done p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

.contact-done .contact-done-title {
	font-size: 24px;
	font-weight: 700;
}

.contact-done a {
	font-size: 15px;
	text-decoration: underline;
}

.site-main {
	padding-bottom: 72px;
}

/* Footer */

.site-footer {
	background: var(--ink);
	color: #d9d7d1;
}

.site-footer .wrap {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
}

.footer-about {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-about p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.footer-logo {
	width: auto;
	height: 40px;
	align-self: flex-start;
}

.footer-col h2 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--orange);
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.footer-col a,
.footer-col .link-btn {
	color: #fff;
}

.footer-col a:hover,
.footer-col .link-btn:hover {
	color: var(--orange);
}

.footer-disclaimer {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--soft);
	font-size: 14px;
	line-height: 1.55;
}

.footer-copy {
	margin: 0;
	font-size: 13px;
	color: #a8a59d;
}

/* Tablet */

@media (max-width: 1099px) {
	.with-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar-sticky {
		position: static;
	}

	.ad-sidebar {
		display: none;
	}

	.kiosk-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Menü klappt unter 1000 px in einen Knopf */

@media (max-width: 999px) {
	.logo {
		height: 56px;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 48px;
		padding: 0;
		border: 0;
		background: none;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.mainnav-inner {
		flex-wrap: wrap;
	}

	.mainnav-menu {
		display: none;
		order: 3;
		width: 100%;
		padding-bottom: 12px;
	}

	.mainnav.is-open .mainnav-menu {
		display: block;
	}

	.mainnav .menu {
		flex-direction: column;
		gap: 0;
	}

	.mainnav .menu > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-top: 1px solid rgba(28, 28, 24, 0.15);
	}

	.mainnav .menu > li > a {
		padding: 12px 0;
		border: 0;
	}

	.sub-toggle {
		width: 44px;
		height: 44px;
	}

	.mainnav .sub-menu {
		position: static;
		width: 100%;
		min-width: 0;
		margin-bottom: 12px;
		box-shadow: none;
		border-radius: var(--radius);
		border-top-width: 1px;
	}

	.mainnav .menu > li:focus-within:not(.is-open) > .sub-menu {
		display: none;
	}
}

/* Handy */

@media (max-width: 759px) {
	:root {
		--gutter: 16px;
	}

	.logo {
		height: 38px;
	}

	.header-inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.ad-superbanner {
		display: none;
	}

	.entry .alignleft,
	.entry .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 20px;
	}

	.ad-mobile {
		display: block;
	}

	.lead {
		padding-top: 24px;
	}

	.lead-title {
		font-size: 30px;
	}

	.lead-pair,
	.grid-3,
	.cats {
		grid-template-columns: minmax(0, 1fr);
	}

	.cats {
		gap: 48px;
	}

	.cats > section + section::before {
		display: none;
	}

	.cats .blocktitle::after {
		left: 0 !important;
		right: 0 !important;
	}

	.lead-pair .card-title,
	.card-plain .card-title {
		font-size: 21px;
	}

	.card-row {
		flex-direction: column;
	}

	.card-row .card-media {
		flex-basis: auto;
		width: 100%;
	}

	.card-grid .card-title {
		height: auto;
	}

	.with-sidebar,
	.block {
		padding-top: 40px;
	}

	.dossier,
	.newsletter {
		padding: 24px;
	}

	.dossier-head h2 {
		font-size: 26px;
	}

	.nl-row {
		flex-direction: column;
	}

	/* Untereinander darf das Feld nicht auf Textzeilenhöhe schrumpfen. */
	.nl-row input {
		flex: none;
	}

	.kiosk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kiosk-latest {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.kiosk-latest-cover {
		max-width: 260px;
	}

	.kiosk-latest-text h2 {
		font-size: 26px;
	}

	.heft-head h1 {
		font-size: 26px;
	}

	.flipbook {
		margin: 0 calc(var(--gutter) * -1);
		border-radius: 0;
	}

	.flipbook-count {
		min-width: 0;
		flex: 1;
	}

	.flipbook-full span {
		display: none !important;
	}

	.article-head h1,
	.archive-head h1,
	.page-narrow h1 {
		font-size: 30px;
	}

	.article-lead {
		font-size: 18px;
	}

	.entry {
		font-size: 17px;
	}

	.entry h2 {
		font-size: 24px;
	}

	.facts {
		padding: 20px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* Seiten mit eigener Vorlage auf kleineren Bildschirmen */

@media (max-width: 999px) {
	.toc-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.page-toc {
		position: static;
		padding: 18px 24px;
		border: 1px solid var(--line);
		border-radius: 12px;
	}
}

@media (max-width: 759px) {
	.page-head {
		padding-bottom: 28px;
	}

	.page-head h1 {
		font-size: 30px;
	}

	.page-intro {
		font-size: 18px;
	}

	.contact-ways {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.contact-panel,
	.newsletter-article {
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

@media print {
	.mainnav,
	.search-panel,
	.ad,
	.sidebar,
	.share,
	.dossier-link,
	.related,
	.site-footer {
		display: none !important;
	}
}
