/*
 * Van Dzi Art Gallery – eigene Styles auf Basis von Bootstrap 5.3
 * Ersetzt die alten style.css, docs.css und pygments-manni.css (Bootstrap 3).
 * Optik bewusst nah am Original von 2014 (Bootstrap-3-Maße, Farben, Schriften).
 */

/*
 * Schriften lokal (keine Verbindung zu Google). Quelle: Fontsource 5.3.0 (npm),
 * Lizenz SIL OFL 1.1 – siehe fonts/OFL-*.txt. Nur die tatsächlich genutzten Schnitte,
 * Zeichensatz „latin“ (inkl. Umlaute, ß, é, –, ©, §). Fett/kursiv bei Buda synthetisiert
 * der Browser wie im Original (Google lieferte ebenfalls nur Buda 300).
 */
@font-face {
	font-family: 'Buda';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/buda-latin-300-normal.woff2) format('woff2');
}
@font-face {
	font-family: 'Cardo';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/cardo-latin-400-italic.woff2) format('woff2');
}

/* ---- Grundlayout ---- */
body.gallery-web {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #000;
	color: #fff;
	font-family: 'Buda', cursive;
	font-size: 14px;
	line-height: 1.428571;
}
.gallery-web .site-main {
	flex: 1 0 auto;
	padding-bottom: 20px;
}
.gallery-web .container {
	max-width: 980px;
	--bs-gutter-x: 30px;
}
.gallery-web h1 {
	margin: 20px 0 10px;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.1;
}
.gallery-web .accent {
	color: #d44950;
}
/* Sprungziele nicht unter der fixierten Navbar verstecken */
.gallery-web [id] {
	scroll-margin-top: 74px;
}

/* ---- Navigation ---- */
.gallery-web .site-navbar {
	min-height: 50px;
	margin-bottom: 14px; /* Abstand wie im Original (64px body-padding - 50px Navbar) */
	padding: 0;
	background: #222;
	border-bottom: 1px solid #080808;
}
.gallery-web .navbar-brand {
	padding: 15px 0;
	color: #d90000;
	font-family: "Cardo", serif;
	font-size: 32px;
	font-style: italic;
	font-weight: lighter;
	line-height: 20px;
	white-space: normal;
}
.gallery-web .navbar-brand:hover,
.gallery-web .navbar-brand:focus {
	color: #d90000;
}
.gallery-web .navbar-nav .nav-link {
	padding: 15px;
	color: #999;
	font-size: 20px;
	line-height: 20px;
}
.gallery-web .navbar-nav .nav-link:hover,
.gallery-web .navbar-nav .nav-link:focus {
	color: #fff;
}
.gallery-web .navbar-nav .nav-link.active {
	color: #fff;
	background: #080808;
}
.gallery-web .navbar-toggler {
	margin: 8px 0;
	border-color: #333;
}

/* ---- Footer ---- */
.gallery-web .site-footer {
	flex-shrink: 0;
	margin-top: 40px;
	padding: 10px 0;
	background: #222;
}
.gallery-web .footer-legal {
	margin-left: 24px;
	font-size: 13px;
}
.gallery-web .footer-legal a {
	color: #777;
	text-decoration: none;
}
.gallery-web .footer-legal a:hover,
.gallery-web .footer-legal a:focus {
	color: #ccc;
}

/* ---- Galerie (Startseite) ---- */
.gallery-web .carousel {
	margin: 10px 0;
}
.gallery-web .carousel-item {
	height: 600px;
	background-color: #222;
}
/* Gemälde vollständig und unverzerrt zeigen (Original zog sie auf 950x550 px) */
.gallery-web .carousel-item img {
	display: block;
	width: 100%;
	height: 550px;
	object-fit: contain;
}
.gallery-web .carousel-caption {
	right: 20%;
	bottom: 0;
	left: 20%;
	height: 50px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-web .carousel-caption h3 {
	margin: 0;
	font-family: 'Buda', cursive;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1;
}
.gallery-web .carousel-caption h3 .caption-details {
	font-size: 18px;
}
/* wie im Original: Punktgruppe zentriert bei 15 % der Breite */
.gallery-web .carousel-indicators {
	right: auto;
	bottom: 16px;
	left: 15%;
	justify-content: center;
	margin: 0;
	transform: translateX(-50%);
}
.gallery-web .carousel-indicators [data-bs-target] {
	box-sizing: border-box;
	width: 10px;
	height: 10px;
	margin: 1px;
	border: 1px solid #fff;
	border-radius: 50%;
	background-color: transparent;
	background-clip: border-box;
	opacity: 1;
}
.gallery-web .carousel-indicators .active {
	width: 12px;
	height: 12px;
	margin: 0;
	background-color: #fff;
}
.gallery-web .carousel-control-prev,
.gallery-web .carousel-control-next {
	bottom: 50px;
	width: 8%;
}
.gallery-web .carousel-control-prev {
	justify-content: flex-start;
	padding-left: 6px;
}
.gallery-web .carousel-control-next {
	justify-content: flex-end;
	padding-right: 6px;
}
.gallery-web .carousel-item picture {
	display: block;
}
/* Pause-Knopf (WCAG 2.2.2): Gegenstück zur Punktgruppe, zentriert bei 85 % der Breite */
.gallery-web .carousel-toggle {
	position: absolute;
	z-index: 2;
	right: 15%;
	bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	opacity: 0.6;
	transform: translateX(50%);
	transition: opacity 0.15s;
}
.gallery-web .carousel-toggle[hidden] {
	display: none;
}
.gallery-web .carousel-toggle:hover,
.gallery-web .carousel-toggle:focus-visible {
	opacity: 1;
}
.gallery-web .carousel-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.gallery-web .carousel-toggle svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}
.gallery-web .carousel-toggle .icon-play,
.gallery-web .carousel-toggle.is-paused .icon-pause {
	display: none;
}
.gallery-web .carousel-toggle.is-paused .icon-play {
	display: block;
}

