/* WINTER-MODUS: Schnee & Frost. Zum Abschalten die folgende Zeile löschen oder auskommentieren. */
@import url("winter.css");

/* =====================================================================
   WOLF HERZKA – GLASS DESIGN LAYER
   Wird auf jeder Seite als LETZTES Stylesheet geladen und legt ein
   modernes "Glass"-Design (Milchglas, Blur, Lichtkanten) über die
   bestehenden Seiten. Pfade sind relativ zu dieser Datei (Root).
   ===================================================================== */

/* ---------- Schriften ---------- */
@font-face { font-family: CG;     src: url("fonts/CormorantGaramond-Light.ttf");       font-display: swap; }
@font-face { font-family: CGI;    src: url("fonts/CormorantGaramond-LightItalic.ttf"); font-display: swap; }
@font-face { font-family: Char;   src: url("fonts/Charmonman-Regular.ttf");            font-display: swap; }
@font-face { font-family: GenBas; src: url("fonts/GenBasR.ttf");  font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: GenBas; src: url("fonts/GenBasB.ttf");  font-weight: bold;   font-style: normal; font-display: swap; }
@font-face { font-family: GenBas; src: url("fonts/GenBasI.ttf");  font-weight: normal; font-style: italic; font-display: swap; }
@font-face { font-family: GenBas; src: url("fonts/GenBasBI.ttf"); font-weight: bold;   font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	color-scheme: dark;

	--bg: #0a0a0b;

	--glass:        rgba(28, 28, 32, 0.36);
	--glass-strong: rgba(24, 24, 28, 0.55);
	--glass-hover:  rgba(56, 56, 62, 0.44);
	--glass-inset:  rgba(255, 255, 255, 0.05);
	--sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0) 100%);

	--stroke:        rgba(255, 255, 255, 0.10);
	--stroke-strong: rgba(255, 255, 255, 0.22);
	--edge: linear-gradient(145deg,
		rgba(255, 255, 255, 0.55) 0%,
		rgba(255, 255, 255, 0.10) 22%,
		rgba(255, 255, 255, 0.00) 50%,
		rgba(255, 255, 255, 0.06) 78%,
		rgba(255, 255, 255, 0.28) 100%);

	--blur: blur(30px) saturate(175%);
	--blur-strong: blur(44px) saturate(190%);

	--shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 24px 60px -18px rgba(0, 0, 0, 0.75),
		0 2px 10px rgba(0, 0, 0, 0.25);
	--shadow-lift:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 34px 70px -18px rgba(0, 0, 0, 0.85),
		0 4px 14px rgba(0, 0, 0, 0.30);

	--text:   rgba(255, 255, 255, 0.94);
	--text-2: rgba(235, 235, 245, 0.68);
	--text-3: rgba(235, 235, 245, 0.45);

	--accent:       #f2bd82;
	--accent-hover: #ffdcb3;
	--accent-soft:  rgba(242, 189, 130, 0.16);

	--r-xl: 30px;
	--r-lg: 22px;
	--r-md: 14px;
	--r-sm: 10px;

	--font-serif:   GenBas, "Gentium Basic", "Iowan Old Style", Georgia, serif;
	--font-display: CG, "Cormorant Garamond", Georgia, serif;
	--font-script:  Char, "Snell Roundhand", cursive;
	--font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, "Helvetica Neue", sans-serif;

	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	:root {
		--glass:        rgba(26, 26, 30, 0.90);
		--glass-strong: rgba(22, 22, 26, 0.94);
		--glass-hover:  rgba(44, 44, 50, 0.92);
	}
}

/* ---------- Basis ---------- */
html {
	background: var(--bg);
}

/* Body muss transparent sein, sonst überdeckt er den Hintergrund mit negativem z-index */
body {
	background: transparent !important;
	margin: 0;
	color: var(--text);
	font-family: var(--font-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection { background: rgba(242, 189, 130, 0.35); color: #fff; }

/* alte Seiten blenden die Scrollbar aus – wir zeigen eine dezente */
::-webkit-scrollbar { display: block; width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.28); }

a { color: var(--accent); }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 8px;
}

/* ---------- Hintergrund: Fell + Lichtschleier ---------- */
#background,
#background_image {
	position: fixed;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: -100;
	background-color: var(--bg);
	overflow: hidden;
}

