/* ===========================================================================
   WOKEY — wokey.de
   Warm editorial. Sand, forest, brass. Type carries the page — no photography.
   Palette sampled directly from Jeff's design mockup (2026-07-13).
   =========================================================================== */

:root {
  /* --- Surfaces (sampled) --- */
  --cream:      #f1e4d3;   /* lightest surface  */
  --sand:       #ead8c4;   /* signature ground  */
  --taupe:      #d8c7b5;   /* deepest sand band */
  --line:       #cfbba2;   /* hairline          */
  --line-soft:  #ddcdb9;

  /* --- Ink --- */
  --ink:        #17140f;   /* 13.2:1 on sand */
  --ink-2:      #4c4335;   /*  7.0:1 on sand */
  --ink-3:      #5c5344;   /*  5.5:1 on sand */

  /* --- Forest --- */
  --forest:     #1c2922;   /* footer, buttons */
  --forest-2:   #26352c;   /* hover           */
  --forest-3:   #33443a;   /* rules on dark   */

  /* --- Brass: the single accent --- */
  --brass:      #6a4e1c;   /* text-safe on sand (5.6:1) */
  --brass-dec:  #a8823a;   /* decorative only: rules, marks */
  --brass-hi:   #c9a25a;   /* on forest (6.3:1) */

  /* --- On dark --- */
  --on-dark:    #f1e4d3;
  --on-dark-2:  #c3b7a4;   /* 7.6:1 on forest */

  /* --- Type --- */
  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* --- Rhythm --- */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1180px;
  --band-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.72;
  letter-spacing: .005em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain — the only "texture". Static, cheap, no image file. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--brass-dec); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--forest);
  color: var(--on-dark);
  padding: .9rem 1.4rem;
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ primitives -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 780px; }

.band { padding-block: var(--band-y); position: relative; }
.band--cream  { background: var(--cream); }
.band--taupe  { background: var(--taupe); }
.band--forest { background: var(--forest); color: var(--on-dark); }
.band + .band--cream,
.band--cream + .band { border-top: 1px solid var(--line-soft); }

/* Small-caps label — sits above every section heading */
.label {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .6875rem;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.35rem;
}
.label--dark { color: var(--brass-hi); }
.label::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin: .75rem auto 0;
  background: currentColor;
  opacity: .55;
}
.label--flush::after { margin-left: 0; }

/* Headings — high-contrast didone, the loudest thing on the page */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  color: inherit;
  margin: 0;
  letter-spacing: -.005em;
  line-height: 1.06;
  text-wrap: balance;
}

.sec-head { text-align: center; margin-bottom: clamp(2.75rem, 5vw, 4.25rem); }
.sec-head h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: .01em;
}
/* Caps variant — the mockup sets "THREE WAYS TO LIVE WOKEY" in serif capitals. */
.sec-head--caps h2 {
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem);
}
.sec-head p {
  margin: 1.25rem auto 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 1rem;
}
.band--forest .sec-head p { color: var(--on-dark-2); }

.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }

/* Rules */
.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}
.rule--brass {
  width: 54px;
  height: 2px;
  background: var(--brass-dec);
  border: 0;
  margin: 0;
}

/* Buttons */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--on-dark);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  padding: 1.05rem 1.9rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--forest-2); transform: translateY(-2px); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--brass-dec);
}
.btn--ghost:hover { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }

.btn--onDark {
  --btn-bg: var(--on-dark);
  --btn-fg: var(--forest);
}
.btn--onDark:hover { background: var(--brass-hi); color: var(--forest); }

/* Text link with brass underline that grows */
.link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass);
  padding-bottom: .35rem;
  background-image: linear-gradient(var(--brass-dec), var(--brass-dec));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.link:hover { background-size: 100% 2px; color: var(--ink); }
.link .arw { transition: transform .35s var(--ease); }
.link:hover .arw { transform: translateX(4px); }
.link--dark { color: var(--brass-hi); background-image: linear-gradient(var(--brass-hi), var(--brass-hi)); }
.link--dark:hover { color: var(--on-dark); }

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem var(--gutter);
  background: rgba(234, 216, 196, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding-block: .8rem;
  background: rgba(241, 228, 211, .92);
}
.nav__brand { display: flex; align-items: center; text-decoration: none; }

