/* Editorial article shell — minimal, content-first.
 * Used by every /editorial/[slug].html article. Mirrors the brand
 * palette but uses generous reading typography (longer measure,
 * more whitespace) suited to long-form German prose. */

:root {
  --color-bg:        #F8F2EA;
  --color-surface:   #ffffff;
  --color-text:      #1a1a1a;
  --color-text-soft: #4a4a4a;
  --color-muted:     #8a8a8a;
  --color-line:      rgba(22, 22, 22, 0.10);
  --gold:            #b58e4c;
  --gold-deep:       #8a6a2a;
  --font-serif:      'Cormorant Garamond', Georgia, serif;
  --font-sans:       'Inter', system-ui, sans-serif;
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--color-bg); color: var(--color-text); }
body { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; }

/* ---------- minimal floating top-nav ----------
   Same architecture as the storefront's main .nav:
     · OUTER wrapper is position:fixed + transparent + pointer-events:none
       so it never paints a wide bar across the page.
     · INNER children get pointer-events:auto and their OWN compact
       glass-pill background.  Result: brand-mark + back-link float
       independently at the top, the rest of the page shows through. */
.ed-nav {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
}
.ed-nav > * { pointer-events: auto; }

.ed-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px -8px rgba(22, 22, 22, 0.18);
  transition: background 220ms var(--ease);
}
.ed-nav__brand:hover { background: rgba(255, 255, 255, 0.78); }
.ed-nav__brand img { height: 28px; width: auto; display: block; }
.ed-nav__brand span {
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.ed-nav__back {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-soft);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px -8px rgba(22, 22, 22, 0.18);
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.ed-nav__back:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.78); }

/* Editorial article needs top-padding so the floating nav doesn't
   overlap the breadcrumbs / eyebrow text. */
.editorial { padding-top: 90px; }
@media (max-width: 640px) {
  .ed-nav { top: 10px; left: 10px; right: 10px; }
  .ed-nav__brand { padding: 5px 12px; }
  .ed-nav__brand img { height: 24px; }
  .ed-nav__back { height: 34px; padding: 0 14px; font-size: 10px; }
  .editorial { padding-top: 70px; }
}

/* ---------- article ---------- */
.editorial {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.editorial__breadcrumbs {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 28px;
}
.editorial__breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
}
.editorial__breadcrumbs a:hover { color: var(--color-text); }
.editorial__eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
  font-weight: 600;
}
.editorial__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
}
.editorial__lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--color-text-soft);
  margin: 0 0 32px;
  font-weight: 400;
}
.editorial__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 24px;
  margin-bottom: 40px;
}
.editorial__meta time { font-weight: 500; }
.editorial__body h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  margin: 48px 0 16px;
  line-height: 1.3;
}
.editorial__body h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 32px 0 12px;
}
.editorial__body p { margin: 0 0 18px; }
.editorial__body p:last-child { margin-bottom: 0; }
.editorial__body strong { font-weight: 600; }
.editorial__body em { font-style: italic; }
.editorial__body a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.editorial__body a:hover { color: var(--color-text); }
.editorial__body ul, .editorial__body ol {
  padding-left: 24px;
  margin: 18px 0;
}
.editorial__body li { margin-bottom: 8px; }
.editorial__body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(181, 142, 76, 0.06);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-text);
}
.editorial__cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(181, 142, 76, 0.10), rgba(244, 224, 179, 0.10));
  border: 1px solid rgba(181, 142, 76, 0.25);
  border-radius: 14px;
  text-align: center;
}
.editorial__cta h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 22px;
}
.editorial__cta p { margin: 0 0 16px; font-size: 15px; color: var(--color-text-soft); }
.editorial__cta a {
  display: inline-block;
  padding: 12px 24px;
  background: #161616;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 200ms var(--ease);
}
.editorial__cta a:hover { background: var(--gold-deep); }
.editorial__related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}
.editorial__related h4 {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
  margin: 0 0 16px;
}
.editorial__related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.editorial__related a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.editorial__related a:hover { color: var(--gold-deep); }
.ed-footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 1px;
  border-top: 1px solid var(--color-line);
  background: rgba(248, 242, 234, 0.6);
}
.ed-footer a { color: var(--color-muted); text-decoration: underline; }

@media (max-width: 640px) {
  .editorial { padding: 40px 20px 60px; }
  .editorial__lead { font-size: 18px; }
  .editorial__body h2 { font-size: 24px; }
}
