/* ============================================================
   empau — gemeinsames Fundament für empau-reisen.de + empau-home.de
   Die Farbwelt setzt jede Site in ihrer eigenen style.css.
   ============================================================ */

/* Schriften liegen selbst auf dem Server — kein Google-Fonts-CDN,
   damit beim Seitenaufruf keine IP-Adresse an Dritte geht (DSGVO). */
@font-face {
	font-family: 'Outfit';
	src: url('/assets/shared/fonts/outfit-var.woff2') format('woff2-variations'),
	     url('/assets/shared/fonts/outfit-var.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
	               U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'InterVar';
	src: url('/assets/shared/fonts/inter-var.woff2') format('woff2-variations'),
	     url('/assets/shared/fonts/inter-var.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
	               U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--marke:        #2f6b4f;
	--marke-dunkel: #23523c;
	--marke-hell:   #e8f1eb;
	--akzent:       #c8663e;
	--tinte:        #17231d;
	--tinte-weich:  #5d6b64;
	--papier:       #ffffff;
	--flaeche:      #f7f5f0;
	--rand:         #e3e0d8;

	--font-display: 'Outfit', ui-rounded, 'Segoe UI', system-ui, sans-serif;
	--font-text:    'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--breite:  1180px;
	--schmal:  740px;
	--radius:  14px;
	--radius-klein: 8px;
	--schatten: 0 2px 8px rgba(23,35,29,.06), 0 12px 32px rgba(23,35,29,.07);
}

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

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

body {
	margin: 0;
	font-family: var(--font-text);
	font-size: 17px;
	line-height: 1.65;
	color: var(--tinte);
	background: var(--papier);
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--marke); text-decoration-color: color-mix(in srgb, var(--marke) 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--marke-dunkel); }
hr { border: 0; border-top: 1px solid var(--rand); margin: 2.5rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--flaeche); padding: .1em .38em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.schmal    { max-width: var(--schmal); margin-left: auto; margin-right: auto; }
.nur-screenreader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sprungmarke für Tastaturnutzer ---------- */
.skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--marke); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ============================================================
   Kopfbereich
   ============================================================ */
.kopf {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--papier) 92%, transparent);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--rand);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
.logo img, .logo svg { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.logo-wort { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1; }
.logo-zusatz { display: block; font-family: var(--font-text); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marke); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
	padding: 8px 13px; border-radius: 999px; text-decoration: none;
	color: var(--tinte); font-weight: 500; font-size: .97rem; white-space: nowrap;
}
.nav a:hover { background: var(--flaeche); }
.nav a.aktiv { background: var(--marke-hell); color: var(--marke-dunkel); font-weight: 600; }

.nav-schalter {
	display: none; width: 44px; height: 44px; border: 1px solid var(--rand); background: var(--papier);
	border-radius: 10px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-schalter span { display: block; width: 19px; height: 2px; background: var(--tinte); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-schalter { display: flex; }
	.nav {
		position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--papier); border-bottom: 1px solid var(--rand); padding: 8px 12px 16px;
		max-height: calc(100vh - 68px); overflow-y: auto;
		transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
	}
	.nav.offen { transform: none; opacity: 1; pointer-events: auto; }
	.nav a { padding: 12px 14px; border-radius: var(--radius-klein); }
}

/* ============================================================
   Bühne
   ============================================================ */
.buehne { position: relative; padding: clamp(48px, 8vw, 96px) 0; background: var(--flaeche); overflow: hidden; }
.buehne-innen { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.buehne h1 { margin-bottom: .35em; }
.buehne .vorzeile {
	display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--marke); background: var(--marke-hell); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.buehne .lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--tinte-weich); max-width: 34em; }
.buehne-bild img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 900px) { .buehne-innen { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Abschnitte
   ============================================================ */
.abschnitt { padding: clamp(44px, 6vw, 80px) 0; }
.abschnitt.flaeche { background: var(--flaeche); }
.abschnitt-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.abschnitt-kopf p { color: var(--tinte-weich); margin: 0; max-width: 46em; }
.abschnitt-kopf h2 { margin-bottom: .2em; }

/* ============================================================
   Knöpfe
   ============================================================ */
.knopf {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--marke);
	background: var(--marke); color: #fff; font-weight: 600; font-size: 1rem;
	text-decoration: none; cursor: pointer; font-family: inherit;
	transition: background .15s, border-color .15s, transform .1s;
}
.knopf:hover { background: var(--marke-dunkel); border-color: var(--marke-dunkel); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf.leer { background: transparent; color: var(--marke); }
.knopf.leer:hover { background: var(--marke-hell); color: var(--marke-dunkel); }
.knopf.akzent { background: var(--akzent); border-color: var(--akzent); }
.knopf.akzent:hover { background: color-mix(in srgb, var(--akzent) 82%, black); border-color: color-mix(in srgb, var(--akzent) 82%, black); }
.knopf.klein { padding: 8px 16px; font-size: .9rem; }

/* ============================================================
   Karten
   ============================================================ */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.karten.zwei { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }

.karte {
	display: flex; flex-direction: column;
	background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius);
	overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .16s, box-shadow .16s, border-color .16s;
}
a.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: color-mix(in srgb, var(--marke) 35%, var(--rand)); }
.karte-bild { position: relative; aspect-ratio: 3/2; background: var(--flaeche); overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.karte-inhalt { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.karte-inhalt h3 { margin: 0; font-size: 1.16rem; }
.karte-text { color: var(--tinte-weich); font-size: .95rem; margin: 0; flex: 1; }
.karte-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--tinte-weich); margin-top: 4px; }

