/* =========================================================
   dm Duftzwillinge Liste — Design System
   Display: Fraunces (warm, legible editorial serif)
   Body/UI: Hanken Grotesk
   Signature: the "≈" twin-hinge (Original ≈ Zwilling)
   ========================================================= */

:root {
  --bg:        #F7F3EE;   /* warm paper */
  --bg-2:      #F1EBE3;   /* alt section */
  --ink:       #1E1922;   /* near-black plum */
  --ink-soft:  #524A56;   /* secondary text */
  --ink-faint: #8B8290;   /* captions */
  --wine:      #6E2740;   /* primary accent */
  --wine-deep: #531D30;
  --brass:     #A9824E;   /* twin connector / detail */
  --brass-soft:#C8A878;
  --blush:     #ECDCD8;   /* soft surface tint */
  --line:      #E4DCD3;   /* hairlines */
  --line-2:    #D8CEC3;
  --card:      #FFFFFF;
  --ok:        #3F6F52;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(30,25,34,.04), 0 10px 30px -18px rgba(30,25,34,.28);
  --shadow-lift: 0 2px 4px rgba(30,25,34,.06), 0 22px 48px -22px rgba(30,25,34,.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--wine); text-decoration-color: rgba(110,39,64,.32); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--wine); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.05em; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); display: inline-block; }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.66; }

/* ---------- Skip link & a11y ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 var(--radius) 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 2.5px solid var(--wine); outline-offset: 2px; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,238,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--wine); }
.nav-cta {
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  background: var(--ink); color: #fff !important; padding: 9px 16px; border-radius: 100px; text-decoration: none;
}
.nav-cta:hover { background: var(--wine); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(34px, 5vw, 56px); }
.hero::after { /* faint twin-flacon motif */
  content: ""; position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 540px); height: min(46vw, 540px);
  background:
     radial-gradient(circle at 30% 30%, rgba(169,130,78,.10), transparent 60%),
     radial-gradient(circle at 70% 70%, rgba(110,39,64,.08), transparent 60%);
  filter: blur(8px); pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 880px; }
.hero h1 { margin-bottom: .28em; }
.hero h1 .approx { color: var(--brass); font-style: italic; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 30px; font-size: .9rem; color: var(--ink-faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- Search & filter console ---------- */
.console {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 18px; margin-top: 6px;
}
.search-row { position: relative; }
.search-row svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--ink-faint); }
#search {
  width: 100%; font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
  padding: 14px 16px 14px 46px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg);
}
#search::placeholder { color: var(--ink-faint); }
#search:focus { background: #fff; border-color: var(--wine); }

.filter-block { margin-top: 16px; }
.filter-block + .filter-block { margin-top: 12px; }
.filter-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--sans); font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 100px;
  padding: 7px 15px; cursor: pointer; transition: all .15s ease; line-height: 1;
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.console-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.result-count { font-size: .9rem; color: var(--ink-faint); }
.result-count b { color: var(--ink); font-weight: 700; }
.btn-reset { font-family: var(--sans); font-size: .86rem; font-weight: 600; color: var(--wine); background: none; border: none; cursor: pointer; padding: 4px 2px; }
.btn-reset:hover { text-decoration: underline; }