#background_image {
	background-image: url("images/fell.jpg");
	background-size: cover;
	background-position: center;
	filter: brightness(1.15);
}

#background::after,
#background_image::after {
	content: "";
	position: absolute;
	inset: -10%;
	pointer-events: none;
	background:
		radial-gradient(55vmax 45vmax at 10% 5%,  rgba(226, 140, 70, 0.34), transparent 62%),
		radial-gradient(45vmax 40vmax at 95% 92%, rgba(110, 130, 215, 0.22), transparent 62%),
		radial-gradient(35vmax 35vmax at 85% 12%, rgba(255, 222, 186, 0.10), transparent 60%),
		radial-gradient(40vmax 30vmax at 15% 95%, rgba(170, 95, 60, 0.14), transparent 60%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* Fellbewegung nur auf der Startseite – auf Inhaltsseiten ruhig (Performance der Blur-Flächen) */
body:not(.p-home) #b1,
body:not(.p-home) #o1,
body:not(.p-home) #o2,
body:not(.p-home) #o3 {
	animation: none !important;
}

/* Inhalte nicht mehr als Ganzes animieren: ein transparenter Vorfahre
   würde den Glas-Blur während der Animation abschalten */
#website {
	animation: none !important;
}

/* ---------- Glas-Grundbaustein ---------- */
.g-glass,
.g-tile,
.g-pill,
.g-panel,
#back #back_text,
#start #back_text,
#back #back_cross,
#view,
.element,
.element_no_padding,
#element,
.DES_2_element {
	position: relative;
	background-color: var(--glass);
	background-image: var(--sheen);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	border: 1px solid var(--stroke);
	box-shadow: var(--shadow);
	color: var(--text);
	text-shadow: none;
}

/* leuchtende, verlaufende Glaskante */
.g-glass::before,
.g-tile::before,
.g-pill::before,
.g-panel::before,
#back #back_text::after,
#start #back_text::after,
#back #back_cross::after,
#view::before,
.element::before,
.element_no_padding::before,
#element::before,
.DES_2_element::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: var(--edge);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 1;
}

@keyframes g-rise {
	from { opacity: 0; transform: translateY(14px) scale(0.99); }
	to   { opacity: 1; transform: none; }
}

/* =====================================================================
   NAVIGATION: Zurück-Pille & Schließen-Knopf (alle Unterseiten)
   ===================================================================== */
#back,
#start {
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 60;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	filter: none;
}

#back #back_text,
#start #back_text {
	position: relative;
	top: auto;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: auto;
	height: 50px;
	margin: 0;
	padding: 0 24px 0 18px;
	border-radius: 999px;
	background-color: var(--glass-strong);
	font: 500 17px/1 var(--font-ui);
	letter-spacing: 0.01em;
	color: var(--text);
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#back #back_text::before,
#start #back_text::before {
	content: "";
	width: 8px;
	height: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-left: 3px;
	border-radius: 1px;
}

#back #back_cross {
	position: fixed;
	top: 16px;
	right: 16px;
	left: auto;
	bottom: auto;
	z-index: 60;
	display: grid;
	place-items: center;
	float: none;
	width: 50px;
	height: 50px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background-color: var(--glass-strong);
	font: 400 17px/1 var(--font-ui);
	color: var(--text);
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#back #back_text:hover,
#start #back_text:hover,
#back #back_cross:hover {
	background-color: var(--glass-hover);
	color: #fff;
	text-shadow: none;
	transform: scale(1.04);
	box-shadow: var(--shadow-lift);
}

#back #back_text:active,
#start #back_text:active,
#back #back_cross:active {
	transform: scale(0.97);
}

/* =====================================================================
   INHALTSBEREICH (Unterseiten)
   ===================================================================== */
#content {
	position: relative;
	width: min(960px, calc(100% - 32px));
	margin: 0 auto;
	padding: 96px 0 72px;
	font-family: var(--font-serif);
	font-size: 20px;
	line-height: 1.65;
	color: var(--text);
	text-shadow: none;
}

