/* ==========================================================================
   Edition – modernes Editorial-Theme
   ========================================================================== */

@font-face { font-family: "Cardo"; src: url("../fonts/cardo-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--ink: #0b0b0b;
	--paper: #ffffff;
	--soft: #f5f4f1;
	--muted: #6e6e6e;
	--line: #e6e6e6;
	--serif: "Cardo", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--max: 1440px;
	--gutter: clamp(16px, 4vw, 48px);
	--gap: clamp(16px, 2.2vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

.ed-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ed-wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.ed-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.ed-skip:focus { left: 10px; }

.ed-icon { display: inline-flex; width: 1.25em; height: 1.25em; }
.ed-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- Typo-Bausteine */
.ed-kicker, .ed-section__kicker { display: inline-block; font: 600 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.ed-kicker { margin-bottom: 10px; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.ed-kicker:hover { background-size: 100% 1px; }
.ed-kicker--light { color: #fff; }
.ed-section__kicker { color: var(--muted); margin-bottom: 8px; }
.ed-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12px/1.4 var(--sans); color: var(--muted); letter-spacing: .02em; }
.ed-meta span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .6; }
.ed-meta--light { color: rgba(255, 255, 255, .8); }

.ed-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s; }
.ed-btn:hover { background: transparent; color: var(--ink); }
.ed-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.ed-btn--light:hover { background: transparent; color: #fff; }
.ed-btn .ed-icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ed-btn:hover .ed-icon { transform: translateX(4px); }

.ed-more { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ed-more .ed-icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ed-more:hover .ed-icon { transform: translateX(4px); }

/* --------------------------------------------------------------- Header */
.ed-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.admin-bar .ed-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ed-header { top: 0; } }

.ed-topbar { border-bottom: 1px solid var(--line); overflow: hidden; max-height: 40px; transition: max-height .35s var(--ease), opacity .25s; }
.ed-topbar__inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 9px; padding-bottom: 9px; font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ed-topbar__claim { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ed-masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; transition: padding .35s var(--ease); }
.ed-wordmark { --chars: 12; --fit: calc((100vw - 2 * var(--gutter) - var(--reserve, 220px)) / (var(--chars) * .7)); margin: 0; min-width: 0; text-align: center; font: 400 min(clamp(34px, 5vw, 64px), var(--fit))/.9 var(--serif); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; transition: font-size .35s var(--ease); }
.ed-header--home .ed-wordmark { font-size: min(clamp(44px, 10vw, 148px), var(--fit)); letter-spacing: -.01em; }
.ed-wordmark .ed-logo { max-height: 1em; width: auto; margin: 0 auto; transition: max-height .35s var(--ease); }
.ed-header--home .ed-wordmark .ed-logo { max-height: clamp(48px, 9vw, 120px); }
.ed-masthead__menu { justify-self: start; }
.ed-masthead__search { justify-self: end; }

.ed-iconbtn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.ed-iconbtn .ed-icon { width: 22px; height: 22px; }
.ed-iconbtn--round { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; transition: border-color .2s, background .2s; }
.ed-iconbtn--round:hover { border-color: var(--ink); }
.ed-iconbtn--round:disabled { opacity: .3; cursor: default; }
.ed-iconbtn--round .ed-icon { width: 18px; height: 18px; }

.ed-navbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ed-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); padding: 0 16px; }
.ed-nav::-webkit-scrollbar { display: none; }
.ed-nav a { position: relative; display: block; padding: 15px 0 14px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ed-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.ed-nav a:hover::after, .ed-nav a[aria-current]::after { transform: scaleX(1); }
.ed-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); }

/* verdichtet beim Scrollen */
.ed-header.is-condensed .ed-topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.ed-header.is-condensed .ed-masthead__inner { padding-top: 8px; padding-bottom: 8px; }
.ed-header.is-condensed .ed-wordmark { font-size: min(30px, var(--fit)); }
.ed-header.is-condensed .ed-wordmark .ed-logo { max-height: 34px; }
.ed-header.is-condensed .ed-nav a { padding: 11px 0 10px; }

@media (max-width: 720px) {
	.ed-topbar { display: none; }
	.ed-iconbtn__label { display: none; }
	.ed-nav { justify-content: flex-start; }
	.ed-masthead__inner { padding-top: 12px; padding-bottom: 12px; }
	.ed-masthead__inner { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
	.ed-wordmark { --reserve: 104px; }
	.ed-header--home .ed-wordmark { font-size: min(64px, var(--fit)); }
	.ed-header.is-condensed .ed-wordmark { font-size: min(26px, var(--fit)); }
}

/* Drawer & Suche */
.ed-drawer, .ed-searchlayer { position: fixed; inset: 0; z-index: 100; background: var(--paper); overflow-y: auto; animation: ed-fade .25s var(--ease); }
.ed-drawer[hidden], .ed-searchlayer[hidden] { display: none; }
.ed-drawer__inner { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter) 60px; }
.ed-drawer__close, .ed-searchlayer__close { position: absolute; top: 18px; right: var(--gutter); }
.ed-drawer__label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ed-drawer__nav a { display: block; padding: 8px 0; font: 400 clamp(34px, 6vw, 56px)/1.1 var(--serif); border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.ed-drawer__nav a:hover, .ed-drawer__nav a[aria-current] { padding-left: 14px; }
.ed-drawer__search { display: flex; margin-top: 40px; border-bottom: 1px solid var(--ink); }
.ed-drawer__search input { flex: 1; border: 0; padding: 14px 0; font: 400 18px var(--sans); background: none; outline: none; }
.ed-drawer__search button { background: none; border: 0; }
.ed-searchlayer { bottom: auto; min-height: 46vh; box-shadow: 0 30px 60px rgba(0, 0, 0, .12); }
.ed-searchlayer .ed-wrap { position: relative; padding-top: 90px; padding-bottom: 60px; }
.ed-searchlayer__label { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ed-searchlayer input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0 16px; font: 400 clamp(32px, 6vw, 72px)/1.1 var(--serif); background: none; outline: none; }
body.ed-locked { overflow: hidden; }
@keyframes ed-fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------- Karten */
.ed-card { position: relative; min-width: 0; }
.ed-card__media { display: block; position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; margin-bottom: 16px; }
.ed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.ed-card:hover .ed-card__media img { transform: scale(1.045); }
.ed-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #efede8, #e2dfd8); }
.ed-card__title { font: 400 clamp(21px, 1.8vw, 26px)/1.12 var(--serif); letter-spacing: -.005em; margin-bottom: 10px; }
.ed-card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 92%; transition: background-size .45s var(--ease); }
.ed-card:hover .ed-card__title a { background-size: 100% 1px; }
.ed-card__excerpt { font: 400 16px/1.55 var(--sans); color: #3a3a3a; margin-bottom: 14px; max-width: 60ch; }

.ed-card--large .ed-card__media, .ed-card--lead .ed-card__media { aspect-ratio: 3 / 2; }
.ed-card--large .ed-card__title, .ed-card--lead .ed-card__title { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 14px; }
.ed-card--rail .ed-card__media { aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------- Abschnitte */
.ed-section { padding-top: clamp(48px, 7vw, 104px); }
.ed-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--ink); }
.ed-section__title { font: 400 clamp(32px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.015em; }
.ed-section__title a:hover { font-style: italic; }

.ed-grid { display: grid; gap: clamp(36px, 4vw, 56px) var(--gap); }
.ed-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid--3 .ed-card__media { aspect-ratio: 3 / 2; }
@media (max-width: 1000px) { .ed-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ed-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ed-grid--3 { grid-template-columns: 1fr; } .ed-grid--4 .ed-card__title { font-size: 19px; } }

.ed-empty { padding: 120px var(--gutter); text-align: center; color: var(--muted); }
.ed-empty .ed-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.ed-empty h2 { font: 400 clamp(26px, 3vw, 40px)/1.2 var(--serif); color: var(--ink); margin-bottom: 26px; }
.ed-notice { padding: 16px; margin-top: 20px; background: #fff4d6; }
.ed-hint { margin-top: 30px; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------- Hero */
.ed-hero { position: relative; height: min(88vh, 920px); min-height: 520px; overflow: hidden; background: var(--ink); color: #fff; }
.ed-hero__media { position: absolute; inset: 0; }
.ed-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: ed-zoom 2.4s var(--ease) both; }
.ed-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.ed-hero__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(32px, 6vw, 80px); }
.ed-hero__title { font: 400 clamp(46px, 8vw, 128px)/.92 var(--serif); letter-spacing: -.025em; max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.ed-hero__excerpt { font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; color: rgba(255, 255, 255, .88); margin-bottom: 16px; }
.ed-hero .ed-meta { margin-bottom: 28px; }
.ed-hero__body > .ed-wrap > * { animation: ed-rise .9s var(--ease) both; }
.ed-hero__body > .ed-wrap > *:nth-child(2) { animation-delay: .08s; }
.ed-hero__body > .ed-wrap > *:nth-child(3) { animation-delay: .16s; }
.ed-hero__body > .ed-wrap > *:nth-child(n+4) { animation-delay: .24s; }
@keyframes ed-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes ed-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ed-hero__excerpt { display: none; } .ed-hero { height: 78vh; min-height: 480px; } }

/* --------------------------------------------------------------- Highlights */
.ed-lead { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gap) clamp(24px, 4vw, 64px); }
.ed-lead > .ed-card:first-child { grid-row: span 3; }
.ed-lead--2 > .ed-card:first-child { grid-row: span 1; }
.ed-lead--3 > .ed-card:first-child { grid-row: span 2; }
.ed-lead > .ed-card:not(:first-child) { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 20px; align-items: start; padding-bottom: var(--gap); border-bottom: 1px solid var(--line); }
.ed-lead > .ed-card:last-child { border-bottom: 0; }
.ed-lead > .ed-card:not(:first-child) .ed-card__media { margin: 0; aspect-ratio: 4 / 5; }
.ed-lead--1 { grid-template-columns: 1fr; }
@media (max-width: 900px) {
	.ed-lead { grid-template-columns: 1fr; }
	.ed-lead > .ed-card:first-child { grid-row: auto; }
}

/* --------------------------------------------------------------- Karussell */
.ed-rail__controls { display: flex; align-items: center; gap: 10px; }
.ed-rail__controls .ed-more { margin-left: 12px; }
.ed-rail__track {
	--inset: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 23vw, 340px); gap: var(--gap);
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--inset);
	padding: 0 var(--inset) 8px; scrollbar-width: none;
}
.ed-rail__track::-webkit-scrollbar { display: none; }
.ed-rail__track > * { scroll-snap-align: start; }
.ed-rail__end { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 28px; background: var(--soft); font: 400 26px/1.15 var(--serif); transition: background .3s, color .3s; }
.ed-rail__end:hover { background: var(--ink); color: #fff; }
.ed-rail__end .ed-icon { width: 34px; height: 34px; align-self: flex-end; }
@media (max-width: 720px) { .ed-rail__controls .ed-iconbtn { display: none; } .ed-rail__track { grid-auto-columns: 68vw; } }

/* --------------------------------------------------------------- Rubrik-Index (dunkel) */
.ed-index { margin-top: clamp(64px, 9vw, 136px); background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.ed-index__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ed-index .ed-section__kicker { color: rgba(255, 255, 255, .55); }
.ed-index__heading { font: italic 400 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); }
.ed-index__list { counter-reset: idx; }
.ed-index__list li { border-top: 1px solid rgba(255, 255, 255, .16); }
.ed-index__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ed-index__list a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; transition: opacity .3s, padding .4s var(--ease); }
.ed-index__list a::before { counter-increment: idx; content: counter(idx, decimal-leading-zero); font: 500 11px/1 var(--sans); letter-spacing: .1em; color: rgba(255, 255, 255, .45); min-width: 24px; }
.ed-index__name { font: 400 clamp(36px, 5vw, 76px)/1 var(--serif); letter-spacing: -.02em; }
.ed-index__count { font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, .5); margin-left: auto; }
.ed-index__list:hover a { opacity: .32; }
.ed-index__list a:hover { opacity: 1; padding-left: 12px; }
.ed-index__list a:hover .ed-index__name { font-style: italic; }
.ed-index__preview { position: sticky; top: 140px; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.ed-index__preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .45s, transform 1s var(--ease); }
.ed-index__preview.is-visible img { opacity: 1; transform: none; }
@media (max-width: 900px) { .ed-index__inner { grid-template-columns: 1fr; } .ed-index__preview { display: none; } }