/* ---------- Section scaffold ---------- */
.section { padding: clamp(46px, 7vw, 86px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- The List (the core) ---------- */
.list-wrap { margin-top: 4px; }
.twin-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.twin-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: var(--line-2); }

.twin-side .role { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.twin-side.orig .role { color: var(--ink-faint); }
.twin-side.dupe .role { color: var(--brass); }
.twin-brand { font-size: .82rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.twin-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.12; margin-top: 1px; color: var(--ink); }
.twin-side.dupe { text-align: right; }

/* the signature ≈ hinge */
.hinge { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.hinge .approx { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--brass); font-style: italic; }
.hinge .approx-label { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

.twin-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-top: 16px; margin-top: 4px; border-top: 1px dashed var(--line-2); }
.tag { font-size: .76rem; font-weight: 600; padding: 4px 11px; border-radius: 100px; background: var(--bg-2); color: var(--ink-soft); border: 1px solid var(--line); }
.tag.fam { background: var(--blush); color: var(--wine-deep); border-color: transparent; }
.tag.price { margin-left: auto; background: #fff; color: var(--ink); border-color: var(--line-2); font-variant-numeric: tabular-nums; }
.tag.price b { color: var(--wine); }

.empty-state { display: none; text-align: center; padding: 56px 20px; color: var(--ink-soft); }
.empty-state h3 { color: var(--ink); margin-bottom: .3em; }
.empty-state.show { display: block; }

/* ---------- Prose blocks ---------- */
.prose { max-width: 720px; }
.prose h3 { margin-top: 1.8em; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.1em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brass); }

/* ---------- Feature trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .cell { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; box-shadow: var(--shadow); }
.trio .num { font-family: var(--serif); font-size: 1.1rem; color: var(--brass); font-style: italic; margin-bottom: 12px; }
.trio h3 { font-size: 1.18rem; margin-bottom: .4em; }
.trio p { margin-bottom: 0; font-size: .98rem; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Honesty / note callout ---------- */
.callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 8px; padding: 22px 24px; box-shadow: var(--shadow); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 38px 18px 0; position: relative; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; font-weight: 400; color: var(--brass); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Author / E-E-A-T ---------- */
.author { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); max-width: 760px; }
.author .avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; background: var(--blush); display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; color: var(--wine); font-style: italic; }
.author .role { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.author h3 { margin-bottom: .4em; }
.author p { font-size: .96rem; margin-bottom: .6em; }
.author p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .author { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band { background: var(--ink); color: #F3ECE6; }
.band .wrap { padding-block: clamp(46px, 7vw, 78px); }
.band h2 { color: #fff; }
.band p { color: rgba(243,236,230,.78); }
.band .eyebrow { color: var(--brass-soft); }
.band .eyebrow::before { background: var(--brass-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 54px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.foot-grid a:hover { color: var(--wine); }
.foot-about p { font-size: .94rem; max-width: 36ch; }
.foot-disclosure { margin-top: 30px; padding: 16px 18px; background: rgba(169,130,78,.08); border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; color: var(--ink-soft); }
.foot-bar { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- Legal / content pages ---------- */
.page-head { padding: clamp(40px, 6vw, 70px) 0 10px; }
.legal { padding: 10px 0 64px; }
.legal .prose { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal address { font-style: normal; color: var(--ink-soft); }
.legal .ph { background: rgba(169,130,78,.16); border-radius: 3px; padding: 1px 6px; color: var(--wine-deep); font-weight: 600; }
.legal .note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--wine); border-radius: 8px; padding: 16px 18px; margin: 18px 0; font-size: .92rem; color: var(--ink-soft); }
.breadcrumb { font-size: .85rem; color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); }

/* ---------- Articles / Ratgeber ---------- */
.article { padding: 8px 0 72px; }
.article .prose { max-width: 740px; }
.article .prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.7em; }
.article .prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.article .prose p, .article .prose li { line-height: 1.78; }
.article .prose a { font-weight: 500; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .86rem; color: var(--ink-faint); margin-top: 14px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); display: inline-block; }
.article-meta b { color: var(--ink-soft); font-weight: 600; }
.article blockquote { margin: 1.5em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--brass); font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.cmp { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: .95rem; }
.cmp caption { caption-side: top; text-align: left; font-size: .8rem; color: var(--ink-faint); margin-bottom: 8px; }
.cmp th, .cmp td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { color: var(--brass); font-family: var(--sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.cmp tbody td:first-child { font-weight: 600; color: var(--ink); }
.cmp tbody tr:last-child td { border-bottom: none; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease; }
.related a:hover { border-color: var(--brass-soft); transform: translateY(-2px); }
.related .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.related h4 { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; margin: .35em 0 .25em; color: var(--ink); }
.related p { font-size: .92rem; margin: 0; }
@media (max-width: 620px) { .related { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Mobile list reflow ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .twin-card { grid-template-columns: 1fr; gap: 4px; padding: 18px; }
  .twin-side.dupe { text-align: left; }
  .hinge { flex-direction: row; gap: 8px; justify-content: flex-start; padding: 8px 0; }
  .hinge .approx { font-size: 1.4rem; }
  .twin-tags { padding-top: 14px; }
  .tag.price { margin-left: 0; }
}

/* fade-in on load (progressive, non-blocking) */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
