html, body {
	height: 100%;
}

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

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, #f9f6e7 0%, #f1ebd6 45%, #e6dfc6 100%);
	font-family: "Trebuchet MS", sans-serif;
	font-size: 16px;
	color: #2b2a1f;
	-webkit-font-smoothing: antialiased;
}

/* Skip-Link für Barrierefreiheit (Tastaturnavigation) */
.skip-link {
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	background: #546A18;
	color: #fff;
	padding: 12px 24px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 0 0 8px 8px;
	z-index: 10000;
	transition: top 0.3s ease;
}

.skip-link:focus {
	top: 0;
	outline: 3px solid #956E1C;
	outline-offset: 2px;
}

h1, h2, h3 {
	margin-top: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #2e3610;
}

p, ol, ul {
	margin-top: 0;
}

p {
	line-height: 1.7;
}

strong {
	color: #646033;
}

a {
	color: #7a5816;
	transition: color 0.2s ease, background 0.2s ease;
}

a:hover, a:focus-visible {
	text-decoration: none;
	color: #6b5315;
}

a:focus-visible {
	outline: 3px solid #956E1C;
	outline-offset: 2px;
}

a img {
	border: none;
}

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

hr {
	display: none;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: #fff;
	color: #2b2a1f;
	border: 2px solid #546A18;
	border-radius: 4px;
	z-index: 1000;
	box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

ul.style1 {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.style1 li {
	padding: 10px 0;
	border-bottom: 1px solid #D8DBCA;
}

/** WRAPPER */

#wrapper {
	background: transparent;
	flex: 1 0 auto;
}

.container {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 18px;
}

.clearfix {
	clear: both;
}

.link1 {
	padding: 0 0 0 30px;
	background: url(images/homepage04.gif) no-repeat left 8px;
	font-size: 20px;
}

.link2 {
	display: inline-block;
	margin: 0;
	padding: 0 0 5px 30px;
	background: url(images/homepage08.gif) no-repeat left 2px;
}

.link3 {
	margin: 0;
	padding: 0 0 5px 30px;
	background: url(images/homepage10.gif) no-repeat left 4px;
}

/** HEADER */

#header {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	padding: 10px 0;
	min-height: 96px;
	background: url(images/bg05.jpg) repeat center;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0 18px;
}

/** LOGO */

#logo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#logo h1, #logo p {
	margin: 0;
	line-height: 1.2;
	color: #3f3c2a;
}

#logo h1 a {
	display: block;
	width: 320px;
	height: 86px;
	background: url(images/logo.png) no-repeat left center;
	background-size: contain;
	text-indent: -9999px;
	overflow: hidden;
}

#logo p {
	font-size: 14px;
	color: #7E7D6B;
}

#logo .tagline {
	color: #e8e1ca;
	letter-spacing: 0.01em;
}

/** MENU */

#menu {
	font-family: Georgia, "Times New Roman", Times, serif;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

#menu li {
	padding: 0;
}

#menu a {
	display: inline-block;
	margin: 0;
	padding: 8px 12px;
	letter-spacing: -0.5px;
	text-decoration: none;
	font-size: 17px;
	font-weight: normal;
	color: #FFFFFF;
	border-radius: 8px;
	background: rgba(84, 106, 24, 0.92);
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#menu a:hover, #menu a:focus-visible {
	background: #546A18;
}

#menu li.active a {
	background: #546A18 url(images/homepage02.gif) repeat-x left top;
}

/** BANNER */

#banner {
	min-height: 160px;
	background: url(images/homepage03.jpg) no-repeat center/cover;
	padding: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	overflow: hidden;
}

.homepage #banner {
	min-height: 200px;
	background: url(images/homepage03.jpg) no-repeat center/cover;
	padding: 32px 28px 28px;
	display: flex;
	align-items: flex-end;
	border-radius: 0;
}

.homepage #banner p {
	margin: 0 40px 0 0;
	padding: 0;
	letter-spacing: -0.5px;
	line-height: 1.1;
	text-align: right;
	font-size: clamp(26px, 4vw, 34px);
	color: #2b2a1f;
}

.homepage #banner span {
	margin: 0;
	padding: 0;
	color: #2e3610;
}

/** PAGE */

#content {
	width: 100%;
	padding: 30px 24px 20px;
	display: grid;
	gap: 28px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.homepage #content {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.subpage #content {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.single #content {
	grid-template-columns: 1fr;
}

/** CONTENT */

#main {
	width: 100%;
}

/** SIDEBAR */

#sidebar {
	width: 100%;
}

/** FOOTER */

#footer-bg {
	margin-top: auto;
	background: url(images/bg05.jpg) repeat center;
}

#footer-wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	background: transparent;
	border-radius: 0;
}

#footer {
	min-height: 120px;
	background: none;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#footer p {
	margin: 0;
	padding: 20px 16px 18px;
	color: #e8e1ca;
}

#footer a {
	color: #ffffff;
	text-decoration: underline;
}

#footer a:hover,
#footer a:focus-visible {
	color: #e8e1ca;
	text-decoration: underline;
}
.box-style1 {
	background: #ffffffd9;
	padding: 18px;
	border-radius: 0;
	box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}