.element,
.element_no_padding,
#element {
	float: none;
	width: auto;
	height: auto;
	margin: 0 0 22px;
	padding: clamp(24px, 4.5vw, 48px);
	border-radius: var(--r-xl);
	overflow: hidden;
	text-align: left;
	animation: g-rise 0.7s var(--ease) both;
}

.element:nth-child(2), .element_no_padding:nth-child(2) { animation-delay: 0.06s; }
.element:nth-child(3), .element_no_padding:nth-child(3) { animation-delay: 0.12s; }
.element:nth-child(4) { animation-delay: 0.18s; }

#content h1,
#content h2,
#content h3 {
	font-family: var(--font-display);
	font-weight: normal;
	color: var(--text);
	letter-spacing: -0.005em;
	line-height: 1.1;
	text-shadow: none;
}

#content h1 { font-size: clamp(38px, 5.4vw, 56px); margin: 0 0 0.3em; }
#content h2 { font-size: clamp(30px, 3.8vw, 42px); margin: 1.4em 0 0.5em; }
#content h3 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 0.8em; }
#content .element > h2:first-child,
#content #element > h2:first-child { margin-top: 0; }

#content b, #content strong { font-weight: bold; color: #fff; }

.link,
#link {
	color: var(--accent);
	font-weight: inherit;
	text-decoration: none;
	background: none;
	border-bottom: 1px solid rgba(242, 189, 130, 0.35);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.link:hover,
#link:hover {
	color: var(--accent-hover);
	border-bottom-color: var(--accent-hover);
	background: none;
}

#content ul { padding-left: 1.2em; margin: 0.6em 0; }
#content li { margin-bottom: 0.45em; }
#content li::marker { color: var(--accent); }

details {
	margin: 14px 0;
	padding: 12px 18px;
	border-radius: var(--r-md);
	background: var(--glass-inset);
	border: 1px solid var(--stroke);
	font-family: var(--font-ui);
	font-size: 17px;
}
details summary { cursor: pointer; color: var(--text); }
details audio { width: 100%; margin-top: 10px; }

/* =====================================================================
   STARTSEITE
   ===================================================================== */
.p-home #website_container,
.p-home #website {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 100%;
	overflow: visible;
}

.p-home {
	position: static;
	overflow-y: auto;
	height: auto;
	min-height: 100%;
}

.home {
	min-height: 100vh;
	min-height: 100dvh;
	width: min(880px, calc(100% - 32px));
	margin: 0 auto;
	padding: clamp(56px, 12vh, 120px) 0 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(28px, 5vh, 44px);
}

.hero {
	text-align: center;
	animation: g-rise 1s var(--ease) both;
}

.hero-name {
	margin: 0;
	font-family: var(--font-script);
	font-weight: normal;
	font-size: clamp(54px, 11vw, 116px);
	line-height: 1.4;
	color: #fff;
	letter-spacing: 0.01em;
	text-shadow: 0 0 40px rgba(242, 189, 130, 0.25), 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-tagline {
	margin: clamp(20px, 3.4vw, 40px) 0 0;
	font: 500 15px/1 var(--font-ui);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--text-2);
}

.home-nav {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.g-tile {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	min-height: 140px;
	padding: 24px 26px;
	border-radius: var(--r-lg);
	text-decoration: none;
	overflow: hidden;
	animation: g-rise 0.9s var(--ease) both;
	transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.g-tile:nth-child(2) { animation-delay: 0.08s; }
.g-tile:nth-child(3) { animation-delay: 0.16s; }

/* weicher Lichtfleck, der dem Hover folgt */
.g-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 45%);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
	pointer-events: none;
}

.g-tile:hover {
	transform: translateY(-4px);
	background-color: var(--glass-hover);
	box-shadow: var(--shadow-lift);
}
.g-tile:hover::after { opacity: 1; }
.g-tile:active { transform: translateY(-1px) scale(0.99); }

.g-tile-label {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.8vw, 46px);
	line-height: 1;
	color: var(--text);
}

.g-tile-sub {
	font: 400 16px/1.4 var(--font-ui);
	color: var(--text-2);
}

.g-tile--main {
	grid-column: 1 / -1;
	min-height: 190px;
	padding: 30px 34px;
}

