/* =====================================================================
   Heike Hähnlein · Familienberatung & Coaching
   Design „Gut genug" – Stand 23.09.2026

   Farben aus Heikes eigenem Material abgeleitet:
   Hellblau (Flyer-Blau, aufgehellt), Minze (Präsentation),
   Rosé/Koralle (Präsentation + Flyer), Bordeaux (Visitenkarte).
   Leitmotiv: „der Faden" – eine Handlinie, die beim Scrollen mitläuft,
   und Handschrift-Markierungen an Schlüsselwörtern.
   ===================================================================== */

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-var-italic-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------
   Tokens
   --------------------------------------------------------------------- */
:root {
  /* Palette */
  --white: #ffffff;
  --sky: #dce8f3;        /* Hellblau */
  --mint: #dff0e8;       /* Hellgrün / Minze */
  --rose: #f7dfda;       /* Rosé */
  --coral: #e3877f;      /* Koralle – Linie, Akzent auf Dunkel */
  --berry: #a63f4b;      /* Himbeere – Akzentwort auf Hell (≥ 4,8 : 1) */
  --wine: #4a1623;       /* Bordeaux tief */
  --wine-2: #6b2232;     /* Bordeaux – Knopf auf Hell */
  --ink: #2a2327;
  --ink-soft: #5f5559;
  --on-wine: #fbeae6;
  --on-wine-soft: #e3c4bf;

  /* Schrift */
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(5rem, 1.6rem + 9vw, 12.5rem);
  --fs-h1: clamp(2.9rem, 1.35rem + 5.6vw, 7.6rem);
  --fs-h2: clamp(2.3rem, 1.2rem + 3.9vw, 5.4rem);
  --fs-h3: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem);
  --fs-lead: clamp(1.22rem, 1.02rem + .8vw, 1.7rem);
  --fs-body: clamp(1.0625rem, 1rem + .22vw, 1.2rem);
  --fs-small: .9375rem;
  --fs-eyebrow: .8125rem;

  /* Raum */
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1720px;
  --measure: 62ch;
  --header-h: 68px;
  --section: clamp(96px, 11vw, 196px);

  /* Bewegung (Emil-Kurven) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-draw: cubic-bezier(.65, 0, .35, 1);
  --tone-dur: .9s;
}
@media (min-width: 1000px) {
  :root { --header-h: 84px; }
}

/* Szenen-Töne: Die ganze Fläche wechselt die Farbe, keine harten Kanten. */
html {
  --bg: var(--white);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--berry);
  --hair: rgba(42, 35, 39, .16);
  --btn-bg: var(--wine-2);
  --btn-fg: #ffffff;
  --btn-bg-h: var(--wine);
}
html[data-tone="sky"]  { --bg: var(--sky); }
html[data-tone="mint"] { --bg: var(--mint); }
html[data-tone="rose"] { --bg: var(--rose); }
html[data-tone="wine"] {
  --bg: var(--wine);
  --fg: var(--on-wine);
  --fg-soft: var(--on-wine-soft);
  --accent: var(--coral);
  --hair: rgba(251, 234, 230, .22);
  --btn-bg: var(--rose);
  --btn-fg: var(--wine);
  --btn-bg-h: var(--white);
}

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

html {
  background-color: var(--bg);
  color: var(--fg);
  transition: background-color var(--tone-dur) var(--ease-io), color var(--tone-dur) var(--ease-io);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; hyphens: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--coral); color: #fff; }

[id] { scroll-margin-top: calc(var(--header-h) + 28px); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wine-2);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip:focus-visible { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------------------------------------------------------------------
   Typografie
   --------------------------------------------------------------------- */
.display,
.h1,
.h2,
.statement,
.quote__text,
.footer-cta__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
}

.display {
  display: block;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-variation-settings: "wght" 400;
  padding-bottom: .08em;
}
.h1 {
  display: block;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.028em;
  font-variation-settings: "wght" 400;
  padding-bottom: .06em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.07;
  letter-spacing: -.022em;
  font-variation-settings: "wght" 400;
  padding-bottom: .06em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.18;
  letter-spacing: -.01em;
  font-variation-settings: "wght" 420;
}

/* Lange deutsche Wörter dürfen auf kleinen Displays trennen, statt angeschnitten zu werden */
@media (max-width: 599px) {
  .h1, .h2, .offer__title, .footer-cta__title, .quote__text, .toc a { hyphens: auto; overflow-wrap: break-word; }
}

