/*
Theme Name: Kopka-BIT
Theme URI: https://www.kopka-bit.de
Author: Warp Solutions, Sattler & Wiesenhütter GbR
Author URI: https://warpsolutions.de
Description: Firmenseite Friedhelm Kopka – Business & IT. Nachfolger des Kauf-Themes „Striking“ (2012) mit gleichem Erscheinungsbild und zeitgemäßer Technik: passt sich an Handy und Tablet an, ohne jQuery und Fremd-Skripte, Bilder als WebP, SEO ohne Plugin, versteht die Striking-Kürzel der bestehenden Seiten. Mit Handbuch und Changelog im Backend.
Version: 1.3.1
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietär, nur für kopka-bit.de
Text Domain: kopka-bit
*/

/* ── Farben und Maße (wie im alten Theme Striking eingestellt) ─────────── */

:root {
	--blau: #0078a2;
	--blau-dunkel: #005f80;
	--text: #333;
	--text-hell: #666;
	--grau: #999;
	--linie: #eee;
	--seite: #fefefe;
	--breite: 960px;
	--rand: 16px;
	--schrift: Arial, Helvetica, "Liberation Sans", sans-serif;
}

/* ── Grundlagen ────────────────────────────────────────── */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--seite);
	color: var(--text);
	font-family: var(--schrift);
	font-size: 18px;
	line-height: 1.45;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	border: 0;
	vertical-align: middle;
}

a {
	color: var(--blau);
	text-decoration: none;
}

/* Links mitten im Fließtext dezent unterstreichen: Blau allein hebt sich von der grauen Schrift zu wenig ab,
   wer Farben schlecht unterscheidet, sähe sonst nicht, dass es ein Link ist. Knöpfe, Symbol- und Bildlinks
   (alle mit eigener Klasse) bleiben ohne Strich. */
.eintrag :is(p, li, td) a:not([class]) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	text-decoration-color: rgba(0, 120, 162, 0.45);
}

.eintrag :is(p, li, td) a:not([class]):hover {
	text-decoration-color: currentColor;
}

a:hover {
	color: var(--text);
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--blau);
	outline-offset: 2px;
}