.g-tile--main .g-tile-label {
	font-size: clamp(52px, 9vw, 84px);
}

.g-tile-arrow {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid var(--stroke);
	transition: transform 0.45s var(--ease), background-color 0.45s var(--ease);
}

.g-tile-arrow::before {
	content: "";
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--text);
	border-right: 2px solid var(--text);
	transform: translateX(-2px) rotate(45deg);
	border-radius: 1px;
}

.g-tile:hover .g-tile-arrow {
	transform: translateX(3px);
	background: var(--accent-soft);
}

.g-tile--absichten .g-tile-words {
	font: 500 13.5px/1.65 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-2);
}

.g-tile--absichten .g-tile-words em {
	font-style: normal;
	color: var(--accent);
}

/* Vita & Bestellung */
.vita {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	animation: g-rise 0.9s var(--ease) 0.24s both;
}

.g-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	font: 500 17px/1 var(--font-ui);
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.g-pill:hover { background-color: var(--glass-hover); transform: scale(1.03); box-shadow: var(--shadow-lift); }
.g-pill:active { transform: scale(0.98); }

.g-pill-chevron {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.4s var(--ease);
}

.g-pill[aria-expanded="true"] .g-pill-chevron {
	transform: translateY(2px) rotate(225deg);
}

.vita-collapse {
	width: 100%;
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.6s var(--ease), opacity 0.45s var(--ease);
}

.vita-collapse.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
}

.vita-collapse > div {
	min-height: 0;
	overflow: hidden;
	padding: 4px;
	margin: -4px;
}

.g-panel {
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--r-xl);
	font-family: var(--font-serif);
	font-size: 19px;
	line-height: 1.65;
}

.g-panel h2 {
	margin: 0 0 10px;
	font: normal 36px/1.1 var(--font-display);
	color: var(--text);
}

.g-panel h2:not(:first-child) { margin-top: 28px; }
.g-panel p { margin: 0; color: var(--text-2); }
.g-panel ul { margin: 0; padding-left: 1.2em; }
.g-panel li { margin-bottom: 10px; color: var(--text-2); }
.g-panel li::marker { color: var(--accent); }
.g-panel b { color: var(--text); }

.home-footer {
	margin-top: auto;
	padding-top: 12px;
	font: 400 15px/1 var(--font-ui);
}

.home-footer a {
	color: var(--text-3);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

.home-footer a:hover { color: var(--text); }

@media (max-width: 620px) {
	.home-nav { grid-template-columns: 1fr; }
	.g-tile--main { min-height: 160px; }
	.hero-tagline { font-size: 13px; letter-spacing: 0.2em; }
	.g-tile--absichten .g-tile-words br { display: none; } /* Text frei fließen lassen */
}

/* =====================================================================
   TITELÜBERSICHT (titel/index.php)
   ===================================================================== */
.p-titles #content {
	width: min(1140px, calc(100% - 32px));
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 22px;
	align-items: start;
	padding-top: 92px;
}

.p-titles .page-head,
.p-titles #view,
.p-titles .DES_2_element {
	grid-column: 1 / -1;
}

.page-head {
	padding: 8px 4px 4px;
	animation: g-rise 0.8s var(--ease) both;
}

.page-head h1 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: normal;
	font-size: clamp(52px, 8vw, 88px);
	line-height: 1;
	color: var(--text);
}

.page-head p {
	margin: 10px 0 0;
	font: 400 18px/1.4 var(--font-ui);
	color: var(--text-2);
}

/* Umschalter Liste / Raster als Glas-Segment */
.p-titles #view {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 60;
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 4px;
	border-radius: 999px;
	background-color: var(--glass-strong);
}

.p-titles #view div {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	line-height: normal;
	transition: background-color 0.25s var(--ease);
}

.p-titles #view div:hover {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.p-titles #view img {
	width: 20px;
	height: 20px;
	filter: invert(1) brightness(1.4);
	opacity: 0.85;
}