:is(.display, .h1, .h2, .quote__text, .statement, .footer-cta__title, .lead) em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "wght" 380;
  transition: color var(--tone-dur) var(--ease-io);
}

.lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  line-height: 1.42;
  font-variation-settings: "wght" 360;
  max-width: 36ch;
  margin: 0;
  hyphens: manual;
}
.lead--claim { font-style: italic; }

.text-soft { color: var(--fg-soft); transition: color var(--tone-dur) var(--ease-io); }
.measure { max-width: var(--measure); }

/* Überzeile mit gezeichneter Tilde (aus Heikes Visitenkarte: „~ Heike Hähnlein ~") */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color var(--tone-dur) var(--ease-io);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2.3em;
  height: .8em;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 16'%3E%3Cpath d='M2 11 C 8 3, 15 3, 22 8.5 S 36 14, 44 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 16'%3E%3Cpath d='M2 11 C 8 3, 15 3, 22 8.5 S 36 14, 44 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color var(--tone-dur) var(--ease-io);
}

/* Tilden-Aufzählung (fließend, groß) */
.flow {
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1rem + 1.7vw, 2.7rem);
  line-height: 1.38;
  font-variation-settings: "wght" 360;
  letter-spacing: -.01em;
}
.flow li { display: inline; }
.flow li + li::before {
  content: "~";
  display: inline-block;
  margin: 0 .38em;
  font-style: italic;
  color: var(--accent);
  transition: color var(--tone-dur) var(--ease-io);
}
.flow--sm { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }

/* ---------------------------------------------------------------------
   Buttons & Links – ein System, kein Versatz beim Hover
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 54px;
  padding: .95em 1.5em;
  border: 0;
  border-radius: 999px;
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .16s var(--ease-out);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }
.btn--sm { min-height: 46px; padding: .72em 1.25em; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background-color: var(--btn-bg-h); }
}

.link {
  display: inline-flex;
  justify-self: start;
  align-self: start;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color var(--tone-dur) var(--ease-io);
  -webkit-tap-highlight-color: transparent;
}
.link svg { width: 1em; height: 1em; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0 1px; background-position: 100% calc(100% - 9px); }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

/* ---------------------------------------------------------------------
   Monogramm (Nachbau des Logos von der Visitenkarte)
   --------------------------------------------------------------------- */
.mono { width: 44px; height: 44px; flex: none; color: currentColor; overflow: visible; }
.mono__h {
  font-family: var(--serif);
  font-size: 29px;
  font-variation-settings: "wght" 400;
  fill: currentColor;
}

/* ---------------------------------------------------------------------
   Kopfzeile
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--fg);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--tone-dur) var(--ease-io),
    border-color .5s var(--ease-out),
    color var(--tone-dur) var(--ease-io);
  view-transition-name: site-header;
}
.site-header.is-scrolled {
  background-color: var(--bg);
  background-color: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom-color: var(--hair);
}
.site-header__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}
.brand .mono { width: 40px; height: 40px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-variation-settings: "wght" 480;
  letter-spacing: -.005em;
}
.brand__sub {
  margin-top: 4px;
  white-space: nowrap;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color var(--tone-dur) var(--ease-io);
}
@media (min-width: 1000px) {
  .brand .mono { width: 46px; height: 46px; }
  .brand__name { font-size: 1.25rem; }
}

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
}
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: color .3s var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease-out);
}
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover::after { transform: scaleX(1); }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 4px 0 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn__icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background-color: var(--btn-bg);
  transition: background-color var(--tone-dur) var(--ease-io), transform .16s var(--ease-out);
}
.menu-btn:active .menu-btn__icon { transform: scale(.94); }
.menu-btn__icon i {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--btn-fg);
  transition: transform .4s var(--ease-out), background-color var(--tone-dur) var(--ease-io);
}
.menu-btn__icon i:first-child { top: 18px; }
.menu-btn__icon i:last-child { top: 24.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
}
@media (max-width: 479px) {
  .menu-btn { padding-left: 8px; }
  .menu-btn__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .brand { gap: 10px; }
  .brand__sub { font-size: .625rem; letter-spacing: .13em; }
}
/* Kopfzeile muss ab 320 px in eine Zeile passen (Logo, Unterzeile, Menü-Knopf) */
@media (max-width: 369px) {
  .site-header__inner { gap: 12px; }
  .menu-btn { padding-left: 4px; }
  .brand__sub { letter-spacing: .1em; }
}
@media (max-width: 349px) {
  .brand { gap: 8px; }
  .brand .mono { width: 34px; height: 34px; }
  .brand__sub { font-size: .5625rem; letter-spacing: .08em; }
}