.marker {
	position: absolute; top: 12px; left: 12px;
	background: color-mix(in srgb, var(--tinte) 80%, transparent); color: #fff;
	font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.marker.akzent { background: var(--akzent); }

.schild {
	display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .05em;
	padding: 3px 10px; border-radius: 999px; background: var(--marke-hell); color: var(--marke-dunkel);
}
.schild.grau { background: var(--flaeche); color: var(--tinte-weich); }
.schild.akzent { background: color-mix(in srgb, var(--akzent) 14%, transparent); color: var(--akzent); }

/* ---------- Sterne ---------- */
.sterne { display: inline-flex; gap: 1px; letter-spacing: -1px; }
.sterne .stern { color: var(--rand); font-size: 1rem; line-height: 1; }
.sterne .stern.voll, .sterne .stern.halb { color: var(--akzent); }
.sterne .stern.halb { opacity: .55; }
.bewertung-zahl { font-weight: 700; font-family: var(--font-display); }

/* ============================================================
   Fließtext (Blog, Projekt, Rechtstexte)
   ============================================================ */
.text { font-size: 1.06rem; }
.text h2 { margin-top: 2em; }
.text h3 { margin-top: 1.6em; }
.text img { border-radius: var(--radius); margin: 1.6em 0; box-shadow: var(--schatten); }
.text ul, .text ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.text li { margin-bottom: .45em; }
.text blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 20px;
	border-left: 3px solid var(--akzent); color: var(--tinte-weich); font-style: italic;
}
.text pre.code {
	background: #182420; color: #e7f0ea; padding: 16px 18px; border-radius: var(--radius-klein);
	overflow-x: auto; font-size: .88rem; line-height: 1.55; margin: 1.5em 0;
}
.text pre.code code { background: none; padding: 0; color: inherit; }
.text a[rel~="sponsored"]::after { content: '↗'; font-size: .8em; margin-left: 2px; opacity: .6; }

/* ---------- Beitragskopf ---------- */
.beitrag-kopf { padding: clamp(32px, 5vw, 56px) 0 0; }
.beitrag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--tinte-weich); font-size: .9rem; margin-bottom: 14px; }
.beitrag-bild { margin: 28px 0; }
.beitrag-bild img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Brotkrumen ---------- */
.krumen { font-size: .85rem; color: var(--tinte-weich); padding: 16px 0 0; }
.krumen a { color: var(--tinte-weich); }
.krumen span { margin: 0 6px; opacity: .5; }

/* ============================================================
   Filterleiste
   ============================================================ */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: var(--flaeche); padding: 16px; border-radius: var(--radius); margin-bottom: 28px; }
.filter-feld { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; }
.filter-feld label { font-size: .8rem; font-weight: 600; color: var(--tinte-weich); text-transform: uppercase; letter-spacing: .06em; }
.filter select, .filter input {
	padding: 9px 12px; border: 1px solid var(--rand); border-radius: var(--radius-klein);
	font: inherit; font-size: .95rem; background: var(--papier); color: var(--tinte);
}

