@charset "UTF-8";
/* Grundlegende Stile */ 
:root {
	--primary-color: #8B7355;
	--secondary-color: #D4AF37;
	--text-color: #333;
	--background-color: #fff;
	--spacing: 3vw;
	--font-size-base: clamp(16px, 2vw, 22px);
	--header-height: 50px;
	--footer-background: #8B7355;
}
/* Dark Mode Variablen */
@media only screen and (prefers-color-scheme: dark) {
	:root {
		--primary-color: #D4AF37;
		--secondary-color: #8B7355;
		--text-color: #f0f0f0;
		--background-color: #1a1a1a;
		--footer-background: #997d22;
	}
}
/* Erhoehter Kontrast Variablen*/
@media (prefers-contrast: more) {
:root {
		--primary-color: #7F6443;
		--secondary-color: #B38B0B;
		--text-color: #000;
		--footer-background: #80633E;
	}
}
html {
	scroll-behavior: smooth;
	font-size: var(--font-size-base);
}
body {
	font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
	font-weight: 300;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
	padding: 0;
	background-color: var(--background-color);
	transition: background-color 0.3s, color 0.3s;
	-webkit-text-size-adjust: 100%;
}
/* Anker-Offset je nach Platzbedarf sticky Navigation */
@media only screen and (min-height: 600px) {
	:target {
		scroll-margin-top: calc(var(--header-height) + 1.3rem);
	}
}
@media only screen and (min-height: 600px) and (max-width: 768px) {
	:target {
		scroll-margin-top: calc(var(--header-height) + 12rem);
	}
}
@media only screen and (max-height: 599px) and (max-width: 768px) {
	:target {
		scroll-margin-top: 180px;
	}
}
/* maximale Breite */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--spacing);
}
/* Nach oben Button */
.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: var(--primary-color);
	color: white;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.back-to-top::before {
	content: "↑";
	font-size: 1.5rem;
}
.back-to-top:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
}
/* Header und Navigation */
body > header {
	background-color: var(--background-color);
	padding: 1rem;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
@media only screen and (min-height: 600px) {
	body > header {
		position: sticky;
		top: -3.2rem;
		z-index: 1000;
	}
}
#brand {
	text-align: center;
	font-size: 1.4rem;
	color: var(--primary-color);
	margin-bottom: 0.8rem;
	text-transform: uppercase;
}
nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 2rem;
}
nav a {
	text-decoration: none;
	color: var(--text-color);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: color 0.3s;
}
nav a:hover {
	color: var(--secondary-color);
}
/* Hamburger Menu */
.hamburger {
	display: none;
	cursor: pointer;
	padding: 10px;
	padding-bottom: 2px;
	margin: 0 auto;
}
.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--primary-color);
	margin: 5px auto;
	transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
/* Main Content */
main {
	padding: var(--spacing);
	padding-top: 0;
}
section, article {
	margin-bottom: var(--spacing);
}
h1, main h1, article h1, section h1 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: var(--spacing);
}
h1, h2 {
	color: var(--primary-color);
	text-transform: uppercase;
}
h1, main h1, article h1, section h1, h2, h3, h4 {
	font-weight: 400;
}
.spalten_2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing);
	align-items: center;
}