/* Vollbild-Menü (mobil) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--rose);
  color: var(--ink);
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2));
  transition: clip-path .6s var(--ease-expo);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2)); }
.menu__list { list-style: none; display: grid; gap: 2px; }
.menu__list a {
  display: block;
  padding: 8px 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 1.4rem + 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-expo);
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__list li:nth-child(2) a { transition-delay: 50ms; }
.menu__list li:nth-child(3) a { transition-delay: 100ms; }
.menu__list li:nth-child(4) a { transition-delay: 150ms; }
.menu__list li:nth-child(5) a { transition-delay: 200ms; }
.menu__list li:nth-child(6) a { transition-delay: 250ms; }
.menu__list a[aria-current="page"] { color: var(--berry); font-style: italic; }
.menu__contact {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 4px;
  font-size: 1.0625rem;
}
.menu__contact a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 600; }
.menu__contact .eyebrow { color: var(--ink-soft); margin-bottom: 8px; }
.menu__contact .eyebrow::before { background-color: var(--berry); }

html.menu-open { overflow: hidden; }
html.menu-open .site-header {
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --btn-bg: var(--wine-2);
  --btn-fg: #fff;
  color: var(--ink);
  background-color: transparent;
  border-bottom-color: transparent;
}

/* ---------------------------------------------------------------------
   Hauptbereich + Faden
   --------------------------------------------------------------------- */
.main { position: relative; }
.main > section,
.main > figure { position: relative; z-index: 1; }

.thread {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.thread.is-off { display: none; }
.thread__path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thread__tip { fill: var(--coral); opacity: 0; transition: opacity .3s var(--ease-out); }
.thread.is-drawing .thread__tip { opacity: 1; }

/* ---------------------------------------------------------------------
   Handschrift-Markierungen
   --------------------------------------------------------------------- */
.mark { position: relative; white-space: nowrap; }
.mark__svg {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}
.mark__svg path {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.15s var(--ease-draw);
}
.mark.is-drawn .mark__svg path { stroke-dashoffset: 0; }
.mark--circle .mark__svg { left: -.26em; top: .5em; width: calc(100% + .64em); height: 1.1em; }
.mark--underline .mark__svg { left: -.04em; top: 1.19em; width: calc(100% + .08em); height: .3em; }

/* ---------------------------------------------------------------------
   Einblenden (nur mit JS; ohne JS ist alles sichtbar)
   --------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-expo);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 80ms !important; }
.d2 { transition-delay: 160ms !important; }
.d3 { transition-delay: 240ms !important; }
.d4 { transition-delay: 320ms !important; }
.d5 { transition-delay: 400ms !important; }
.d6 { transition-delay: 480ms !important; }

/* Zeilenweiser Aufbau aus der Maske – Polster schützt Unterlängen und Umlaute */
.js [data-split]:not(.is-split):not(.is-split-done) {
  visibility: hidden;
  animation: split-safety 0s linear 2.4s forwards;
}
@keyframes split-safety { to { visibility: visible; } }
.ln {
  display: block;
  overflow: hidden;
  padding: .06em .06em .26em;
  margin: -.06em -.06em -.26em;
}
.ln-i {
  display: block;
  transform: translate3d(0, 128%, 0);
  transition: transform 1.1s var(--ease-expo);
  will-change: transform;
}
.is-split.is-in .ln-i { transform: none; }

/* Wort-für-Wort vom Scrollstand gesteuert */
.is-scrub .scrub-w { opacity: .16; }


/* ---------------------------------------------------------------------
   Hero – Startseite & Über mich (Text links, Porträt rechts randlos)
   --------------------------------------------------------------------- */
.hero { position: relative; z-index: 1; }

.hero--split {
  display: grid;
  padding-top: var(--header-h);
}
.hero--split .hero__text {
  padding: clamp(44px, 9vw, 96px) var(--gutter) clamp(48px, 9vw, 96px);
  display: grid;
  gap: 26px;
  align-content: end;
}
.hero--split .hero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: #767c97; /* Mittelwert des Porträts – falls das Bild einen Moment braucht */
}
.hero--split .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero--split .hero__media { aspect-ratio: 5 / 4; }
}
@media (min-width: 900px) {
  .hero--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44vw);
    min-height: 100svh;
  }
  .hero--split .hero__text {
    align-content: center;
    padding: clamp(40px, 7vh, 100px) clamp(28px, 4vw, 80px) clamp(48px, 8vh, 110px) max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  }
  .hero--split .hero__media { aspect-ratio: auto; min-height: calc(100svh - var(--header-h)); }
}
.hero__intro { max-width: 46ch; margin: 0; color: var(--fg-soft); transition: color var(--tone-dur) var(--ease-io); }
.hero__facts { margin-top: 4px; }

