/* ─── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;
  --grey:    #888888;
  --orange:  #E85A00;
  --white:   #ffffff;
  --max-w:   650px;
  --max-w-wide: 1100px;
  --navy:       #0d1b2e;
  --navy-mid:   #132640;
  --navy-light: #1a2f4a;
  --navy-text:  #8ab4d4;
  --aubergine:      #7d6915;
  --aubergine-mid:  #5e4f10;
  --aubergine-text: #c9aa42;
  --forest:         #1c3a2a;
  --forest-text:    #7ab89a;
  --slate:          #1e2a3a;
  --slate-text:     #8aaabf;
  --plum:           #2a1e35;
  --plum-text:      #b09acf;
}

html { font-size: 18px; scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--white); color: var(--black); line-height: 1.75; -webkit-font-smoothing: antialiased; text-transform: lowercase; }

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

header { padding: 3rem 1.5rem 2.5rem; max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #e8e8e8; }
.site-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; text-transform: lowercase; }
.site-title a:hover { color: var(--orange); }
nav { display: flex; gap: 2rem; }
nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
nav ul li { margin: 0; padding: 0; }
nav a { font-size: 0.7rem; letter-spacing: 0.03em; text-transform: lowercase; color: var(--grey); transition: color 0.2s; }
nav a:hover, nav a[aria-current="page"] { color: var(--orange); }

.home-layout { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: flex-start; gap: 4rem; }
.home-main { flex: 1 1 0; min-width: 0; max-width: var(--max-w); }

.post-list { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.5rem; }
.home-layout .post-list { max-width: none; margin: 0; padding: 0; }

.post-item { padding: 4rem 0; border-bottom: 1px solid #e8e8e8; }
.post-item:last-child { border-bottom: none; }
.post-meta { font-size: 0.7rem; letter-spacing: 0.07em; text-transform: lowercase; color: var(--orange); margin-bottom: 1rem; }
.post-item h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; max-width: var(--max-w); }
.post-item h2 a:hover { opacity: 0.65; }
.post-item p { max-width: var(--max-w); color: #444; margin-bottom: 1.5rem; }

.post-cover { width: 100%; max-width: var(--max-w-wide); margin-bottom: 2rem; overflow: hidden; display: block; }
.post-cover img { width: 100%; height: 480px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.post-cover:hover img { transform: scale(1.015); }

.read-more { font-size: 0.75rem; letter-spacing: 0.07em; text-transform: lowercase; color: var(--orange); border-bottom: 1px solid var(--orange); padding-bottom: 2px; transition: opacity 0.2s; display: inline-block; }
.read-more:hover { opacity: 0.6; }

.post-header { padding: 5rem 1.5rem 3rem; max-width: var(--max-w-wide); margin: 0 auto; }
.post-header .post-meta { margin-bottom: 1.25rem; }
.post-header h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); max-width: var(--max-w); }

.post-hero { max-width: var(--max-w-wide); margin: 0 auto 4rem; padding: 0 1.5rem; }
.post-hero img { width: 100%; height: 560px; object-fit: cover; display: block; }

.post-body { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem 6rem; }
.post-body p { margin-bottom: 1.75rem; }
.post-body h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.post-body h3 { font-size: 1.2rem; margin: 2.5rem 0 0.75rem; }
.post-body ul, .post-body ol { margin: 0 0 1.75rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body blockquote { border-left: 3px solid var(--orange); padding: 0.5rem 0 0.5rem 1.5rem; margin: 2rem 0; font-style: italic; color: #555; }
.post-body a { color: var(--orange); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.post-body a:hover { border-bottom-color: var(--orange); }
.post-body img { width: 100%; object-fit: cover; display: block; margin: 2.5rem 0; }
figcaption { font-size: 0.78rem; color: var(--grey); margin-top: 0.5rem; font-style: italic; }

.page-body { max-width: var(--max-w); margin: 0 auto; padding: 5rem 1.5rem 6rem; }
.page-body h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2.5rem; }
.page-body p { margin-bottom: 1.75rem; }
.page-body a { color: var(--orange); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.page-body a:hover { border-bottom-color: var(--orange); }

.pagination { display: flex; justify-content: center; gap: 1rem; padding: 3rem 0 5rem; font-size: 0.8rem; letter-spacing: 0.07em; text-transform: lowercase; flex-wrap: wrap; align-items: center; }
.pagination a { color: var(--orange); border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.pagination a:hover { opacity: 0.6; }
.pagination .current { color: var(--grey); }

footer { padding: 2.5rem 1.5rem; border-top: 1px solid #e8e8e8; text-align: center; font-size: 0.78rem; color: var(--grey); }
footer a { color: var(--grey); }
footer a:hover { color: var(--orange); }

.notes-sidebar { flex: 0 0 260px; width: 260px; min-width: 0; padding-top: 4rem; padding-left: 2rem; border-left: 1px solid #e8e8e8; position: sticky; top: 2rem; }
.notes-sidebar-title { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: lowercase; color: var(--grey); margin-bottom: 2rem; font-weight: 400; }
.note-item { padding: 1.25rem 0; border-bottom: 1px solid #e8e8e8; }
.note-item:last-child { border-bottom: none; }
.note-item .note-text { font-size: 0.88rem; line-height: 1.65; color: #333; }
.note-item .note-text p { margin-bottom: 0.75rem; }
.note-item .note-text p:last-child { margin-bottom: 0; }
.note-item .note-text a { color: var(--orange); border-bottom: 1px solid var(--orange); }
.note-item .note-meta { font-size: 0.7rem; color: var(--grey); margin-top: 0.6rem; letter-spacing: 0.04em; }

/* ─── Archiv ────────────────────────────────── */
.archiv-section { background: #f0f2f5; min-height: 60vh; padding-bottom: 4rem; }
.archiv-hero { background: #123A70; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(30,42,58,0.4); }
.archiv-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.archiv-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.archiv-hero h1 span { color: var(--orange); }
.archiv-hero-sub { color: var(--slate-text); font-size: 0.9rem; font-weight: 400; padding-bottom: 0.2rem; }
.archiv-content { max-width: var(--max-w-wide); margin: 0 auto; padding: 3rem 1.5rem 0; }
.archiv-year { margin-bottom: 3rem; }
.archiv-year h2 { font-size: 1.1rem; font-weight: 600; color: var(--grey); margin-bottom: 0.75rem; }
.archiv-list { list-style: none; padding: 0; }
.archiv-list li { display: flex; gap: 1.25rem; align-items: baseline; padding: 0.45rem 0; border-bottom: 1px solid #e0e4ea; }
.archiv-list li a { color: var(--black); font-size: 0.95rem; }
.archiv-list li a:hover { color: var(--orange); }
.archiv-date { color: var(--grey); font-size: 0.8rem; white-space: nowrap; }

/* ─── Garden ────────────────────────────────── */
.garden-section { background: #f0f4f0; min-height: 60vh; padding-bottom: 4rem; }
.garden-hero { background: #3668AB; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(28,58,42,0.4); }
.garden-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.garden-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.garden-hero h1 span { color: var(--orange); }
.garden-hero-sub { color: var(--forest-text); font-size: 0.9rem; font-weight: 400; padding-bottom: 0.2rem; }
.garden-content { max-width: var(--max-w-wide); margin: 0 auto; padding: 3rem 1.5rem 0; }

/* ─── Fotos ─────────────────────────────────── */
.foto-section { background: #f7f5ed; min-height: 60vh; padding-bottom: 5rem; }
.foto-hero { background: #E6BB09; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(125,105,21,0.4); }
.foto-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foto-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.foto-hero h1 span { color: var(--orange); }
.foto-count { color: var(--aubergine-text); font-size: 0.9rem; font-weight: 400; padding-bottom: 0.2rem; }
.foto-feed { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem 0; display: flex; flex-direction: column; gap: 3.5rem; }
.foto-post { display: flex; flex-direction: column; gap: 0; }
.foto-post::before { content: ''; display: block; height: 3px; background: var(--orange); }
.foto-post-img { aspect-ratio: 1/1; overflow: hidden; background: var(--aubergine-mid); }
.foto-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-post-body { background: var(--white); padding: 1rem 1.1rem 1.1rem; }
.foto-post-date { font-size: 0.72rem; color: var(--aubergine-text); margin-bottom: 0.35rem; display: block; }
.foto-post-title { font-weight: 600; font-size: 0.95rem; color: var(--black); line-height: 1.3; }
.foto-post-caption { margin-top: 0.4rem; font-size: 0.85rem; color: #555; line-height: 1.65; }

/* ─── Bücher ────────────────────────────────── */
.buecher-section { background: #f0f4f8; min-height: 60vh; padding-bottom: 4rem; }
.buecher-hero { background: #624F73; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(13,27,46,0.35); }
.buecher-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.buecher-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.buecher-hero h1 span { color: var(--orange); }
.buecher-count { color: var(--navy-text); font-size: 0.9rem; font-weight: 400; padding-bottom: 0.2rem; }
.buecher-grid { max-width: var(--max-w-wide); margin: 0 auto; padding: 3rem 1.5rem 0; display: flex; flex-direction: column; gap: 0; }
.buch-card { display: flex; flex-direction: row; align-items: flex-start; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid rgba(13,27,46,0.1); }
.buch-card:first-child { border-top: 1px solid rgba(13,27,46,0.1); }
.buch-cover { width: 62px; flex-shrink: 0; aspect-ratio: 2/3; overflow: hidden; background: var(--navy-light); border-radius: 3px; }
.buch-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buch-body { flex: 1; display: flex; flex-direction: column; gap: 0; padding-top: 0.1rem; }
.buch-titel { font-weight: 600; font-size: 0.95rem; line-height: 1.3; color: var(--black); }
.buch-autor { font-size: 0.82rem; color: var(--orange); font-weight: 500; margin-top: 0.15rem; }
.buch-text { font-size: 0.82rem; line-height: 1.6; color: #555; margin-top: 0.45rem; }

/* ─── Über ──────────────────────────────────── */
.ueber-section { background: #f5f2f7; min-height: 60vh; padding-bottom: 4rem; }
.ueber-hero { background: #75819D; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(42,30,53,0.4); }
.ueber-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ueber-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.ueber-hero h1 span { color: var(--orange); }
.ueber-content { max-width: var(--max-w-wide); margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.ueber-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Responsive ────────────────────────────── */
@media (max-width: 960px) {
  .home-layout { flex-direction: column; }
  .home-main { max-width: none; width: 100%; }
  .notes-sidebar { flex: 0 0 auto; width: 100%; border-left: none; border-top: 3px solid var(--orange); padding-left: 0; padding-top: 3rem; margin-top: 3rem; position: static; }
}
@media (max-width: 600px) {
  header { flex-direction: column; gap: 1.25rem; padding: 2rem 1.25rem; }
  nav { gap: 1.25rem; }
  .post-cover img { height: 260px; }
  .foto-feed { padding: 2rem 1.25rem 0; gap: 2.5rem; }
}

.note-text a { color: var(--orange); border-bottom: 1px solid var(--orange); }
.note-text a:hover { opacity: 0.7; }

.buecher-abschnitt { padding-top: 2.5rem; }
.buecher-abschnitt-inner { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.5rem; }

.notes-sidebar ul { list-style: none; margin-bottom: 2rem; }
.notes-sidebar ul li { padding: 0.2rem 0; }
.notes-sidebar ul li a { font-size: 0.88rem; color: var(--grey); }
.notes-sidebar ul li a:hover { color: var(--orange); }

.garden-cta { display: block; background: #3668AB; padding: 1rem 1.25rem; margin: 1.5rem 0; text-decoration: none; }
.garden-cta:hover { opacity: 0.9; }
.garden-cta-title { color: var(--white); font-size: 0.95rem; font-weight: 600; }
.garden-cta-sub { color: var(--forest-text); font-size: 0.8rem; margin-top: 0.25rem; }

.garden-cta { background: var(--orange) !important; }
.garden-cta-title { color: var(--white) !important; }
.garden-cta-sub { color: rgba(255,255,255,0.8) !important; }

.garden-cta { background: var(--white) !important; border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin: 1.5rem 0; display: block; text-decoration: none; }
.garden-cta-title { color: var(--orange) !important; font-size: 0.95rem; font-weight: 600; }
.garden-cta-sub { color: var(--black) !important; font-size: 0.8rem; margin-top: 0.25rem; }
.garden-cta:hover { opacity: 0.8; }

.foto-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 2rem; }
.foto-lightbox.is-open { display: flex; }
.foto-lb-inner { max-width: min(90vw, 700px); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
#foto-lb-img { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; }
.foto-lb-close { position: fixed; top: 1.25rem; right: 1.5rem; background: none; border: none; color: var(--white); font-size: 2.5rem; line-height: 1; cursor: pointer; opacity: 0.6; padding: 0.25rem 0.5rem; }
.foto-lb-close:hover { opacity: 1; }

/* externe links mit pfeil-indikator */
.post-body a[href^="http"]::after,
.post-body a[href^="https"]::after,
.note-text a[href^="http"]::after,
.note-text a[href^="https"]::after,
.ueber-content a[href^="http"]::after,
.ueber-content a[href^="https"]::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.7;
}

.webmentions { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem 0; }
.webmentions-reactions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.webmention-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.webmention-avatar--repost { outline: 2px solid var(--orange); }
.webmentions-count { font-size: 0.8rem; color: var(--grey); margin-left: 0.5rem; }
.webmentions-title { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 1.5rem; font-weight: 400; }
.webmention-reply { padding: 1.25rem 0; border-bottom: 1px solid #e8e8e8; }
.webmention-reply:last-child { border-bottom: none; }
.webmention-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.webmention-name { font-size: 0.88rem; font-weight: 500; }
.webmention-date { font-size: 0.78rem; color: var(--grey); margin-left: auto; }
.webmention-content { font-size: 0.88rem; color: #444; line-height: 1.6; margin-bottom: 0.5rem; }
.webmention-source { font-size: 0.75rem; color: var(--orange); border-bottom: 1px solid var(--orange); }

.comments { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem 4rem; border-top: 1px solid #e8e8e8; }
.comments-title { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 2rem; font-weight: 400; }
.comment { padding: 1.25rem 0; border-bottom: 1px solid #e8e8e8; }
.comment:last-child { border-bottom: none; }
.comment-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.comment-author { font-size: 0.88rem; font-weight: 500; color: var(--orange); }
.comment-date { font-size: 0.78rem; color: var(--grey); margin-left: auto; }
.comment-text { font-size: 0.88rem; line-height: 1.6; color: #444; }
.comment-form { margin-top: 3rem; }
.comment-form-title { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 1.5rem; font-weight: 400; }
.comment-field { margin-bottom: 1rem; }
.comment-field label { display: block; font-size: 0.78rem; color: var(--grey); margin-bottom: 0.4rem; }
.comment-field input, .comment-field textarea { width: 100%; border: 1px solid #e8e8e8; padding: 0.6rem 0.8rem; font-family: var(--font); font-size: 0.9rem; color: var(--black); }
.comment-field textarea { resize: vertical; }
.comment-submit { background: var(--orange); color: var(--white); border: none; padding: 0.6rem 1.5rem; font-size: 0.85rem; cursor: pointer; font-family: var(--font); }
.comment-submit:hover { opacity: 0.85; }
.comment-success { color: green; font-size: 0.88rem; margin-bottom: 1rem; }
.comment-error { color: red; font-size: 0.88rem; margin-bottom: 1rem; }

.notes-sidebar ul li a[aria-current="page"] { color: var(--orange); }

.garden-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; padding: 0; }

.garden-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid #e8e8e8; overflow: hidden; transition: opacity 0.2s; }
.garden-card:hover { opacity: 0.85; }

.garden-card-img { aspect-ratio: 1/1; overflow: hidden; background: #3668AB; }
.garden-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.garden-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--forest) 0%, #2a5a3a 100%); }

.garden-card-body { padding: 1rem 1.25rem 1.25rem; flex: 1; }
.garden-card-title { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 0.4rem; line-height: 1.3; }
.garden-card-text { font-size: 0.82rem; color: var(--grey); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.medium-detail-back {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.medium-detail-back a {
  text-decoration: none;
  color: var(--grey, #888);
}

.medium-detail-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 600px) {
  .medium-detail-inner {
    grid-template-columns: 1fr;
  }
}

.medium-detail-cover {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.medium-detail-cover img {
  width: 100%;
  display: block;
}

.medium-cover-placeholder--large {
  aspect-ratio: 2/3;
  font-size: 4rem;
}

.medium-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.medium-detail-info h1 {
  margin: 0.25rem 0 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.medium-detail-creator {
  font-size: 1rem;
  color: var(--grey, #888);
}

.medium-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--grey, #888);
  margin-top: 0.25rem;
}

.medium-detail-date {
  font-size: 0.82rem;
  color: var(--grey, #888);
}

.medium-detail-text {
  margin-top: 0.75rem;
  line-height: 1.65;
  font-size: 0.95rem;
}

.medien-empty {
  color: var(--grey, #888);
  font-size: 0.9rem;
}

/* ─── Medien ────────────────────────────────── */
.medien-section { background: #eef1f5; min-height: 60vh; padding-bottom: 4rem; }
.medien-hero { background: #123A70; padding: 3rem 1.5rem 2.5rem; box-shadow: 0 6px 24px rgba(30,42,58,0.4); }
.medien-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.medien-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.medien-hero-count { color: var(--slate-text); font-size: 0.9rem; font-weight: 400; padding-bottom: 0.2rem; }

.medien-body { max-width: var(--max-w-wide); margin: 0 auto; padding: 2.5rem 1.5rem 0; }

.medien-filter { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-bottom: 1.5rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-btn { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 2px; border: 1px solid #ccc; font-size: 0.82rem; text-decoration: none; color: var(--black); background: var(--white); transition: background 0.12s, border-color 0.12s; }
.filter-btn:hover { border-color: var(--black); }
.filter-btn--active { background: #123A70; color: var(--white); border-color: var(--slate); }

.medien-count { font-size: 0.8rem; color: var(--grey); margin-bottom: 1.5rem; }

.medien-abschnitt { margin-bottom: 3rem; }
.medien-abschnitt-titel { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-weight: 400; margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid #ddd; }

.medien-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem 1.25rem; }

.medium-card { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit; }
.medium-card:hover .medium-titel { color: var(--orange); }

.medium-cover { aspect-ratio: 2/3; overflow: hidden; border-radius: 3px; background: var(--navy-light); }
.medium-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medium-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--slate-text); background: #123A70; }

.medium-type-badge { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; }
.medium-titel { font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--black); }
.medium-creator { font-size: 0.78rem; color: var(--orange); font-weight: 500; }
.medium-year { font-size: 0.78rem; color: var(--grey); }
.medium-rating { font-size: 0.82rem; }
.star--on  { color: var(--orange); }
.star--off { color: #ddd; }
.medium-text { font-size: 0.78rem; color: #777; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.medien-empty { color: var(--grey); font-size: 0.9rem; }

/* ─── Medium Detail ─────────────────────────── */
.medium-detail { max-width: var(--max-w-wide); margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.medium-detail-back { margin-bottom: 1.5rem; font-size: 0.85rem; }
.medium-detail-back a { text-decoration: none; color: var(--grey); }
.medium-detail-back a:hover { color: var(--orange); }
.medium-detail-inner { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 600px) { .medium-detail-inner { grid-template-columns: 1fr; } }
.medium-detail-cover { border-radius: 4px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.medium-detail-cover img { width: 100%; display: block; }
.medium-cover-placeholder--large { aspect-ratio: 2/3; font-size: 4rem; }
.medium-detail-info { display: flex; flex-direction: column; gap: 0.5rem; }
.medium-detail-info h1 { margin: 0.25rem 0 0; font-size: 1.6rem; line-height: 1.2; }
.medium-detail-creator { font-size: 1rem; color: var(--orange); }
.medium-detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--grey); margin-top: 0.25rem; }
.medium-detail-date { font-size: 0.82rem; color: var(--grey); }
.medium-detail-text { margin-top: 0.75rem; line-height: 1.65; font-size: 0.95rem; }

.lastfm-list { font-size: 0.82rem; }
.lastfm-item { padding: 0.3rem 0; border-bottom: 1px solid #e8e8e8; color: #444; line-height: 1.4; }
.lastfm-item:last-child { border-bottom: none; }
.lastfm-item.now-playing { color: var(--orange); }
.lastfm-now { margin-right: 0.3rem; }
.lastfm-artist { font-weight: 500; }
.lastfm-sep { color: var(--grey); margin: 0 0.2rem; }
.lastfm-track { color: var(--grey); }

.lastfm-link { text-decoration: none; color: inherit; }
.lastfm-link:hover .lastfm-track { color: var(--orange); }
.lastfm-item.now-playing .lastfm-link { color: var(--orange); }

.notes-sidebar-title { margin-bottom: 0.5rem; }
.notes-sidebar ul { margin-bottom: 1.5rem; }
.garden-cta { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.lastfm-list { margin-bottom: 1.5rem; }
.note-item:first-child { padding-top: 0; }






.notes-sidebar-title { margin-bottom: 0.35rem; }
.notes-sidebar ul { margin-bottom: 0; }
.garden-cta { margin-top: 1rem; margin-bottom: 0; }
.lastfm-list { margin-bottom: 0; }
.note-item { padding: 0.75rem 0; }
.note-item:first-child { padding-top: 0; }

.notes-sidebar-title { margin-top: 1.5rem; margin-bottom: 0.35rem; }

.garden-cta { background: #f8f8f8 !important; }

.foto-post-img video { width: 100%; height: 100%; object-fit: cover; display: block; }

header {
  background: #3668AB;
  box-shadow: 0 6px 24px rgba(54,104,171,0.35);
}

header .site-title a { color: var(--white); }
header .site-title a:hover { color: rgba(255,255,255,0.8); }
header nav a { color: rgba(255,255,255,0.7); }
header nav a:hover, header nav a[aria-current="page"] { color: var(--white); }

.foto-hero h1 { color: #111; }
.foto-hero h1 span { color: #E85A00; }
.foto-count { color: #555; }

/* neuer kombinierter header */
.site-header { padding: 1.5rem 1.5rem 0; box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.site-header--home { padding-bottom: 1.5rem; }
.site-header-inner { max-width: var(--max-w-wide); margin: 0 auto; }
.site-header-top { display: flex; justify-content: space-between; align-items: baseline; }
.site-logo { font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.75); text-decoration: none; letter-spacing: 0.02em; }
.site-logo:hover { color: var(--white); }
.site-header .menu { display: flex; gap: 1.5rem; }
.site-header .menu a { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-decoration: none; letter-spacing: 0.03em; }
.site-header .menu a:hover, .site-header .menu a[aria-current="page"] { color: var(--white); }
.site-header-title { padding: 1.5rem 0 2rem; }
.site-header-title h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; color: var(--white); letter-spacing: -0.03em; line-height: 1; margin: 0; }

/* fotos hero titel dunkel weil gelber hintergrund */
.site-header[style*="E6BB09"] .site-logo { color: rgba(0,0,0,0.5); }
.site-header[style*="E6BB09"] .menu a { color: rgba(0,0,0,0.5); }
.site-header[style*="E6BB09"] .menu a:hover,
.site-header[style*="E6BB09"] .menu a[aria-current="page"] { color: #111; }
.site-header[style*="E6BB09"] .site-header-title h1 { color: #111; }

.site-header { padding-left: 1.5rem; padding-right: 1.5rem; }
.site-header-top { padding-bottom: 1rem; }
.site-logo { margin-right: 2rem; }

.site-header-title { padding: 1.5rem 0 2rem; max-width: var(--max-w-wide); margin: 0 auto; }

.site-header-inner { padding: 0 1.5rem; }

.site-header-inner { display: block; }
.site-header-title h1 { text-align: left; }

.site-header { display: block; max-width: none; margin: 0; border-bottom: none; padding: 1.5rem 1.5rem 0; }
.site-header .site-header-inner { display: block; max-width: var(--max-w-wide); margin: 0 auto; padding: 0; }
.site-header .site-header-top { display: flex; justify-content: space-between; align-items: baseline; }
.site-header .site-header-title h1 { text-align: left; }

.site-header { display: block; max-width: none; margin: 0; border-bottom: none; padding: 1.5rem 1.5rem 0; }
.site-header .site-header-inner { display: block; max-width: var(--max-w-wide); margin: 0 auto; padding: 0; }
.site-header .site-header-top { display: flex; justify-content: space-between; align-items: baseline; }
.site-header .site-header-title h1 { text-align: left; }

.site-header[style*="ffffff"] .site-logo { 
  font-size: clamp(2.5rem, 6vw, 4.5rem); 
  font-weight: 600; 
  color: var(--black) !important; 
  letter-spacing: -0.03em; 
  line-height: 1;
  display: block;
  padding: 1rem 0 1.5rem;
}
.site-header[style*="ffffff"] .menu a { color: var(--grey) !important; }
.site-header[style*="ffffff"] .menu a:hover,
.site-header[style*="ffffff"] .menu a[aria-current="page"] { color: var(--orange) !important; }
.site-header[style*="ffffff"] .site-header-top { align-items: flex-end; }

.site-header--home-wrapper { background: #fff !important; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.site-logo--home { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; color: var(--black) !important; letter-spacing: -0.03em; line-height: 1; }
.site-header[style*="ffffff"] { box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding-bottom: 1.5rem; }
.site-header[style*="ffffff"] .menu a { color: var(--grey); }
.site-header[style*="ffffff"] .menu a:hover,
.site-header[style*="ffffff"] .menu a[aria-current="page"] { color: var(--orange); }

.site-header[style*="ffffff"] .site-header-top { align-items: baseline !important; }
.site-header[style*="ffffff"] .site-logo { padding-bottom: 0; }