/* Rasteransicht: Karten */
.p-titles .element {
	margin: 0;
	padding: 12px 12px 18px;
	border-radius: var(--r-lg);
	animation: none;
	transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-titles .element:hover {
	transform: translateY(-5px);
	background-color: var(--glass-hover);
	box-shadow: var(--shadow-lift);
}

.p-titles .element_link { display: block; }

.p-titles .element_cover,
.p-titles .DES_2_element_cover {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 1 / 1.414;
	object-fit: cover;
	object-position: right center; /* bei Rundum-Covern die Vorderseite zeigen */
	border: 0;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 34px -12px rgba(0, 0, 0, 0.8);
	filter: none;
	animation: none;
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.p-titles .element_cover:hover,
.p-titles .DES_2_element_cover:hover {
	filter: none;
	animation: none;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 40px -12px rgba(0, 0, 0, 0.85);
}

.p-titles .element_titel {
	margin: 16px 6px 10px;
	font-family: var(--font-display);
	font-weight: normal;
	font-size: 26px;
	line-height: 1.12;
	color: var(--text);
	text-shadow: none;
}

.p-titles .element_titel br { display: none; }

.p-titles .element_info {
	margin: 0 6px;
	font: 400 13.5px/1.5 var(--font-ui);
	color: var(--text-2);
}

.p-titles .element_info_point { margin-top: 4px; }
.p-titles .element_info_point b { color: var(--text); font-weight: 600; }
.p-titles .element_info_point a { color: var(--accent); text-decoration: none; animation: none; }
.p-titles .element_info_point a:hover { color: var(--accent-hover); }

/* Listenansicht */
.p-titles .DES_2_element {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 34px;
	margin: 0;
	padding: 26px;
	border-radius: var(--r-xl);
	transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.p-titles .DES_2_element:hover {
	background-color: var(--glass-hover);
	box-shadow: var(--shadow-lift);
	transform: translateY(-2px);
}

.p-titles .DES_2_element_link {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
}

.p-titles .DES_2_element_content {
	position: static;
	height: auto;
	padding: 4px 0 56px;
	min-width: 0;
}

.p-titles .DES_2_element_titel {
	font-family: var(--font-display);
	font-weight: normal;
	font-size: clamp(30px, 3.6vw, 42px);
	line-height: 1.08;
	color: var(--text);
	text-shadow: none;
}

.p-titles .DES_2_element_description {
	padding-top: 14px;
	font-family: var(--font-serif);
	font-size: 18.5px;
	line-height: 1.65;
	color: var(--text);
	text-shadow: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	line-clamp: 8;
	overflow: hidden;
}

.p-titles .DES_2_element_description b { color: var(--text); }

.p-titles .DES_2_element_more {
	position: absolute;
	right: 26px;
	bottom: 26px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 16px 0 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid var(--stroke);
	font: 500 16px/1 var(--font-ui);
	color: var(--text);
	text-decoration: none;
	opacity: 1;
	filter: none;
	transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.p-titles .DES_2_element_more img { display: none; }
.p-titles .DES_2_element_more::before { content: "Mehr erfahren"; }
.p-titles .DES_2_element_more::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	border-radius: 1px;
}

.p-titles .DES_2_element_more:hover {
	right: 26px;
	background: var(--accent-soft);
	color: var(--accent-hover);
	filter: none;
	transform: translateX(3px);
}

@media (max-width: 700px) {
	.p-titles #content {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 14px;
	}
	.p-titles .DES_2_element {
		grid-template-columns: 104px 1fr;
		gap: 18px;
		padding: 16px;
	}
	.p-titles .DES_2_element_description { font-size: 16.5px; -webkit-line-clamp: 4; line-clamp: 4; }
	.p-titles .DES_2_element_more { right: 16px; bottom: 16px; }
	.p-titles .DES_2_element_more:hover { right: 16px; }
	.p-titles .element_titel { font-size: 21px; }
	.p-titles .element_info { display: none; }
}

/* =====================================================================
   INTRO: einfliegender Schriftzug (nur Startseite, einmal pro Sitzung)
   ===================================================================== */
.intro-overlay { display: none; }

html.intro .intro-overlay,
.intro-overlay.is-out {
	display: grid;
}

.intro-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	place-items: center;
	background: rgba(8, 8, 10, 0.38);
	-webkit-backdrop-filter: blur(26px) saturate(150%);
	backdrop-filter: blur(26px) saturate(150%);
	cursor: pointer;
	transition: opacity 0.9s var(--ease);
}

.intro-overlay.is-out {
	opacity: 0;
	pointer-events: none;
}

/* Notausgang: selbst wenn kein JavaScript läuft, verschwindet der Schleier nach 5 s */
html.intro .intro-overlay {
	animation: intro-fallback-out 0.9s ease 5s forwards;
}

@keyframes intro-fallback-out {
	to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* X-Button oben rechts zum Überspringen */
.intro-close {
	position: absolute;
	top: max(18px, env(safe-area-inset-top));
	right: max(18px, env(safe-area-inset-right));
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	cursor: pointer;
	z-index: 1;
	transition: background 0.2s, transform 0.2s;
}

.intro-close::before,
.intro-close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 18px;
	height: 1.5px;
	background: #fff;
	border-radius: 1px;
	transform: translate(-50%, -50%) rotate(45deg);
}

.intro-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.intro-close:hover,
.intro-close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	transform: scale(1.06);
}