.hero__title { margin: 0; display: grid; gap: 22px; }
.hero__title .eyebrow { justify-self: start; }

/* ---------------------------------------------------------------------
   Hero – Unterseiten (typografisch, Seitenspalte rechts)
   --------------------------------------------------------------------- */
.hero--page {
  padding-top: calc(var(--header-h) + clamp(48px, 9vw, 120px));
  padding-bottom: clamp(64px, 9vw, 128px);
}
.hero--page .hero__grid {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
@media (min-width: 1000px) {
  .hero--page { min-height: 74svh; display: flex; align-items: flex-end; }
  .hero--page .wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); }
  .hero--page .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
}
.hero--page .hero__text { display: grid; gap: 26px; }
.hero--compact { min-height: 0 !important; padding-bottom: 8px; }
.hero--page .lead { max-width: 40ch; }

/* Seitenspalte: Inhaltsverzeichnis */
.toc { list-style: none; border-top: 1px solid var(--hair); transition: border-color var(--tone-dur) var(--ease-io); }
.toc li { border-bottom: 1px solid var(--hair); transition: border-color var(--tone-dur) var(--ease-io); }
.toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem);
  line-height: 1.15;
  font-variation-settings: "wght" 380;
  text-decoration: none;
  transition: font-variation-settings .45s var(--ease-out), color .3s var(--ease-out);
}
.toc a svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .toc a:hover { font-variation-settings: "wght" 520; }
}

/* Seitenspalte: große Ziffer */
.giant {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(9rem, 5rem + 16vw, 22rem);
  line-height: .8;
  letter-spacing: -.05em;
  font-variation-settings: "wght" 340;
  color: var(--accent);
  text-align: right;
  padding-bottom: .1em;
  transition: color var(--tone-dur) var(--ease-io);
}
.giant__pre {
  font-family: var(--sans);
  font-style: normal;
  font-size: .12em;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  vertical-align: top;
  margin-right: .6em;
  color: var(--fg-soft);
}
@media (max-width: 999px) { .giant { text-align: left; } }

/* Seitenspalte im Workshop-Kopf („Auf Anfrage“) */
.next {
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.next__title { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.18; margin: 0; }
.next__meta { margin: 0; color: var(--fg-soft); font-size: var(--fs-small); }

/* ---------------------------------------------------------------------
   Sektionen
   --------------------------------------------------------------------- */
.sec { padding-block: var(--section); }
.sec--tight { padding-block: calc(var(--section) * .7); }
.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(44px, 6vw, 96px);
  max-width: 1180px;
}