/* ---------- Merkmalliste (Ausstattung, Teileliste) ---------- */
.merkmale { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.merkmale li { display: flex; align-items: center; gap: 9px; }
.merkmale li::before { content: '✓'; color: var(--marke); font-weight: 700; flex: none; }
.merkmale li.aus { color: var(--tinte-weich); text-decoration: line-through; }
.merkmale li.aus::before { content: '—'; color: var(--rand); }

.daten { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.daten th, .daten td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.daten th { width: 34%; font-weight: 600; color: var(--tinte-weich); }
.daten tr:last-child th, .daten tr:last-child td { border-bottom: 0; }
.tabelle-scroll { overflow-x: auto; }

/* ---------- Pro / Contra ---------- */
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.8em 0; }
.procon > div { background: var(--flaeche); border-radius: var(--radius); padding: 18px 20px; }
.procon h3 { font-size: 1.02rem; margin-bottom: .6em; }
.procon ul { list-style: none; padding: 0; margin: 0; }
.procon li { display: flex; gap: 9px; margin-bottom: .5em; }
.procon .pro li::before  { content: '+'; color: var(--marke); font-weight: 700; }
.procon .con li::before  { content: '−'; color: var(--akzent); font-weight: 700; }
@media (max-width: 640px) { .procon { grid-template-columns: 1fr; } }

/* ============================================================
   Instagram
   ============================================================ */
.insta-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.insta-kachel { position: relative; aspect-ratio: 1; border-radius: var(--radius-klein); overflow: hidden; display: block; background: var(--flaeche); }
.insta-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-kachel:hover img { transform: scale(1.05); }
.insta-kachel .video-marker { position: absolute; top: 8px; right: 8px; color: #fff; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ============================================================
   Formulare
   ============================================================ */
.form-feld { margin-bottom: 18px; }
.form-feld label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .95rem; }
.form-feld input, .form-feld textarea, .form-feld select {
	width: 100%; padding: 11px 14px; border: 1px solid var(--rand); border-radius: var(--radius-klein);
	font: inherit; background: var(--papier); color: var(--tinte);
}
.form-feld textarea { resize: vertical; min-height: 140px; }
.form-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-zeile { grid-template-columns: 1fr; } }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.form-check input { width: auto; margin-top: 4px; }
.honigtopf { position: absolute; left: -9999px; }

.meldung { padding: 14px 18px; border-radius: var(--radius-klein); margin-bottom: 22px; border: 1px solid; }
.meldung.ok     { background: var(--marke-hell); border-color: color-mix(in srgb, var(--marke) 30%, transparent); color: var(--marke-dunkel); }
.meldung.fehler { background: #fcecea; border-color: #edc7c2; color: #8f2d21; }
.meldung.info   { background: var(--flaeche); border-color: var(--rand); color: var(--tinte-weich); }

/* ============================================================
   Hinweisboxen
   ============================================================ */
.box { background: var(--flaeche); border-radius: var(--radius); padding: 22px 24px; margin: 1.8em 0; }
.box.rand { background: transparent; border: 1px solid var(--rand); }
.box.warnung { background: #fdf5e6; border: 1px solid #f0dcae; }
.box h3 { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }

.transparenz {
	font-size: .87rem; color: var(--tinte-weich); background: var(--flaeche);
	border-left: 3px solid var(--marke); padding: 12px 16px; border-radius: 0 var(--radius-klein) var(--radius-klein) 0; margin: 1.6em 0;
}

/* ============================================================
   Fuß
   ============================================================ */
.fuss { background: var(--tinte); color: #c7d2cb; padding: 56px 0 28px; margin-top: 60px; }
.fuss a { color: #c7d2cb; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-gitter { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fuss h4 { font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 7px; font-size: .94rem; }
.fuss-marke { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; display: block; margin-bottom: 8px; }
.fuss-text { font-size: .93rem; max-width: 30em; }
.fuss-unten {
	margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem;
}
@media (max-width: 860px) { .fuss-gitter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss-gitter { grid-template-columns: 1fr; } }

.sozial { display: flex; gap: 10px; margin-top: 14px; }
.sozial a {
	width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.1); color: #fff;
}
.sozial a:hover { background: var(--marke); }

/* ============================================================
   Blättern / Leerzustand
   ============================================================ */
.seiten { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.seiten a, .seiten span {
	padding: 8px 14px; border: 1px solid var(--rand); border-radius: var(--radius-klein);
	text-decoration: none; color: var(--tinte);
}
.seiten .aktiv { background: var(--marke); border-color: var(--marke); color: #fff; font-weight: 600; }

/* Leerzustand — bewusst NICHT ".leer": das kollidiert mit der
   Knopf-Variante ".knopf.leer" und überschreibt deren Innenabstand. */
.nichts-da {
	text-align: center; padding: 60px 20px; color: var(--tinte-weich);
	background: var(--flaeche); border-radius: var(--radius);
}

/* ============================================================
   Leuchtkasten (Bild vergrößern)
   ============================================================ */
.leuchtkasten {
	position: fixed; inset: 0; z-index: 200; display: none;
	align-items: center; justify-content: center; padding: 24px;
	background: rgba(15,24,20,.9); cursor: zoom-out;
}
.leuchtkasten.offen { display: flex; }
.leuchtkasten img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-klein); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.leuchtkasten button {
	position: absolute; top: 16px; right: 20px; width: 44px; height: 44px;
	background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 50%;
	font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- Bildergalerie im Beitrag ---------- */
.galerie-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.8em 0; }
.galerie-gitter img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-klein); margin: 0; box-shadow: none; }

/* ============================================================
   Rücksicht auf Systemeinstellungen
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
	.kopf, .fuss, .nav, .knopf { display: none !important; }
	body { font-size: 12pt; }
}