.intro-name {
	font-family: var(--font-script);
	font-size: clamp(50px, 12.5vw, 144px);
	line-height: 1.4;
	color: #fff;
	white-space: nowrap;
	text-shadow: 0 0 50px rgba(242, 189, 130, 0.32), 0 4px 30px rgba(0, 0, 0, 0.6);
	transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.intro-name span {
	display: inline-block;
	animation: intro-fly 1.8s var(--ease) both;
	animation-delay: calc(var(--i, 0) * 70ms + 150ms);
}

.intro-name .intro-space { width: 0.28em; animation: none; }

@keyframes intro-fly {
	from {
		opacity: 0;
		transform: translate(calc(40px + var(--i, 0) * 9px), calc(-60px - var(--i, 0) * 14px)) rotate(10deg);
		filter: blur(10px);
	}
	to {
		opacity: 1;
		transform: none;
		filter: blur(0);
	}
}

.intro-overlay.is-out .intro-name {
	transform: scale(1.04);
	filter: blur(6px);
}

/* Startseite wartet mit ihrem Aufsteigen, bis das Intro endet */
html.intro .hero,
html.intro .g-tile,
html.intro .vita {
	animation-play-state: paused;
}

/* =====================================================================
   BUCHSEITE (titel/<buch>/)
   ===================================================================== */
.p-book .book_title {
	display: block;
	max-width: calc(100% - 330px);
	margin: 0 0 0.25em;
	font-size: clamp(38px, 5.4vw, 58px);
}

/* Zeilenumbrüche direkt nach dem Titel sind Abstandshalter */
.p-book .book_title + br,
.p-book .book_title + br + br { display: none; }

.p-book .element:first-child {
	min-height: 360px;
}

.p-book .book_cover {
	position: absolute;
	top: 0;
	right: 0;
	margin: 48px 48px 0 0;
	max-height: 320px;
	max-width: 290px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 34px 60px -18px rgba(0, 0, 0, 0.85), 0 8px 18px rgba(0, 0, 0, 0.35);
	transition: transform 0.6s var(--ease);
	z-index: 2;
}

.p-book .book_cover:hover { transform: translateY(-4px) rotate(-0.6deg); }

/* „Anzeigen"-Links als kleine Glas-Knöpfe */
.p-book .element > a.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 2px;
	padding: 8px 16px;
	border: 1px solid var(--stroke);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font: 500 16px/1.2 var(--font-ui);
	color: var(--text);
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.p-book .element > a.link::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.p-book .element > a.link:hover {
	background: var(--accent-soft);
	border-color: rgba(242, 189, 130, 0.35);
	color: var(--accent-hover);
	transform: translateX(2px);
}

.p-book .element ul li a.link { border-bottom-color: transparent; }
.p-book .element ul li a.link:hover { border-bottom-color: var(--accent-hover); }

/* Kauf-Leiste */
.p-book .element_no_padding {
	padding: 14px;
	border-radius: var(--r-lg);
}

.p-book #center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.p-book #center > a { display: block; border-radius: 12px; }

.p-book .button_link {
	height: 52px;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.p-book .button_link:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24), 0 12px 24px -8px rgba(0, 0, 0, 0.7);
}