/* Einleitung mit großer Zahl */
.intro { padding-bottom: calc(var(--section) * .6); }
.intro__grid { display: grid; gap: clamp(36px, 6vw, 72px); }
@media (min-width: 1000px) {
  .intro__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 120px); align-items: start; }
}
.bignum { margin: 0; display: grid; gap: 14px; align-content: start; }
.bignum__n {
  font-family: var(--serif);
  font-size: clamp(7.5rem, 3.5rem + 13vw, 17rem);
  line-height: .84;
  letter-spacing: -.045em;
  font-variation-settings: "wght" 420;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--accent);
  transition: color var(--tone-dur) var(--ease-io);
}
.bignum__label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--fg-soft);
  transition: color var(--tone-dur) var(--ease-io);
}
.statement {
  margin: 0 0 36px;
  font-size: clamp(1.7rem, 1rem + 2.5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -.016em;
  font-variation-settings: "wght" 380;
  text-wrap: pretty;
  hyphens: manual;
}

/* Angebotsliste */
.offers { list-style: none; border-bottom: 1px solid var(--hair); }
.offer {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 30px 0 32px;
  border-top: 1px solid var(--hair);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}
.offer::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background: var(--tint, var(--sky));
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s var(--ease-expo);
}
.offer[data-tint="mint"] { --tint: var(--mint); }
.offer[data-tint="rose"] { --tint: var(--rose); }
.offer__title {
  font-family: var(--serif);
  font-size: clamp(1.95rem, 1.1rem + 2.7vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-variation-settings: "wght" 380;
  padding-bottom: .05em;
  transition: font-variation-settings .5s var(--ease-out);
}
.offer__text { color: var(--fg-soft); max-width: 40ch; transition: color var(--tone-dur) var(--ease-io); }
.offer__arrow { display: none; }
@media (min-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 48px;
    align-items: center;
    gap: 40px;
    padding: 40px 0 42px;
  }
  .offer__arrow { display: block; width: 34px; height: 34px; justify-self: end; color: var(--accent); }
}
@media (hover: hover) and (pointer: fine) {
  .offer:hover::before { clip-path: inset(0 0 0 0); }
  .offer:hover .offer__title { font-variation-settings: "wght" 520; }
}

/* Zitat-Szene */
.quote { padding-block: clamp(104px, 13vw, 236px); }
.quote__text {
  margin: 30px 0 0;
  font-style: italic;
  font-size: clamp(2.7rem, 1rem + 6.6vw, 9.2rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  font-variation-settings: "wght" 340;
  max-width: 15ch;
  text-wrap: balance;
}
.quote__text p { margin: 0; hyphens: manual; }
.quote__by {
  margin: 40px 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* Zwei Spalten: Kopf links, Inhalt rechts */
.split-2 { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 1000px) {
  .split-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 140px); align-items: start; }
  .split-2 > .sticky { position: sticky; top: calc(var(--header-h) + 40px); }
}
.stack { display: grid; gap: 26px; align-content: start; }

/* Formate (Beratung) – gleiche Töne hintereinander trennt eine Haarlinie im Satzspiegel */
.format { padding-block: calc(var(--section) * .82); }
.format[data-tone="white"] + .format[data-tone="white"] { padding-top: 0; }
.format[data-tone="white"] + .format[data-tone="white"] > .wrap {
  border-top: 1px solid var(--hair);
  padding-top: calc(var(--section) * .82);
}
.format .h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.6rem); }
.format__label { margin: 0; }
.topics-label { margin: 8px 0 -8px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); }

/* Zeilenliste (Qualifikationen etc.) */
.rows { list-style: none; border-bottom: 1px solid var(--hair); }
.rows li {
  display: grid;
  grid-template-columns: 2.1em minmax(0, 1fr);
  align-items: baseline;
  padding: .56em 0 .62em;
  border-top: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -.012em;
  font-variation-settings: "wght" 360;
  hyphens: auto;
  overflow-wrap: break-word;
}
.rows li::before {
  content: "";
  width: 1.2em;
  height: .42em;
  align-self: center;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 16'%3E%3Cpath d='M2 11 C 8 3, 15 3, 22 8.5 S 36 14, 44 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 16'%3E%3Cpath d='M2 11 C 8 3, 15 3, 22 8.5 S 36 14, 44 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left center / contain no-repeat;
}
.rows small {
  display: block;
  grid-column: 2;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--fg-soft);
}
.rows a { text-decoration: none; }
.rows a:hover { color: var(--accent); }

/* Rückblick */
.archive { list-style: none; border-bottom: 1px solid var(--hair); }
.archive li { padding: 24px 0 26px; border-top: 1px solid var(--hair); }
.archive__title { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.95rem); line-height: 1.22; margin: 0; font-variation-settings: "wght" 400; hyphens: manual; }
.archive__ctx { margin: 6px 0 0; color: var(--fg-soft); }