/* ---- Biografie & Kontakt ---- */
.gallery-web .bio-page h1 {
	font-family: 'Buda', cursive;
}
.gallery-web ul.bio-list {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
}
.gallery-web ul.bio-list li {
	padding: 20px;
	border-top: 1px dotted #333;
	font-size: 20px;
}
.gallery-web .bio-page label {
	margin-bottom: 5px;
	font-size: 20px;
	font-weight: 700;
}
.gallery-web .bio-page .form-control {
	font-size: 14px;
}
.gallery-web .form-note {
	margin-top: 12px;
	color: #777;
	font-size: 13px;
}
.gallery-web .form-note a {
	color: #999;
}

/* ---- Testimonial ---- */
.gallery-web .testi {
	border-top: 1px solid #333;
}
.gallery-web .testi .nav-tabs {
	align-items: flex-start;
	border-bottom: 0;
}
.gallery-web .testi-heading h1 {
	margin-right: 4px;
}
.gallery-web .testi .nav-link {
	margin-top: 20px;
	padding: 10px 15px;
	border: 0;
	background: transparent;
}
.gallery-web .testi .nav-link img {
	display: block;
}
.gallery-web .testi .nav-link.active {
	background: #000;
}
.gallery-web .testimonial {
	text-align: justify;
}
.gallery-web .testimonial blockquote {
	margin: 0;
	padding: 0;
}
.gallery-web .testimonial p {
	margin-bottom: 10px;
	font-size: 17px;
	line-height: 24px;
}
.gallery-web .testimonial .testi-small {
	display: block;
	color: #999;
	font-size: 20px;
	font-style: italic;
}
.gallery-web .testimonial .testi-small::before {
	content: "\2014\00A0";
}

/* ---- Rechtliche Seiten ---- */
.gallery-web .legal-page {
	padding-bottom: 20px;
}
.gallery-web .legal-page h1 {
	margin-bottom: 24px;
}
.gallery-web .legal-page h2 {
	margin: 28px 0 8px;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
}
.gallery-web .legal-page p {
	max-width: 720px;
	color: #bbb;
	font-size: 15px;
	line-height: 1.6;
}
.gallery-web .legal-page a {
	color: #ddd;
}
.gallery-web .legal-page .legal-date {
	margin-top: 32px;
	color: #777;
	font-size: 13px;
}

/* ---- Desktop ---- */
@media (min-width: 768px) {
	.gallery-web .bio {
		border-right: 1px solid #333;
	}
}

/* ---- Mobil ---- */
@media (max-width: 767.98px) {
	.gallery-web .navbar-brand {
		max-width: calc(100% - 80px);
		margin-right: 0;
		font-size: 24px;
		line-height: 26px;
		padding: 12px 0;
	}
	.gallery-web .navbar-nav .nav-link {
		padding: 10px 0;
	}
	.gallery-web .carousel-item {
		height: auto;
	}
	.gallery-web .carousel-item img {
		height: 70vw;
	}
	.gallery-web .carousel-caption {
		position: static;
		height: auto;
		padding: 8px 0 10px;
	}
	.gallery-web .carousel-caption h3 {
		font-size: 22px;
	}
	.gallery-web .carousel-caption h3 .caption-sep {
		display: none;
	}
	.gallery-web .carousel-caption h3 .caption-details {
		display: block;
		margin-top: 4px;
		font-size: 15px;
	}
	.gallery-web .carousel-indicators {
		display: none;
	}
	.gallery-web .carousel-toggle {
		top: calc(70vw + 8px);
		right: 8px;
		bottom: auto;
		transform: none;
	}
	.gallery-web .carousel-control-prev,
	.gallery-web .carousel-control-next {
		bottom: auto;
		height: 70vw;
		width: 15%;
	}
	.gallery-web .footer-legal {
		display: block;
		margin: 4px 0 0;
	}
}

/* ---- Kontaktformular ---- */
/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.gallery-web .contact-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.gallery-web .contact-alert {
	font-size: 16px;
}
.gallery-web .bio-page .invalid-feedback {
	font-size: 14px;
}
.gallery-web .contact-unavailable {
	color: #999;
	font-size: 17px;
}
