/* ==========================================================================
   Weberknecht – Stylesheet
   Farben: Waldgrün, Moos, Sand, Papier, Bernstein. Keine externen Schriften
   (Datenschutz, Ladezeit) – System-Schriften mit Serifen-Ueberschriften.
   ========================================================================== */
:root {
	--wald:     #1d3b2f;
	--wald-2:   #275040;
	--moos:     #3d6b4f;
	--salbei:   #a9bfae;
	--sand:     #efe9dd;
	--papier:   #fbfaf6;
	--tinte:    #1e2421;
	--grau:     #5d6661;
	--linie:    #dcd5c6;
	--bernstein:#c98a2b;
	--bernstein-dunkel: #9a6516;
	--rot:      #a3352b;
	--radius:   10px;
	--schatten: 0 1px 2px rgba(20,30,25,.06), 0 6px 24px rgba(20,30,25,.08);
	--schrift:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--titel:    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--breite:   1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65;
	color: var(--tinte); background: var(--papier);
}
img, video, svg { max-width: 100%; }
a { color: var(--moos); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--wald); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bernstein); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprungmarke { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--bernstein); color: #fff; padding: .6rem 1rem; }
.sprungmarke:focus { left: 1rem; top: 1rem; }

h1, h2, h3 { font-family: var(--titel); font-weight: 600; line-height: 1.2; color: var(--wald); text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); margin: .2em 0 .5em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
.ohne-abstand { margin-top: 0; }
.einleitung { font-size: 1.18rem; color: var(--grau); max-width: 62ch; }