/* Right-hand cluster: links + language switch + hamburger */
.nav__cluster {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding-block: .3rem;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass-dec);
  transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}

/* ---- Language switch (generated from I18N keys in app.js) ---- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}
.lang__btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-3);
  padding: .4rem .3rem;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--brass-dec);
}
.lang__sep {
  color: var(--line);
  font-size: .7rem;
  line-height: 1;
  user-select: none;
}

@media (max-width: 820px) {
  /* Ohne JS kann der Hamburger nichts öffnen — dann bleibt die Navigation sichtbar
     und umbricht. Das Aufklapp-Menü existiert nur, wenn JS läuft (.js am <html>). */
  html:not(.js) .nav__links { flex-wrap: wrap; gap: .55rem 1.1rem; }

  .js .nav__toggle { display: block; }
  .js .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.6rem;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    /* visibility nimmt die geschlossenen Links aus der Tab-Reihenfolge —
       clip-path/opacity allein lassen sie fokussierbar. */
    visibility: hidden;
    transition: clip-path .45s var(--ease), opacity .3s var(--ease), visibility 0s linear .45s;
  }
  .js .nav__links li { width: 100%; border-top: 1px solid var(--line-soft); }
  .js .nav__links a { display: block; width: 100%; padding: 1.05rem 0; font-size: .82rem; }
  .js .nav.open .nav__links {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: clip-path .45s var(--ease), opacity .3s var(--ease), visibility 0s;
  }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
}

/* Real wordmark replaces the text stand-in in the nav */
.nav__logo {
  height: clamp(21px, 1rem + .7vw, 27px);
  width: auto;
  display: block;
  transition: opacity .3s var(--ease);
}
.nav__brand:hover .nav__logo { opacity: .7; }

/* ==========================================================================
   MICRO-SITE (index) — the mark and two actions, nothing else.
   The page is the reminder, so it borrows the reminder pages' ground:
   same warm halo, same one-screen composition. No nav — nothing to navigate.
   ========================================================================== */
.home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 4vw, 2.2rem) var(--gutter) clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(120% 74% at 50% 6%, rgba(247, 223, 187, .95) 0%, rgba(234, 216, 196, 0) 66%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}
.home__top {
  flex: none;
  display: flex;
  justify-content: flex-end;
  min-height: 42px;
  align-items: center;
}

/* Wide enough that the two actions sit side by side; the text inside brings
   its own, much narrower measure. */
.home__core {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

/* The <h1> only carries the image — its alt text is the heading. */
.home__markWrap { margin: 0; line-height: 0; }
.home__mark { width: clamp(186px, 40vw, 320px); height: auto; }

/* The one big motion moment: the mark pulls itself into focus on load.
   Like .rise, the hidden state lives only in the keyframes (backwards) —
   if the animation never runs, the logo is simply there. */
.js .home__mark { animation: focusPull 1.5s var(--ease) .05s backwards; }
@keyframes focusPull {
  from { opacity: 0; transform: scale(1.06); filter: blur(8px); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.home__line {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, .95rem + .55vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  max-width: 26ch;
  text-wrap: balance;
}

.home__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: clamp(1.9rem, 4.5vw, 2.6rem);
}
/* "Sag mir Bescheid, wenn's fertig ist" cannot fit one line on a phone —
   so let it break into two even lines instead of orphaning a word. */
.home__acts .btn {
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  text-wrap: balance;
}
/* Below this the two labels stop fitting next to each other: stack them,
   equal width, so the pair still reads as one deliberate block. */
@media (max-width: 720px) {
  .home__acts {
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* Without JS the toggle button could not open anything — then the form
   simply stands open (and says that it needs JS). */
html:not(.js) .js-only { display: none; }

/* ------------------------------------------------------------ newsletter -- */
.home__news { width: 100%; }
/* Collapsed by default *only* when JS can open it again. 0fr → 1fr animates the
   height; visibility keeps the closed fields out of the tab order. */
.js .home__news {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .5s var(--ease), opacity .35s var(--ease), visibility 0s linear .5s;
}
.js .home__news.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease) .12s, visibility 0s;
}
.nl {
  min-height: 0;
  overflow: hidden;
  max-width: 430px;
  margin-inline: auto;
  padding-top: clamp(2.2rem, 5vw, 3rem);
}
.nl__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.3rem;
  text-wrap: balance;
}
.nl__form { margin: 0; }
.nl__row { display: flex; gap: .5rem; }
.nl__row input {
  flex: 1;
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1rem 1.05rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: .95rem;
  color: var(--ink);
}
.nl__row input::placeholder { color: var(--ink-3); opacity: .8; }
.nl__row .btn { flex: none; }
.nl__row .btn[disabled] { opacity: .55; cursor: default; transform: none; }
@media (max-width: 460px) {
  .nl__row { flex-direction: column; }
  .nl__row .btn { justify-content: center; }
}

/* Honeypot — off-viewport, untabbable, invisible to screen readers. */
.hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nl__consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1rem 0 0;
  text-align: left;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.nl__consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: .28rem 0 0;
  accent-color: var(--forest);
}
.nl__consent a { color: var(--brass); text-underline-offset: 3px; }