.fotogalerie {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
@media screen {
.fotogalerie img, .partner img, img.skalieren {
	transition: all 0.3s;
}
.fotogalerie img:hover, .partner img:hover, img.skalieren:hover {
	transform: scale(1.05);
}
}

@media screen and (max-width:799px) {
.fotogalerie {
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}
	
}
/* GLightbox Buttons */
.gbtn {
	padding: 0;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
/* Button */
button {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 1rem 2rem;
	cursor: pointer;
	transition: background-color 0.3s;
	font-family: inherit;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}
button:hover {
	background-color: var(--secondary-color);
}
/* Footer */
footer {
	background-color: var(--footer-background);
	color: white;
	padding: var(--spacing);
	padding-bottom: 5rem;
	text-align: center;
}
.partner img {
	max-width: 200px;
	margin: 0 auto;
}
.google_maps_pin {
	display: inline-block;
	height: 1.5rem;
	width: auto;
	margin-bottom: -0.3rem;
}
.impressum a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}
/* Link Styling */
a {
	color: var(--primary-color);
	text-decoration: none;
	position: relative;
	transition: color 0.3s ease;
}
/* Links im Inhalt mit kleinen Perlen unterstrichen */
main a {
	border-bottom: 3px dotted var(--primary-color);
	padding-bottom: 0.1rem;
	border-image-source: url("kreis_dunkel.svg");
	border-image-slice: 100% 0;
	border-image-repeat: round;
	border-width: 0 0 0.3rem 0;
	padding-right: 0.15rem;
}
main a:hover {
	color: var(--secondary-color);
	border-bottom-color: var(--secondary-color);
	border-image-source: url("kreis_hell.svg");
}
/* Links um Bilder und Tasten ohne Border unten */
main a.fotogalerie, main .fotogalerie a, main a.termin, main .termin a, main a.pdf_vorschau, main .pdf_vorschau a {
	border-bottom: none;
	padding-right: 0;
}
/* Links im Fussteil */
footer a {
	color: white;
}
footer a::after {
	background-color: white;
}
footer a:hover {
	color: var(--secondary-color);
}
footer a:hover::after {
	background-color: var(--secondary-color);
}
/* Taste Termin vereinbaren */
a.termin::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: -2px;
	left: 0;
	background-color: var(--primary-color);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}
a.termin:hover {
	color: var(--secondary-color);
}
a.termin:hover::after {
	transform: scaleX(1);
	transform-origin: left;
	background-color: var(--secondary-color);
}
.pdf_vorschau img {
	max-width: 350px;
	width: 100%;
	height: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	body > header {
		padding: 0.5rem;
	}
	#brand {
		margin-bottom: 0.5rem;
	}
	.hamburger {
		display: block;
	}
	nav {
		position: sticky;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--background-color);
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
	}
	nav.active {
		max-height: 500px;
	}
	nav ul {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
		padding: 1rem;
		margin: 0;
	}
	.spalten_2 {
		grid-template-columns: 1fr;
	}
}
/* Animationen */
@media only screen and (prefers-reduced-motion: no-preference) {
	.fade-in {
		animation: fadeIn 1s ease-in;
	}
	.blinkend {
		animation: blinken 1s infinite;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes blinken {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
	100% {
		opacity: 1;
	}
}
.kleiner {
	font-size: 0.9rem;
}
img.aktuell_vorschau {
	max-width: 300px;
	height: auto;
	border: none;
}
/* Anmerkung Entwicklung */
.anmerkung {
	color: #EB8A8A;
}
/* Druckausgabe */
@media print {
	html {
		font-size: 13px;
	}
	* {
		background: transparent;
	}
	body {
		padding: 1rem;
	}
	footer {
		color: black;
	}
	h1, main h1, article h1, section h1, h1 span, h2, #brand, #brand span {
		color: #8B7355;
	}
	body > header {
		position: relative;
		box-shadow: none;
		width: auto;
	}
	#brand {
		font-size: 1.8rem;
	}
	#kopfbild {
		text-align: center;
	}
	#kopfbild img {
		width: 360px;
		margin: 0 auto;
	}
	main {
		margin-top: 0;
	}
	main, footer {
		padding: 0;
	}
	.partner img {
		max-width: 120px;
	}
	h1, main h1, article h1, section h1, h1 span {
		margin-bottom: 0.4rem;
	}
	a[href^="tel:"], a[href^="mailto:"] {
		color: black;
	}
	img.aktuell_vorschau {
		max-width: 200px;
	}
	h1, main h1, article h1, section h1, h2, h3, h4, h5 {
		break-after: avoid;
	}
	img, table, figure {
		break-inside: avoid;
	}
	p {
		orphans: 3;
		widows: 4;
	}
	.pdf_vorschau img {
		max-width: 250px;
	}
	.fotogalerie {
	display: block;
	}
	.fotogalerie img {
		display: inline-block;
		max-width: 24%
}
	.nicht_drucken, nav, footer, .back-to-top, .termin, .anmerkung {
		display: none;
	}
}