/* --------------------------------------------------------------- Übersicht */
.ed-pagehead { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 8px; }
.ed-pagehead__title { font: 400 clamp(52px, 9vw, 140px)/.9 var(--serif); letter-spacing: -.03em; margin-bottom: 16px; }
.ed-pagehead__meta { color: var(--muted); font-size: 14px; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ed-chips a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font: 500 13px/1 var(--sans); transition: border-color .2s, background .2s, color .2s; }
.ed-chips a:hover { border-color: var(--ink); }
.ed-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ed-feature { margin-bottom: clamp(48px, 6vw, 88px); }
.ed-feature .ed-card { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ed-feature .ed-card__media { margin: 0; }
@media (max-width: 800px) { .ed-feature .ed-card { grid-template-columns: 1fr; } }

.ed-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(48px, 6vw, 80px); font: 500 14px/1 var(--sans); }
.ed-pagination a, .ed-pagination span, .ed-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid transparent; }
.ed-pagination a:hover { border-color: var(--line); }
.ed-pagination .is-current, .ed-pagination .current { background: var(--ink); color: #fff; }
.ed-pagination__step { border-color: var(--line) !important; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; }
.ed-pagination__step .ed-icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------- Einzelgalerie */
.ed-gallery__head { text-align: center; padding-top: clamp(40px, 6vw, 88px); max-width: 1100px; }
.ed-gallery__title { font: 400 clamp(44px, 7vw, 108px)/.95 var(--serif); letter-spacing: -.025em; margin: 6px auto 24px; text-wrap: balance; }
.ed-gallery__lead { font: italic 400 clamp(18px, 1.7vw, 23px)/1.5 var(--serif); color: #3a3a3a; max-width: 62ch; margin: 0 auto 32px; }
.ed-gallery__lead p + p { margin-top: .8em; }
.ed-gallery__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ed-share { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ed-share > span { color: var(--muted); }
.ed-share a, .ed-share button { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.ed-share a:hover, .ed-share button:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-share .ed-icon { width: 15px; height: 15px; }
.ed-gallery__cover { margin: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); max-height: 88vh; overflow: hidden; background: var(--soft); }
.ed-gallery__cover a { display: block; cursor: zoom-in; }
.ed-gallery__cover img { width: 100%; max-height: 88vh; object-fit: cover; }

.ed-photos { columns: 3 280px; column-gap: 12px; }
.ed-photo { display: block; position: relative; margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.ed-photo img { width: 100%; height: auto; transition: transform .9s var(--ease), opacity .4s; }
.ed-photo:hover img { transform: scale(1.03); }
@media (max-width: 600px) { .ed-photos { columns: 2; column-gap: 6px; } .ed-photo { margin-bottom: 6px; } }

.ed-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ink); }
.ed-prevnext__item { display: block; padding: 28px 0; }
.ed-prevnext__item--right { text-align: right; }
.ed-prevnext__title { display: block; font: 400 clamp(22px, 2.4vw, 34px)/1.15 var(--serif); }
.ed-prevnext__item:hover .ed-prevnext__title { font-style: italic; }

/* Lightbox (Skript aus dem Plugin) */
.fg-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 8, 8, .97); display: flex; align-items: center; justify-content: center; user-select: none; touch-action: pan-y; animation: ed-fade .2s; }
.fg-lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.fg-lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: none; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font: 300 26px/1 var(--sans); cursor: pointer; transition: background .2s; }
.fg-lb button:hover { background: rgba(255, 255, 255, .12); }
.fg-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.fg-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.fg-lb-close { top: 18px; right: 20px; }
.fg-lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .6); font: 500 12px/1 var(--sans); letter-spacing: .16em; }
@media (max-width: 600px) { .fg-lb-prev, .fg-lb-next { display: none; } }