.nl__note {
  margin: 1rem 0 0;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-2);
  min-height: 1.6em;
}
.nl__note.is-good { color: var(--brass); }
.nl__note.is-bad  { color: #8a2f20; }   /* 6.2:1 on cream — a warm, quiet red */

.nl__nojs {
  display: none;
  margin: 1rem 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.nl__nojs a { color: var(--brass); }
html:not(.js) .nl__nojs { display: block; }

/* ----------------------------------------------------------------- foot -- */
.home__foot {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  padding-top: clamp(1.1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.home__foot a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  padding-bottom: .25rem;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.home__foot a:hover { color: var(--ink); border-bottom-color: var(--brass-dec); }
.home__dot { color: var(--line); }

/* -------------------------------------------------------------- reminder -- */
.qr-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  max-width: 820px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.qr-glyph { width: clamp(76px, 12vw, 104px); height: auto; flex: none; }
.qr-glyph rect.q { fill: var(--ink); }
.qr-glyph .frame { fill: none; stroke: var(--ink); stroke-width: 5; }
.qr-intro p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.qr-intro p + p { margin-top: .8rem; }
.qr-intro b { color: var(--ink); font-weight: 500; }
@media (max-width: 620px) {
  .qr-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* Six reminders: 3 x 2 on desktop, 2 x 3 on tablet, 1 column on phones.
   Explicit tracks — auto-fit would leave empty cells in the 1px grid. */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--cream);
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  transition: background .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--brass-dec);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { background: var(--sand); }
.card:hover::before { transform: scaleX(1); }
.card__idx {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: .06em;
}
.card__word {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}
.card__en {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: .95rem;
  color: var(--ink-3);
  margin-top: .3rem;
}
.card__line {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__foot .arw { color: var(--brass); transition: transform .35s var(--ease); }
.card:hover .card__foot .arw { transform: translateX(5px); }

.after-cards { margin-top: clamp(2.4rem, 4vw, 3.25rem); text-align: center; }

/* ---------------------------------------------------------------- footer -- */
.footer {
  background: var(--forest);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--forest-3);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--forest-3);
}
.footer__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: .16em;
  margin: 0 0 1rem;
  color: var(--on-dark);
}
.footer__claim {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brass-hi);
  margin: 0 0 1.8rem;
}
.footer h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin: 0 0 1.3rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: .75rem; }
.footer li a {
  font-size: .9rem;
  text-decoration: none;
  color: var(--on-dark);
  background-image: linear-gradient(var(--brass-hi), var(--brass-hi));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .4s var(--ease), color .3s var(--ease);
  padding-bottom: .18rem;
}
.footer li a:hover { background-size: 100% 1px; color: var(--brass-hi); }
.socials { display: flex; gap: .7rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--forest-3);
  border-radius: 2px;
  color: var(--on-dark-2);
  transition: border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.socials a:hover { border-color: var(--brass-hi); color: var(--brass-hi); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--on-dark-2);
}
.footer__bottom nav { display: flex; gap: 1.4rem; }
.footer__bottom a { text-decoration: none; color: var(--on-dark-2); }
.footer__bottom a:hover { color: var(--brass-hi); }
@media (max-width: 780px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.6rem; }
}

/* ------------------------------------------------------------ page-head -- */
.page-head {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.6rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head h1 {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.2rem);
  font-weight: 500;
}
.page-head p {
  max-width: 52ch;
  margin: 1.5rem auto 0;
  color: var(--ink-2);
}

