/* e-sadness · Design System 1.0 | monochrome soul, earthy plum | 2026-10-13
   Source of truth: projects/e-sadness/design/MINI-STYLEGUIDE.md */
:root {
  color-scheme: light;
  --color-ink: #19151B;
  --color-night: #342A34;
  --color-paper: #F5F1EC;
  --color-surface: #FFFCFA;
  --color-plum: #61465D;
  --color-plum-soft: #765D72;
  --color-heather: #D8BDD5;
  --color-muted: #675B65;
  --color-line: #D9CDD5;
  --font-editorial: Georgia, "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --reading-width: 68ch;
  --page-width: 1120px;
  --radius-card: 14px;
  --radius-control: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.78; }
a { color: var(--color-plum); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--color-ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-heather); outline-offset: 4px; border-radius: 3px; }
p, h1, h2, h3 { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.023em; }
h1, h2 { font-family: var(--font-editorial); font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5.25rem); }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.15rem); }
h3 { font-size: 1.29rem; font-weight: 650; line-height: 1.32; }
.icon { width: 1.2em; height: 1.2em; display: inline-block; flex: 0 0 auto;
  vertical-align: -.18em; stroke-width: 1.75; }
.wrap { max-width: var(--page-width); padding: 0 32px; margin: 0 auto; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 60; background: #FFFCFA;
  padding: 12px 18px; box-shadow: 0 8px 24px #0003; }
.skip:focus { top: 14px; }

/* Eternal Sadness monochrome identity, adapted for the independent portal */
.site-header { position: relative; z-index: 5; background: var(--color-ink);
  color: var(--color-paper); border-bottom: 1px solid #4A3A47; }
.header-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 92px; padding-top: 14px; padding-bottom: 14px; }
.brand { color: #FFFCFA; text-decoration: none; display: inline-flex; flex-direction: column;
  font-size: 1.65rem; font-weight: 760; line-height: 1; letter-spacing: -.058em; white-space: nowrap; }
.brand:hover { color: #FFFCFA; }
.brand small { color: var(--color-heather); font-size: .62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; margin-top: 10px; }
nav ul { display: flex; align-items: center; list-style: none; flex-wrap: wrap;
  gap: 4px 10px; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 9px;
  color: #F5F1EC; border-bottom: 2px solid transparent; font-size: .86rem;
  font-weight: 550; text-decoration: none; white-space: nowrap; }
nav a .icon { color: var(--color-heather); width: 18px; height: 18px; }
nav a:hover, nav a:focus-visible { color: white; background: #423743; }
nav a[aria-current="page"] { border-color: var(--color-heather); color: white; }
nav a[href="/hilfe/"] { border-radius: 8px; border: 1px solid #9B8297; margin-left: 3px; }
nav a[href="/hilfe/"][aria-current="page"] { background: #574454; }

/* Typographic hero: quiet, dark, spacious, without stock imagery */
.hero { position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 clamp(76px, 10vw, 120px);
  color: #FFFCFA; background: linear-gradient(117deg, #19151B 0%, #2B222C 53%, #483748 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(58vw, 690px);
  aspect-ratio: 1; right: -12vw; top: -23%; border: 1px solid rgba(216,189,213,.16);
  border-radius: 50%; box-shadow: 0 0 0 60px rgba(216,189,213,.02),
  0 0 0 150px rgba(216,189,213,.018); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 83% 50%, rgba(118,93,114,.23) 0, transparent 47%); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 900px; margin: 15px 0 26px; line-height: 1.09; text-wrap: balance; }
.hero--home { padding-top: clamp(88px, 11vw, 142px); padding-bottom: clamp(100px, 13vw, 154px); }
.hero--home h1 { max-width: 850px; }
.breadcrumbs { color: #E8D9E4; font-size: .83rem; margin: 0 0 30px; display: flex;
  gap: 9px; flex-wrap: wrap; align-items: center; }
.breadcrumbs a { color: #E8D9E4; }
.breadcrumbs .icon { width: 14px; height: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #D8BDD5;
  text-transform: uppercase; font-size: .77rem; letter-spacing: .17em; font-weight: 760; }
.eyebrow .icon { width: 20px; height: 20px; }
p.lead { max-width: 725px; margin: 0; color: #F2EAF0;
  font-size: clamp(1.13rem, 1.85vw, 1.34rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 21px; border-radius: var(--radius-control);
  text-decoration: none; font-size: .97rem; font-weight: 650; line-height: 1.3;
  border: 1px solid transparent; transition: background .17s ease, border-color .17s ease; }
.btn .icon { width: 19px; height: 19px; }
.btn--light { background: var(--color-paper); color: var(--color-ink); }
.btn--light:hover { background: #E8D9E4; color: var(--color-ink); }
.btn--outline { background: transparent; border-color: #BCA8BB; color: #FFFCFA; }
.btn--outline:hover { background: #423743; color: #FFFCFA; }

/* Long-form editorial reading */
.content-area { padding: 64px 0 94px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 275px;
  gap: clamp(30px, 5vw, 68px); align-items: start; }
.prose { min-width: 0; max-width: var(--reading-width); font-size: 1.04rem; }
.prose .article-section { margin: 0 0 40px; padding: 0 0 18px; border-bottom: 1px solid var(--color-line); }
.prose .article-section:last-of-type { border-bottom: none; }
.prose h2 { margin: 0 0 19px; color: var(--color-ink); }
.prose .article-section p { line-height: 1.85; font-size: 1.05rem; margin: 0 0 1.35em;
  overflow-wrap: break-word; hyphens: auto; }
.prose > p { margin: 0 0 14px; }
.page-updated { color: var(--color-muted); margin: -3px 0 14px; }
.kicker { color: var(--color-plum); font-size: .81rem; font-weight: 750;
  text-transform: uppercase; letter-spacing: .11em; display: inline-block; margin-bottom: 8px; }
.resource-links { display: grid; list-style: none; gap: 9px; margin: 23px 0; padding: 0; }
.resource-links li a { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 10px; padding: 15px 17px; font-size: .97rem; font-weight: 650;
  text-decoration: none; color: var(--color-plum); }
.resource-links li a:hover { background: #EEE7ED; color: var(--color-ink); border-color: #B9A4B4; }
.sources { padding-top: 30px; margin-top: 44px; border-top: 2px solid var(--color-line);
  color: var(--color-muted); }
.sources h2 { display: flex; gap: 12px; align-items: center; }
.sources h2 .icon { color: var(--color-plum); font-size: .78em; }
.sources ul { padding-left: 22px; }
.sources li { margin-bottom: 13px; overflow-wrap: anywhere; line-height: 1.7; font-size: .91rem; }
.sources a { color: var(--color-plum); }

/* Respectful, permanent help signposting */
.banner { padding: 27px 28px; margin-top: 42px; background: #EDE4EB;
  border: 1px solid #CCB9CB; border-left: 4px solid var(--color-plum);
  border-radius: 12px; }
.banner h2 { display: flex; gap: 12px; align-items: center; font-family: var(--font-ui);
  font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; }
.banner .icon { color: var(--color-plum); }
.banner p { line-height: 1.75; font-size: .96rem; margin: 0; }
.aside { position: sticky; top: 24px; min-width: 0; }
.aside-panel { border: 1px solid var(--color-line); border-radius: var(--radius-card);
  padding: 26px; background: var(--color-surface); }
.aside h2 { margin: 0 0 12px; font-size: 1.52rem; }
.aside ul { list-style: none; margin: 0; padding: 0; }
.aside li { border-top: 1px solid var(--color-line); }
.aside li a { display: flex; align-items: center; gap: 10px; min-height: 49px;
  text-decoration: none; font-size: .92rem; font-weight: 570; }
.aside .icon { width: 20px; height: 20px; color: var(--color-plum); }
.aside li a:hover { text-decoration: underline; }

/* Interlinked topical reading cards */
.discover { padding: 64px 0 76px; background: #EBE3E9; border-top: 1px solid var(--color-line); }
.discover-head { display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.discover-head h2 { margin: 0; }
.discover-head p { margin: 0; color: var(--color-muted); font-size: .93rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.card { display: flex; min-width: 0; border: 1px solid var(--color-line);
  border-radius: var(--radius-card); background: var(--color-surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover, .card:focus-within { border-color: #B8A3B5; box-shadow: 0 8px 22px rgba(25,21,27,.08); transform: translateY(-2px); }
.card__link { display: flex; flex-direction: column; width: 100%; padding: 26px; gap: 12px;
  color: var(--color-ink); text-decoration: none; }
.card__link:hover { color: var(--color-ink); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: var(--color-plum); background: #F0E7EE; border: 1px solid #E5D5E2; border-radius: 13px; }
.card__icon .icon { width: 24px; height: 24px; }
.card__arrow .icon { width: 19px; height: 19px; color: var(--color-plum); }
.card__meta { font-size: .73rem; font-weight: 760; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-plum); }
.card h3 { margin: 0; font-size: 1.3rem; line-height: 1.34; text-wrap: pretty; }
.card p { margin: 0; font-size: .93rem; line-height: 1.62; color: var(--color-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Monochrome brand outro */
.site-footer { background: var(--color-ink); color: #E5DDE3;
  padding: 51px 0 58px; border-top: 4px solid #61465D; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 38px; }
.site-footer p { max-width: 570px; margin: 0; font-size: .93rem; line-height: 1.8; }
.site-footer .footer-title { display: flex; gap: 10px; align-items: center; margin-bottom: 8px;
  font-size: 1.2rem; letter-spacing: -.04em; font-weight: 760; color: #FFFCFA; }
.site-footer .footer-title .icon { color: var(--color-heather); }
.site-footer a { color: #F0DEEE; }
.site-footer a:hover { color: white; }
.site-footer small { color: #D8C9D5; }

/* Reflow, input accessibility, motion */
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: 13px; }
  .site-header nav { width: 100%; }
  nav ul { justify-content: flex-start; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; }
}
@media (max-width: 800px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 65px; padding-bottom: 78px; }
  .hero--home { padding-top: 85px; padding-bottom: 94px; }
  .hero::before { width: 87vw; right: -43vw; top: -10%; }
  .hero h1 { font-size: clamp(2.5rem, 9.2vw, 4.2rem); }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .aside-panel { padding: 23px; }
  .content-area { padding: 42px 0 65px; }
  .discover { padding: 48px 0 60px; }
  .prose .article-section p { font-size: 1.03rem; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .header-inner { padding-top: 17px; padding-bottom: 10px; }
  .brand { font-size: 1.54rem; }
  nav ul { gap: 2px 7px; }
  nav a { min-height: 44px; font-size: .85rem; padding: 7px; }
  nav a .icon { width: 17px; height: 17px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .content-area { padding-top: 37px; }
  .card__link { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Amazon PartnerNet affiliate module: visually neutral and opt-in only.
   Never render in /hilfe/, crisis, clinical, or grief content. */
.affiliate-section { margin: 52px 0 40px; padding: 27px 0 20px;
  border-top: 2px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.affiliate-section h2 { margin: 0 0 13px; }
.affiliate-intro { color: var(--color-muted); font-size: .91rem; line-height: 1.72; }
.affiliate-card { padding: 23px 25px; margin: 19px 0;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-card); }
.affiliate-label { display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px; color: var(--color-plum);
  font-weight: 750; font-size: .86rem; letter-spacing: .01em; }
.affiliate-label .icon { width: 21px; height: 21px; }
.affiliate-card h3 { margin: 0 0 10px; }
.affiliate-card p { margin: 0 0 19px; line-height: 1.7; }
.affiliate-action { display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 17px; background: var(--color-plum); color: var(--color-paper);
  font-weight: 670; border-radius: var(--radius-control); text-decoration: none; }
.affiliate-action:hover { background: var(--color-ink); color: #FFFCFA; }
.amazon-disclosure { color: var(--color-muted); margin: 21px 0 0;
  font-size: .88rem; line-height: 1.65; }

/* Single editorial homepage image, softly blended into the existing hero. */
.hero--home .hero-home-art { position: absolute; inset: 0 0 0 44%; z-index: -1; pointer-events: none; }
.hero--home .hero-home-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #201A23 0%, rgba(32,26,35,.68) 22%, transparent 58%); }
.hero--home .hero-home-art img { display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% center; opacity: .82; }
.hero--home .wrap { z-index: 1; }
.hero--home::before { opacity: .25; }
.hero--home::after { background: none; }
@media (max-width: 800px) {
  .hero--home .hero-home-art { inset: 0; opacity: .36; }
  .hero--home .hero-home-art::after { background: linear-gradient(90deg, #201A23 2%, rgba(32,26,35,.65) 90%); }
}

/* Editorial artwork sits within the reading column without changing global page layout. */
.editorial-art { margin: 0 0 34px; width: 100%; }
.editorial-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: var(--radius-card); background: #2b2032;
  border: 1px solid #5a4659; }