/* --------------------------------------------------------------- Seiten & Beiträge */
.ed-article__head { padding-top: clamp(40px, 6vw, 88px); margin-bottom: 36px; }
.ed-article__title { font: 400 clamp(42px, 6vw, 84px)/.98 var(--serif); letter-spacing: -.02em; margin-bottom: 16px; }
.ed-article__image { margin-bottom: 40px; }
.ed-prose { font-size: 18px; line-height: 1.7; padding-bottom: 40px; }
.ed-prose > * + * { margin-top: 1.1em; }
.ed-prose h2 { font: 400 34px/1.15 var(--serif); margin-top: 1.6em; }
.ed-prose h3 { font: 600 20px/1.3 var(--sans); margin-top: 1.4em; }
.ed-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ed-prose ul { list-style: disc; padding-left: 1.3em; }
.ed-prose ol { list-style: decimal; padding-left: 1.3em; }
.ed-prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--ink); font: italic 400 26px/1.4 var(--serif); }
.ed-prose img { margin: 1.6em 0; }
.ed-textlist li { border-bottom: 1px solid var(--line); }
.ed-textlist a { display: block; padding: 14px 0; font: 400 24px/1.3 var(--serif); }
.ed-searchform { display: flex; gap: 10px; max-width: 560px; margin-top: 26px; }
.ed-searchform input { flex: 1; padding: 0 16px; height: 50px; border: 1px solid var(--line); font: 400 16px var(--sans); outline: none; }
.ed-searchform input:focus { border-color: var(--ink); }
.ed-404 { padding-top: clamp(60px, 10vw, 140px); }
.ed-404__code { display: block; font: italic 400 clamp(80px, 16vw, 220px)/.8 var(--serif); color: var(--line); margin-bottom: 10px; }
.ed-404 p { color: var(--muted); }