p,
ul,
ol,
table,
blockquote {
	margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

hr {
	height: 0;
	margin: 0 0 20px;
	border: 0;
	border-top: 1px solid var(--linie);
}

table {
	border-collapse: collapse;
}

td,
th {
	padding: 2px 24px 2px 0;
	text-align: left;
	vertical-align: top;
}

.innen {
	width: 100%;
	max-width: calc(var(--breite) + 2 * var(--rand));
	margin: 0 auto;
	padding: 0 var(--rand);
}

.nur-vorlesen {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.springen {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--blau);
	color: #fff;
	font-weight: 700;
}

.springen:focus {
	top: 8px;
	color: #fff;
}

/* ── Kopf: Logo und Hauptmenü ──────────────────────────── */

.kopf {
	position: relative;
	z-index: 20;
	background: var(--seite);
}

.kopf-innen {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 110px;
}

.logo {
	display: block;
	margin-bottom: 10px;
	line-height: 0;
}

.logo-bild {
	width: 270px;
	height: auto;
}

.logo-text {
	color: #444;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

.menue-knopf {
	display: none;
}

.hauptnav .menue {
	display: flex;
	margin: 0 -15px 0 0;
	padding: 0;
	list-style: none;
}

.hauptnav li {
	position: relative;
}

.hauptnav .menue > li > a {
	position: relative;
	display: block;
	padding: 0 15px;
	color: #000;
	font-size: 20px;
	line-height: 56px;
	white-space: nowrap;
}

/* Feine blaue Linie unter dem aktuellen und dem überfahrenen Menüpunkt: zeigt, wo man ist. */
.hauptnav .menue > li > a::after {
	content: "";
	position: absolute;
	right: 15px;
	bottom: 8px;
	left: 15px;
	height: 3px;
	border-radius: 2px;
	background: var(--blau);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}

.hauptnav .menue > li > a:hover,
.hauptnav .menue > li > a:focus-visible {
	text-decoration: none;
}

.hauptnav .menue > li > a:hover::after,
.hauptnav .menue > li > a:focus-visible::after,
.hauptnav .menue > .current-menu-item > a::after,
.hauptnav .menue > .current-menu-ancestor > a::after,
.hauptnav .menue > .current-menu-parent > a::after {
	transform: scaleX(1);
}

/* Untermenü (Leistungen) */
.hauptnav .sub-menu,
.hauptnav .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 250px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #f5f5f5;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.hauptnav li:hover > .sub-menu,
.hauptnav li:focus-within > .sub-menu,
.hauptnav li:hover > .children,
.hauptnav li:focus-within > .children {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hauptnav .sub-menu a,
.hauptnav .children a {
	display: block;
	padding: 8px 18px;
	color: #000;
	font-size: 16px;
	line-height: 1.3;
}

.hauptnav .sub-menu a:hover,
.hauptnav .sub-menu a:focus-visible,
.hauptnav .children a:hover,
.hauptnav .children a:focus-visible {
	background: #ddd;
	text-decoration: none;
}

.hauptnav .sub-menu .current-menu-item > a,
.hauptnav .children .current-menu-item > a {
	font-weight: 700;
}

/* ── Blaues Band: Seitentitel bzw. Slider ──────────────── */

.band {
	background:
		radial-gradient(ellipse 55% 140% at 50% 0%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%),
		var(--blau);
	box-shadow: inset 0 9px 9px -9px rgba(0, 0, 0, 0.45), inset 0 -8px 8px -8px rgba(0, 0, 0, 0.35);
	color: #fff;
}

.band .innen {
	padding-top: 25px;
	padding-bottom: 24px;
}

.band-titel {
	margin: 0;
	color: #fff;
	font-size: 30px;
	line-height: 40px;
}

.band-slider .innen {
	padding-top: 25px;
	padding-bottom: 22px;
}

/* ── Slider ────────────────────────────────────────────── */

.slider-buehne {
	position: relative;
	overflow: hidden;
	aspect-ratio: 960 / 440;
	background: #fff;
	box-shadow: 0 18px 16px -14px rgba(0, 0, 0, 0.7);
}

.slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s;
}

.slide.aktiv {
	z-index: 1;
	opacity: 1;
	visibility: visible;
}

.slide a {
	display: block;
	height: 100%;
}

.slider-bild {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide-text {
	position: absolute;
	padding: 12px 20px 14px;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.slide-text strong {
	display: block;
	font-size: 20px;
	line-height: 1.25;
}

.slide-text span {
	display: block;
	margin-top: 3px;
}

.slide-text-top {
	top: 0;
	right: 0;
	left: 0;
}

.slide-text-bottom {
	right: 0;
	bottom: 0;
	left: 0;
}

.slide-text-left,
.slide-text-right {
	top: 0;
	bottom: 0;
	width: 34%;
	padding-top: 24px;
}

.slide-text-left {
	left: 0;
}

.slide-text-right {
	right: 0;
}

.slider-steuerung {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
}

.slider-steuerung button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.slider-steuerung button:hover {
	background: rgba(255, 255, 255, 0.18);
}

.slider-zurueck .symbol {
	transform: rotate(180deg);
}

.slider-punkte {
	display: flex;
	gap: 2px;
}

.slider-punkt::before {
	content: "";
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.slider-punkt[aria-current="true"]::before {
	background: #fff;
}

.pause-zeichen {
	width: 10px;
	height: 12px;
	border-right: 3px solid #fff;
	border-left: 3px solid #fff;
}

.slider-pause[aria-pressed="true"] .pause-zeichen {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-right: 0;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #fff;
}

/* ── Seite ─────────────────────────────────────────────── */

.seite {
	display: block;
	padding: 40px 0 50px;
	outline: 0;
}

.mit-seitenmenue {
	display: grid;
	grid-template-columns: 300px minmax(0, 630px);
	grid-template-areas: "menue inhalt";
	column-gap: 30px;
}

.mit-seitenmenue .spalte-inhalt {
	grid-area: inhalt;
}

.seitenmenue {
	grid-area: menue;
	align-self: start;
	min-height: 200px;
	padding: 2px 25px 30px 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0) 8px) no-repeat right top / 8px 100%;
}

.seitenmenue h2 {
	margin-bottom: 14px;
	font-size: 24px;
	line-height: 1;
}

.seitenmenue ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.seitenmenue li {
	border-bottom: 1px solid var(--linie);
}

.seitenmenue a {
	display: flex;
	gap: 6px;
	padding: 4px 0 4px 2px;
	color: var(--text-hell);
	line-height: 1.2;
}

.seitenmenue a::before {
	content: "›";
	color: var(--text);
	font-weight: 700;
}

.seitenmenue a:hover,
.seitenmenue .current_page_item > a {
	color: var(--text);
	text-decoration: none;
}

.seitenmenue .current_page_item > a {
	font-weight: 700;
}

/* Brotkrumen „Home » Leistungen » IT-Strategie“ */
.brotkrumen ol {
	display: flex;
	flex-wrap: wrap;
	margin: -20px 0 20px;
	padding: 0;
	list-style: none;
	/* Dunkler als das alte Grau (#999), damit der Kontrast für gute Lesbarkeit reicht (WCAG 4,5:1). */
	color: #6b6b6b;
	font-size: 14px;
}

.brotkrumen li + li::before {
	content: "»";
	padding: 0 6px;
}

.brotkrumen a {
	color: #6b6b6b;
}

.brotkrumen a:hover {
	color: var(--text);
}

/* ── Inhalt ────────────────────────────────────────────── */

.eintrag::after {
	content: "";
	display: table;
	clear: both;
}

.eintrag ul:not([class]),
.eintrag ol {
	padding-left: 25px;
}

.eintrag li {
	margin: 4px 0;
}

.eintrag img {
	margin-bottom: 20px;
}

.eintrag table img,
.eintrag .kb-spalte img {
	margin-bottom: 0;
}

/* Zitat (Kürzel [blockquote]) */
blockquote,
.kb-zitat {
	position: relative;
	padding: 10px 20px 10px 45px;
	margin: 0 0 20px;
	color: #444;
	font-size: 18px;
	line-height: 24px;
}

blockquote::before {
	content: "“";
	position: absolute;
	top: 4px;
	left: 4px;
	color: #9a9a9a;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	line-height: 1;
}

blockquote p {
	margin-bottom: 8px;
}

blockquote footer {
	margin-top: 4px;
}

blockquote cite {
	color: var(--text-hell);
	font-size: 16px;
}

.kb-zitat-left,
.kb-zitat-right {
	width: 220px;
}

.kb-zitat-left {
	float: left;
	margin: 10px 20px 0 0;
}

.kb-zitat-right {
	float: right;
	margin: 10px 0 0 20px;
}

.kb-markiert {
	padding: 0 2px;
	background: #ff9;
	color: inherit;
}

.kb-markiert-dunkel {
	background: #333;
	color: #fff;
}

/* Hinweiskästen [info], [success], [error], [notice] */
.kb-kasten {
	margin: 0 0 20px;
	padding: 10px;
	border: 1px solid #aacee6;
	border-radius: 1px;
	background: #d7e7f5;
	box-shadow: inset 0 0 0 1px #fff;
	color: #4f5a73;
}

.kb-kasten > :last-child {
	margin-bottom: 0;
}

.kb-kasten a {
	color: inherit;
	text-decoration: underline;
}

.kb-kasten-success {
	border-color: #bfe098;
	background: #e2f2ce;
	color: #3d5c38;
}

.kb-kasten-error {
	border-color: #fdced0;
	background: #fde9ea;
	color: #93433a;
}

.kb-kasten-notice {
	border-color: #ffdb4f;
	background: #fff9cc;
	color: #5f5a40;
}

/* Rahmen [framed_box] */
.kb-rahmen {
	margin: 0 0 20px;
	border: 1px solid #bbb;
	border-radius: 1px;
}

.kb-rahmen-innen {
	padding: 20px 20px 0;
	border: 1px solid #fff;
	background: #f0f0f0;
}

.kb-rahmen-rund,
.kb-rahmen-rund .kb-rahmen-innen {
	border-radius: 8px;
}

.kb-rahmen-mitte {
	text-align: center;
}

.kb-rahmen-innen > :last-child {
	margin-bottom: 20px;
}

/* Listen [list style="list1|list2"] */
.kb-liste {
	margin-left: 5px;
	padding: 0;
	list-style: none;
}

.kb-liste li {
	position: relative;
	margin: 4px 0;
	padding-left: 28px;
}

.kb-liste li::before {
	content: "";
	position: absolute;
	top: 0.38em;
	left: 4px;
	width: 14px;
	height: 14px;
	background: var(--blau);
	-webkit-mask: var(--zeichen) no-repeat center / contain;
	mask: var(--zeichen) no-repeat center / contain;
}

.kb-liste-kreis {
	--zeichen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='3.6' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}

.kb-liste-haken {
	--zeichen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5 5.5 11 12 3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.kb-liste-pfeil {
	--zeichen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m5 3 4 4-4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.kb-liste ul,
.kb-liste .children {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

/* Kontaktdaten [contact_info] und in der Fußzeile */
.kb-kontakt {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.kb-kontakt li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 5px;
}

.kb-kontakt .symbol {
	flex: none;
	margin-top: 0.2em;
	color: var(--blau);
}

/* Symbol-Link [icon_link] */
.kb-symbollink {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
}

.kb-symbollink .symbol {
	flex: none;
	margin-top: 0.2em;
}

.kb-knopf {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 4px;
	background: var(--blau);
	color: #fff;
	font-weight: 700;
}

.kb-knopf:hover {
	background: var(--blau-dunkel);
	color: #fff;
	text-decoration: none;
}

/* Buchhinweis GUSTAVO 1960 auf der Startseite, direkt unter dem Slider (inc/buch.php). Er sitzt als erstes Element
   in <main> und hebt dessen oberen Innenabstand auf, damit er bündig am blauen Band anliegt. */
.buchhinweis {
	margin: -40px 0 40px;
	border-bottom: 1px solid var(--linie);
	background: linear-gradient(180deg, #f2f6f9 0%, #fefefe 100%);
}

.buchhinweis-innen {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 40px;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 44px;
}

.buchhinweis-cover {
	display: block;
	transform: rotate(-3deg);
	transition: transform 0.25s;
}

.buchhinweis-cover:hover {
	transform: rotate(0deg) scale(1.02);
}

.buchhinweis-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
	box-shadow: 0 10px 22px rgba(0, 40, 60, 0.28), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.buchhinweis-text p {
	margin: 0 0 12px;
}

.buchhinweis-dach {
	color: var(--blau);
	font-size: 15px;
	font-weight: 700;
}

.buchhinweis h2 {
	margin: 0 0 4px;
	font-size: 30px;
	letter-spacing: 1px;
}

.buchhinweis-unter {
	color: var(--text-hell);
	font-size: 17px;
	font-style: italic;
}

.buchhinweis .kein-umbruch {
	white-space: nowrap;
}

.buchhinweis-daten {
	color: #6b6b6b;
	font-size: 14px;
}

.buchhinweis-knoepfe {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 18px !important;
}

.buchhinweis-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 700;
}

.buchhinweis-link .symbol {
	transition: transform 0.2s;
}

.buchhinweis-link:hover .symbol {
	transform: translateX(3px);
}

@media (max-width: 600px) {
	.buchhinweis-innen {
		grid-template-columns: 110px 1fr;
		gap: 22px;
		align-items: start;
		padding-top: 30px;
		padding-bottom: 32px;
	}

	.buchhinweis h2 {
		font-size: 24px;
	}

	.buchhinweis-unter {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.buchhinweis-cover,
	.buchhinweis-link .symbol {
		transition: none;
	}
}

.kb-abstand {
	height: 20px;
}

/* Spalten [one_third] [two_third_last] … */
.kb-spalte {
	float: left;
	margin-right: 4%;
}

.kb-letzte {
	margin-right: 0;
}

.kb-halb { width: 48%; }
.kb-drittel { width: 30.66%; }
.kb-zwei-drittel { width: 65.33%; }
.kb-viertel { width: 22%; }
.kb-drei-viertel { width: 74%; }
.kb-fuenftel { width: 16.8%; }
.kb-zwei-fuenftel { width: 37.6%; }
.kb-drei-fuenftel { width: 58.4%; }
.kb-vier-fuenftel { width: 79.2%; }
.kb-sechstel { width: 13.33%; }
.kb-fuenf-sechstel { width: 82.67%; }

.kb-spalten-ende {
	clear: both;
}

/* ── Fußzeile ──────────────────────────────────────────── */

.fuss {
	background:
		radial-gradient(ellipse 50% 120% at 50% 0%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%),
		var(--blau);
	box-shadow: inset 0 9px 9px -9px rgba(0, 0, 0, 0.45);
	color: #fff;
}

.fuss a {
	color: #fff;
}

.fuss-spalten {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 30px;
	padding-top: 30px;
	padding-bottom: 40px;
}

.fuss h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 28px;
	line-height: 1;
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--blau);
	transition: background 0.15s ease, transform 0.15s ease;
}

.social a:hover,
.social a:focus-visible {
	background: #fff;
	transform: translateY(-2px);
}

.fuss .kb-kontakt {
	font-weight: 700;
	line-height: 1.35;
}

.fuss .kb-kontakt .symbol {
	color: rgba(255, 255, 255, 0.85);
}

.fuss-unten {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 15px;
	letter-spacing: 1px;
}

.fuss-unten-innen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.copyright {
	margin: 0;
}

/* „Made by Warp Solutions“ zwischen Copyright und Rechtlichem; Logo liegt im Theme (kein Fremdserver). */
.made-by {
	order: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.made-by img {
	display: block;
	width: auto;
	height: 38px;
	/* Ganz weiß wie die übrige Schrift der Fußzeile; das bunte Signet hätte auf Blau zu wenig Kontrast. */
	filter: brightness(0) invert(1);
	opacity: 0.85;
	transition: opacity 0.2s;
}

.made-by:hover,
.made-by:focus-visible {
	color: #fff;
}

.made-by:hover img,
.made-by:focus-visible img {
	opacity: 1;
}

.fussnav {
	order: 2;
}

.fussmenue {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px 0 0;
	padding: 0;
	list-style: none;
}

.fussmenue a {
	padding: 0 5px;
}

/* Knopf „nach oben“ */
.nach-oben {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nach-oben:hover {
	background: var(--blau);
	color: #fff;
}

.nach-oben[hidden] {
	display: none;
}

.nach-oben .symbol {
	width: 22px;
	height: 22px;
}

/* ── Tablet und Handy ──────────────────────────────────── */

@media (max-width: 900px) {
	.kopf-innen {
		align-items: center;
		min-height: 80px;
	}

	.logo {
		margin: 10px 0;
	}

	.logo-bild {
		width: 210px;
	}

	.mit-seitenmenue {
		grid-template-columns: 220px minmax(0, 1fr);
		column-gap: 24px;
	}

	.seitenmenue {
		padding-right: 18px;
	}

	.seitenmenue h2 {
		font-size: 22px;
	}

	.seitenmenue a {
		font-size: 16px;
	}

	.menue-knopf {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding: 8px 12px;
		border: 1px solid #ccc;
		border-radius: 4px;
		background: #fff;
		color: #000;
		font: 700 16px/1 var(--schrift);
		cursor: pointer;
	}

	.menue-knopf-striche,
	.menue-knopf-striche::before,
	.menue-knopf-striche::after {
		display: block;
		width: 20px;
		height: 2px;
		background: currentColor;
		transition: transform 0.2s ease, background 0.2s ease;
	}

	.menue-knopf-striche {
		position: relative;
	}

	.menue-knopf-striche::before,
	.menue-knopf-striche::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menue-knopf-striche::before {
		top: -6px;
	}

	.menue-knopf-striche::after {
		top: 6px;
	}

	.menue-knopf[aria-expanded="true"] .menue-knopf-striche {
		background: transparent;
	}

	.menue-knopf[aria-expanded="true"] .menue-knopf-striche::before {
		transform: translateY(6px) rotate(45deg);
	}

	.menue-knopf[aria-expanded="true"] .menue-knopf-striche::after {
		transform: translateY(-6px) rotate(-45deg);
	}

	.hauptnav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		background: var(--seite);
		border-top: 1px solid var(--linie);
		box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
	}

	.kopf.offen .hauptnav {
		display: block;
	}

	.hauptnav .menue {
		display: block;
		margin: 0;
		padding: 6px 0 12px;
	}

	.hauptnav .menue > li > a {
		padding: 0 var(--rand);
		border-bottom: 1px solid var(--linie);
		font-size: 19px;
		line-height: 50px;
	}

	.hauptnav .menue > li > a::after {
		top: 12px;
		right: auto;
		bottom: 12px;
		left: 0;
		width: 4px;
		height: auto;
		transform: scaleY(0);
	}

	.hauptnav .menue > .current-menu-item > a::after,
	.hauptnav .menue > .current-menu-ancestor > a::after,
	.hauptnav .menue > li > a:hover::after {
		transform: scaleY(1);
	}

	.hauptnav .sub-menu,
	.hauptnav .children {
		position: static;
		min-width: 0;
		padding: 0;
		background: #f5f5f5;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hauptnav .sub-menu a,
	.hauptnav .children a {
		padding: 12px var(--rand) 12px calc(var(--rand) + 18px);
		border-bottom: 1px solid #e6e6e6;
		font-size: 17px;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 17px;
	}

	.band .innen {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.band-titel {
		font-size: 24px;
		line-height: 1.25;
	}

	.band-slider .innen {
		padding: 0 0 10px;
	}

	.slider-buehne {
		box-shadow: none;
	}

	.seite {
		padding-top: 30px;
	}

	.buchhinweis {
		margin: -30px 0 30px;
	}

	.brotkrumen ol {
		margin-top: -14px;
	}

	.mit-seitenmenue {
		display: block;
	}

	.seitenmenue {
		margin-top: 30px;
		padding: 20px 0 0;
		border-top: 3px solid var(--blau);
		background: none;
	}

	.seitenmenue a {
		padding: 10px 0 10px 2px;
	}

	.kb-spalte {
		float: none;
		width: auto;
		margin-right: 0;
	}

	.kb-spalte + .kb-spalte {
		margin-top: 10px;
	}

	.kb-zitat-left,
	.kb-zitat-right {
		float: none;
		width: auto;
		margin: 0 0 20px;
	}

	.fuss-spalten {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
	}

	.fuss-spalte:empty {
		display: none;
	}

	.fuss h2 {
		font-size: 24px;
	}

	.fuss-unten-innen {
		flex-direction: column;
		align-items: flex-start;
	}

	.fussmenue {
		margin-left: -5px;
	}
}

/* Auf schmalen Handys steht der Text unter dem Bild statt darauf. */
@media (max-width: 600px) {
	.slider-buehne {
		aspect-ratio: auto;
		background: #003f56;
	}

	.slide {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
	}

	.slide.aktiv {
		position: relative;
	}

	.slider-bild {
		height: auto;
		aspect-ratio: 960 / 440;
	}

	.slide-text,
	.slide-text-top,
	.slide-text-bottom,
	.slide-text-left,
	.slide-text-right {
		position: static;
		width: auto;
		min-height: 5.6em;
		padding: 10px var(--rand) 12px;
		background: #003f56;
		font-size: 14px;
	}

	.slide-text strong {
		font-size: 17px;
	}

	.slider-steuerung {
		margin-top: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.kopf nav,
	.menue-knopf,
	.band-slider,
	.seitenmenue,
	.fuss-spalten,
	.nach-oben {
		display: none !important;
	}

	.band {
		background: none;
		box-shadow: none;
		color: #000;
	}

	.band-titel {
		color: #000;
	}
}