.p-book div.button_link {
	padding: 0 16px;
	background: rgba(255, 255, 255, 0.08);
	font: 400 13.5px/1.3 var(--font-ui);
	color: var(--text-2);
}

.p-book div.button_link b { font-size: 16px; color: var(--text); letter-spacing: 0.02em; }

/* Rezensionen */
.review {
	position: relative;
	margin-bottom: 16px;
	padding: 24px 26px 22px;
	border-radius: var(--r-lg);
	background: var(--glass-inset);
	border: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 19px;
	line-height: 1.7;
	color: var(--text);
}

.review + br,
.review + br + br { display: none; }

.review_autor {
	display: block;
	margin-top: 14px;
	padding-left: 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--text-2);
}

.review_img {
	max-width: 100%;
	height: auto;
	border-radius: var(--r-md);
	margin-bottom: 14px;
}

/* Diashow mit Vorschauseiten */
#slideshow_box { max-width: 100%; }
#div_slideshow { border: 0; border-radius: var(--r-md); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10); }
.slide_button { color: rgba(255, 255, 255, 0.8); text-shadow: none; transition: color 0.25s var(--ease); }
.slide_button:hover { color: var(--accent); }
#slide_bl, #slide_br { background: none; }

@media (max-width: 760px) {
	.p-book .book_title { max-width: none; }
	.p-book .element:first-child { min-height: 0; }
	.p-book .book_cover {
		position: static;
		display: block;
		margin: 28px auto 4px;
		max-width: 80%;
		max-height: none;
	}
	#slideshow_box { zoom: 0.5; }
}

@media (max-width: 420px) {
	#content { font-size: 18px; }
	.review { padding: 18px; }
}

/* =====================================================================
   BILD- UND PDF-ANSICHTEN (Cover, Vorschauseiten, Texte)
   ===================================================================== */
.p-media #content { width: min(1040px, calc(100% - 32px)); }

.p-media .element {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.p-media #element_cover {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--r-md);
}

/* Cover: ganzes Bild im Fenster zeigen */
.p-cover .element {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

.p-cover #element_cover {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);
	object-fit: contain;
}

.p-pdf #content { width: min(1100px, calc(100% - 32px)); }

.p-pdf .element { padding: 12px; }
.p-pdf .element h2:empty { display: none; }

.pdf_viewer {
	display: block;
	width: 100%;
	height: calc(100vh - 150px);
	min-height: 480px;
	max-height: none;
	margin: 0;
	border: 0;
	border-radius: var(--r-md);
	background: #fff;
}

/* =====================================================================
   REZENSIONEN-SEITE, ABSICHTEN, IMPRESSUM
   ===================================================================== */
.p-reviews h3.center {
	width: auto;
	margin: 2em 0 0.9em;
	text-align: left;
	font-size: clamp(26px, 3.4vw, 34px);
}

.p-reviews h3.center + br { display: none; }
.p-reviews h3.center .link { border-bottom: 0; color: var(--text); }
.p-reviews h3.center .link:hover { color: var(--accent-hover); }

.p-absichten .header { text-align: left; font-size: clamp(28px, 3.6vw, 38px); }

.p-absichten .spacer { margin-bottom: 10px; }

.p-absichten .spacer .link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--r-md);
	background: var(--glass-inset);
	font-family: var(--font-display);
	font-size: 27px;
	line-height: 1.2;
	color: var(--text);
	transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.p-absichten .spacer .link::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-left: 16px;
	border-top: 2px solid var(--text-2);
	border-right: 2px solid var(--text-2);
	transform: rotate(45deg);
}

.p-absichten .spacer .link:hover {
	background: rgba(255, 255, 255, 0.10);
	color: var(--accent-hover);
	transform: translateX(3px);
}

.p-imprint #element { line-height: 1.7; }
.p-imprint #element h2 { margin-top: 1.4em; }
.p-imprint #element h2:first-child { margin-top: 0; }
.p-imprint #element u { text-decoration: none; }

/* =====================================================================
   BARRIEREFREIHEIT: weniger Bewegung
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	#b1, #o1, #o2, #o3 { animation: none !important; }
}