/* --------------------------------------------------------------- how-to -- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  counter-reset: step;
}
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.step__n {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: .1em;
}
.step h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: .9rem 0 .7rem;
}
.step p { margin: 0; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ legal page -- */
.legal { max-width: 720px; }
.legal h2 {
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
  margin: clamp(2.6rem, 5vw, 3.5rem) 0 1rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 2rem 0 .6rem;
}
.legal p { color: var(--ink-2); margin: 0 0 1rem; }
.legal a { color: var(--brass); text-underline-offset: 3px; }
.legal ul { color: var(--ink-2); padding-left: 1.1rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .5rem; }
.pending {
  display: block;
  border-left: 2px solid var(--brass-dec);
  background: var(--cream);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1rem;
  border-radius: 0 2px 2px 0;
}
.pending__tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .45rem;
}
.pending p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ==========================================================================
   REMINDER LANDING (/r/*) — the page a scanned QR code opens.
   Mobile-first: the whole message fits one screen, no scroll needed.
   ========================================================================== */
.rd {
  --tint: rgba(247, 223, 187, .9);
  --tint-2: rgba(234, 216, 196, 0);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 4vw, 2.2rem) var(--gutter) clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(110% 70% at 50% 0%, var(--tint) 0%, var(--tint-2) 68%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}
.rd__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: none;
}
.rd__topEnd {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.5vw, 1.4rem);
}
.rd__back {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: .3rem;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.rd__back:hover { color: var(--ink); border-color: var(--brass-dec); }

.rd__core {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 8vw, 4rem);
  text-align: center;
}
.rd__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.4rem;
}
.rd__idx::before, .rd__idx::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass-dec);
}
.rd__word {
  font-family: var(--display);
  font-weight: 600;
  /* Long words ("Verbindung") must breathe on a 360px phone. */
  font-size: clamp(2.9rem, 1.4rem + 7.6vw, 6rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.rd__en {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, .9rem + .5vw, 1.2rem);
  color: var(--ink-3);
  margin: .5rem 0 0;
}
.rd__line {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink);
  margin: clamp(1.8rem, 5vw, 2.6rem) auto 0;
  max-width: 22ch;
}
.rd__thought {
  margin: 1.4rem auto 0;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.75;
}
.rd__breathe {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: clamp(1.8rem, 5vw, 2.4rem) auto 0;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rd__breathe .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-dec);
  animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.9); opacity: 1; }
}

.rd__foot {
  flex: none;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding-top: clamp(1.2rem, 3vw, 1.6rem);
}
.rd__worn {
  display: flex;
  align-items: center;
  gap: .9rem;
  justify-content: center;
  text-align: left;
  margin-bottom: 1.3rem;
}
.rd__worn svg { width: 40px; height: 40px; flex: none; }
.rd__worn p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 34ch;
}
.rd__worn b { display: block; color: var(--ink-2); font-weight: 500; letter-spacing: .02em; }
.rd__others {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin-bottom: 1.3rem;
}
.rd__others a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem .95rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.rd__others a:hover { border-color: var(--forest); background: var(--forest); color: var(--on-dark); }
.rd__home { display: flex; justify-content: center; }

/* Tints per reminder — all inside the warm/olive family */
.rd--fokus      { --tint: rgba(247, 223, 187, .95); }
.rd--ruhe       { --tint: rgba(214, 222, 208, .95); }
.rd--mut        { --tint: rgba(240, 208, 184, .95); }
.rd--klarheit   { --tint: rgba(233, 231, 220, .95); }
.rd--verbindung { --tint: rgba(238, 213, 202, .95); }
.rd--bewegung   { --tint: rgba(219, 222, 195, .95); }

@media (min-width: 800px) {
  .rd__worn { justify-content: center; }
}

/* ------------------------------------------------------------- reveals -- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Page-load orchestration (micro-site / page heads / reminder landings).
   Deliberately NO static `opacity: 0` here: the hidden state lives only inside
   the keyframes (fill-mode: backwards). If the animation never runs — old engine,
   odd rendering path — the content is simply visible. A QR landing page must
   never come up blank. */
.js .rise {
  animation: rise .95s var(--ease) var(--rd, 0s) backwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rise { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; }
  /* No focus-pull, no blur — the mark is simply there. */
  .js .home__mark { animation: none; }
  .rd__breathe .dot { transform: none; opacity: .8; }
}
