:root {
	--lbn-paper: #ece8df;
	--lbn-paper-soft: #f5f1e9;
	--lbn-ink: #191917;
	--lbn-muted: #6f6b63;
	--lbn-line: rgba(25, 25, 23, 0.2);
	--lbn-white: #f7f4ed;
	--lbn-accent: #b8502d;
	--lbn-header-height: 74px;
	--lbn-gutter: clamp(18px, 2.3vw, 38px);
	--lbn-viewport-width: 100vw;
	--lbn-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--lbn-sans: var(--lbn-font-family);
	--lbn-display: var(--lbn-font-family);
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; background: var(--lbn-paper); color: var(--lbn-ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 0; overflow-x: clip; background: var(--lbn-paper); color: var(--lbn-ink); font-family: var(--lbn-sans); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
body.is-menu-open { overflow: hidden; }
code, pre, kbd, samp { font-family: var(--lbn-font-family); }
img, video { display: block; max-width: 100%; border: 0; border-radius: 0; box-shadow: none; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
::selection { background: var(--lbn-accent); color: var(--lbn-white); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

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

.lbn-skip-link {
	position: fixed;
	z-index: 10000;
	top: 10px;
	left: 10px;
	transform: translateY(-160%);
	padding: 10px 14px;
	background: var(--lbn-white);
	color: var(--lbn-ink);
}
.lbn-skip-link:focus { transform: translateY(0); }

.lbn-site-header {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
	height: var(--lbn-header-height);
	padding: 0 var(--lbn-gutter);
	background: linear-gradient(to bottom, rgba(236, 232, 223, 0.96), rgba(236, 232, 223, 0.74) 64%, transparent);
	color: var(--lbn-ink);
	transition: color 300ms ease, background 300ms ease;
}
.lbn-is-explore .lbn-site-header,
.page-id-0 .lbn-site-header,
.tax-lb_journey .lbn-site-header,
.page-template-page-unterwegs .lbn-site-header,
.single-lb_item:not(.lbn-story-variant-plan):not(.lbn-story-variant-note):not(.lbn-story-variant-longread) .lbn-site-header {
	background: linear-gradient(to bottom, rgba(10, 10, 9, 0.56), transparent);
	color: var(--lbn-white);
}
.lbn-brand { position: relative; z-index: 2; display: flex; align-items: baseline; gap: 13px; width: max-content; text-decoration: none; }
.lbn-brand > span { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.lbn-brand > small { font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; opacity: 0.72; }
.lbn-site-navigation ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); margin: 0; padding: 0; list-style: none; }
.lbn-site-navigation a { position: relative; display: block; padding: 9px 0; font-size: 12px; font-weight: 570; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.lbn-site-navigation a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 260ms ease; }
.lbn-site-navigation a:hover::after, .lbn-site-navigation a:focus-visible::after, .lbn-site-navigation a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.lbn-menu-toggle { display: none; min-width: 48px; min-height: 44px; padding: 0; border: 0; background: transparent; }

.lbn-eyebrow { margin: 0; font-size: 11px; font-weight: 630; letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase; }
.lbn-context-link { display: inline-flex; align-items: center; gap: 10px; width: max-content; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; }

.lbn-site-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	align-items: end;
	padding: clamp(72px, 10vw, 160px) var(--lbn-gutter) 30px;
	background: var(--lbn-ink);
	color: var(--lbn-white);
}
.lbn-site-footer p { max-width: 22ch; margin: 0 0 12px; font-family: var(--lbn-display); font-size: clamp(30px, 4vw, 64px); line-height: 0.98; }
.lbn-site-footer > div > a { font-size: clamp(18px, 2vw, 28px); text-decoration: none; }
.lbn-site-footer__meta { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

.lbn-language-switch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lbn-language-switch a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 620; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; }
.lbn-language-switch a[aria-current] { background: currentColor; color: var(--lbn-paper); }

.lbn-rail-controls { display: flex; align-items: center; gap: 8px; }
.lbn-rail-controls[hidden] { display: none; }
.no-js .lbn-rail-controls { display: none; }
.lbn-rail-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; transition: background 180ms ease, color 180ms ease, opacity 180ms ease; }
.lbn-rail-controls button:hover, .lbn-rail-controls button:focus-visible { background: var(--lbn-ink); color: var(--lbn-paper); }
.lbn-rail-controls button:disabled { opacity: .3; cursor: default; }
.lbn-rail-controls button:disabled:hover { background: transparent; color: inherit; }
.lbn-rail-controls span { min-width: 58px; font-size: 11px; letter-spacing: 0.08em; text-align: center; }
.lbn-inline-rail-controls { justify-content: center; margin: -52px auto 72px; padding: 0 var(--lbn-gutter); }

.lbn-generic-page, .lbn-error-page {
	min-height: 72svh;
	padding: calc(var(--lbn-header-height) + 80px) max(var(--lbn-gutter), calc((100vw - 1100px) / 2)) 120px;
}
.lbn-generic-page header, .lbn-error-page { max-width: 850px; }
.lbn-generic-page h1, .lbn-error-page h1 { margin: 12px 0 30px; font-family: var(--lbn-display); font-size: clamp(56px, 9vw, 130px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.88; }
.lbn-generic-page article { max-width: 72ch; }
.lbn-error-page p { max-width: 54ch; }
.lbn-empty-state { max-width: 50ch; padding: 60px 0; font-family: var(--lbn-display); font-size: clamp(24px, 3vw, 42px); line-height: 1.1; }

@media (max-width: 760px) {
	:root { --lbn-header-height: 64px; }
	.lbn-brand > small { display: none; }
	.lbn-menu-toggle { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
	.lbn-menu-toggle span { font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
	.lbn-menu-toggle i, .lbn-menu-toggle i::before { display: block; width: 17px; height: 1px; background: currentColor; transition: transform 260ms ease; }
	.lbn-menu-toggle i::before { content: ""; transform: translateY(5px); }
	body.is-menu-open .lbn-menu-toggle i { transform: rotate(45deg); }
	body.is-menu-open .lbn-menu-toggle i::before { transform: rotate(-90deg); }
	.lbn-site-navigation {
		position: fixed;
		z-index: 1;
		inset: 0;
		display: grid;
		place-items: center;
		padding: 90px var(--lbn-gutter) 30px;
		background: rgba(25, 25, 23, 0.97);
		color: var(--lbn-white);
		opacity: 0;
		visibility: hidden;
		transition: opacity 260ms ease, visibility 260ms ease;
	}
	body.is-menu-open .lbn-site-navigation { opacity: 1; visibility: visible; }
	body.is-menu-open .lbn-brand, body.is-menu-open .lbn-menu-toggle { color: var(--lbn-white); }
	.lbn-site-navigation ul { display: grid; gap: 2px; width: 100%; }
	.lbn-site-navigation li { border-bottom: 1px solid rgba(247, 244, 237, 0.22); }
	.lbn-site-navigation a { display: flex; align-items: center; min-height: 74px; font-family: var(--lbn-display); font-size: clamp(34px, 12vw, 56px); font-weight: 400; letter-spacing: -0.04em; text-transform: none; }
	.no-js .lbn-menu-toggle { display: none; }
	.no-js .lbn-site-navigation { position: static; display: block; padding: 0; background: transparent; color: inherit; opacity: 1; visibility: visible; }
	.no-js .lbn-site-navigation ul { display: flex; gap: 10px; }
	.no-js .lbn-site-navigation li { border: 0; }
	.no-js .lbn-site-navigation a { min-height: 44px; font-family: var(--lbn-sans); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
	.lbn-site-footer { grid-template-columns: 1fr; }
	.lbn-site-footer__meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
