/* Buuchihof – Übergangsseite (statisch) */

@font-face {
	font-family: "Roboto Slab";
	src: url("../schrift/roboto-slab.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--gruen: #4b7a27;
	--gruen-dunkel: #2c4a17;
	--gruen-hell: #e8f0dc;
	--sonne: #f4b400;
	--sonne-hell: #fff4d1;
	--creme: #faf6ec;
	--weiss: #ffffff;
	--text: #2a2a22;
	--text-leise: #5b5b4f;
	--linie: #ddd6c3;
	--radius: 14px;
	--breite: 1140px;
	--schrift-titel: "Roboto Slab", Georgia, serif;
	--schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--schrift-text);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--creme);
}

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

a { color: var(--gruen); text-underline-offset: 3px; }
a:hover { color: var(--gruen-dunkel); }

:focus-visible { outline: 3px solid var(--sonne); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
	font-family: var(--schrift-titel);
	line-height: 1.2;
	color: var(--gruen-dunkel);
	margin: 0 0 .6em;
	font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.huelle { width: min(100% - 2rem, var(--breite)); margin-inline: auto; }
.schmal { max-width: 760px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--gruen-dunkel); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; color: #fff; }

/* Kopf */
.kopf {
	position: sticky; top: 0; z-index: 50;
	background: var(--weiss);
	border-bottom: 1px solid var(--linie);
}
.kopf .huelle {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: 76px;
}
.kopf .logo img { height: 60px; width: auto; }
.menue-knopf { display: none; }
.menue-label {
	display: none; cursor: pointer; padding: .5rem .75rem; border-radius: 8px;
	font-weight: 600; color: var(--gruen-dunkel); border: 2px solid var(--gruen);
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav a {
	display: block; padding: .5rem .8rem; border-radius: 999px;
	text-decoration: none; font-weight: 600; color: var(--gruen-dunkel);
	font-family: var(--schrift-titel); font-size: 1rem;
}
.nav a:hover { background: var(--gruen-hell); }
.nav a[aria-current="page"] { background: var(--gruen); color: #fff; }

@media (max-width: 960px) {
	.menue-label { display: block; }
	.nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--weiss); border-bottom: 1px solid var(--linie);
		box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
	}
	.nav ul { flex-direction: column; padding: .75rem 1rem 1rem; }
	.nav a { padding: .75rem 1rem; border-radius: 10px; }
	.menue-knopf:checked ~ .nav { display: block; }
	.menue-knopf:focus-visible + .menue-label { outline: 3px solid var(--sonne); outline-offset: 3px; }
	.kopf .logo img { height: 44px; }
}

/* Bühne */
.buehne {
	position: relative; color: #fff;
	min-height: min(78vh, 680px);
	display: flex; align-items: flex-end;
	background: var(--gruen-dunkel);
	overflow: hidden;
}
.buehne > img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.buehne::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20, 30, 10, .15) 0%, rgba(20, 30, 10, .35) 45%, rgba(20, 30, 10, .82) 100%);
}
.buehne .huelle { position: relative; z-index: 1; padding: 6rem 0 3.5rem; }
.buehne h1 { color: #fff; max-width: 16ch; }
.buehne p { font-size: 1.2rem; max-width: 46ch; }
.buehne.klein { min-height: min(52vh, 500px); }

.auszeichnung {
	display: inline-flex; align-items: center; gap: .75rem;
	background: var(--sonne); color: #2a2200;
	padding: .55rem 1rem .55rem .6rem; border-radius: 999px;
	font-weight: 600; margin-bottom: 1.25rem; font-size: .95rem; line-height: 1.3;
	max-width: 100%;
}
@media (max-width: 600px) {
	.auszeichnung { flex-direction: column; align-items: flex-start; gap: .4rem; border-radius: 14px; padding: .7rem .9rem; }
}
.auszeichnung span {
	background: #2a2200; color: var(--sonne); border-radius: 999px;
	padding: .2rem .6rem; font-size: .8rem; letter-spacing: .04em; white-space: nowrap;
}

/* Knöpfe */
.knopf {
	display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
	background: var(--gruen); color: #fff; font-weight: 700; text-decoration: none;
	border: 2px solid var(--gruen); font-size: 1rem; cursor: pointer;
	font-family: var(--schrift-titel); transition: background .15s, color .15s;
}
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.knopf.hell { background: transparent; color: #fff; border-color: #fff; }
.knopf.hell:hover { background: #fff; color: var(--gruen-dunkel); }
.knopf.sonne { background: var(--sonne); border-color: var(--sonne); color: #2a2200; }
.knopf.sonne:hover { background: #ffc933; border-color: #ffc933; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.abschnitt.weiss { background: var(--weiss); }
.abschnitt.gruen { background: var(--gruen-dunkel); color: #f1f5ea; }
.abschnitt.gruen h2, .abschnitt.gruen h3 { color: #fff; }
.abschnitt.gruen a:not(.knopf) { color: var(--sonne); }
.vorspann { font-size: 1.2rem; color: var(--text-leise); }
.oberzeile {
	display: block; font-family: var(--schrift-titel); font-weight: 600;
	color: var(--gruen); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
	margin-bottom: .5rem;
}

/* Bild + Text */
.bildtext { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.bildtext img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 800px) {
	.bildtext { grid-template-columns: 1fr 1fr; }
	.bildtext.umgekehrt > :first-child { order: 2; }
}

/* Karten */
.karten { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.karte {
	background: var(--weiss); border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(60, 50, 20, .07);
}
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte .inhalt { padding: 1.5rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.karte .inhalt .knopf { margin-top: auto; align-self: flex-start; }
.karte p:last-of-type { margin-bottom: 1.25rem; }

/* Galerie */
.galerie { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.galerie img { border-radius: 10px; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 800px) { .galerie { grid-template-columns: repeat(4, 1fr); } }

/* Listen */
.haken { list-style: none; padding: 0; margin: 0 0 1em; }
.haken li { padding-left: 1.75rem; position: relative; margin-bottom: .4rem; }
.haken li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem;
	border-radius: 50%; background: var(--sonne);
}

/* Hinweis */
.hinweis {
	background: var(--sonne-hell); border-left: 5px solid var(--sonne);
	padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.hinweis p:last-child { margin-bottom: 0; }

/* Tabellen */
.tabelle-huelle { overflow-x: auto; margin: 1rem 0 2.5rem; border-radius: var(--radius); background: var(--weiss); box-shadow: 0 8px 24px rgba(60, 50, 20, .07); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
caption { text-align: left; padding: 1rem 1.25rem .25rem; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; color: var(--gruen-dunkel); }
th, td { padding: .55rem 1rem; text-align: left; border-bottom: 1px solid #eee8d8; vertical-align: top; }
thead th { background: var(--gruen); color: #fff; font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 600; }
tbody tr:nth-child(even) { background: #fcfaf4; }
tfoot th, tfoot td { background: var(--gruen-hell); font-weight: 700; color: var(--gruen-dunkel); border-bottom: 0; }

.wischen { display: none; font-size: .875rem; color: var(--text-leise); margin: 0 0 -.5rem; }
@media (max-width: 700px) { .wischen { display: block; } }

/* Formular */
.formular-box {
	background: var(--weiss); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
	box-shadow: 0 8px 24px rgba(60, 50, 20, .08);
}
.abschnitt.gruen .formular-box { color: var(--text); }
.abschnitt.gruen .formular-box a:not(.knopf) { color: var(--gruen); }
.felder { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 700px) { .felder { grid-template-columns: 1fr 1fr; } .felder .breit { grid-column: 1 / -1; } }
.feld label, .feld legend { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld input[type="number"], .feld select, .feld textarea {
	width: 100%; padding: .75rem .9rem; font: inherit; color: var(--text);
	border: 1.5px solid #c9c1aa; border-radius: 10px; background: #fff;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--gruen); outline: 3px solid rgba(75, 122, 39, .25); outline-offset: 0; }
fieldset.feld { border: 0; padding: 0; margin: 0; min-width: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.wahl label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; margin: 0; cursor: pointer; }
.wahl input { width: 1.15rem; height: 1.15rem; accent-color: var(--gruen); }
.pflicht { color: #a33b00; }
.feld-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.formular-fuss small { color: var(--text-leise); max-width: 46ch; }

/* Kontakt */
.kontakt-liste { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.kontakt-liste strong { display: block; font-family: var(--schrift-titel); color: var(--gruen-dunkel); }
.abschnitt.gruen .kontakt-liste strong { color: #fff; }
.zwei-spalten { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 5fr 7fr; align-items: start; } }

/* Partner */
.partner-gruppe h3 { margin-bottom: .25rem; }
.partner-gruppe p { margin-bottom: 0; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.social a {
	display: inline-block; padding: .5rem 1rem; border-radius: 999px; text-decoration: none;
	border: 1.5px solid currentColor; font-weight: 600; font-size: .95rem;
}

/* Fuss */
.fuss { background: #1f3410; color: #dfe8d3; padding: 3.5rem 0 2rem; font-size: .975rem; }
.fuss a { color: #fff; }
.fuss .huelle { display: grid; gap: 2rem; }
@media (min-width: 800px) { .fuss .huelle { grid-template-columns: 1.2fr 1fr 1fr; } }
.fuss h2 { color: #fff; font-size: 1.15rem; margin-bottom: .75rem; }
.fuss .logo-weiss { background: #fff; border-radius: 12px; padding: .6rem 1rem; display: inline-block; margin-bottom: 1rem; }
.fuss .logo-weiss img { height: 50px; width: auto; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss .social a { color: #fff; border-color: rgba(255, 255, 255, .5); }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; font-size: .875rem; color: #b9c7a8; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.75rem; }