/* ---------- Kopf -------------------------------------------------------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--wald); color: var(--sand); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.kopf-leiste {
	max-width: var(--breite); margin: 0 auto; padding: .55rem 1.25rem;
	display: flex; align-items: center; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .7rem; color: var(--sand); text-decoration: none; margin-right: auto; }
.logo:hover { color: #fff; }
.logo img { border-radius: 10px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-family: var(--titel); font-size: 1.45rem; letter-spacing: .01em; }
.logo small { font-size: .78rem; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }

.flaggen { display: flex; gap: .4rem; align-items: center; }
.flaggen a { display: block; line-height: 0; border-radius: 3px; padding: 2px; opacity: .72; transition: opacity .15s, transform .15s; }
.flaggen a:hover, .flaggen a.aktiv { opacity: 1; }
.flaggen a.aktiv { box-shadow: 0 0 0 2px var(--bernstein); }
.flaggen a:hover { transform: translateY(-1px); }
.flaggen img { width: 30px; height: 20px; object-fit: cover; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

.menue-knopf { display: none; }

/* ---------- Hauptmenue (Desktop) ------------------------------------------ */
.hauptmenue { background: var(--wald-2); border-top: 1px solid rgba(255,255,255,.08); }
.hauptmenue > ul {
	max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; list-style: none;
	display: flex; gap: .25rem; justify-content: flex-end;
}
.hauptmenue li { position: relative; list-style: none; }
.hauptmenue a, .hauptmenue .menue-punkt {
	display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; color: var(--sand);
	text-decoration: none; font: inherit; font-size: .98rem; font-weight: 500; letter-spacing: .01em;
	background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.ebene0 > li > a:hover, .ebene0 > li > .menue-punkt:hover,
.ebene0 > li.offen > .menue-punkt, .ebene0 > li:hover > .menue-punkt { background: rgba(255,255,255,.08); color: #fff; }
.ebene0 > li.aktiv > .menue-punkt, .ebene0 > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--bernstein); }
.pfeil { width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
li.offen > .menue-punkt .pfeil { transform: rotate(-135deg) translateY(-2px); }

.untermenue {
	position: absolute; top: 100%; left: 0; min-width: 15rem; padding: .4rem; margin: 0;
	background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--schatten);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.ebene0 > li:last-child > .untermenue, .ebene0 > li:nth-last-child(2) > .untermenue { left: auto; right: 0; }
.untermenue a { color: var(--tinte); padding: .55rem .8rem; border-radius: 6px; font-weight: 450; }
.untermenue a:hover, .untermenue a[aria-current] { background: var(--sand); color: var(--wald); }
.untermenue li.hat-kinder { display: flex; flex-wrap: nowrap; align-items: center; }   /* Pfeil bleibt neben langen Eintraegen (z. B. franzoesisch) */
.untermenue a { white-space: nowrap; }
.untermenue li.hat-kinder > a { flex: 1; }
.untermenue .untermenue { top: 0; left: 100%; border-radius: var(--radius); }
.ebene0 > li:last-child .untermenue .untermenue, .ebene0 > li:nth-last-child(2) .untermenue .untermenue { left: auto; right: 100%; }
.aufklapp { background: none; border: 0; cursor: pointer; padding: .55rem .6rem; color: var(--grau); border-radius: 6px; }
.aufklapp span { display: block; width: .45em; height: .45em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.aufklapp:hover { background: var(--sand); }

/* oeffnen per Maus (nur echte Zeigegeraete), Tastatur oder Klick (Klasse .offen per JS) */
@media (hover: hover) and (min-width: 960px) {
	.hauptmenue li:hover > .untermenue { opacity: 1; visibility: visible; transform: none; }
}
.hauptmenue li.offen > .untermenue, .hauptmenue li:focus-within > .untermenue { opacity: 1; visibility: visible; transform: none; }

.angemeldet-als { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem .35rem; text-align: right; font-size: .82rem; color: var(--salbei); }
.angemeldet-als a { color: var(--sand); }

/* ---------- Video-Buehne ---------------------------------------------------- */
.buehne { position: relative; height: clamp(220px, 34vh, 380px); overflow: hidden; background: var(--wald) center/cover no-repeat; color: #fff; }
.buehne.gross { height: clamp(360px, 62vh, 680px); }
.buehne-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--bild-y, 50%); }
.buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10,20,15,.05) 40%, rgba(10,20,15,.55) 100%); }
.buehne.gross::after { background: linear-gradient(90deg, rgba(10,22,16,.72) 0%, rgba(10,22,16,.35) 45%, rgba(10,22,16,0) 75%), linear-gradient(180deg, transparent 60%, rgba(10,20,15,.5)); }
.buehne-text { position: absolute; z-index: 2; left: max(1.25rem, calc((100vw - var(--breite)) / 2 + 1.25rem)); top: 50%; transform: translateY(-55%); max-width: min(38rem, 88vw); }
.buehne-text h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); margin: .1em 0 .3em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.buehne-oberzeile { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--sand); margin: 0; }
.buehne-unterzeile { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); max-width: 34rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.buehne-info { position: absolute; z-index: 2; right: 1rem; bottom: .8rem; left: 1rem; display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.video-quelle { display: flex; flex-direction: column; align-items: flex-end; text-align: right; color: #fff; text-decoration: none; font-size: .8rem; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.6); margin-right: .3rem; }
.video-ort { font-weight: 600; font-size: .92rem; }
.video-lizenz { opacity: .85; }
.video-quelle:hover { color: #fff; text-decoration: underline; }
.video-pause, .video-weiter {
	width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
	background: rgba(20,35,28,.45) center/18px no-repeat; cursor: pointer; backdrop-filter: blur(4px);
}
.video-pause { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Crect x='3' y='2' width='3.5' height='12' rx='1'/%3E%3Crect x='9.5' y='2' width='3.5' height='12' rx='1'/%3E%3C/svg%3E"); }
.video-pause[aria-pressed="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E"); }
.video-weiter { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M2 2.5v11l7-5.5zM9 2.5v11l6-5.5z'/%3E%3C/svg%3E"); }
.video-pause:hover, .video-weiter:hover { background-color: rgba(201,138,43,.85); border-color: transparent; }
.buehne.wechsel .buehne-video { animation: einblenden .9s ease; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Seitenrahmen: Menuestreifen | Inhalt | Videospalte ----------- */
.rahmen {
	max-width: var(--breite); margin: 0 auto; padding: 2rem 1.25rem 3rem;
	display: grid; grid-template-columns: 230px minmax(0, 1fr) 250px; gap: 2.5rem; align-items: start;
}
.inhalt { min-width: 0; }
.inhalt > :first-child { margin-top: 0; }

.seitenmenue { position: sticky; top: 7.5rem; font-size: .95rem; }
.seitenmenue ul { list-style: none; margin: 0; padding: 0; }
.seitenmenue > ul { border-left: 2px solid var(--linie); }
.seitenmenue a, .seitenmenue summary { display: block; padding: .38rem .9rem; color: var(--tinte); text-decoration: none; border-radius: 0 6px 6px 0; }
.seitenmenue summary { cursor: pointer; font-weight: 600; color: var(--wald); list-style: none; position: relative; }
.seitenmenue summary::-webkit-details-marker { display: none; }
.seitenmenue summary::after { content: ""; position: absolute; right: .7rem; top: .85em; width: .42em; height: .42em; border-right: 2px solid var(--grau); border-bottom: 2px solid var(--grau); transform: rotate(-45deg); transition: transform .2s; }
.seitenmenue details[open] > summary::after { transform: rotate(45deg); }
.seitenmenue summary a { display: inline; padding: 0; color: inherit; }
.seitenmenue details ul { padding-left: .7rem; margin-bottom: .3rem; }
.seitenmenue a:hover, .seitenmenue summary:hover { background: var(--sand); }
.seitenmenue a[aria-current] { background: var(--sand); color: var(--wald); font-weight: 600; box-shadow: inset 3px 0 0 var(--bernstein); }

.videospalte { position: sticky; top: 7.5rem; display: grid; gap: 1rem; }
.videospalte-titel { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grau); }
.clip { margin: 0; }
.clip-knopf { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--wald); aspect-ratio: 16 / 10; box-shadow: var(--schatten); }
.clip-knopf video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.clip-knopf:hover video { transform: scale(1.04); }
.clip figcaption { font-size: .82rem; color: var(--grau); margin-top: .35rem; }

/* ---------- Inhaltsbausteine ----------------------------------------------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.4rem; margin: 1.5rem 0; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--schatten); display: flex; flex-direction: column; }
.karte h2, .karte h3 { margin-top: .2em; }
.karte .knopf { margin-top: auto; align-self: flex-start; }
.karte-bild { margin: -1.4rem -1.5rem 1.1rem; border-radius: var(--radius) var(--radius) 0 0; background: var(--sand); padding: 1rem; display: flex; justify-content: center; }
.karte-bild svg { width: 100%; max-height: 170px; }

.programm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; margin: 2rem 0 3rem; scroll-margin-top: 8rem; }
.programm-bild { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--schatten); }
.programm h2 { margin-top: 0; }
.merkmale { padding-left: 1.2rem; }
.merkmale li { margin-bottom: .35rem; }
.merkmale li::marker { color: var(--bernstein); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

.knopf {
	display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px;
	background: var(--wald); color: #fff; text-decoration: none; font: inherit; font-weight: 600; font-size: .98rem;
	border: 2px solid var(--wald); cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.knopf:hover { background: var(--moos); border-color: var(--moos); color: #fff; transform: translateY(-1px); }
.knopf.zweit { background: transparent; color: var(--wald); }
.knopf.zweit:hover { background: var(--sand); color: var(--wald); }
.knopf.hell { background: var(--bernstein); border-color: var(--bernstein); }
.knopf.hell:hover { background: var(--bernstein-dunkel); border-color: var(--bernstein-dunkel); }
.knopf.klein { padding: .35rem .8rem; font-size: .88rem; }
.knopf.gefahr { background: var(--rot); border-color: var(--rot); }

.hervorhebung { background: var(--sand); border-left: 4px solid var(--bernstein); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.hervorhebung > :last-child { margin-bottom: 0; }

.hinweis { padding: .85rem 1.1rem; border-radius: var(--radius); margin: 0 0 1.25rem; border: 1px solid; }
.hinweis.info   { background: #eef4f0; border-color: #c4d8ca; }
.hinweis.ok     { background: #e8f3e6; border-color: #b6d6ae; }
.hinweis.fehler { background: #fbecea; border-color: #ebbcb6; color: #6d1f17; }

/* ---------- Formulare -------------------------------------------------------- */
.formular { display: grid; gap: 1rem; max-width: 36rem; }
.formular label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.formular .klein-text, .klein-text { font-weight: 400; font-size: .85rem; color: var(--grau); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=file], textarea, select {
	font: inherit; font-weight: 400; width: 100%; padding: .65rem .8rem; border: 1px solid #c9c2b2; border-radius: 8px; background: #fff; color: var(--tinte);
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(201,138,43,.45); border-color: var(--bernstein); }
.checkbox { display: flex !important; gap: .55rem; align-items: flex-start; font-weight: 400 !important; }
.checkbox input { margin-top: .35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--moos); }
.honig { position: absolute !important; left: -9999px !important; }
fieldset { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 1.2rem; }
legend { font-weight: 600; padding: 0 .4rem; }

/* ---------- Tabellen ----------------------------------------------------------- */
.tabelle-huelle { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--linie); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; background: #fff; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { background: var(--sand); font-weight: 600; color: var(--wald); }
tr:last-child td { border-bottom: 0; }
td form { display: inline; }
.marke { display: inline-block; font-size: .78rem; padding: .05rem .5rem; border-radius: 999px; background: var(--sand); color: var(--wald); margin: 0 .2rem .2rem 0; }
.marke.admin { background: var(--bernstein); color: #fff; }

dl.angaben { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; }
dl.angaben dt { font-weight: 600; color: var(--wald); }
dl.angaben dd { margin: 0; }

/* ---------- Fuss --------------------------------------------------------------- */
.fuss { background: var(--wald); color: var(--sand); margin-top: 2rem; font-size: .92rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.fuss a { color: var(--sand); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-firma { display: flex; gap: .8rem; align-items: flex-start; }
.fuss-firma img { border-radius: 8px; }
.fuss-gruppe p { font-weight: 600; color: #fff; margin-bottom: .4rem; }
.fuss-gruppe ul { list-style: none; padding: 0; margin: 0; }
.fuss-gruppe li { margin: .2rem 0; }
.fuss-zeile { max-width: var(--breite); margin: 0 auto; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--salbei); font-size: .82rem; }
.fuss-zeile a { color: var(--sand); text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.rahmen { grid-template-columns: 220px minmax(0, 1fr); }
	.videospalte { position: static; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.videospalte-titel { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
	body { font-size: 1rem; }
	.kopf-leiste { padding: .45rem 1rem; gap: .6rem; }
	.logo strong { font-size: 1.25rem; }
	.logo small { display: none; }
	.logo img { width: 38px; height: 38px; }
	.flaggen { gap: .15rem; }
	.flaggen img { width: 24px; height: 16px; }

	.menue-knopf {
		display: inline-flex; align-items: center; gap: .45rem; background: none; border: 1px solid rgba(255,255,255,.35);
		color: var(--sand); font: inherit; font-size: .9rem; padding: .4rem .65rem; border-radius: 8px; cursor: pointer;
	}
	.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
	.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
	.burger::before { top: -6px; } .burger::after { top: 6px; }
	.menue-knopf[aria-expanded="true"] .burger { background: transparent; }
	.menue-knopf[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
	.menue-knopf[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

	.hauptmenue { display: none; max-height: calc(100vh - 56px); overflow-y: auto; }
	.hauptmenue.offen { display: block; }
	.hauptmenue > ul { flex-direction: column; padding: .4rem 0 .8rem; gap: 0; }
	.hauptmenue a, .hauptmenue .menue-punkt { padding: .8rem 1.25rem; width: 100%; justify-content: space-between; font-size: 1.02rem; }
	.ebene0 > li { border-bottom: 1px solid rgba(255,255,255,.07); }
	.untermenue, .untermenue .untermenue {
		position: static; opacity: 1; visibility: visible; transform: none; display: none;
		background: rgba(0,0,0,.14); box-shadow: none; border-radius: 0; padding: 0 0 .3rem; min-width: 0;
	}
	.hauptmenue li.offen > .untermenue { display: block; }
	.untermenue li.hat-kinder { flex-wrap: wrap; }
	.untermenue a { white-space: normal; }
	.untermenue li.hat-kinder > .untermenue { flex-basis: 100%; }
	.untermenue a { color: var(--sand); padding-left: 2.2rem; border-radius: 0; }
	.untermenue .untermenue a { padding-left: 3.2rem; }
	.untermenue a:hover, .untermenue a[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
	.aufklapp { color: var(--sand); padding: .8rem 1.25rem; }
	.aufklapp:hover { background: rgba(255,255,255,.08); }
	.aufklapp span { transform: rotate(135deg); }
	li.offen > .aufklapp span { transform: rotate(-45deg); }
	.angemeldet-als { text-align: left; padding: 0 1.25rem .8rem; }

	.rahmen { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 1rem 2.5rem; gap: 2rem; }
	.seitenmenue { display: none; }
	.videospalte { grid-template-columns: repeat(2, 1fr); }
	.videospalte .clip:nth-of-type(3) { display: none; }
	.programm { grid-template-columns: 1fr; gap: 1.2rem; }
	.fuss-innen { grid-template-columns: 1fr 1fr; }
	.fuss-firma { grid-column: 1 / -1; }
	.buehne-text { top: auto; bottom: 4.2rem; transform: none; }
	.buehne.gross::after { background: linear-gradient(180deg, rgba(10,22,16,.1) 20%, rgba(10,22,16,.78) 100%); }
	.buehne.gross { height: clamp(380px, 72vh, 560px); }
	dl.angaben { grid-template-columns: 1fr; gap: 0; }
	dl.angaben dd { margin-bottom: .6rem; }
}

@media (max-width: 480px) {
	.kopf-leiste { padding: .4rem .6rem; gap: .4rem; }
	.logo { gap: .45rem; }
	.logo img { width: 32px; height: 32px; }
	.logo strong { font-size: 1.08rem; }
	.flaggen img { width: 22px; height: 15px; }
	.flaggen a { padding: 1px; }
	.menue-knopf-text { display: none; }
	.menue-knopf { padding: .45rem .5rem; }
	.video-quelle { font-size: .7rem; }
	.video-ort { font-size: .82rem; }
	.fuss-innen { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.kopf, .buehne, .seitenmenue, .videospalte, .fuss { display: none !important; }
	.rahmen { display: block; padding: 0; }
	body { background: #fff; }
}

/* ---- Kontaktformular: zwei Felder nebeneinander (auf schmalen Bildschirmen untereinander) ---- */
.formular .feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.formular .feldreihe.plz-ort { grid-template-columns: 1fr 2fr; }
@media (max-width: 30rem) { .formular .feldreihe, .formular .feldreihe.plz-ort { grid-template-columns: 1fr; } }

/* ---- Upload/Download: Ordnerwahl fuer Administratoren ---- */
.ordnerwahl { margin: 0 0 1rem; padding: .6rem .8rem; background: var(--sand); border-radius: var(--radius); font-size: .9rem; }
.ordnerwahl select { margin-left: .4rem; }

/* ---- Cookie-Hinweis (Zustimmung fuer externe Videos) ---- */
.zustimmung { position: fixed; z-index: 100; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; pointer-events: none; }
.zustimmung-innen { pointer-events: auto; max-width: 46rem; width: 100%; background: #fff; color: var(--text, #222); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.35); padding: 1.2rem 1.4rem; border-top: 4px solid var(--wald); }
.zustimmung h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.zustimmung p { margin: 0 0 .8rem; font-size: .92rem; line-height: 1.5; }
.zustimmung-innen { max-height: calc(100vh - 2rem); overflow-y: auto; }
.zustimmung-liste { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .5rem; }
.zustimmung-liste li { padding: .55rem .7rem; background: var(--sand); border-radius: var(--radius); }
.zustimmung-liste label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .95rem; }
.zustimmung-liste input { width: 1.1rem; height: 1.1rem; accent-color: var(--wald); }
.zustimmung-liste p { margin: .2rem 0 0 1.6rem; font-size: .84rem; color: var(--grau); }
.zustimmung-form { margin: 0; }
.zustimmung-innen { max-height: calc(100vh - 2rem); overflow-y: auto; }
.zustimmung-liste { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .5rem; }
.zustimmung-liste li { padding: .55rem .7rem; background: var(--sand); border-radius: var(--radius); }
.zustimmung-liste label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .95rem; }
.zustimmung-liste input { width: 1.1rem; height: 1.1rem; accent-color: var(--wald); }
.zustimmung-liste p { margin: .2rem 0 0 1.6rem; font-size: .84rem; color: var(--grau); }
.zustimmung-form { margin: 0; }
.zustimmung-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.zustimmung-knoepfe .knopf { flex: 1 1 12rem; justify-content: center; text-align: center; }
.videos-gesperrt { padding: 1rem; background: var(--sand); border-radius: var(--radius); font-size: .88rem; }
.videos-gesperrt p { margin: 0 0 .7rem; }
.buehne.ohne-video { background-size: cover; background-position: center; }
@media (max-width: 30rem) { .zustimmung { left: .5rem; right: .5rem; bottom: .5rem; } .zustimmung-innen { padding: 1rem; } }

/* ---- eigene Fotos: langsamer Zoom (Standbild), Titel etwas groesser ---- */
.buehne.standbild .buehne-video { animation: einblenden .9s ease, zoom var(--zoom-dauer, 9s) ease-out forwards; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .buehne.standbild .buehne-video { animation: none; } }
.video-quelle.eigen .video-ort { font-size: clamp(.95rem, .85rem + .4vw, 1.2rem); font-weight: 600; letter-spacing: .01em; }
.video-quelle:not([href]) { cursor: default; }
.video-quelle:not([href]):hover { text-decoration: none; }

/* ---- Schieberegler in der Buehne: Bildausschnitt nach oben/unten verschieben ---- */
.buehne { background-position: center var(--bild-y, 50%); }
.bild-schieber { position: absolute; z-index: 3; right: 1.1rem; top: 1rem; bottom: 4.4rem; width: 22px; margin: 0; padding: 0;
	writing-mode: vertical-lr; -webkit-appearance: none; appearance: none; background: transparent; cursor: ns-resize; opacity: .75; transition: opacity .2s; }
.bild-schieber[hidden] { display: none; }
.bild-schieber:hover, .bild-schieber:focus-visible, .bild-schieber:active { opacity: 1; }
.bild-schieber::-webkit-slider-runnable-track { width: 6px; height: 100%; background: rgba(255,255,255,.35); border-radius: 3px; box-shadow: 0 0 4px rgba(0,0,0,.35); }
.bild-schieber::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 34px; margin-left: -7px; border-radius: 10px; background: var(--ocker, #c98a2b); border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); }
.bild-schieber::-moz-range-track { width: 6px; height: 100%; background: rgba(255,255,255,.35); border-radius: 3px; }
.bild-schieber::-moz-range-thumb { width: 18px; height: 32px; border-radius: 10px; background: var(--ocker, #c98a2b); border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); }
.bild-schieber:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 959px) { .bild-schieber { right: .6rem; top: .7rem; bottom: 4rem; } }