/* --------------------------------------------------------------- Footer */
.ed-footer { margin-top: clamp(80px, 10vw, 160px); background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 100px) 0 28px; }
.ed-footer__brand { padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ed-footer .ed-wordmark { --reserve: 0px; text-align: left; font-size: min(clamp(52px, 11vw, 168px), var(--fit)); line-height: .85; letter-spacing: -.02em; }
.ed-footer .ed-wordmark .ed-logo { margin: 0; max-height: 90px; filter: invert(1); }
.ed-footer__brand p { margin-top: 18px; color: rgba(255, 255, 255, .6); max-width: 46ch; }
.ed-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 40px 0; }
.ed-footer__title { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.ed-footer__cols a { display: inline-block; padding: 5px 0; font: 400 20px/1.3 var(--serif); transition: opacity .2s; }
.ed-footer__cols a:hover { font-style: italic; }
.ed-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font: 500 12px/1 var(--sans); letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.ed-totop:hover { color: #fff; }

/* --------------------------------------------------------------- Verwaltung (/verwaltung/) */
.ed-app-page { background: var(--soft); }
.ed-apphead { background: var(--paper); border-bottom: 1px solid var(--line); }
.ed-apphead__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.ed-apphead .ed-wordmark { font-size: 26px; text-align: left; }
.ed-apphead .ed-wordmark .ed-logo { max-height: 36px; margin: 0; }
.ed-appmain { padding: 28px 16px 80px; }

/* --------------------------------------------------------------- Reveal & Bewegung */
.ed-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ed-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ed-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- Mitgeliefertes SVG-Logo */
.ed-wordmark--svg { --logo-h: 42px; line-height: 0; font-size: 0; }
.ed-wordmark--svg a { display: inline-block; max-width: 100%; }
.ed-logo-svg { display: block; height: auto; width: calc(var(--logo-h) * 2.885); max-width: 100%; margin: 0 auto; transition: width .35s var(--ease); }
.ed-header--home .ed-wordmark--svg { --logo-h: 54px; }
.ed-header.is-condensed .ed-wordmark--svg { --logo-h: 30px; }
.ed-header .ed-masthead__inner:has(.ed-wordmark--svg) { padding-top: 14px; padding-bottom: 14px; }
.ed-header.is-condensed .ed-masthead__inner:has(.ed-wordmark--svg) { padding-top: 8px; padding-bottom: 8px; }
.ed-footer .ed-wordmark--svg { --logo-h: 40px; }
.ed-footer .ed-logo-svg { margin: 0; }
.ed-apphead .ed-wordmark--svg { --logo-h: 30px; }
.ed-apphead .ed-logo-svg { margin: 0; }
@media (max-width: 720px) {
	.ed-wordmark--svg, .ed-header--home .ed-wordmark--svg { --logo-h: 34px; }
	.ed-header.is-condensed .ed-wordmark--svg { --logo-h: 26px; }
	.ed-footer .ed-wordmark--svg { --logo-h: 34px; }
}
.ed-appmain--full { padding: 0; }