/* Kontakt */
.contact-grid { display: grid; gap: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.big-links { border-top: 1px solid var(--hair); }
.big-link {
  display: grid;
  gap: 6px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--hair);
  color: inherit;
  text-decoration: none;
}
.big-link__label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color var(--tone-dur) var(--ease-io);
}
.big-link__value {
  font-family: var(--serif);
  font-size: clamp(1.45rem, .95rem + 2.3vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -.015em;
  font-variation-settings: "wght" 380;
  overflow-wrap: anywhere;
  transition: color .35s var(--ease-out);
}
.big-link__note { color: var(--fg-soft); font-size: var(--fs-small); }
a.big-link:hover .big-link__value { color: var(--accent); }

.form { display: grid; gap: 20px; }
.form__title { margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9375rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 35, 39, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.45;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232a2327' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}
.field textarea { min-height: 176px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 1px;
  border-color: transparent;
  background-color: #fff;
}
.field [aria-invalid="true"] { border-color: var(--berry); }
.field__error { margin: 0; font-size: .9375rem; color: var(--berry); }
.field__error:empty { display: none; }
.form__note { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--fg-soft); }
.form__status { margin: 0; font-weight: 600; }

/* Kooperationen – Eigennamen nicht automatisch trennen („Füch-se“) */
.partners li { grid-template-columns: 2.1em minmax(0, 1fr); hyphens: manual; }

/* Rechtstexte */
.legal { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: var(--section); }
.legal__body { max-width: 72ch; margin-top: clamp(40px, 5vw, 72px); overflow-wrap: break-word; }
.legal__body p { hyphens: manual; }
.legal__body a[href^="tel:"] { white-space: nowrap; }
.legal__body h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem);
  line-height: 1.2;
  margin: 2.2em 0 .6em;
  font-variation-settings: "wght" 440;
}
.legal__body h3 { font-weight: 600; font-size: 1.0625rem; margin: 1.6em 0 .4em; }
.legal__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal__body li { margin-bottom: .35em; }
.legal__body address { font-style: normal; margin: 0 0 1em; }
.ph {
  padding: .06em .38em;
  border: 1px dashed rgba(166, 63, 75, .6);
  border-radius: 5px;
  background: rgba(166, 63, 75, .08);
  color: var(--berry);
  font-weight: 600;
}

/* Higgsfield-Clip-Szene (poster-first) */
.clip {
  position: relative;
  z-index: 1;
  margin: 0;
  height: clamp(340px, 64vh, 780px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.clip img,
.clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip video { opacity: 0; transition: opacity 1s var(--ease-out); }
.clip.is-playing video { opacity: 1; }
.clip__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 18%;
  z-index: 2;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 35, 39, .55);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.clip__caption { position: absolute; left: var(--gutter); bottom: 18%; z-index: 2; margin: 0; color: #fff; font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   Fußzeile
   --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(104px, 13vw, 210px) 0 36px;
  background: var(--wine);
  color: var(--on-wine);
  --fg: var(--on-wine);
  --fg-soft: var(--on-wine-soft);
  --accent: var(--coral);
  --hair: rgba(251, 234, 230, .2);
  --btn-bg: var(--rose);
  --btn-fg: var(--wine);
  --btn-bg-h: var(--white);
}
.footer-cta__title {
  margin: 26px 0 clamp(52px, 6vw, 100px);
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.026em;
  font-variation-settings: "wght" 380;
  max-width: 13ch;
  text-wrap: balance;
}
@media (min-width: 1000px) {
  .site-footer .big-link { grid-template-columns: 300px minmax(0, 1fr); align-items: baseline; }
}
.footer-bottom {
  display: grid;
  gap: 44px;
  margin-top: clamp(88px, 10vw, 168px);
  padding-top: 44px;
  border-top: 1px solid var(--hair);
}
@media (min-width: 900px) {
  .footer-bottom { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand .mono { width: 58px; height: 58px; color: var(--on-wine); }
.footer-brand p { margin: 0; line-height: 1.55; color: var(--on-wine-soft); }
.footer-brand strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--on-wine); font-variation-settings: "wght" 460; }
.footer-h { margin: 0 0 12px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-wine-soft); }
.footer-nav { list-style: none; display: grid; gap: 2px; }
.footer-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--on-wine); }
.footer-nav a:hover { color: var(--coral); }
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 12px 0 0;
  font-size: .875rem;
  color: var(--on-wine-soft);
}
.footer-legal a { display: inline-flex; min-height: 44px; align-items: center; color: var(--on-wine-soft); text-decoration: none; }
.footer-legal > span { display: inline-flex; min-height: 44px; align-items: center; }
.footer-legal a:hover { color: var(--on-wine); }
.site-footer--compact { padding-top: clamp(64px, 8vw, 120px); }
.site-footer--compact .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------------
   Cookie-Hinweis: ein notwendiges Cookie, gesetzt erst nach „Verstanden“
   --------------------------------------------------------------------- */