.box-style1 .title {
	margin: 0 0 6px;
	padding: 0;
	letter-spacing: -0.5px;
	font-size: 30px;
	font-weight: normal;
	color: #566D19;
}

.box-style1 .byline {
	margin: -2px 0 16px;
	padding: 0;
	font-size: 16px;
	color: #8B8971;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.box-style2 {
	background: #ffffffd9;
	padding: 0 0 12px;
	border-radius: 0;
	box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.box-style2 p {
	line-height: 1.6;
	padding: 0 14px 0;
	color: #2b2a1f;
}

.box-style2 .title {
	min-height: 45px;
	margin: 0 0 10px;
	padding: 15px 10px 10px 10px;
	background: url(images/homepage05.gif) no-repeat left top;
	text-shadow: 2px 2px 2px #312C21;
	font-size: 21px;
	font-weight: normal;
	color: #FFFFFF;
	border-radius: 0;
	overflow: hidden;
}

#box2, #box3 {
	margin-bottom: 25px;
}

.subpage #box2 .title {
	background: url(images/subpage1_02.jpg) no-repeat left top;
}

#box3 .title {
	background: url(images/homepage09.gif) no-repeat left top;
}

.subpage #box3 .title {
	background: url(images/subpage1_03.jpg) no-repeat left top;
}

#two-columns {
	display: none;
}

#column1 h2 {
	margin: 0 0 10px;
	padding: 0;
	font-weight: normal;
	font-size: 26px;
	color: #B6C294;
}

.media-frame {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.media-frame.no-shadow {
	box-shadow: none;
}

.media-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	padding: 20px;
}

.lightbox-overlay.active {
	display: flex;
}

.lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #f7f7f2;
}

.lightbox-image {
	max-width: 90vw;
	max-height: 75vh;
	border-radius: 4px;
	box-shadow: 0 18px 40px rgba(0,0,0,0.5);
	object-fit: contain;
}

.lightbox-caption {
	font-size: 15px;
	line-height: 1.4;
	text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.6);
	border: none;
	color: #fff;
	font-size: 26px;
	padding: 10px 12px;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.2s ease, transform 0.15s ease;
}

.lightbox-close {
	top: -14px;
	right: -14px;
	transform: none;
}

.lightbox-prev { left: -48px; }
.lightbox-next { right: -48px; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible,
.lightbox-close:focus-visible {
	background: rgba(0,0,0,0.75);
	transform: translateY(-50%) scale(1.05);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
	transform: scale(1.05);
}

@media (max-width: 640px) {
	.lightbox-content {
		max-width: 100%;
		max-height: 100%;
	}
	.lightbox-prev { left: 6px; }
	.lightbox-next { right: 6px; }
}

@media (min-width: 1200px) {
	.lightbox-close,
	.lightbox-prev,
	.lightbox-next {
		font-size: 32px;
		padding: 12px 14px;
	}
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	align-items: start;
}

.gallery-grid img {
	border-radius: 10px;
	box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

form {
	display: grid;
	gap: 10px;
}

label {
	font-weight: bold;
	color: #2f2e21;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c7c2ad;
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	background: #fffdf8;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

.form-disclaimer,
.form-note,
.form-hint,
.privacy-note {
	font-size: 13px;
	color: #5a5544;
	line-height: 1.5;
	margin-top: 4px;
}

.form-feedback {
	margin-top: 12px;
	padding: 12px;
	border-radius: 6px;
	font-weight: 600;
}

.form-feedback.success {
	background: #e6f6df;
	color: #2f4f1c;
	border: 1px solid #b6d8a5;
}

.form-feedback.error {
	background: #ffecec;
	color: #7a1c1c;
	border: 1px solid #f0b3b3;
}

input[type="submit"],
button,
.btn {
	display: inline-block;
	padding: 10px 16px;
	border: none;
	border-radius: 10px;
	background: #546A18;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(0,0,0,0.12);
	transition: background 0.2s ease, transform 0.2s ease;
}

input[type="submit"]:hover,
button:hover,
.btn:hover {
	background: #3f5212;
	transform: translateY(-1px);
}

input[type="submit"]:focus-visible,
button:focus-visible,
.btn:focus-visible {
	outline: 3px solid #956E1C;
	outline-offset: 2px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	outline: 3px solid #546A18;
	outline-offset: 1px;
	border-color: #546A18;
}

@media (max-width: 900px) {
	body {
		font-size: 15px;
	}

	#content {
		padding: 22px 18px 6px;
	}
}

@media (max-width: 640px) {
	#menu ul {
		justify-content: flex-start;
	}

	#menu a {
		font-size: 16px;
		padding: 8px 10px;
	}

	#banner, .homepage #banner {
		min-height: 232px;
		padding: 18px;
	}

	#footer p {
		line-height: 1.6;
	}
}

@media (min-width: 960px) {
	.homepage #content {
		grid-template-columns: 1.15fr 0.85fr;
	}

	.subpage #content {
		grid-template-columns: 1.2fr 0.8fr;
	}
}