.cookie {
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--berry);
  --hair: rgba(42, 35, 39, .16);
  --btn-bg: var(--wine-2);
  --btn-fg: #ffffff;
  --btn-bg-h: var(--wine);
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100svh - var(--header-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 20px 14px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: var(--white);
  color: var(--fg);
  box-shadow: 0 24px 60px -24px rgba(42, 35, 39, .38);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.cookie[hidden] { display: none; }
.cookie.is-open { opacity: 1; transform: none; }
@media (forced-colors: active) { .cookie { border: 2px solid CanvasText; } }
@media (min-width: 760px) {
  .cookie { left: auto; right: var(--gutter); bottom: 24px; width: 440px; padding: 26px 28px 18px; }
}
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-right: 36px; }
.cookie__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--fg-soft);
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.cookie__close svg { width: 20px; height: 20px; }
.cookie__close:hover { background-color: rgba(42, 35, 39, .06); color: var(--fg); }
.cookie__head .mono { width: 38px; height: 38px; color: var(--wine-2); }
.cookie__title { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-variation-settings: "wght" 460; line-height: 1.2; }
.cookie__text { margin: 0 0 10px; font-size: .9375rem; line-height: 1.55; color: var(--fg-soft); hyphens: manual; }
.cookie__details { margin: 0 0 6px; }
.cookie__list { margin: 0; display: grid; }
.cookie__list > div { padding: 10px 0; border-top: 1px solid var(--hair); }
.cookie__list dt { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; font-weight: 600; }
.cookie__list dt span { font-weight: 500; color: var(--fg-soft); white-space: nowrap; }
.cookie__list dd { margin: 2px 0 0; font-size: .875rem; line-height: 1.5; color: var(--fg-soft); hyphens: manual; }
.cookie__reset { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; font-size: .875rem; }
.cookie__status { color: var(--fg-soft); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
.cookie__actions .btn { margin-right: 4px; }
.cookie__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  text-decoration-color: rgba(42, 35, 39, .35);
  cursor: pointer;
}
.cookie__link:hover { text-decoration-color: currentColor; }
.cookie__meta { display: inline-flex; gap: 16px; font-size: .8125rem; }
.cookie__meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-soft); text-underline-offset: .25em; text-decoration-color: rgba(42, 35, 39, .3); }
.cookie__meta a:hover { color: var(--fg); text-decoration-color: currentColor; }
@media (min-width: 760px) { .cookie__meta { margin-left: auto; } }
.cookie__reset .cookie__link { font-size: .875rem; }

.footer-legal__btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-wine-soft);
  font: inherit;
  cursor: pointer;
}
.footer-legal__btn:hover { color: var(--on-wine); }
html:not(.js) .footer-legal__btn { display: none; }

/* 404 */
.notfound { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--header-h) + 48px) 96px; }

/* ---------------------------------------------------------------------
   Ohne JS: Szenen tragen ihre Farbe selbst
   --------------------------------------------------------------------- */
html:not(.js) [data-tone="sky"]  { background: var(--sky); }
html:not(.js) [data-tone="mint"] { background: var(--mint); }
html:not(.js) [data-tone="rose"] { background: var(--rose); }
html:not(.js) [data-tone="white"] { background: var(--white); }
html:not(.js) .main [data-tone="wine"] {
  background: var(--wine);
  color: var(--on-wine);
  --fg: var(--on-wine);
  --fg-soft: var(--on-wine-soft);
  --accent: var(--coral);
  --hair: rgba(251, 234, 230, .22);
}

/* ---------------------------------------------------------------------
   Seitenwechsel & reduzierte Bewegung
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: .42s; animation-timing-function: cubic-bezier(.23, 1, .32, 1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  html { transition: background-color .35s linear, color .35s linear !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ln-i { transform: none; }
  .mark__svg path { stroke-dashoffset: 0; }
  .menu { clip-path: none; }
  .menu__list a { opacity: 1; transform: none; }
}

@media print {
  .site-header, .menu, .thread, .skip, .clip, .cookie { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .ln-i { opacity: 1 !important; transform: none !important; }
}
